Fedora 25: GDM breaks after installing nVidia drivers (GeForce 940M)
I recently bought a new laptot, an Acer E15, which comes with a 940M GPU. After installing Fedora 25 everything worked fine. Then, I installed nVidia drivers according to this page:
- I enabled Fusion free and non-free.
- I installed drivers through
# dnf install xorg-x11-drv-nvidia akmod-nvidia "kernel-devel-uname-r == $(uname -r)"
- I upgraded xorg-server with
# dnf update xorg-x11-server\* --enablerepo=updates-testing
as this nVidia Optimus article instructs.
After rebooting, gdm doesn't starts. It shows that "Oops! Something gone wrong!" screen, and if I try to restart it, happens again and again. I tried to rollback through # dnf history rollback
but it did not work. I had to install a fresh system again. How can I enable proprietary nVidia drivers for my laptop without breaking it?
Post the output for this command (upload and attach).
Shame you have reinstalled as it is unlikely to be resolved without any debugging!
@leigh123linux Nvidia driver is not installed anymore, if I install it, I wont be able to boot to give you this information. How could I do it? Thanks.
I have ported most of the changes needed for the rpmfusion driver to work with optimus, the kernel option 'nvidia-drm.modeset=1' seems to be required. Switching still requires some mesa changes.
http://hansdegoede.livejournal.com/
https://wiki.realmofespionage.xyz/distros:fedoraworkstationgnome#proprietary_graphic
pray and reboot Switching wont work but it should default to nvidia.
I don't have optimus to test changes so it might fail.