You are not logged in.

#1 2015-11-03 11:14:16

stueja
Member
Registered: 2015-10-18
Posts: 47

Gnome only working with mesa-libgl, not with nvidia-libgl

This is driving me nuts. Gnome does not start with nvidia-libgl, only with mesa-libgl.

I have an nVidia GTX980 on intel Skylake architecture (Core i7-6600K).

intel-ucode is installed, the intel-ucode.img loads before the initramfs via systemd-boot

#  /boot/loader/entries/Arch.conf
title     Arch Linux
linux    /vmlinuz-linux
initrd   /intel-ucode.img
initrd   /initramfs-linux.img
options root=PARTUUID=<numbersandlettersanddashes> rw

After

pacman -S mesa-libgl
systemctl reboot
systemctl start gdm

everything is fine, i. e. the greeter shows up, I can login, gnome-shell comes up, I can work with gnome. Currently starting gdm manually because of the issues with nvidia-libgl.

However,

glxinfo | grep renderer
[...]
Gallium 0.4 on llvmpipe (LLVM 3.7, 256 bits)
lspci -knn | grep -i vga -A3
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1617] (rev a1)
[...]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia
lsmod | grep nvidia
nvidia     8622080  53
drm        286720   7 drm_kms_helper,nvidia
grep EE /var/log/Xorg.0.log

[   782.285] Current Operating System: Linux one 4.2.5-1-ARCH #1 SMPPREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   782.291] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   782.292] (EE) Failed to load module "nv" (module does not exist, 0)
[   782.292] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   782.292] (EE) Failed to load module "vesa" (module does not exist, 0)
[   782.293] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[   782.293] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[   782.293] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[   782.293] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[   782.293] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[   784.964] (EE) AIGLX: reverting to software rendering

If I now switch to nvidia-libgl and reboot, gdm would error out with "Oh no! Something has gone wrong."

pacman -S nvidia-libgl
systemctl reboot
systemctl start gdm

If I start SDDM instead of GDM, SDDM will launch the greeter and let me enter my password. However, after that, gnome-shell comes up showing "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again." If I hit the "Log Out" button, I am back in the greeter. Groundhog day. wink

What can I do to have my laptop use the nvidia-libgl?

Thank you.

Last edited by stueja (2015-11-03 13:33:58)

Offline

#2 2015-11-03 11:43:55

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: Gnome only working with mesa-libgl, not with nvidia-libgl

Ah, sorry -- please move to the Applications & Desktop Environment section hmm

Offline

#3 2015-11-03 18:28:10

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: Gnome only working with mesa-libgl, not with nvidia-libgl

Ah, news: it seems that sometimes Gnome also does not start with mesa-libgl. This is if USB devices are plugged in (headset, keyboard, mouse). I will investigate later which of them it is.
Edit: this seems to be so sporadic that I could not reproduce it so far. hmm

Last edited by stueja (2015-11-04 07:06:09)

Offline

#4 2015-12-08 03:15:31

joejoejoe
Banned
Registered: 2015-08-14
Posts: 32

Re: Gnome only working with mesa-libgl, not with nvidia-libgl

I wasn't able to get GDM/Gnome running with nvidia for a while (months), but then I was told to install intel-ucode to fix a seemingly unrelated error, and ever since then gnome+nvidia has worked perfectly for me on a MacBook Pro (Retina, 15-inch, Mid 2014).

Offline

#5 2015-12-09 18:31:44

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: Gnome only working with mesa-libgl, not with nvidia-libgl

Hey joejoejoe,

thanks alot. I read about that also, probably in the same post, and implemented that before my post.

stueja wrote:

intel-ucode is installed, the intel-ucode.img loads before the initramfs via systemd-boot

Offline

Board footer

Powered by FluxBB