Desktop logs out to lock screen (nvidia)

Hello everyone,
A new member here.

I have observed exactly same issue on my hardware.
Just fresh ROME install on AMD Ryzen 7 7700X with nVidia GeForce RTX 4080.

After installation system was booting without a problem using nouveau driver.
Then I tried to install nVidia propriety drivers and finished with crashing Plasma6 around 30 seconds after login through sddm.
Currently I am using OM Plasma6 with just bypassing sddm login and nvidia drivers are working fine. I haven’t tried mentioned workaround yet (installing drivers without loggin through sddm), but just want to confirm the same issue exists on my hardware. I hope that developers will find a root cause of that behavior.

I hope to stay with OM distro for a longer way - my first linux distribution of a choice was a Mandrake 7.0 or 8.0, distributed as CDs with some magazine in press shop, but it was in a previous century. I have been an Ubuntu user for a long time, but Lunduke Journal convinced me to try OM, and here I am.

1 Like

The workaround doesn’t work for me. I followed the steps in Rich’s post and I still get logged out every 2 minutes. I guess I’ll go back to Arch and watch these forums for it to be fixed.

1 Like

I did get the workaround I posted above to work, where it will log in if you select “X11” but I can’t get it to play games in Steam. Right now I have OM installed on an external USB Hard drive to experiment with, and on my Intel based laptop.

It would be nice if the open-nvidia driver was worthy of using as I would bet a lot of the issues we’re seeing would go away.

1 Like

We are currently using 565.77 which is the version where nvidia claims the open driver and the closed driver have feature parity. Which would seem to be accurate, because they have the same issues. That being said, we package the open driver but we do not have any devs that have an nvidia card new enough to test it (16xx or newer).

I’ll reset my USB hard drive and instead of installing the closed NVIDIA driver, I’ll install the OPEN driver and report back,

Although installing the nvidia drivers has solved this problem for me i have noticed that for a split second between the boot splash and login screens i get some error messages. I’ve tried journalctl and dmsg to track them down but not sure if i have found them

Jan 21 22:37:19 Z710-OMrome kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Jan 21 22:37:19 Z710-OMrome kernel: ACPI Warning: SystemIO range 0x0000000000000830-0x000000000000083F conflicts with OpRegion 0x0000000000000800-0x000000000000085F (\_SB.PCI
0.PEG0.PEGP.GPIO) (20240827/utaddress-204)
Jan 21 22:37:19 Z710-OMrome kernel: ACPI Warning: SystemIO range 0x0000000000000830-0x000000000000083F conflicts with OpRegion 0x0000000000000800-0x000000000000083F (\GPRL) (
20240827/utaddress-204)
Jan 21 22:37:19 Z710-OMrome kernel: ACPI Warning: SystemIO range 0x0000000000000830-0x000000000000083F conflicts with OpRegion 0x0000000000000800-0x0000000000000BFF (\GPR) (2
0240827/utaddress-204)

after googling around i found out this this is often connected to nvidia gpus and can cause suspend resume to not work another problem i’m having and haven’t solved yet. as this is all nvidia related could both problems be connected to this warning. Also from what i saw it was mostly found with older hardware.

1 Like

@engine
welcome1

Update:

  1. Ran through my script above, but instead of installing the closed source drivers, from Konsole:
    sudo dnf in nvidia-dkms-kmod-open-565.77-3-omv2490.x86_64.rpm
  2. This installed the necessary dependencies, and updated the kernel to 6.13.RC5
  3. After rebooting, I didn’t touch anything and let it boot straight to SDDM.
    4.1 NO ERRORS!!
    4.2 Was using the desktop for about two hours, installed Steam, Lutris and browsed the web.
    4.3 Tested four games, three worked fine, one of them has known issues. two of them were running through Proton.
    4.4 Tested WebGL. The de-googled Chromium it ran terrible. In the Vivaldi flatpak I installed it was smooth.

