Xrandr显示“无法获得默认输出的伽玛大小". [英] Xrandr displaying "Failed to get size of gamma for output default"

查看:2802
本文介绍了Xrandr显示“无法获得默认输出的伽玛大小".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的系统规格:

**Intel i7-8700k (Coffe-lake),Mother board : ROG(Maximus X Hero)
OS :Ubuntu-Gnome 16.04** 

我使用 Ubutnu-Gnome16.04 引导了我的新PC,安装后屏幕分辨率为 1024x768(4:3)-屏幕显示为未知显示". 我没有在新操作系统中安装任何东西.我的Monitor-CPU连接电缆为 DP(Pin电缆).

I booted My new PC with Ubutnu-Gnome16.04 , after installation the screen resolution is 1024x768(4:3)--and screen is shown "Unknown Display". I havent installed anything in my new OS.My Monitor-CPU connecting Cable is DP(Pin Cable).

我尝试使用强制创建新分辨率":

I have tried with "Force create new resolution":

 a)cvt 1366 768 60
 b)xrandr --newmode "< >"

然后将错误抛出为:

"xrandr:无法获取默认输出的伽玛大小". 我希望完美的分辨率适合我的桌面屏幕 有人可以帮我吗

"xrandr : Failed to get size of gamma for output default". I want perfect resolution to be fit for my desktop screen Can Anyone help me on this

推荐答案

基于本文中的信息,我找到了答案.

Based on info in this article I've found answer.

您需要将"i915.alpha_support=1"引导参数添加到GRUB(来自此处的信息):

You need to add "i915.alpha_support=1" booting parameter to GRUB (Info from here) :

登录系统并启动一个终端窗口(应用程序"->附件"->终端").

Log in to the system and start a terminal window (Applications->Accessories->Terminal).

在终端窗口的$提示符下,输入命令:sudo gedit /etc/default/grub

In the terminal window at the $ prompt, enter the command: sudo gedit /etc/default/grub

在[sudo]提示时输入密码. (如果文件/etc/default/grub看起来是空的或不存在,请参阅上述早期版本的说明.)

Enter your password when prompted by [sudo]. (If the file /etc/default/grub appears to be empty or does not exist, see the instructions for earlier releases above).

在编辑器窗口中,使用箭头键将光标移动到以"GRUB_CMDLINE_LINUX_DEFAULT"开头的行,然后编辑该行,将您的参数添加到单词"quiet splash"之后双引号内的文本中. (请确保在"splash"之后添加一个空格,然后再添加新参数.)

In the editor window, use the arrow keys to move the cursor to the line beginning with "GRUB_CMDLINE_LINUX_DEFAULT" then edit that line, adding your parameter(s) to the text inside the double-quotes after the words "quiet splash". (Be sure to add a SPACE after "splash" before adding your new parameter.)

它应该看起来像这样"quiet splash i915.alpha_support=1"

单击保存"按钮,然后关闭编辑器窗口.

Click the Save button, then close the editor window.

在终端窗口的$提示符下,输入命令:sudo update-grub重新启动系统.

In the terminal window at the $ prompt, enter the command: sudo update-grub Restart the system.

这篇关于Xrandr显示“无法获得默认输出的伽玛大小".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