This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Random Black Screens w/ Dual Monitors + Nvidia Card

Tags: None
(comma "," separated)
winrid
Registered Member
Posts
7
Karma
0
Hello!

I'm trying KDE Neon after a pretty long Windows stint, about 7 years. So far, most things are great, except on boot sometimes the main screen will go to the wrong monitor, or both monitors will just be blank. Switching ttys does not solve the problem. Sometimes it will come out of sleep and all the sudden my primary monitor won't work and just the second one will. Booting with one monitor and then lugging the other one in will sometimes cause them both to go black and turn off.

Setup:
- AMD 2700x
- Nvidia Geforce 3090ti
- Asus 240hz Monitor, Display Port
- Asus 144hz Monitor, Display Port, rotated 90 degrees (vertical for coding).
- Kernel: 5.15.0-58-generic
- Drivers: nvidia-driver-525, set via
Code: Select all
sudo software-properties-qt


I tried different display port cables and also enabling `nvidia-drm.modeset=1` in kernel startup options.

The Nouveau drivers work but the refresh rate gets limited for some reason... and the fancy desktop effects don't work lol.

Any help is appreciated.
winrid
Registered Member
Posts
7
Karma
0
Okay, I booted with primary monitor, then plugged in second monitor, had both go black. Switched to tty and checked syslog. I have:

Code: Select all
Feb  3 13:25:58 thebox kwin_x11[1296]: Xlib:  extension "NV-GLX" missing on display ":0".
Feb  3 13:25:58 thebox kwin_x11[1296]: OpenGL vendor string:                   NVIDIA Corporation
Feb  3 13:25:58 thebox kwin_x11[1296]: OpenGL renderer string:                 NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2
Feb  3 13:25:58 thebox kwin_x11[1296]: OpenGL version string:                  3.1.0 NVIDIA 525.78.01
Feb  3 13:25:58 thebox kwin_x11[1296]: OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Feb  3 13:25:58 thebox kwin_x11[1296]: Driver:                                 NVIDIA
Feb  3 13:25:58 thebox kwin_x11[1296]: Driver version:                         525.78.1
Feb  3 13:25:58 thebox kwin_x11[1296]: GPU class:                              Unknown
Feb  3 13:25:58 thebox kwin_x11[1296]: OpenGL version:                         3.1
Feb  3 13:25:58 thebox kwin_x11[1296]: GLSL version:                           1.40
Feb  3 13:25:58 thebox kwin_x11[1296]: X server version:                       1.21.1
Feb  3 13:25:58 thebox kwin_x11[1296]: Linux kernel version:                   5.15
Feb  3 13:25:58 thebox kwin_x11[1296]: Requires strict binding:                no
Feb  3 13:25:58 thebox kwin_x11[1296]: GLSL shaders:                           yes
Feb  3 13:25:58 thebox kwin_x11[1296]: Texture NPOT support:                   yes
Feb  3 13:25:58 thebox kwin_x11[1296]: Virtual Machine:                        no
Feb  3 13:25:58 thebox kwin_x11[1296]: BlurConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: ZoomConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: WindowViewConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: SlidingPopupsConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: SlideConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: OverviewConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: KscreenConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox kwin_x11[1296]: DesktopGridConfig::instance called after the first use - ignoring
Feb  3 13:25:58 thebox plasmashell[1351]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55fd2c621e10) QQmlContext(0x55fd2bba0f60) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb  3 13:25:58 thebox plasmashell[1351]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55fd2c621e10) QQmlContext(0x55fd2bba0f60) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb  3 13:25:58 thebox plasmashell[1351]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb  3 13:25:58 thebox plasmashell[1351]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb  3 13:25:58 thebox plasmashell[1351]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Feb  3 13:25:59 thebox kcminit[13943]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Feb  3 13:25:59 thebox plasmashell[2847]: [2882:2882:0203/132559.456650:ERROR:shared_context_state.cc(859)] SharedContextState context lost via ARB/EXT_robustness. Reset status = GL_UNKNOWN_CONTEXT_RESET_KHR
Feb  3 13:25:59 thebox plasmashell[2847]: [2882:2882:0203/132559.457036:ERROR:gpu_service_impl.cc(988)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
Feb  3 13:25:59 thebox plasmashell[2847]: [2841:2841:0203/132559.487583:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704


So trying to figure out why the "GPU process" exited/what's making it crash.
winrid
Registered Member
Posts
7
Karma
0
Alright, I think I resolved this by using nvidia-settings to set the display settings instead of the KDE desktop settings UI, and saving the settings to an Xorg conf file, which I didn't know I had to do to persist the values before.

I also had to run:

Code: Select all
sudo chmod +x /usr/share/screen-resolution-extra/nvidia-polkit


To get the settings to save...
winrid
Registered Member
Posts
7
Karma
0
Never mind, it's not fixed. It was for a while. Then I was sitting there not using the PC for a while and I guess my primary display went to sleep, and the second one didn't. Note that I have display sleep disabled in KDE settings.

Then I tried to move my mouse and I could see it on the second screen, but the primary display wouldn't wake.

I tried to restart and only the second display would display the desktop.

I was able to fix it again in nvidia-settings. I checked the xorg.conf before and after though, and I didn't see any big differences. the differences I do see are probably from just moving the display orientation a bit differently.

So I don't know what gives.
winrid
Registered Member
Posts
7
Karma
0
I haven't ran into that issue again, yet, but today I after coming out of sleep the screens just wouldn't stop flickering, and showing random artifacts.

Also, now when I open nvidia-settings, I see my resolution for my primary monitor is set back to "Auto" and refresh rate is "Auto", and I can see the screen is running at 60hz. The secondary monitor is still running at 144hz.

I verified nothing in /etc/X11/ has been modified for days.

I ran updates today, which I haven't since installing (too scared too). We'll see how it is from now on...

"year of the linux desktop"... :D
winrid
Registered Member
Posts
7
Karma
0
So today for some random reason one of the monitors now, the second one, is stuck in 640x480 in nvidia-settings, with that being the only option, but refuses to come online.

I didn't change anything.

Rebooting and trying to fix via nvidia-settings no longer works. Also tried swapping DP cables.

Probably going to switch to Pop OS at this point because I actually have work to do.
winrid
Registered Member
Posts
7
Karma
0
Alright, I ran an update, and now it locks up and doesn't go past POST. The keyboard lights don't even work.

Everything works fine on first boot of PopOS! from live USB, so I'm switching. Good riddens.

Thanks to everyone for their help.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]