Not sure if this is the right place to put this since it’s been mentioned several times already (here and elsewhere, though this one specifically is a bit different), but basically I’m having an issue where switching consoles and resuming from suspend/hibernate while running Xorg with some compositors (can confirm with Xfwm4 built in compositor and picom with egl, glx and xrender backends (vsync can be either on or off, same behavior), but not with fastcompmgr, with which this works fine) results in getting a black screen with only a cursor on it.
The cursor can be moved, and changes shape upon e.g. hovering over a text box, window border, etc., and it is possible to get the session back by killing the compositor from another terminal and switching back to the console with the desktop session on it (and the compositor can be relaunched after getting back in), but it is not, for some reason, possible to Ctrl+C e.g. picom if ran inside a terminal window that I’m (apparently) hovering with the mouse cursor over (the ^C’s are visible in the terminal after killing the compositor externally, so it’s not a keyboard input issue necessarily).
This appears to be exclusive to Xorg; I tried some Wayland compositors (Hyprland and sway --unsupported-gpu, in this case) and those behave as intended on console switches. It seems to happen with it running both as root, and in rootless mode, so it’s not that, necessarily. No combination of nvidia_drm.modeset={0,1} and nvidia_drm.fbdev={0,1} seems to have any effect on this.
My GPU is too old for the open kernel drivers so I’m using the proprietary modules here, so not sure if this happens with the open ones; will probably get a newer card for the sole purpose of testing Linux graphics things but not until this one moves into legacy driver territory (which should be pretty soon anyway).
Seems to be somewhat recent (depends on your definition of “recent”) as this works just fine with driver 535.230.02, but not with 550.144.03, and according to this, it started happening with 545 (not packaged in AUR anymore so didn’t try, at least not yet)?
Distro: Arch Linux (only for the purposes of testing this, though)
Kernel: 6.12.20-1-lts (also tried 6.6 LTS from here, behaves identically)
Initramfs generator: mkinitcpio, busybox-based initramfs; mostly unconfigured
DE: XFCE 4.20
DM: SDDM (also tried lightdm, same thing)
Driver: 570.133.07
Display server: Xorg 1.21.1.16 (running as root)
CPU: i7-4770S
GPU: GTX 970
nvidia-bug-report.log.gz (617.0 KB)
(attached nvidia-bug-report.log.gz is from this configuration (first option listed, not the stuff in brackets), and from right after switching to a TTY and back to Xorg with the black screen, then to a TTY again to kill the compositor and back to Xorg again to generate the report)