Gdm on wayland issue

Hi
I hav a laptop with fedora 39. I connect it to an external monitor. Today when I booted it with 2nd monitor unplugged gdm failed to start (it starts and after ~1 second crashes and again and again).
I can switch to console but nothing special in journalctl. I found this in dmesg:

[   17.639921] show_signal_msg: 51 callbacks suppressed
[   17.639922] gnome-shell[1602]: segfault at 0 ip 00007feb89b4aadb sp 00007fffed2b38e0 error 4 in kms_swrast_dri.so[7feb89ae8000+1680000] likely on CPU 10 (core 4, socket 0)
[   17.639929] Code: c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 48 89 e5 41 55 44 8d 6e 07 41 54 41 83 e5 f8 41 89 f4 48 83 ec 10 <8b> 0f 41 8d 44 0d 00 39 47 04 72 29 89 07 48 03 4f 08 74 61 48 89
[   18.358476] rfkill: input handler enabled
[   19.628937] rfkill: input handler disabled
[   19.787113] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7

When I plug my monitor back in, it starts to work.

I managed to make it working on without that by disabling WaylandEnabled= in /etc/gdm/custom.conf but it enforces xorg everywhere and disables me from using both on my monitors (generally I preffer to use wayland).
Anyone has any idea what may be wrong and how to debug this?

It appears you’re using software rendering. What’s your GPU?

It appears you’re using software rendering. What’s your GPU?

NVIDIA GeForce RTX 2080 SUPER Mobile / Max-Q and I’m using driver=nouveau

My understanding is that nouveau’s support for your GPU is currently extremely poor. This should improve significantly in the near future with the adoption of nvidia’s GSP firmware.

For now, your best bet is the proprietary driver.

1 Like

My understanding is that nouveau’s support for your GPU is currently extremely poor. This should improve significantly in the near future with the adoption of nvidia’s GSP firmware.

wahts starnge is that it worked about week ago and it stopped after some update…

And you’ve always been using nouveau, and not the nvidia driver?

You can check journalctl -k | grep -i nouveau to see what might be going wrong.

And you’ve always been using nouveau, and not the nvidia driver?

I used to play with the official driver but it generated some other strange issues so I gave up and was ussing nouveau for a longer time whent the crash started to appear

journalctl
Jan 22 20:48:23 fedora kernel: nouveau: detected PR support, will not use DSM
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: enabling device (0006 -> 0007)
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: NVIDIA TU104 (164000a1)
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: bios: version 90.04.97.40.39
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: pmu: firmware unavailable
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: gr: firmware unavailable
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: sec2: firmware unavailable
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: fb: 8192 MiB GDDR6
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: VRAM: 8192 MiB
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: BIT table 'A' not found
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: BIT table 'L' not found
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: TMDS table version 2.0
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB version 4.1
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB outp 00: 02803f66 04600020
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB outp 01: 01810f36 04600010
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB outp 02: 01821f46 04600020
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB outp 03: 02832f56 04600010
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB outp 04: 02032f52 00020010
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB conn 00: 00001046
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB conn 01: 00002146
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB conn 02: 00010246
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: DCB conn 03: 00020347
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
Jan 22 20:48:23 fedora kernel: [drm] Initialized nouveau 1.4.0 20120801 for 0000:01:00.0 on minor 1
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: DRM: Disabling PCI power management to avoid bug
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Jan 22 20:48:23 fedora kernel: nouveau 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Jan 22 19:48:29 fedora kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
Jan 22 19:49:43 fedora kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!

Hello. I encountered the same problem on my Dell Vostro7590 laptop.
After the last dnf update, gdm didn’t offer me a list of users anymore and looped endlessly.
Boot was possible in tty2 and startx was working fine.
I have fixed by disabling wayland in GDM’s custom.conf and everything went back to normal.
How can i help you to help us?
Bests regards.
Jean-Luc

# Rapport d’informations du système
---

## DĂ©tails du compte rendu
- **Date de génération :**                         2024-01-25 15:08:46

## Hardware Information:
- **Modèle du matériel :**                         Dell Inc. Vostro 7590
- **MĂ©moire :**                                    16,0 Gio
- **Processeur :**                                 Intel® Core™ i7-9750H × 12
- **Carte graphique :**                            Intel® UHD Graphics 630 (CFL GT2)
- **Carte graphique 1 :**                          Intel® UHD Graphics 630 (CFL GT2)
- **Capacité du disque :**                         1,0 To

