Ubuntu 安装Cuda8后,分辨率不能调节的解决方案

不知道从哪里找到的这个方案,反正是能解决了这个问题:

重新升级了CUDA以后,发现在安装CUDA8.0后,分辨率变成800×600,而且不能改变,最终在网上找到了这个方法,运行下面几行代码,然后重启就好了,具体原因还是不是很清楚。

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo touch /etc/X11/xorg.conf
sudo reboot

下面是错误信息,在重新安装完成显卡驱动后,进入桌面,会出现下面的错误:

Could not apply the stored configuration for monitors

none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 63
CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)
Trying modes for CRTC 64
CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)
Trying modes for CRTC 65
CRTC 65: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 65: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)
Trying modes for CRTC 66
CRTC 66: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 66: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)

如果同时不能显示左边栏和上面的菜单,那么可能需要重置一下unity显示问题:

sudo apt-get install compizconfig-settings-manager
sudo ccsm

然后Ubuntu Unity Plugin,把相关的都enable了。

如果这样还是不行,那么

dconf reset -f /org/compiz/
setsid compiz --replace

参考

[1] https://blog.csdn.net/hanlin_tan/article/details/70040114

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值