Summary: | On X11 with NVIDIA GPU, when adding a second screen with greater resolution than first screen, desktops on both screens become black/missing | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | briguy992 |
Component: | Containment | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | alex.pantec, kde, kdedev, nate, notmart |
Priority: | NOR | Keywords: | multiscreen |
Version: | 6.2.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
syslog from boot which switched to only render black screen after I enabled second screen
Repro from 6.2.3 syslog when turning on the second monitor display settings screenshot |
Created attachment 175568 [details]
Repro from 6.2.3
Repro using 6.2.3 to confirm it's still present in this release
Just noticed I didn't update to 6.2.3. Updated and same issue, new log attached. KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.6-arch1-1 (64-bit) It looks like this is an X11 session based on the logs I'm not able to reproduce this with git-master, using the same steps with either X11 or Wayland Setup: Laptop with 1080p screen connected to 1440p monitor I'll leave this open in case someone else is able to reproduce. Setting the plasma version back to earliest version bug was seen in. Please don't change this. I have a couple of questions to try to narrow down what might be happening. 1. What graphics card(s) are present in the system? 2. Can you check to see if the Kscreen2 service is disabled in System Settings > Startup & Shutdown > Background Services? If so, please re-enable it and see if the bug still happens. Thanks. I was.... X11? Well sure enough it looks like I've accidentally left that set to work around the 6.2.0 blocker I had. D'oh! My hardware is an Nvidia 3080ti (no igpu). I can confirm the Kscreen2 service was running, and my X11 boot is still repro'ing this. Now that I've switched back to Wayland, this no longer repro's for me, so on my system this appears to be X11 only. Prior to 6.2.0 I ran Wayland only as well (hopefully!), so now I'm not sure when this repro may have started either, only that I first noticed it in 6.2.0. I think I have the same issue, but the screen resolution is not greater. I have 3440x1440 120 Hz + vertical 2560x1440 60 Hz. When I turn off and later turn on the second monitor, both monitors remain black, until reboot. I can still move the cursor, and the cursor may change when e.g. hovering over the places where the input fields are supposed to be. It’s the same when turning on via the settings or via this script: xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --mode 2560x1440 --pos 0x0 --rotate left --output DP-2 --primary --mode 3440x1440 --pos 1440x1120 --rotate normal --rate 120 --output DP-3 --off --output HDMI-1 --off --output DP-4 --off --output DP-5 --off It started several months ago, so during that time there were multiple updates of KDE, kernel, Nvidia drivers etc. (I am on Arch) Also not sure if related, but another issue I encounter for about the same time is that sometimes Plasma kind of gets frozen (usually after the screen turns on after being away for some time), I can interact with the opened apps, but cannot use the panel, the launcher does not open etc. systemctl restart --user plasma-plasmashell.service fixes that (does not help with the above issue about the monitors). Nothing in journalctl. Operating System: EndeavourOS KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.12.4-arch1-1 (64-bit) Graphics Platform: X11 Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz Memory: 62,6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2 Created attachment 176672 [details]
syslog when turning on the second monitor
Created attachment 176673 [details]
display settings screenshot
I also tried tried to use ksreen-doctor, the same issue. kscreen-doctor output.HDMI-0.disable kscreen-doctor output.HDMI-0.enable output.HDMI-0.mode.2560x1440@60 output.HDMI-0.rotation.left output.HDMI-0.position.0,0 output.DP-2.position.1440,1120 It worked at first, but then the same black screen when I tried it later. Maybe it happens when there is a big delay between off/on, not immediately off and on. (probably the same for xrandr and the display settings, I think it worked like that some time ago) I also tried to just run kscreen-doctor output.HDMI-0.enable (after a long delay) without all other settings (position and rotation remain wrong). The screens did not turn black, but everything was somehow completely frozen, I could move the mouse cursor, but could not click anywhere, Alt-Tab etc., systemctl restart --user plasma-plasmashell.service had no effect (triggered it via a Talon voice command). It was probably just something about graphics, not the kernel hung up, because there was my alert sound when I triggered the voice command, and then I rebooted via reboot. |
Created attachment 175567 [details] syslog from boot which switched to only render black screen after I enabled second screen SUMMARY When adding a second screen with a greater resolution than the currently connected screen while a session is active, screen goes all black during the display transition, and then only a cursor renders. Neither screen is showing any content anymore, and the only way to resolve is to restart the PC and have both screens active at time of login. STEPS TO REPRODUCE 1. Have two screens, one 1080p and second 1440p 2. Have the 1440p turned off and 1080p turned on 3. Boot the PC and advance to the desktop 4. While at the desktop, turn on the 1440p screen 5. Wait for screen to flicker when second screen is turned on 6. Move mouse around to observe cursor OBSERVED RESULT Screen flickers and stays all black, and only the cursor is rendered. EXPECTED RESULT Screen flickers and re-adjusts for dual-monitor setup and 1440p is primary, and 1080p is secondary. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.11.6-arch1-1 (64-bit) KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION If relevant, the 1440p is my actual primary screen. Issue began in 6.2.0 stable (a blocking issue prevented me from testing 6.2 betas unfortunately). 6.1.x stable series worked fine however.