You are not logged in.
Graphics: AMD + Nvidia 470 DKMS (5800HS + GTX1650)
Display server: Wayland (I have no issues with the Nvidia driver!)
DE: Gnome 41
DM: GDM
Linux: 5.14
Note: I cannot try using Nouveau for testing, it makes my laptop completely freeze.
What I've tried:
Here's my /usr/lib/udev/rules.d/61-gdm.rules:
# disable Wayland on Hi1710 chipsets
#ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"
# disable Wayland when using the proprietary nvidia driver
#DRIVER=="nvidia", RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"
# disable Wayland if modesetting is disabled
#IMPORT{cmdline}="nomodeset", RUN+="/usr/lib/gdm-runtime-config set daemon WaylandEnable false"/etc/gdm/custom.conf:
# GDM configuration storage
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=true
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=trueEvery time I reboot my computer and try to login, there's only one DE option (it's not listed because it's only one) - Gnome (Xorg). I have to log into it, on X11, then I can log out, and on subsequent login attempts (until I reboot), I have both Gnome and Gnome (Xorg), and I can log into a working wayland session, but it automatically disables all of my extensions (which I can re-enable, but they shouldn't turn off to begin with).
This doesn't happen if I uninstall the Nvidia driver, but I want to use my dGPU.
Manually restarting gdm after boot (by dropping into a tty) also works, but shouldn't gdm wait to start until all of the wayland stuff is ready?
Any suggestions on what I should try so that I don't have to log into an xorg session on first login?
Last edited by lirannl (2021-10-16 00:29:14)
Offline
Offline
Thank you! It worked after I fixed my UEFI stub ![]()
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
I have this same problem, but adding the Nvidia modules to /etc/mkinitcpio.conf has made Wayland completely disappear as an option to log in to Gnome with, whereas before if I logged into X11 and then logged out, I could choose Wayland as an option.
/etc/mkinitcpio.conf:
MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base udev autodetect keyboard keymap modconf block encrypt filesystems fsck)I did run mkinitcpio -P after modifying the config.
Something I'm missing here?
Last edited by Fingel (2021-10-21 21:21:39)
Offline
Manually restarting gdm after boot (by dropping into a tty) also works
I have this same problem
True?
If so, did you maybe forget to mount the /boot partition and updated the wrong initramfs?
=> System journal?
Offline