在“溢出事件”使内置显示器发生故障后,我刚刚将笔记本电脑连接到外部显示器。但是,当我通过 HDMI 电缆连接显示器时,颜色看起来非常褪色。我搜索了一下,发现这可能是由于笔记本电脑显卡默认没有通过 HDMI 输出完整的 RGB 频谱。我在这里找到了解决方案:
https://www.kubuntuforums.net/showthread.php?63895-Black-level-too-high-after-upgrade-to-13-10
推荐这个命令:
xrandr --output HDMI1 --set "Broadcast RGB" "Full"
Run Code Online (Sandbox Code Playgroud)
这在我的系统上不起作用,因为参数不适用:
output HDMI1 not found; ignoring X Error of failed request:
BadRROutput (invalid Output parameter) Major opcode of failed
request: 140 (RANDR) Minor opcode of failed request: 15
(RRGetOutputProperty) Serial number of failed request: 28 Current
serial number in output stream: 28
Run Code Online (Sandbox Code Playgroud)
我跑了:
xrandr -q
Run Code Online (Sandbox Code Playgroud)
和输出:
[...]
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
1920x1080 60.00*+ …Run Code Online (Sandbox Code Playgroud) 我正在尝试在 Ubuntu 14.04 上安装 PHP 5.6。我尝试了很多不同的东西,但都没有奏效。首先,我尝试通过此 repo 下载:
sudo add-apt-repository ppa:ondrej/php5-5.6
其次是:
sudo apt install php5
由于我能找到的大多数谷歌结果都告诉我去做,但是当我检查时php -v我发现我仍然在 5.9.9 上,这对我需要的东西没有用。
我也试过:
sudo apt install php5.6
正如我在其他地方看到的那样,但我只是收到一条消息,说存储库不存在。
我也尝试使用此存储库进行安装:
sudo add-apt-repository ppa:ondrej/php5
如此问题中所列:Apache 未使用 PHP 5.6,而是使用 PHP 5.5
但是存储库似乎不再存在。
我还尝试从 tarball 安装 PHP 5.6.10 和 5.6.12,但我似乎无法使 tarball 中包含的安装说明正常工作,并且无法在包含 Makefile.frag、Makefile 的目录中运行make或运行make install。 gov 等什么都不做。
是否有另一种方法来安装所需的 PHP 版本,或者任何人都可以告诉我如何安装上述任何一个压缩包,现在我已经解压并解压了它们?我找到了一个建议找到“dbase”文件夹的指南,但这些特定版本的 PHP 似乎不存在。
我也尝试安装 PHP 7.0,但发现这不适用于我需要使用的 Laravel 存储库(我也尝试使用 Vagrant Homestead 安装正确版本的 PHP,但这在我的系统上产生了其他问题) .
我试图跑
./configure
make
make install
Run Code Online (Sandbox Code Playgroud)
在根目录中,tarball 已解压缩,但尽管 …