## Software Information:
- **Version du micrologiciel :**                   1.19.0
- **Nom du système d’exploitation :**              Fedora Linux 39 (Workstation Edition)
- **Construction du système d’exploitation :**     (null)
- **Type de système d’exploitation :**             64 bits
- **Version de GNOME :**                           45.3
- **Système de fenêtrage :**                       X11
- **Version du noyau :**                           Linux 6.6.12-200.fc39.x86_64
journalctl -k | grep -i nouveau
jan 24 20:21:19 jllinux kernel: nouveau: detected PR support, will not use DSM
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: enabling device (0000 -> 0003)
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: NVIDIA TU117 (167000a1)
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: bios: version 90.17.1b.00.45
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: pmu: firmware unavailable
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: gr: firmware unavailable
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: sec2: firmware unavailable
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: fb: 4096 MiB GDDR5
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: BIT table 'A' not found
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: BIT table 'L' not found
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: Pointer to TMDS table not found
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: DCB version 4.1
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
jan 24 20:21:19 jllinux kernel: [drm] Initialized nouveau 1.4.0 20120801 for 0000:01:00.0 on minor 1
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: [drm] No compatible format found
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
jan 24 20:21:19 jllinux kernel: nouveau 0000:01:00.0: DRM: Disabling PCI power management to avoid bug
jan 24 19:22:14 jllinux kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!
jan 24 19:23:30 jllinux kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!
jan 24 19:25:32 jllinux kernel: nouveau 0000:01:00.0: fb: VPR locked, but no scrubber binary!

Is nvidia-gpu-firmware installed?

Thanks for your answer.
I don’t think so but how can i be sure (any command or log file?) ?
Regards.
Jean-Luc

rpm -qa --queryformat “%{NAME}\n” | grep nvidia
xorg-x11-drv-nvidia-kmodsrc
xorg-x11-drv-nvidia-cuda-libs
xorg-x11-drv-nvidia-libs
xorg-x11-drv-nvidia-libs

dnf list installed \*firmware

If the nvidia-gpu-firmware package is not shown in that list but linux-firmware is shown then please use either
sudo dnf reinstall linux-firmware or sudo dnf install nvidia-gpu-firmware
to ensure the firmware packages are up to date, then reboot.

That list you show with the rpm command seems incomplete in what nvidia packages it shows. Please post dnf list installed \*nvidia\* so we may see all the nvidia packages installed.

Ok Thank you again.

dnf list installed *firmware
Updating and loading repositories:
Fedora 39 - x86_64 - Updates 100% | 23.2 KiB/s | 20.1 KiB | 00m01s
RPM Fusion for Fedora 39 - Free tainted 100% | 8.9 KiB/s | 6.2 KiB | 00m01s
Fedora 39 - x86_64 - Updates 100% | 1.1 MiB/s | 2.7 MiB | 00m03s
Repositories loaded.
Installed packages
alsa-firmware.noarch 1.2.4-10.fc39 fedora
alsa-sof-firmware.noarch 2023.12-1.fc39 updates
alsa-tools-firmware.x86_64 1.2.5-9.fc39 fedora
amd-gpu-firmware.noarch 20240115-2.fc39 updates
amd-ucode-firmware.noarch 20240115-2.fc39 updates
atheros-firmware.noarch 20240115-2.fc39 updates
atmel-firmware.noarch 1.3-30.fc39 fedora
brcmfmac-firmware.noarch 20240115-2.fc39 updates
cirrus-audio-firmware.noarch 20240115-2.fc39 updates
crystalhd-firmware.noarch 3.10.0-30.fc39 fedora
gnome-firmware.x86_64 45.0-2.fc39 updates
intel-audio-firmware.noarch 20240115-2.fc39 updates
intel-gpu-firmware.noarch 20240115-2.fc39 updates
ipw2100-firmware.noarch 1.3-29.fc35 fedora
ipw2200-firmware.noarch 3.1-22.fc35 fedora
iwlegacy-firmware.noarch 20240115-2.fc39 updates
iwlwifi-dvm-firmware.noarch 20240115-2.fc39 updates
iwlwifi-mvm-firmware.noarch 20240115-2.fc39 updates
libertas-firmware.noarch 20240115-2.fc39 updates
linux-firmware.noarch 20240115-2.fc39 updates
mt7xxx-firmware.noarch 20240115-2.fc39 updates
nouveau-firmware.noarch 340.32-11.fc39 rpmfusion-nonfree-tainted
nxpwireless-firmware.noarch 20240115-2.fc39 updates
realtek-firmware.noarch 20240115-2.fc39 updates
tiwilink-firmware.noarch 20240115-2.fc39 updates
zd1211-firmware.noarch 1.5-14.fc39 fedora

dnf list installed *nvidia*
Updating and loading repositories:
Repositories loaded.
Installed packages
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:545.29.06-2.fc39 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:545.29.06-2.fc39 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686 3:545.29.06-2.fc39 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64 3:545.29.06-2.fc39 rpmfusion-nonfree-updates

I try sudo dnf reinstall linux-firmware or sudo dnf install nvidia-gpu-firmware and let you know the result.

Same behavior after both sudo dnf reinstall linux-firmware or sudo dnf install nvidia-gpu-firmware
GDM start, i have the graphic gdm with mouse pointer and (in french) Absent de la liste?
Then black screen followed by the graphic gdm with mouse pointer and (in french) Absent de la liste?
Endlessly.
CTRL Alt F2 let me login with my user and startx give me my usual desktop.