Cons:

  • There seems to be more screen tearing in games, didn’t notice any on the desktop.
  • I don’t know if this is related, but when I press CTRL+ALT+F4 to switch to TTY4, it is stuck on the loading display that OMLx shows when first loading from Grub. I tried also booting from the new Kernel straight to the Console and the same thing happens. It gets stuck on the loading screen, and I can’t switch to other TTY.

Conclusion:

  • Overall given how poorly the proprietary drivers worked for me in OMLx the open source drivers performed MUCH better. The Desktop was super responsive and made me hopeful for eventually replacing my Arch install on the desktop.
1 Like

I remember way back when and Nvidia were the good guys in the Linux space.

2 Likes

Sadly they still have better performance / $ over AMD. I’m hopeful the new Intel cards can compete better on that front.

The used 1660 TIs are now going for about ~ $100.

A comparable 6-8 GB AMD card is twice as much (6600 XT). Honestly looking back at the issues I’ve had, I’d almost rather have paid a little more to update these both to 6600 XTs.

1 Like

You can also use the non dkms flavor. We really only recommend that if you are building your own kernels, or really want to test it on Cooker with a new kernel and it’s failing to build in ABF. In ROME, the kernel and the kmod will get updated at the same time.

1 Like

Thanks, what would be the dnf command for that?

I tried, sudo dnf in nvidia-open and it didn’t do anything.

Also - is there an open issue for the TTY weirdness?

sudo dnf in nvidia nvidia-kmod-open-desktop

It should replace nvidia-kmod-desktop since the other one provides the kmod.

TTY’s have been finicky on nvidia proprietary drivers for a while, but it seems the open ones might have inherited it. It has to do with their framebuffer being fairly new. We include the framebuffer kernel mode parameter in grub already.

Does the open driver set that as well?

Here’s the current flags I have set in Grub after installing it the way I described above:

linux	/boot/vmlinuz-6.13.0-desktop-0.rc5.1omv2490 root=UUID=3ba4175a-2f62-4c6f-84c4-c6643301ab98 ro  
nouveau.modeset=0 nvidia-drm.modeset=1 nvidia-drm.fbdev=1 quiet splash logo.
nologo audit=0 rd.timeout=120 dm_mod.use_blk_mq=1 rd.
systemd.show_status=0 systemd.show_status=0

This is the setting.

1 Like

From my research, it looks like >6.11 no longer recognize that command.

https://bbs.archlinux.org/viewtopic.php?id=301525

Further down the page is the guidance I saw on it:

Basically, it’s just redundant and we are keeping it there for compatibility. If it needs to be removed later, it can be.

1 Like

Hello everyone!

I decided to come back to OM after some time “flirting” with bluefin (I like the idea, but I think it’s not for me). Anyway, after installing I ran after the same problem again, and started trying stuff once more.

The problem seems to be SDDM. Right now I’m using lightdm as a session manager and it’s been working as expected, without messing with the nVidia drivers. I tried replacing the plasma6-sddm package with the SDDM one, but neither worked.

I guess the steps to follow would be these:

sudo dnf install lightdm --allowerasing

Note: I had to add the --allowerasing flag because lightdm conflicts with SDDM. If it doesnt delete the sddm packages automatically you can do so manually. Please check that it doesn’t uninstall half the system with it, as I think it did once when I was fiddling around.

Check if lightdm is enabled:

systemctl status lightdm.service

And if it’s not enabled by default, enable it with:

sudo systemctl enable lightdm.service

Anyway, I hope this is useful to someone else. Please let us know if it worked for you, so as to see if the SDDM package has a beef with nVidia graphic cards :rofl:

1 Like

I just found this thread by @pastorczo13 , which seems to address the same (or a similar) issue. Maybe the problem has to do with how SDDM manages the compositor?

Can’t edit this again. After accidentally nuking my system and reinstalling I discovered some additional steps.

You first have to activate the extras repositories, as they contain the lightdm package. This can be done easily with the Welcome app.

I also had to delete plasma6-sddm manually. Use --noautoremove so that you still have KDE afterwards.

sudo dnf remove --noautoremove plasma6-sddm
3 Likes