luc@fedora:~$ ps aux | grep kmod
luc 60180 0.0 0.0 227788 2176 pts/1 S+ 23:57 0:00 grep --color=auto kmod
That single line is exactly what I suggested above.
hello and thanks for your advises, so it seems that i should finally be fine, with those nvidia drivers ?
Only you can tell us the results of following the suggested actions.
Have you completed the suggested steps and then rebooted to see if everything worked as expected?
yes i did every steps provided here , did a reboot and send you the result of : ps aux | grep kmod. I also check systemctl list-jobs it returns : No jobs running.
and systemctl status give
luc@fedora40:~$ systemctlstatus
bash: systemctlstatus: command not found...
luc@fedora40:~$ systemctl status
β fedora40
State: running
Units: 513 loaded (incl. loaded aliases)
Jobs: 0 queued
Failed: 0 units
Since: Sun 2024-07-07 19:49:20 CEST; 1min 15s ago
systemd: 255.8-1.fc40
CGroup: /
ββinit.scope
β ββ1 /usr/lib/systemd/systemd --switched-root --system --deserializ>
ββsystem.slice
β ββModemManager.service
β β ββ1212 /usr/sbin/ModemManager
β ββNetworkManager.service
β β ββ1246 /usr/sbin/NetworkManager --no-daemon
β ββabrt-journal-core.service
β β ββ1234 /usr/bin/abrt-dump-journal-core -D -T -f -e
β ββabrt-oops.service
β β ββ1241 /usr/bin/abrt-dump-journal-oops -fxtD
β ββabrt-xorg.service
β β ββ1242 /usr/bin/abrt-dump-journal-xorg -fxtD
β ββabrtd.service
β β ββ1207 /usr/sbin/abrtd -d -s
β ββaccounts-daemon.service
β β ββ939 /usr/libexec/accounts-daemon
β ββalsa-state.service
β β ββ1216 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/al>
β ββauditd.service
β β ββ898 /usr/sbin/auditd
β ββavahi-daemon.service
β β ββ918 "avahi-daemon: running [fedora40.local]"
β β ββ978 "avahi-daemon: chroot helper"
β ββchronyd.service
β β ββ1091 /usr/sbin/chronyd -F 2
β ββcolord.service
β β ββ3577 /usr/libexec/colord
β ββcrond.service
β β ββ3040 /usr/sbin/crond -n
β ββcups.service
β β ββ1316 /usr/sbin/cupsd -l
β ββdbus-broker.service
β β ββ910 /usr/bin/dbus-broker-launch --scope system --audit
β β ββ915 dbus-broker --log 4 --controller 9 --machine-id 8ca966e5e3>
β ββfirewalld.service
β β ββ1217 /usr/bin/python3 -sP /usr/sbin/firewalld --nofork --nopid
β ββflatpak-system-helper.service
β β ββ5766 /usr/libexec/flatpak-system-helper
β ββfwupd.service
β β ββ5411 /usr/libexec/fwupd/fwupd
β ββgdm.service
β β ββ3057 /usr/sbin/gdm
β ββgeoclue.service
β β ββ3935 /usr/libexec/geoclue
β ββgssproxy.service
β β ββ1391 /usr/sbin/gssproxy -D
β ββlow-memory-monitor.service
β β ββ921 /usr/libexec/low-memory-monitor
β ββmcelog.service
β β ββ924 /usr/sbin/mcelog --daemon --foreground
β ββollama.service
β β ββ3005 /usr/local/bin/ollama serve
β ββpackagekit.service
β β ββ3627 /usr/libexec/packagekitd
β ββpassim.service
β β ββ5459 /usr/libexec/passimd
β ββpcscd.service
β β ββ3739 /usr/sbin/pcscd --foreground --auto-exit
β ββpiavpn.service
β β ββ1320 /opt/piavpn/bin/pia-daemon
β ββpolkit.service
β β ββ932 /usr/lib/polkit-1/polkitd --no-debug
β ββpower-profiles-daemon.service
β β ββ934 /usr/libexec/power-profiles-daemon
β ββrealmd.service
β β ββ3988 /usr/libexec/realmd
β ββrtkit-daemon.service
β β ββ937 /usr/libexec/rtkit-daemon
β ββsshd.service
β β ββ1322 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
β ββsssd-kcm.service
β β ββ5067 /usr/libexec/sssd/sssd_kcm --uid 0 --gid 0 --logger=files
β ββswitcheroo-control.service
β β ββ940 /usr/libexec/switcheroo-control
β ββsystem-dbus\x2d:1.3\x2dorg.freedesktop.problems.slice
β β ββdbus-:1.3-org.freedesktop.problems@0.service
β β ββ5155 /usr/sbin/abrt-dbus -t133
β ββsystemd-homed.service
β β ββ947 /usr/lib/systemd/systemd-homed
β ββsystemd-hostnamed.service
β β ββ1260 /usr/lib/systemd/systemd-hostnamed
β ββsystemd-journald.service
β β ββ647 /usr/lib/systemd/systemd-journald
β ββsystemd-localed.service
β β ββ4905 /usr/lib/systemd/systemd-localed
β ββsystemd-logind.service
β β ββ952 /usr/lib/systemd/systemd-logind
β ββsystemd-machined.service
β β ββ953 /usr/lib/systemd/systemd-machined
β ββsystemd-oomd.service
β β ββ863 /usr/lib/systemd/systemd-oomd
β ββsystemd-resolved.service
β β ββ866 /usr/lib/systemd/systemd-resolved
β ββsystemd-udevd.service
β β ββudev
β β ββ698 /usr/lib/systemd/systemd-udevd
β ββsystemd-userdbd.service
β β ββ 679 /usr/lib/systemd/systemd-userdbd
β β ββ5597 "systemd-userwork: waiting..."
β β ββ5776 "systemd-userwork: waiting..."
β β ββ5806 "systemd-userwork: waiting..."
β ββudisks2.service
β β ββ961 /usr/libexec/udisks2/udisksd
β ββupower.service
β β ββ966 /usr/libexec/upowerd
β ββuresourced.service
β β ββ3253 /usr/libexec/uresourced
β ββvirtqemud.service
β β ββ3025 /usr/sbin/virtqemud --timeout 120
β ββwpa_supplicant.service
β ββ3958 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_suppl>
ββuser.slice
ββuser-1000.slice
ββsession-2.scope
β ββ4060 "gdm-session-worker [pam/gdm-password]"
β ββ4112 /usr/bin/gnome-keyring-daemon --daemonize --login
β ββ4145 /usr/libexec/gdm-x-session --run-script /usr/bin/gnome->
β ββ4147 /usr/libexec/Xorg vt2 -displayfd 3 -auth /run/user/1000>
β ββ4237 /usr/libexec/gnome-session-binary
β ββ4351 /usr/bin/ssh-agent /bin/sh -c "exec -l /bin/bash -c \"/>
ββuser@1000.service
ββapp.slice
β ββapp-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-4775.scope
β β ββ4775 /usr/libexec/evolution-data-server/evolution-alarm->
β ββapp-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-4786.>
β β ββ4786 /usr/libexec/gsd-disk-utility-notify
β ββapp-gnome-org.gnome.Software-4860.scope
β β ββ4860 /usr/bin/gnome-software --gapplication-service
β ββapp-gnome\x2dsession\x2dmanager.slice
β β ββgnome-session-manager@gnome.service
β β ββ4562 /usr/libexec/gnome-session-binary --systemd-servi>
β ββapp-org.gnome.Terminal.slice
β β ββgnome-terminal-server.service
β β β ββ5612 /usr/libexec/gnome-terminal-server
β β ββvte-spawn-baf46268-1797-4fa4-af6e-c8c8a049423b.scope
β β ββ5623 bash
β β ββ5844 systemctl status
β β ββ5845 less
β ββdbus-:1.2-org.freedesktop.portal.IBus@0.service
β β ββ4947 /usr/libexec/ibus-portal
β ββdbus-:1.2-org.freedesktop.problems.applet@0.service
β β ββ4949 /usr/bin/abrt-applet --gapplication-service
β ββdbus-:1.2-org.gnome.Epiphany.WebAppProvider@0.service
β β ββ5408 /usr/libexec/epiphany-webapp-provider
β ββdbus-:1.2-org.gnome.Identity@0.service
β β ββ5023 /usr/libexec/goa-identity-service
β ββdbus-:1.2-org.gnome.OnlineAccounts@0.service
β β ββ4966 /usr/libexec/goa-daemon
β ββdbus-:1.2-org.gnome.ScreenSaver@0.service
β β ββ4954 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Sc>
β ββdbus-:1.2-org.gnome.Shell.CalendarServer@0.service
β β ββ4693 /usr/libexec/gnome-shell-calendar-server
β ββdbus-:1.2-org.gnome.Shell.Notifications@0.service
β β ββ4724 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Sh>
β ββdbus-:1.6-org.a11y.atspi.Registry@0.service
β β ββ4664 /usr/libexec/at-spi2-registryd --use-gnome-session
β ββdconf.service
β β ββ4709 /usr/libexec/dconf-service
β ββevolution-addressbook-factory.service
β β ββ5080 /usr/libexec/evolution-addressbook-factory
β ββevolution-calendar-factory.service
β β ββ5022 /usr/libexec/evolution-calendar-factory
β ββevolution-source-registry.service
β β ββ4707 /usr/libexec/evolution-source-registry
β ββgnome-session-monitor.service
β β ββ4557 /usr/libexec/gnome-session-ctl --monitor
β ββsynergy.service
β β ββ4558 /opt/Synergy/synergy-service -d
β β ββ4653 /opt/Synergy/resources/synergy-tray
β β ββ4657 /opt/Synergy/synergy-core server -f --no-tray --ipc>
β ββtracker-miner-fs-3.service
β β ββ5380 /usr/libexec/tracker-miner-fs-3
β ββxdg-desktop-portal-gnome.service
β β ββ5206 /usr/libexec/xdg-desktop-portal-gnome
β ββxdg-desktop-portal-gtk.service
β ββ5364 /usr/libexec/xdg-desktop-portal-gtk
ββinit.scope
β ββ4074 /usr/lib/systemd/systemd --user
β ββ4083 "(sd-pam)"
ββsession.slice
β ββat-spi-dbus-bus.service
β β ββ4543 /usr/libexec/at-spi-bus-launcher
β β ββ4549 /usr/bin/dbus-broker-launch --config-file=/usr/shar>
β β ββ4550 dbus-broker --log 4 --controller 9 --machine-id 8ca>
β ββdbus-broker.service
β β ββ4226 /usr/bin/dbus-broker-launch --scope user
β β ββ4233 dbus-broker --log 4 --controller 9 --machine-id 8ca>
β ββgvfs-afc-volume-monitor.service
β β ββ5183 /usr/libexec/gvfs-afc-volume-monitor
β ββgvfs-daemon.service
β β ββ4565 /usr/libexec/gvfsd
β β ββ4575 /usr/libexec/gvfsd-fuse /run/user/1000/gvfs -f
β β ββ5268 /usr/libexec/gvfsd-trash --spawner :1.12 /org/gtk/g>
β ββgvfs-goa-volume-monitor.service
β β ββ5177 /usr/libexec/gvfs-goa-volume-monitor
β ββgvfs-gphoto2-volume-monitor.service
β β ββ5158 /usr/libexec/gvfs-gphoto2-volume-monitor
β ββgvfs-metadata.service
β β ββ4982 /usr/libexec/gvfsd-metadata
β ββgvfs-mtp-volume-monitor.service
β β ββ5007 /usr/libexec/gvfs-mtp-volume-monitor
β ββgvfs-udisks2-volume-monitor.service
β β ββ4955 /usr/libexec/gvfs-udisks2-volume-monitor
β ββorg.freedesktop.IBus.session.GNOME.service
β β ββ4730 /usr/bin/ibus-daemon --panel disable --xim
β β ββ4886 /usr/libexec/ibus-dconf
β β ββ4887 /usr/libexec/ibus-extension-gtk3
β β ββ4901 /usr/libexec/ibus-x11 --kill-daemon
β β ββ5228 /usr/libexec/ibus-engine-simple
β ββorg.gnome.SettingsDaemon.A11ySettings.service
β β ββ4732 /usr/libexec/gsd-a11y-settings
β ββorg.gnome.SettingsDaemon.Color.service
β β ββ4737 /usr/libexec/gsd-color
β ββorg.gnome.SettingsDaemon.Datetime.service
β β ββ4749 /usr/libexec/gsd-datetime
β ββorg.gnome.SettingsDaemon.Housekeeping.service
β β ββ4751 /usr/libexec/gsd-housekeeping
β ββorg.gnome.SettingsDaemon.Keyboard.service
β β ββ4759 /usr/libexec/gsd-keyboard
β ββorg.gnome.SettingsDaemon.MediaKeys.service
β β ββ4761 /usr/libexec/gsd-media-keys
β ββorg.gnome.SettingsDaemon.Power.service
β β ββ4764 /usr/libexec/gsd-power
β ββorg.gnome.SettingsDaemon.PrintNotifications.service
β β ββ4768 /usr/libexec/gsd-print-notifications
β β ββ5297 /usr/libexec/gsd-printer
β ββorg.gnome.SettingsDaemon.Rfkill.service
β β ββ4772 /usr/libexec/gsd-rfkill
β ββorg.gnome.SettingsDaemon.ScreensaverProxy.service
β β ββ4783 /usr/libexec/gsd-screensaver-proxy
β ββorg.gnome.SettingsDaemon.Sharing.service
β β ββ4787 /usr/libexec/gsd-sharing
β ββorg.gnome.SettingsDaemon.Smartcard.service
β β ββ4799 /usr/libexec/gsd-smartcard
β ββorg.gnome.SettingsDaemon.Sound.service
β β ββ4806 /usr/libexec/gsd-sound
β ββorg.gnome.SettingsDaemon.UsbProtection.service
β β ββ4815 /usr/libexec/gsd-usb-protection
β ββorg.gnome.SettingsDaemon.Wacom.service
β β ββ4834 /usr/libexec/gsd-wacom
β ββorg.gnome.SettingsDaemon.XSettings.service
β β ββ4839 /usr/libexec/gsd-xsettings
β ββorg.gnome.Shell@x11.service
β β ββ4635 /usr/bin/gnome-shell
β β ββ4673 /usr/libexec/mutter-x11-frames
β ββpipewire-pulse.service
β β ββ4985 /usr/bin/pipewire-pulse
β ββpipewire.service
β β ββ4579 /usr/bin/pipewire
β ββwireplumber.service
β β ββ4580 /usr/bin/wireplumber
β ββxdg-desktop-portal.service
β β ββ5034 /usr/libexec/xdg-desktop-portal
β ββxdg-document-portal.service
β β ββ5049 /usr/libexec/xdg-document-portal
β β ββ5060 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_u>
β ββxdg-permission-store.service
β ββ4694 /usr/libexec/xdg-permission-store
ββuresourced.service
ββ4559 /usr/libexec/uresourced --user
Great! βNo jobs running.β means it is safe to reboot.
ok nice, is it normal at the log in window that my password will only be recognize on the gnome x11 option and not on the 3 other ones which are gnome classic and 2 other wayland options ?
Did you check that you are writing each time the same password (by toggling the βmake password visibleβ icon)?
Might be that X11 and Wayland are using different keyboard layouts.
oh ok, like wayland will be in AZERTY while X11 in QWERTY strange ? , yes i checked making the password visible. But another thing wich is strange is that sometimes i have 4 choices and some other time only 2
Are you still only able to access X11 sessions from the GDM?
Ca you name what are the 2 options (when there are only 2 available), and what are the 4?
If his is like mine then with a cold boot or a restart it shows
gnome
gnome classic
and both log into x11.
When I log out and log back in (without a restart) it shows
gnome
gnome classic
gnome classic on xorg
gnome on xorg
and I can then select either wayland (the first two) or xorg.
Interesting. This brings me again to the thought of GDM process starting earlier than KMS, that I have mentioned to another user here, without being convinced about it though. ![]()
Could this explain why after a cold boot Wayland is not available (KMS not yet loaded), but after a logoff it is?
According to RPM Fusionβs team, the KMS feature is enabled by default in the nvidia drivers packaged by them.
This may be the cause. I had not thought of that issue though I had seen it mentioned.
What I donβt know is how to delay the gdm start to ensure kms is active first. My boot usually only takes about 17 seconds. Gdm starts in the last couple seconds of that.
I do have the option in the command line for nvidia-drm.modeset=1 that is mentioned in the link you provided.
I have seen advice for the following setup, with the caveat that I have not tested how it works. It is supposed to delay starting GDM with 3 seconds, which would give enough time for the Wayland KMS to start:
- Edit the GDM service:
sudo systemctl edit gdm
- Then add these lines as a drop-in file:
[Service]
ExecStartPre=/usr/bin/sleep 3
I donβt think the gdm tests work, my test setup uses gdm-x-session even if nvidia modeset is set.
leigh@leigh-pc:~$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y
I even tried loading the nvidia modules into initramfs so nvidia loaded early (3 seconds quicker) .
I have made a reference to KMS and nvidia, but actually the issue seems to be with KMS and Wayland.
For what itβs worth, I have tested the GDM delay setup, and it is working, meaning it booted to login screen some 3 seconds later. I donβt have the issue in question, so canβt confirm the fix.
Exactly same behaviour with my computer
Added rpmfusion
Kernel Mode Setting happends very early in the boot.
I would have thought a long time before userspace starts up and GDM.