I have tried to install sddm and with it, the user list appears fine.
But i can not start with wayland, only X11 is working.

This is unusual for the firmware list, since it comes from rpmfusion and appears it may be an extremely old firmware version.

Please show us the output of inxi -Fzxx
Also please post text using the preformatted text button </> so we see the same formatting here as you see on your screen.
It seems you are sometimes using the </> button and other times using the blockquote " button where the formatting is not retained.

This shows the difference in what you posted above when using the </> button.

 dnf list installed \*nvidia\*
Updating and loading repositories:
Repositories loaded.
Installed packages
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:545.29.06-2.fc39  rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:545.29.06-2.fc39  rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686              3:545.29.06-2.fc39  rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64            3:545.29.06-2.fc39  rpmfusion-nonfree-updates

I have downgraded
xorg-x11-server-Xwayland x86_64 23.2.1-1.fc39
from
xorg-x11-server-Xwayland x86_64 23.2.4-1.fc39

And the gdm works fine…

I follow your instructions.

Impressive, I didn’t know the formatting thing.
Fedora is so stable usually.

> inxi -Fzxx
System:
  Kernel: 6.6.13-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: GNOME v: 45.3 tk: GTK v: 3.24.40 wm: gnome-shell
    dm: 1: GDM 2: SDDM note: stopped Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Laptop System: Dell product: Vostro 7590 v: N/A serial: <filter>
    Chassis: type: 10 serial: <filter>
  Mobo: Dell model: 0JKGD4 v: A00 serial: <filter> UEFI: Dell v: 1.19.0
    date: 03/19/2023
Battery:
  ID-1: BAT0 charge: 15.7 Wh (100.0%) condition: 15.7/56.0 Wh (28.1%)
    volts: 12.8 min: 11.4 model: LGC-LGC4.64 DELL 5D91C9A serial: <filter>
    status: full
CPU:
  Info: 6-core model: Intel Core i7-9750H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 ports: active: eDP-1
    empty: DP-1,DP-2,DP-3 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Dell
    driver: nouveau v: kernel arch: Turing pcie: speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:1f91 temp: 37.0 C
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:2 chip-ID: 0bda:5538
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.1
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1510 res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.3 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    device-ID: 8086:3e9b
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3 chip-ID: 8086:a348
  API: ALSA v: k6.6.13-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-14:3
    chip-ID: 8087:0aaa
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.1 lmp-v: 10
Drives:
  Local Storage: total: 1.03 TiB used: 708.92 GiB (67.5%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC501A NVMe 128GB
    size: 119.24 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 35.9 C
  ID-2: /dev/sda vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 34 C
Partition:
  ID-1: / size: 68.35 GiB used: 51.78 GiB (75.8%) fs: ext4 dev: /dev/dm-0
    mapped: fedora_localhost--live-root
  ID-2: /boot size: 973.4 MiB used: 465.7 MiB (47.8%) fs: ext4
    dev: /dev/sda4
  ID-3: /boot/efi size: 598.8 MiB used: 56.8 MiB (9.5%) fs: vfat
    dev: /dev/sda3
  ID-4: /home size: 377.37 GiB used: 312.86 GiB (82.9%) fs: ext4
    dev: /dev/dm-2 mapped: fedora_localhost--live-home
Swap:
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 mapped: fedora_localhost--live-swap
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 47.0 C gpu: nouveau temp: 37.0 C
  Fan Speeds (rpm): cpu: 0 fan-1: 0
Info:
  Processes: 355 Uptime: 8m Memory: total: 16 GiB available: 15.4 GiB
  used: 2.53 GiB (16.4%) igpu: 64 MiB Init: systemd v: 254
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1
  clang: 17.0.6 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak
  pkgs: 53 Shell: Bash v: 5.2.26 running-in: gnome-terminal inxi: 3.3.31

This shows the nvidia gpu.

With that I would suggest this process.

  1. remove the nouveau firmware. dnf remove nouveau-firmware
  2. install the nvidia-gpu-firmware which has support for that nvidia GPU.
    dnf install nvidia-gpu-firmware
  3. install akmods in preparation for installing the nvidia drivers.
    dnf install akmods then reboot.
  4. If using secure boot then follow the steps in the file /usr/share/doc/akmods/README.secureboot which will allow signing the kernel modules so they can be loaded with secure boot enabled.
  5. install the nvidia drivers which have full support for that nvidia gpu.
    a. dnf repolist to verify that the rpmfusion-nonfree-nvidia-driver repo is enabled. If not then enable it within the gnome software app (hambutger menu in upper right corner)
    b. when certain that repo is enabled then dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
  6. After the installation in step 5 completes then wait 5 minutes before rebooting.

At this point the nvidia drivers should load and problems with the display should be solved. From this point on everything should work properly when updating.

Note that if anything in that process gives an error message then fix the problem before moving to the next step.

1 Like