Estaba ejecutando Ubuntu 16.04 LTS con un controlador NVIDIA 361 instalado manualmente. Después de actualizar el controlador a v367, ahora estoy bloqueado de Unity con un ciclo de inicio de sesión con el siguiente error en .xsession-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
También encontré esto en el Xorg registros:
[ 2312.921302] NVRM: Your system is not currently configured to drive a VGA console
[ 2312.921304] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 2312.921305] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 2312.921305] NVRM: drivers including, but not limited to, vesafb, may result in
NVRM: make sure that this kernel module and all NVIDIA driver
Y luego esto más abajo:
[ 2850.609] (II) NOUVEAU driver Date: Tue Dec 8 15:52:25 2015 +1000
[ 2850.609] (II) NOUVEAU driver for NVIDIA chipset families :
[ 2850.706] (EE) [drm] Failed to open DRM device for (null): -22
[ 2850.706] (EE) [drm] Failed to open DRM device for (null): -22
[ 2850.706] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -22
[ 2850.706] (EE) No devices detected.
[ 2850.706] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 2850.706] loading driver: nvidia
[ 2850.706] (==) Matched nvidia as autoconfigured driver 0
[ 2850.706] (==) Matched nvidia as autoconfigured driver 1
[ 2850.706] (==) Matched nouveau as autoconfigured driver 2
[ 2850.706] (==) Matched nvidia as autoconfigured driver 3
[ 2850.706] (==) Matched nouveau as autoconfigured driver 4
[ 2850.706] (==) Matched vesa as autoconfigured driver 7
[ 2850.706] (II) LoadModule: "nvidia"
[ 2850.706] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 2850.708] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2850.708] (II) LoadModule: "nouveau"
[ 2850.708] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 2850.708] (II) Module nouveau: vendor="X.Org Foundation"
[ 2850.708] (II) UnloadModule: "nouveau"
[ 2850.708] (II) Unloading nouveau
[ 2850.708] (II) Failed to load module "nouveau" (already loaded, 21886)
[ 2850.709] (II) LoadModule: "vesa"
[ 2850.709] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 2850.709] (II) Module vesa: vendor="X.Org Foundation"
[ 2850.709] (II) NOUVEAU driver Date: Tue Dec 8 15:52:25 2015 +1000
[ 2850.709] (II) NOUVEAU driver for NVIDIA chipset families :
[ 2850.709] (II) NVIDIA dlloader X Driver 364.19 Tue Apr 19 13:48:55 PDT 2016
[ 2850.709] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2850.709] (II) VESA: driver for VESA chipsets: vesa
[ 2850.709] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 2850.709] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 2850.709] (EE) [drm] Failed to open DRM device for (null): -22
[ 2850.709] (EE) [drm] Failed to open DRM device for (null): -22
[ 2850.709] (EE) [drm] Failed to open DRM device for (null): -22
[ 2850.709] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -22
[ 2850.709] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -22
Una búsqueda web de este mensaje de error no arroja muchos resultados relevantes.
Relacionado:¿Mostrar diálogo al iniciar sesión (secuencia de comandos bash)?
Intenté degradar a v364 y luego volví a v361 sin éxito
Intenté purgar xserver-xorg, xserver-xorg-core, nvidia*, lightdm sin éxito
Intenté reinstalar ubuntu-desktop en vano
Un reformateo completo y una reinstalación serían muy perjudiciales y quiero evitarlo a toda costa.
El mensaje de error en .xsession-errors siempre sigue siendo el mismo. ¿Cómo puedo purgar/restaurar/restablecer mi configuración y/o paquetes y/o bibliotecas a un estado sano sin volver a formatear y reinstalar por completo?
Respuesta aceptada:
Agregar +iglx
a xserver-command en /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
.
[SeatDefaults]
# Dump core
xserver-command=X -core +iglx
Después de lo cual reinicia o Ctrl-Alt-F1, inicia sesión y sudo service lightdm restart
.
Funciona de maravilla