You are not logged in.

#1 2016-12-27 00:30:01

ghedeon
Member
Registered: 2016-02-20
Posts: 15

[SOLVED] Gnome doesn't start after Nvidia install

Hi,

I was using nvidia driver from AUR for a long time, without any issue. Today, I decided to take advantage of hybrid graphics (laptop comes with Intel HD Graphics 530 & NVIDIA GeForce GTX 960M) by installing bumblebee but before, stupid me made a wrong choice and installed nvidia driver from here: http://www.nvidia.com/download/driverRe … 2992/en-us. Now I can't start my gnome (white screen of death). As a last step, this nvidia script rewrites your xorg.conf, which I accepted. When I realized that it's not working, I also tried nvidia-xconfig. That didn't work either, so I end up with no xorg.conf at all.

Xorg.0.log:
http://pastebin.com/03PRGg6j
There are some errors:

(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) [drm] Failed to open DRM device for (null): -2
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

packages installed:

bumblebee
nvidia
nvidia-utils
xf86-video-intel
xf86-video-nouveau
virtualgl
libva-intel-driver
mesa
libvdpau
libxnvctrl

no configurations in /etc/X11 or /etc/modprobe.d

/usr/lib/modprobe.d/bumblebee.conf:

blacklist nvidia
blacklist nvidia-drm
blacklist nvidia-modeset
blacklist nvidia-uvm
blacklist nouveau

and I did "mkinitcpio -p linux" (didn't add any extra modules)

The plan was to run Bumblebee + Nvidia with no nouveau at all. The thing is, after removing nouveau I was getting tons of errors in xorg, so I decided to keep nouveau package for now. At this point I'd be happy with any kind of combination: intel, nvidia, nouveau.. Looks like by default bumblebee goes with blacklisting both: nouveau and nvidia, which should fallback to intel driver, if I get it right.

Stupid question, should I somehow tell gdm to be aware of driver changes, or normally it just works?


Thank you.

Last edited by ghedeon (2016-12-28 13:35:34)

Offline

#2 2016-12-28 13:35:11

ghedeon
Member
Registered: 2016-02-20
Posts: 15

Re: [SOLVED] Gnome doesn't start after Nvidia install

Issue solved.

pacman -Qs nvidia
pacman -Rsn <of what was found>
pacman -S bumblebee mesa mesa-libgl xf86-video-intel nvidia nvidia-utils primus bbswitch
gpasswd -a user bumblebee
systemctl enable bumblebee
echo "options bbswitch load_state=0 unload_state=1" > /etc/modprobe.d/bbswitch.conf
echo "bbswitch" > /etc/modules-load.d/bbswitch
reboot

Offline

Board footer

Powered by FluxBB