自从我从 13.10 升级到 ubuntu 14.04 后,如果该程序不崩溃,就无法更改 nvidia-settings 中的任何参数。
nvidia-settings 启动正确,但如果我尝试更改任何参数(并单击“应用”),它将崩溃并显示以下消息:
ERROR: Error querying target relations
The program 'nvidia-settings' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 830 error_code 2 request_code 157 minor_code 25)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
即使配置没有变化(更改分辨率并重新设置然后单击“应用”)也会发生此错误
我的配置:
显卡:GeForce GTX 460
双屏
OpenGL 版本字符串:4.2.0 NVIDIA 304.117
nvidia-settings:版本 331.20 (buildd@roseapple) 2014 年 2 月 3 日星期一 15:07:22 UTC
答案1
我能够通过从存储库安装较新版本的 nvidia 驱动程序来解决此问题。
sudo apt-get purge nvidia-304
sudo apt-get install nvidia-331