Xrandr displaying “Failed to get size of gamma for output default”

白昼怎懂夜的黑 提交于 2019-12-23 19:12:35

问题


My Sys specs :

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

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 "< >"

Then Error throws as :

"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


回答1:


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

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).

In the terminal window at the $ prompt, enter the command: sudo gedit /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).

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.)

it should look like this "quiet splash i915.alpha_support=1"

Click the Save button, then close the editor window.

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



来源:https://stackoverflow.com/questions/47391669/xrandr-displaying-failed-to-get-size-of-gamma-for-output-default

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!