Ask Your Question

Fedora 28 - freeze after login

asked 2018-05-07 04:52:23 -0500

mnemonics gravatar image

Just finished upgrading from Fedora 27 to Fedora 28. The upgrade process went good but now whenever I try to login the screen just freezes.

Things I've tried:

  1. Running runlevel 3 then starting GDM manually using startx works fine i.e. no freezes
  2. Using autologin works fine, no freezes. The desktop just boots.
  3. Setting nvidia-drm.modeset=1 to 0 doesn't work. It goes to a blank screen after login instead of the screen freezing

Kernel: 4.16.6-302.fc28.x86_64

Logs etc:

  1. lsusb & lspci
  2. dmesg

Hope someone can shed some light on this.

edit retag flag offensive close merge delete


Are you sure you have the right video driver for your OS version?

P.S. FYI using the nvidia driver causes your kernel to be tainted.

Guus gravatar imageGuus ( 2018-05-07 05:11:03 -0500 )edit

Yes, I'm using the new fedora third party repo. I've tried other nvidia drivers from negativo17 and from the nvidia website with the same result.

Previously on fedora 27, I was using the driver from the negativo17 just fine.

mnemonics gravatar imagemnemonics ( 2018-05-07 05:59:51 -0500 )edit

In addition to my previous comment. If I used a proprietary video driver in the past I had to uninstall it before upgrading and then install the new one after upgrading. The nvidia driver is coupled to a specific version of the kernel, making the previous nvidia driver invalid for a new kernel version. That is one of the reasons I abandoned proprietary drivers. The other reason is support people often abandon any tainted kernel because they have no access to the driver source code.

Guus gravatar imageGuus ( 2018-05-07 06:33:05 -0500 )edit

If your system works with the default Fedora video drivers and does not work with the 3rd party driver, then the problem is related to the new driver. The best help you could get from the driver supplier.

Guus gravatar imageGuus ( 2018-05-07 06:36:08 -0500 )edit

This is happening to me, too. Thanks for your workaround, mnemonics! I tried the modeset options you did, also to no avail. Everything worked find on Fedora 27, this is specifically a 28 issue.

Another interesting point -- sometimes, rarely, in my tests using nomodeset it did manage to login.

emblemparade gravatar imageemblemparade ( 2018-05-07 08:33:40 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-06-09 14:13:37 -0500

kwizart gravatar image

As documented here The NVIDIA driver (either from RPM Fusion or even the original NVIDIA installer), does't work very well with GNOME+Wayland at this time (post Fedora 28 GA with xorg-server 1.19 as current Xwayland).

As reported at A new driver installation will set the appropriate options correctly, but not on upgrade. (to leave a room for anyone working on experimental Wayland/GDM/Gnome support to set their own option themselves). Namely , it will comment-out the WaylandEnable=false option in /etc/gdm/custom.conf and leave nvidia-drm.modeset=1 that is very useful for Optimus users to reduce tearing.

The best workaround to this issue is to use this on command line:

 $ sudo dnf reinstall xorg-x11-drv-nvidia

It will reset the appropriate current options for the driver.

When (if) GNOME will correctly support the way the NVIDIA driver intends to operate with Wayland, this option will be dropped on install, (but will need to be re-enabled explicitly by users).

edit flag offensive delete link more

answered 2018-05-30 15:25:44 -0500

I can confirm the starts trick to work just fine. Did anyone already file a bug against rpmfusion / fedora?

edit flag offensive delete link more


I took the initiative and filed this bug. Please everybody sign in there and add more information if you have it and add yourself to its CC list for updates. (Please don't just add a "this affects me, too" comment, as that does not help the developers solve the problem.)

emblemparade gravatar imageemblemparade ( 2018-06-09 13:52:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-05-07 04:52:23 -0500

Seen: 877 times

Last updated: Jun 09