I’m having problems with the external monitor connected to my laptop via DisplayPort: it works as expected, but when I disconnect the monitor, the laptop screen also goes black. Plugging the monitor back sometimes restores the image on both screens. Sometimes, don’t. Attempts to switch to a different tty also work only occasionally.
Previously, it had been working fine (I could disconnect it without any issues), but I’m unable to track down the particular change/update causing issues.
The hardware configuration is NVIDIA 2070 Max-Q with the 535.129.03 driver, prime-select runs in nvidia mode.
I attached the inxi -Gx output and the journalctl log, where I disconnected the external monitor at 14:34.
Any tips and bits of advice are appreciated.
@Dremlin likely the connection from either intel or nvidia to the port. You need to run xrandr --listproviders and xrandr --listmonitors to see what is using the output at that time and connected to your monitor.
@Dremlin Hi, So what mode was this output, offload? If not, can you run the above in offload mode. The intel gpu should be running both eDP-1-1 (Laptop screen ) and DP-n…
@malcolmlewis Yes, in the offload mode I can unplug the DP monitor without any issues.
Yes, the provider changes from Mesa Intel(R) UHD Graphics 630 (CFL GT2) to NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
@Dremlin so you could install switcheroo-control and use that with the dbus integration with GNOME to start applications (right click on the desktop icon)
@Dremlin there is probably no need for suse-prime either… I don’t use it here, I have a laptop with dual AMD GPU’s and it just uses switcherooctl (MicroOS Aeon)…
@malcolmlewis Thank you for your suggestion! The main reason I’m mainly using the nvidia mode is that the integrated GPU is not capable of rendering the image for my external display smoothly. I saw there is a Reverse PRIME walkaround. Does switcherooctl have any?
@malcolmlewis Visual effects (mouse movement, scrolling, windows dragging, and resizing) aren’t as smooth as they are expected to be. It feels like the refresh rate for them is slightly lower than the display refresh rate. And it doesn’t matter if I’m running my external display at 144 Hz or 60 Hz. It’s usable but not pleasant.
I’m afraid the involvement of NVidia drivers, particularly in dual graphics environment, cuts my ability to contribute down to virtual nothingness. My newest NV GPU is 11 years old, and all I own have been good enough for me using pure FOSS (except for those old nForce abominations that were probably never good enough for anyone).
I think if you spend some time searching among the entire universe of Gnu/Linux distros you’ll find a lot of displeasure among laptop users of external displays, particularly with docking stations and/or dual graphics. I suppose an answer I gave to one such yesterday could conceivably be useful here. Don’t get your hopes up though.