Fedora 35 Silverblue + Nvidia proprietary driver, no wayland session

Hi guys,

I have nvidia gtx 1070 GPU. Installed latest nvidia proprietary driver, after this Wayland sessions is gone.
I read that with latest nvidia driver and fedora 35, Wayland sessions should be enabled by default.

Anyone can help me to solve this problem?

Hello @pi ,
And welcome to the discussion area for all things contributing to Fedora Linux. A good place to start out finding user support is ask.fedoraproject.org, very likely your question has been asked and answered there. I don’t use Nvidia cards so don’t have to deal with it, and the only PC I have to support with one is using the open driver for it, and is more than 5 years old. Did you actually lose the option to login with Wayland? Or does it just not work? Are there some log info you can provide from the unusable session? Say maybe journalctl -b -1 --priority=3 to look at the previous boot (if it was the failed boot).

Option to choose wayland gets disabled when you install nvidia proprietary drivers. But this will change in a day or two for Fedora 35 at least. The default will still be x.org but you will be able to choose wayland from the menu at login screen if you want to.

The related package.
https://bodhi.fedoraproject.org/updates/FEDORA-2021-e8fed15ace

1 Like

Hi,

I checked installed version of gnome session and it is gnome-session-40.1.1-2.fc35.x86_64, i think that is why I doesn’t have option on login screen to use wayland. Will wait when update for this package will be available and check after this.

Thank you!

The Wayland session is not available after installing nvidia-drivers due to a gdm rule disabling it by default.
You don’t really need to wait for Fedora to alter this config either. Just comment out the blacklist rules.

Before editing out the rule, you’re going to want to run the following:
sudo ostree admin unlock --hotfix
It’s going to create a new deployment based on your changes to the otherwise readonly /usr path.

The file you’re interested in is /usr/lib/udev/rules.d/61-gdm.rules. It contains a few rules about nvidia and EGL Streams, I’m not on my PC rn, but just comment out any line mentioning these.

Reboot into your new deployment or reload udev and restart gdm and you’ll be set.
Be aware that hotfixes won’t persist across new deployments so you’ll need to keep re-editing that file every now and then until this blacklist is finally removed.

I have not tested that as I don’t have an NVIDIA card but you might be able to do that override more easily by copying /usr/lib/udev/rules.d/61-gdm.rules to /etc/udev/rules.d/61-gdm.rules and removing the lines there. You might then need to tell udev to reload the rules with udev - ArchWiki.

Hi guys,

Thank you for answers. Now I can choose Gnome Wayland in login menu. But after I choose wayland session and login, it just show black screen. I also can’t enter to tty by Alt+F1 or other shortcuts.

After reboot and login in Xorg session I try to get some logs:

-- Journal begins at Tue 2021-10-05 12:45:35 +03, ends at Mon 2021-10-18 17:56:53 +03. --
Oct 18 17:54:28 fedora kernel: x86/cpu: SGX disabled by BIOS.
Oct 18 14:54:30 fedora kernel: 
Oct 18 14:54:32 fedora alsactl[890]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0xf7240000 irq 134)
Oct 18 14:54:32 fedora alsactl[890]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
Oct 18 14:54:32 fedora alsactl[890]: alsa-lib parser.c:242:(error_node) UCM is not supported for this HDA model (HDA NVidia at 0xf7080000 irq 17)
Oct 18 14:54:32 fedora alsactl[890]: alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Oct 18 14:54:44 DESKTOP-1MB6N1I gdm-password][1433]: gkr-pam: unable to locate daemon control file
Oct 18 14:54:46 DESKTOP-1MB6N1I sssd[1833]: SSSD couldn't load the configuration database [2]: No such file or directory.
Oct 18 14:54:46 DESKTOP-1MB6N1I systemd[1475]: Failed to start Application launched by gnome-session-binary.
Oct 18 14:54:46 DESKTOP-1MB6N1I systemd[1475]: Failed to start Application launched by gnome-session-binary.
Oct 18 14:54:46 DESKTOP-1MB6N1I systemd[1475]: Failed to start Application launched by gnome-session-binary.
Oct 18 14:54:47 DESKTOP-1MB6N1I kernel: [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to get memory pages for NvKmsKapiMemory 0x000000004b58a3e9
Oct 18 14:54:47 DESKTOP-1MB6N1I kernel: BUG: kernel NULL pointer dereference, address: 000000000000000c
Oct 18 14:54:47 DESKTOP-1MB6N1I kernel: #PF: supervisor read access in kernel mode
Oct 18 14:54:47 DESKTOP-1MB6N1I kernel: #PF: error_code(0x0000) - not-present page