Acabei de atualizar para o CentOS 7.4 via yum update
e reiniciei o novo kernel:
[root@rice ~]# uname -a
Linux rice 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Os gráficos não funcionaram após essa reinicialização, então eu reinstalei os drivers nvidia:
[root@rice ~]# yum list installed | grep -i nvidia
Loaded plugins: fastestmirror, langpacks, nvidia
kmod-nvidia.x86_64 384.69-1.el7_4.elrepo @elrepo
nvidia-detect.x86_64 384.59-1.el7.elrepo @elrepo
nvidia-x11-drv.x86_64 384.69-2.el7.elrepo @elrepo
nvidia-x11-drv-32bit.x86_64 384.69-2.el7.elrepo @elrepo
yum-plugin-nvidia.noarch 1.0.2-1.el7.elrepo @elrepo
[root@rice ~]# yum reinstall kmod-nvidia nvidia-detect nvidia-x11-drv nvidia-x11-drv-32bit
Reiniciando novamente, ainda não tenho sessão gráfica ativa.
Verificando os registros:
[root@rice ~]# systemctl status gdm -l
● gdm.service - GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2017-09-20 15:55:18 EDT; 22min ago
Process: 12153 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
Main PID: 12147 (gdm)
Memory: 3.1M
CGroup: /system.slice/gdm.service
└─12147 /usr/sbin/gdm
Sep 20 15:55:24 rice gdm[12147]: Child process 12234 was already dead.
Sep 20 15:55:24 rice gdm[12147]: Unable to kill session worker process
Sep 20 15:55:24 rice gdm[12147]: GdmDisplay: display lasted 0.405652 seconds
Sep 20 15:55:24 rice gdm[12147]: GLib: g_variant_new_string: assertion 'string != NULL' failed
Sep 20 15:55:27 rice gdm[12147]: GdmDisplay: display lasted 2.742065 seconds
Sep 20 15:55:27 rice gdm[12147]: Child process 12292 was already dead.
Sep 20 15:55:27 rice gdm[12147]: Unable to kill session worker process
Sep 20 15:55:27 rice gdm[12147]: GdmDisplay: display lasted 0.396000 seconds
Sep 20 15:55:27 rice gdm[12147]: GLib: g_variant_new_string: assertion 'string != NULL' failed
Sep 20 15:55:27 rice gdm[12147]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
E os logs do Xorg:
[root@rice ~]# grep EE /var/log/Xorg.*
/var/log/Xorg.0.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.1.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.1.log:[ 4768.718] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
/var/log/Xorg.1.log:[ 4768.718] (EE) NVIDIA(0): Failing initialization of X screen 0
/var/log/Xorg.1.log:[ 4768.719] (EE) Screen(s) found, but none have a usable configuration.
/var/log/Xorg.1.log:[ 4768.719] (EE)
/var/log/Xorg.1.log:[ 4768.719] (EE) no screens found(EE)
/var/log/Xorg.1.log:[ 4768.719] (EE)
/var/log/Xorg.1.log:[ 4768.719] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
/var/log/Xorg.1.log:[ 4768.719] (EE)
/var/log/Xorg.1.log:[ 4768.722] (EE) Server terminated with error (1). Closing log file.
/var/log/Xorg.2.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.3.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.3.log:[ 4771.856] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
/var/log/Xorg.3.log:[ 4771.856] (EE) NVIDIA(0): Failing initialization of X screen 0
/var/log/Xorg.3.log:[ 4771.857] (EE) Screen(s) found, but none have a usable configuration.
/var/log/Xorg.3.log:[ 4771.857] (EE)
/var/log/Xorg.3.log:[ 4771.857] (EE) no screens found(EE)
/var/log/Xorg.3.log:[ 4771.857] (EE)
/var/log/Xorg.3.log:[ 4771.857] (EE) Please also check the log file at "/var/log/Xorg.3.log" for additional information.
/var/log/Xorg.3.log:[ 4771.857] (EE)
/var/log/Xorg.3.log:[ 4771.860] (EE) Server terminated with error (1). Closing log file.
/var/log/Xorg.4.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.5.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
/var/log/Xorg.5.log:[ 4775.018] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
/var/log/Xorg.5.log:[ 4775.018] (EE) NVIDIA(0): Failing initialization of X screen 0
/var/log/Xorg.5.log:[ 4775.019] (EE) Screen(s) found, but none have a usable configuration.
/var/log/Xorg.5.log:[ 4775.019] (EE)
/var/log/Xorg.5.log:[ 4775.019] (EE) no screens found(EE)
/var/log/Xorg.5.log:[ 4775.019] (EE)
/var/log/Xorg.5.log:[ 4775.019] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
/var/log/Xorg.5.log:[ 4775.019] (EE)
/var/log/Xorg.5.log:[ 4775.020] (EE) Server terminated with error (1). Closing log file.
Como posso recuperar minha sessão gráfica?
Obrigado.
Eu decidi que há muitas coisas acontecendo no gnome para fazer da sessão do gnome uma boa plataforma de testes.
Eu instalei o vtwm e posso iniciá-lo com:
$ xinit $(which vtwm)
ele funciona bem, e eu posso abrir um xterm, lançar o firefox, etc., mas se eu tentar usar qualquer aceleração 3D, obtenho problemas:
[mgesing@rice ~]$ glxgears
Error: couldn't get an RGB, Double-buffered visual
[mgesing@rice ~]$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
Eu tentei reinstalar o desk-libGL, o nvidia-x11-drv e o kmod-nvidia, mas ainda não sinto alegria no glxgears.
Eu suspeito que a falta de efeitos 3D pode ser o que está atrapalhando a minha extravagante sessão de gnomo. . . Algum conselho sobre como obter a aceleração 3D funcionando novamente?
[root@rice ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-693.2.2.el7.x86_64 root=/dev/mapper/cl_rice-root ro crashkernel=auto rd.lvm.lv=cl_rice/root rd.lvm.lv=cl_rice/swap rhgb quiet LANG=en_CA.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev