You are not logged in.

#1 2024-01-06 06:29:10

TempusNemini
Member
From: Moon
Registered: 2023-07-16
Posts: 17

Log out from WM session to text ly mode failed with NVIDIA drivers

Hello!
I have an old iMac (2013), i usee i3wm with ly as display manager.
I've installed proprietory NVIDIA drivers (whole 470xx set - drivers / settings / utils), and everything works fine except one thing: now i can not leave i3 session, i mean i can leave, but looks like graphic mode or whatever do not let ly take control. It's working, so if i type my password again - i can log in, but there is just black screen when i leave i3.
Any ideas how to solve it? Of course one way is to replace ly with graphics display manager like sddm, but i would like to have possibility to be able to load to tty without xorg running if necessary (in case if it breaks - to fix it).

Last edited by TempusNemini (2024-01-06 06:29:52)

Offline

#2 2024-01-06 09:31:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

Does returning to the console from an agetty login and startx work as expected?

ly is fundamentally broken (ie. doesn't properly support logind), https://github.com/fairyglade/ly/issues/380 and maaaaaany more
https://wiki.archlinux.org/title/Displa … er#Console

Offline

#3 2024-01-06 11:19:43

TempusNemini
Member
From: Moon
Registered: 2023-07-16
Posts: 17

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

seth wrote:

Does returning to the console from an agetty login and startx work as expected?

What i did is i stopped and disabled ly.service, so i boot into teminal login. Then i created .xinitrc with "exec i3" and executed startx. Is that what you've meant?
Anyways - result is the same, when i left i3 session i see just black screen. Terminal is working, so i can type "sudo reboot" or "startx" to run i3 again.
Not a biggest problem, this is machine for one user only, and i just can hibernate to swap partition and never logout, but i prefer things to work the way they should (if possible, of course :-) )

Last edited by TempusNemini (2024-01-06 11:21:04)

Offline

#4 2024-01-06 11:22:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

It's then probably the nvidia drivers, possibly simpledrm.
Do you have  https://wiki.archlinux.org/title/NVIDIA … de_setting enabled (the nvidia_drm.modeset=1 kernel parameter is crucial, a modprobe.conf entry won't do)

If you're using grub, you could also try to https://wiki.archlinux.org/title/GRUB/T … ramebuffer

Offline

#5 2024-01-06 12:20:01

TempusNemini
Member
From: Moon
Registered: 2023-07-16
Posts: 17

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

seth wrote:

It's then probably the nvidia drivers, possibly simpledrm.

If i enable DRM (=1) - i have black screen even instead of ly window (still working and i can enter Xorg session by typing password).
GRUB buffering was already disabled (this line was uncommented in default grub config from the beginning).

Offline

#6 2024-01-06 14:20:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

"Grub buffering"? You're not supposed to comment anything there.
Please post your grub config and a complete system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#7 2024-01-06 15:48:57

TempusNemini
Member
From: Moon
Registered: 2023-07-16
Posts: 17

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

seth wrote:

"Grub buffering"?

Sorry, i've meant GRUB framebuffer, from your second link.

Here is journalctl output: https://0x0.st/H6Gs.txt
Here is grub config: https://0x0.st/H6GX.txt
Just in case - /etc/default/grub: https://0x0.st/H6Gb.txt

Last edited by TempusNemini (2024-01-06 16:33:57)

Offline

#8 2024-01-06 15:52:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,582

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

It's not a "grub framebuffer" but a way to control the console VGA and if the framebuffer console is disabled (you get 80x25 chars) I'm not sure about the immediate impact of nvidia_drm.modeset

And please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

seth wrote:

Please post your grub config and a complete system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#9 2024-01-06 15:53:54

TempusNemini
Member
From: Moon
Registered: 2023-07-16
Posts: 17

Re: Log out from WM session to text ly mode failed with NVIDIA drivers

seth wrote:

Please post your grub config and a complete system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

I added it to my previous post.

Offline

Board footer

Powered by FluxBB