I have a Thinkpad P50, with Nvidia GM107GLM (not my choice). I use Linux with i3 as wm. I use it sometimes with two monitors connected through a display port (in daisy chain) or with a single monitor connected via HDMI. In any case, I must connect the external monitors before login. If I detach a monitor and/or attach a new monitor later, some strange things may happen (e.g., I still see old monitors as connected, don't see new monitors, black screen, see only the mouse cursor, ...). The solution I found is to log out the user and relogin, but it is not a good one since all programs will close this way. I use Lightdm as the display manager.
Sometimes (not many times), it happens that when the screen goes blank for inactivity, and I move the mouse to reactivate it, the screen is black, except for polybar which is visible but freezed (the clock time is the reactivation one). In this case, if I try to move to a tty, the screen remains frozen.
- Linux: 6.6.81 (NixOs 24.11)
- i3: 4.24
- Nvidia driver: 565.77
❯ lspci -vs 01:00.001:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2) (prog-if 00 [VGA controller]) Subsystem: Lenovo Device 2230 Flags: bus master, fast devsel, latency 0, IRQ 139 Memory at b2000000 (32-bit, non-prefetchable) [size=16M] Memory at a0000000 (64-bit, prefetchable) [size=256M] Memory at b0000000 (64-bit, prefetchable) [size=32M] I/O ports at 4000 [size=128] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: nvidia Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
How can I start debugging this?