You are not logged in.
Whenever I am in a running Xorg (or Wayland) session, switch to a different TTY, and attempt to switch back, my keyboard stops working and my screen freezes.
Kernel: linux-zen-5.15.10.zen1-1
GPU: NVIDIA GeForce GTX 1070
Drivers: nvidia-dkms-495.46-1
This did not happen on the past, and has never happened to me on Gentoo.
Last edited by mersh (2021-12-22 05:08:31)
Offline
Offline
Those issues seem similar but my issue isn't specific to X, it also happens on Wayland.
Offline
Does it happen w/ nvidia-495.44?
Offline
Does it happen w/ nvidia-495.44?
Yes, the issue still persists.
Offline
Those issues seem similar but my issue isn't specific to X, it also happens on Wayland.
Is there still and Xorg TTY around? Did you try / did this happen w/ xorg-server 1.20.x ?
Offline
i have a similar issue, i also noticed this only recently.
i am running 5.10.87-1-lts, i have an RTX 2060 with nvidia-lts 1:495.46-4.
there are no problems switching from Xorg to a TTY. when i try to switch back, my screen freezes and i have to hard reset my pc.
here's what i noticed: if i kill the Xorg session, rmmod nvidia_drm and start Xorg again i can freely switch between Xorg and the other TTYs. However, i experience similar issues as described by OP, my keyboard appears not to be working. i know it does because i can launch rofi as usual, type a command and have it be executed, even though the prompt remains empty until i hit enter. instead, what seems to be the case is that windows just dont get redrawn, as my terminal appears but doesnt print the command prompt.
i tried rebooting with the kernel parameter nvidia-drm.modeset=0 but the issue persists.
edit: it seems https://bugs.archlinux.org/task/73075 posted by loqs describes the issue perfectly
Last edited by poweredbygamespy (2021-12-19 15:03:04)
Offline
Did you try / did this happen w/ xorg-server 1.20.x ?
Offline
pacman reports 21.1.2-1 as my version for xorg-server
Offline
Yeah, but the question was whether you expirienced that w/ 1.20 or can still reproduce it w/ that version - because of the bug loqs linked and there also https://bbs.archlinux.org/viewtopic.php?id=272232
Offline
i downgraded xorg-server and xorg-server-common to 1.20-13. i can get Xorg running but keyboard and mouse arent working so i can't try and switch to a TTY to check. it did ask me to remove packages when i downgraded so that might be the cause for that.
Last edited by poweredbygamespy (2021-12-19 15:51:55)
Offline
the xf86-input-* packages all predate the 1.21 release, so that 's rather not the cause.
it did ask me to remove packages when i downgraded so that might be the cause for that.
Tail of your pacman log?
Offline
i set up my wm's autostart to switch to tty2 via chvt, where i could again use my keyboard. the freezing when switching back issue persists on xorg 1.20
edit: the section about the removed packages in the pacman log:
[2021-12-19T16:16:59+0100] [ALPM] transaction started
[2021-12-19T16:16:59+0100] [ALPM] removed xf86-video-vesa (2.5.0-2)
[2021-12-19T16:16:59+0100] [ALPM] removed xf86-input-evdev (2.10.6-3)
[2021-12-19T16:17:00+0100] [ALPM] downgraded xorg-server (21.1.2-1 -> 1.20.13-2)
[2021-12-19T16:17:00+0100] [ALPM] transaction completed
Last edited by poweredbygamespy (2021-12-19 16:03:23)
Offline
If you had configured your input devices for the evdev driver, removing it has caused the input failure (but should™ not have been required at all - what command did you run?)
Also: why's xorg-server-common not in that list (for a downgrade)?
Offline
i had downgraded xorg-server-common separately before. once i checked to see if the issue had been resolved, i reinstalled the newest versions.
[2021-12-19T16:10:15+0100] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-common-1.20.13-2-x86_64.pkg.tar.zst'
[2021-12-19T16:10:29+0100] [ALPM] transaction started
[2021-12-19T16:10:29+0100] [ALPM] downgraded xorg-server-common (21.1.2-1 -> 1.20.13-2)
[2021-12-19T16:10:29+0100] [ALPM] transaction completed
[2021-12-19T16:10:29+0100] [ALPM] running '30-systemd-update.hook'...
[2021-12-19T16:16:56+0100] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-1.20.13-2-x86_64.pkg.tar.zst'
[2021-12-19T16:16:59+0100] [ALPM] transaction started
[2021-12-19T16:16:59+0100] [ALPM] removed xf86-video-vesa (2.5.0-2)
[2021-12-19T16:16:59+0100] [ALPM] removed xf86-input-evdev (2.10.6-3)
[2021-12-19T16:17:00+0100] [ALPM] downgraded xorg-server (21.1.2-1 -> 1.20.13-2)
[2021-12-19T16:17:00+0100] [ALPM] transaction completed
[2021-12-19T16:17:00+0100] [ALPM] running '30-systemd-update.hook'...
[2021-12-19T16:19:15+0100] [PACMAN] Running 'pacman -Syu'
[2021-12-19T16:19:15+0100] [PACMAN] synchronizing package lists
[2021-12-19T16:19:15+0100] [PACMAN] starting full system upgrade
[2021-12-19T16:19:19+0100] [ALPM] transaction started
[2021-12-19T16:19:19+0100] [ALPM] upgraded xorg-server-common (1.20.13-2 -> 21.1.2-1)
[2021-12-19T16:19:19+0100] [ALPM] upgraded xorg-server (1.20.13-2 -> 21.1.2-1)
[2021-12-19T16:19:19+0100] [ALPM] transaction completed
[2021-12-19T16:19:19+0100] [ALPM] running '30-systemd-update.hook'...
then i changed the autostart script, downgraded, tested and upgraded again. i wasnt prompted to remove evdev this time (in my xorg.conf my mouse is using evdev, my keyboard kbd)
[2021-12-19T16:55:50+0100] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-common-1.20.13-2-x86_64.pkg.tar.zst'
[2021-12-19T16:55:51+0100] [ALPM] transaction started
[2021-12-19T16:55:51+0100] [ALPM] downgraded xorg-server-common (21.1.2-1 -> 1.20.13-2)
[2021-12-19T16:55:51+0100] [ALPM] transaction completed
[2021-12-19T16:55:51+0100] [ALPM] running '30-systemd-update.hook'...
[2021-12-19T16:55:55+0100] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-1.20.13-2-x86_64.pkg.tar.zst'
[2021-12-19T16:55:58+0100] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-server-1.20.13-2-x86_64.pkg.tar.zst'
[2021-12-19T16:55:59+0100] [ALPM] transaction started
[2021-12-19T16:55:59+0100] [ALPM] downgraded xorg-server (21.1.2-1 -> 1.20.13-2)
[2021-12-19T16:55:59+0100] [ALPM] transaction completed
[2021-12-19T16:55:59+0100] [ALPM] running '30-systemd-update.hook'...
[2021-12-19T16:58:42+0100] [PACMAN] Running 'pacman -Syu'
[2021-12-19T16:58:42+0100] [PACMAN] synchronizing package lists
[2021-12-19T16:58:42+0100] [PACMAN] starting full system upgrade
[2021-12-19T16:58:44+0100] [ALPM] transaction started
[2021-12-19T16:58:44+0100] [ALPM] upgraded xorg-server-common (1.20.13-2 -> 21.1.2-1)
[2021-12-19T16:58:44+0100] [ALPM] upgraded xorg-server (1.20.13-2 -> 21.1.2-1)
[2021-12-19T16:58:44+0100] [ALPM] transaction completed
[2021-12-19T16:58:44+0100] [ALPM] running '30-systemd-update.hook'...
using the newest version of xorg, mouse and keyboard work fine. sorry btw for not posting the full log from the get go
Offline
i have a similar issue, i also noticed this only recently.
i am running 5.10.87-1-lts, i have an RTX 2060 with nvidia-lts 1:495.46-4.
there are no problems switching from Xorg to a TTY. when i try to switch back, my screen freezes and i have to hard reset my pc.
here's what i noticed: if i kill the Xorg session, rmmod nvidia_drm and start Xorg again i can freely switch between Xorg and the other TTYs. However, i experience similar issues as described by OP, my keyboard appears not to be working. i know it does because i can launch rofi as usual, type a command and have it be executed, even though the prompt remains empty until i hit enter. instead, what seems to be the case is that windows just dont get redrawn, as my terminal appears but doesnt print the command prompt.
i tried rebooting with the kernel parameter nvidia-drm.modeset=0 but the issue persists.
edit: it seems https://bugs.archlinux.org/task/73075 posted by loqs describes the issue perfectly
This person perfectly describes the issue, although I use libinput, not evdev, and I have tried the solutions that seth suggested but have not found any success.
Last edited by mersh (2021-12-19 21:37:33)
Offline
i wasnt prompted to remove evdev this time (in my xorg.conf my mouse is using evdev, my keyboard kbd)
Because you didn't re-install it.
It's actually ABI bound, so you'd have to downgrade it to 2.10.6-2
Since everyone (?) her is on nvidia and there're known issues w/ 495.46 I'd suggest to try 495.44 despite post #5
Offline
downgraded to nvidia 495.44 (pacman log, tested with the lts kernel, whose mkinitcpio had no errors), issue persists, which is quite weird. i am 60 percent certain switching between x session and tty worked on that version.
i guess i'll just wait for the fix to https://gitlab.freedesktop.org/xorg/xse … ssues/1271 is released and try again if it doesn't work for me.
Last edited by poweredbygamespy (2021-12-20 00:46:16)
Offline
VT switching and resume freeze on binary nvidia driver fixed in xorg-server and xorg-server-common 21.1.2-2.
Offline
same here
Offline
VT switching and resume freeze on binary nvidia driver fixed in xorg-server and xorg-server-common 21.1.2-2.
The xorg-server update solved the issue for me, although the issue remains with Wayland. I'll mark this as solved.
EDIT: Sorry, I tested this with other Wayland compositors and it turns out dwl is the only one with issues. Sorry for the confusion!
Last edited by mersh (2022-01-02 02:56:46)
Offline