Ubuntu显卡驱动循环登陆 - “BadValue (integer parameter out of range for operation)” - 16.04

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gua_MASS/article/details/88885730

Login Loop - “BadValue (integer parameter out of range for operation)” - 16.04

问题描述

Ubuntu16.04安装nvidia显卡驱动后卡在登陆界面循环登陆,查看~/.xession-errors文件,显示:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 32
Current serial number in output stream: 33
openConnection: connect: No such file or directory
cannot connect to brltty at :0

问题估计

OpenGL出现问题

解决方案

/usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf 路径下加上 +iglx 效果如下:

[SeatDefaults]
# Dump core
xserver-command=X -core +iglx

重启图形界面

sudo service lightdm restart

是否解决

解决,再次启动图形界面依然循环登陆,但是xession-errors不报错,显示

openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: gnome-session (Unity) main process (10710) terminated with status 1
upstart: unity-settings-daemon main process (10702) killed by TERM signal
upstart: logrotate main process (10525) killed by TERM signal
upstart: bamfdaemon main process (10592) killed by TERM signal
upstart: update-notifier-release main process (10597) killed by TERM signal
upstart: hud main process (10700) killed by TERM signal
upstart: indicator-bluetooth main process (10757) killed by TERM signal
upstart: indicator-datetime main process (10760) killed by TERM signal
upstart: indicator-keyboard main process (10764) killed by TERM signal
upstart: indicator-printers main process (10770) killed by TERM signal
upstart: indicator-session main process (10771) killed by TERM signal
upstart: Disconnected from notified D-Bus bus
upstart: indicator-messages main process (10756) killed by TERM signal
upstart: indicator-sound main process (10766) killed by TERM signal

解决方案见下一篇文章。

猜你喜欢

转载自blog.csdn.net/gua_MASS/article/details/88885730
今日推荐