You are not logged in.

#1 2024-04-22 00:50:49

brentleyland
Member
Registered: 2024-04-22
Posts: 4

KDE 6 - Shutting off monitor alternates mis/replacement of windows

I have a single monitor connected by HDMI to an nvidia GTX 970
When the monitor is either shut off manually or automatically by my power settings, windows across all my virtual desktops are made smaller and moved into the top corners of the screen
Upon manually powercycling the monitor, all of the windows are put back into their places. This mystery has been haunting me for months, even on KDE 5
(I am fully updated as of today, and there is still no change)
I appreciate any help with this
I should also include I have never used Wayland. I only use X11, and I use the nvidia drivers (550.76-1)

Last edited by brentleyland (2024-04-22 00:52:17)

Offline

#2 2024-04-22 14:22:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,804

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

You're getting screwed by the virtual simpledrm device/screen. Set up the nvidia_drm.modeset=1 kernel parameter: https://wiki.archlinux.org/title/NVIDIA … de_setting --- but do it as a kernel parameter, not via modprobe config. This will technically allow you Wayland so if you want to continue to use X11 make sure that's selected in your display manager.

Last edited by V1del (2024-04-22 14:22:53)

Online

#3 2024-04-22 18:33:31

brentleyland
Member
Registered: 2024-04-22
Posts: 4

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

V1del wrote:

You're getting screwed by the virtual simpledrm device/screen. Set up the nvidia_drm.modeset=1 kernel parameter: https://wiki.archlinux.org/title/NVIDIA … de_setting --- but do it as a kernel parameter, not via modprobe config. This will technically allow you Wayland so if you want to continue to use X11 make sure that's selected in your display manager.

Hello, thank you for responding.
I put nvidia_drm.modeset=1 as a kernel parameter and did a reboot. "cat /sys/module/nvidia_drm/parameters/modeset" returns a Y, verifying the parameter was correctly applied after a reboot.
The problem persists, with no changes to behavior.

Offline

#4 2024-04-22 18:43:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,804

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

What's your output for

xrandr -q
kscreen-doctor -o

Online

#5 2024-04-22 18:49:39

brentleyland
Member
Registered: 2024-04-22
Posts: 4

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

V1del wrote:

What's your output for

xrandr -q
kscreen-doctor -o
# xrandr -q
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440    144.00 + 120.00    99.95    59.95* 
   3840x2160     59.94    50.00    29.97    25.00    23.98  
   1920x1080    119.88    60.00    59.94    50.00  
   1280x720      59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
# kscreen-doctor -o
Output: 444 DVI-I-0
        disabled
        disconnected
        priority 0
        DVI
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 445 DVI-I-1
        disabled
        disconnected
        priority 0
        DVI
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 446 HDMI-0
        enabled
        connected
        priority 1
        HDMI
        Modes:  447:2560x1440@144!  448:3840x2160@60  449:3840x2160@50  450:3840x2160@30  451:3840x2160@25  452:3840x2160@24  453:2560x1440@120  454:2560x1440@100  455:2560x1440@60*  456:1920x1080@120  457:1920x1080@60  458:1920x1080@60  459:1920x1080@50  460:1280x720@60  461:1280x720@50  462:1024x768@60  463:800x600@60  464:720x576@50  465:720x480@60  466:640x480@60  467:640x480@60 
        Geometry: 0,0 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 468 DP-0
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 469 DP-1
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 470 DP-2
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 471 DP-3
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 472 DP-4
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable
Output: 473 DP-5
        disabled
        disconnected
        priority 0
        DisplayPort
        Modes: 
        Geometry: 0,0 0x0
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: incapable

Offline

#6 2024-04-22 20:02:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,804

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

Why are there so many outputs? That looks weird, do you have an integrated card that isn't disabled/some virtual screen software? maybe post a Xorg log?

Online

#7 2024-04-22 20:23:49

brentleyland
Member
Registered: 2024-04-22
Posts: 4

Re: KDE 6 - Shutting off monitor alternates mis/replacement of windows

I have another card that is being passed-through to a VM, and it's using the vfio-pci kernel driver. Is it possible an issue is arising between these two? My Xorg log shows only information regarding the correct video card in this case, with seemingly no mention of the other anywhere.
I powercycled my monitor once while tailing the xorg log to see what was output:

[  9055.848] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  9055.848] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[  9055.848] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[  9055.848] (--) NVIDIA(GPU-0): 
[  9056.621] (II) NVIDIA(0): Setting mode "NULL"
[  9058.081] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-1): connected
[  9058.081] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-1): Internal TMDS
[  9058.081] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAGEAR (DFP-1): 600.0 MHz maximum pixel clock
[  9058.081] (--) NVIDIA(GPU-0): 
[  9058.931] (II) NVIDIA(0): Setting mode "HDMI-0: 2560x1440_60 @2560x1440 +0+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0}"

Offline

Board footer

Powered by FluxBB