Bug 510851 - Output returns to lowest resolution after enter afk while having fullscreen video
Summary: Output returns to lowest resolution after enter afk while having fullscreen v...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.4.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-20 23:15 UTC by dougg0k
Modified: 2025-10-21 12:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dougg0k 2025-10-20 23:15:15 UTC
SUMMARY
Hey,

I might have found a bug which happened before, but I didnt know why. At least I didnt pay attention.

I had mpv with a movie in fullscreen paused, the system went to login screen as I was afk for a while, when I logged back, it was as if the screen was not the one and only had the lowest resolution available.

https://i.postimg.cc/pxtvvGfq/Screenshot-20251020-200225.png
https://i.postimg.cc/2kSKjWST/Screenshot-20251020-201436.png

STEPS TO REPRODUCE
1. Have mpv open with a video in fullscreen
2. Let it enter afk mode
3. Log back in

I cant 100% confirm this though.

OBSERVED RESULT
Unusable display with lowest resolution

EXPECTED RESULT
To continue working.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Output with the issue

Output: 1 DP-2 e18da6c9-d222-4c3f-b028-4368cf482eb3
        enabled
        connected
        priority 2
        DisplayPort
        replication source:0
        Modes:  1:640x480@60*!
        Geometry: 3840,0 640x480
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        Color resolution: unknown
        Allow EDR: unsupported

Output without the issue
Output: 2 DP-2 aaed40a9-0cb0-43b8-a8dd-ba3892ec137b
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  40:2560x1440@60!  41:2560x1440@360*  42:2560x1440@240  43:2560x1440@144  44:2560x1440@120  45:2560x1440@100  46:2368x1332@360  47:2368x1332@240  48:1920x1080@360  49:1920x1080@240  50:1920x1080@120  51:1024x768@60  52:800x600@60  53:640x480@60
        Geometry: 0,2160 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: unknown
        HDR: enabled
                SDR brightness: 230 nits
                SDR gamut wideness: 10%
                Peak brightness: 630 nits, overridden with: 630 nits
                Max average brightness: 400 nits
                Min brightness: 0.0994 nits
        Wide Color Gamut: enabled
        ICC profile: /home/user/.dotfiles/configs/pg27aqn_color_profile.icm
        Color profile source: ICC
        Color power preference: prefer accuracy
        Brightness control: supported, set to 90% and dimming to 100%
        DDC/CI: allowed
        Color resolution: unknown
        Allow EDR: unsupported

Logs in between the time of being afk
out 20 19:25:54 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:25:54 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:25:54 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:25:54 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:32:18 desktop-pc kernel: nvidia-modeset: WARNING: GPU:0: Asustek Computer Inc ROG PG27AQN (DP-2): Failed to initialize G-SYNC
out 20 19:32:51 desktop-pc kscreenlocker_greet[163482]: Could not create EGL surface (EGL error 0x3003)
out 20 19:32:51 desktop-pc kscreenlocker_greet[163482]: Could not create EGL surface (EGL error 0x3003)
out 20 19:32:51 desktop-pc kscreenlocker_greet[163482]: Failed to write to the pipe: Transport endpoint is not connected.
out 20 19:50:36 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:50:36 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:50:36 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:50:36 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:53:47 desktop-pc kernel: nvidia-modeset: WARNING: GPU:0: Asustek Computer Inc ROG PG27AQN (DP-2): Failed to initialize G-SYNC
out 20 19:53:48 desktop-pc kernel: nvidia-modeset: WARNING: GPU:0: Asustek Computer Inc ROG PG27AQN (DP-2): Failed to initialize G-SYNC
out 20 19:53:55 desktop-pc kwin_wayland[2342]: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x555d19c9a500, name="DP-2", geometry=QRect(0,2160 2560x1440), scale=1)
out 20 19:53:55 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting maximized state
out 20 19:53:55 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting fullscreen state
out 20 19:53:55 desktop-pc plasmashell[2479]: error creating screencast "Could not find window id {1e30752c-b8f8-4c76-8fe3-c991d588c6cb}"
out 20 19:53:58 desktop-pc plasmashell[2479]: requesting unexisting screen available rect -1
out 20 19:53:58 desktop-pc plasmashell[2479]: Exposed with no visual parent. Window positioning broken.
out 20 19:53:58 desktop-pc plasmashell[2479]: Exposed with no visual parent. Window positioning broken.
out 20 19:53:58 desktop-pc plasmashell[2479]: Exposed with no visual parent. Window positioning broken.
out 20 19:53:59 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting maximized state
out 20 19:53:59 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting fullscreen state
out 20 19:53:59 desktop-pc plasmashell[2479]: error creating screencast "Could not find window id {1e30752c-b8f8-4c76-8fe3-c991d588c6cb}"
out 20 19:54:54 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:54:54 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:54:54 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:54:54 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:58:04 desktop-pc kernel: nvidia-modeset: WARNING: GPU:0: Asustek Computer Inc ROG PG27AQN (DP-2): Failed to initialize G-SYNC
out 20 19:58:06 desktop-pc kernel: nvidia-modeset: WARNING: GPU:0: Asustek Computer Inc ROG PG27AQN (DP-2): Failed to initialize G-SYNC
out 20 19:58:12 desktop-pc kwin_wayland[2342]: XCB error: 147 (BadOutput), sequence: 4192, resource id: 984, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
out 20 19:58:13 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:13 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:13 desktop-pc plasmashell[2479]: error creating screencast "Could not find window id {1e30752c-b8f8-4c76-8fe3-c991d588c6cb}"
out 20 19:58:15 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:15 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:15 desktop-pc kwin_wayland[2342]: XCB error: 147 (BadOutput), sequence: 4266, resource id: 986, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
out 20 19:58:17 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:17 desktop-pc kwin_wayland[2342]: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x555d1952dfc0, name="HDMI-A-1", geometry=QRect(0,0 3840x2160), scale=1)
out 20 19:58:17 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting maximized state
out 20 19:58:17 desktop-pc kwin_wayland[2342]: KWin::LayerShellV1Window doesn't support setting fullscreen state
out 20 19:58:17 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:58:17 desktop-pc kwin_wayland[2342]: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x555d1952dfc0, name="HDMI-A-1", geometry=QRect(0,0 3840x2160), scale=1)
out 20 19:58:17 desktop-pc plasmashell[2479]: error creating screencast "Could not find window id {1e30752c-b8f8-4c76-8fe3-c991d588c6cb}"
out 20 19:59:15 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:59:15 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:59:15 desktop-pc dbus-broker[832]: A security policy denied :1.45 to send method call /org/freedesktop/login1/seat/seat0:org.freedesktop.login1.Seat.Inhibit to org.freedesktop.login1.
out 20 19:59:15 desktop-pc kwin_wayland[2342]: Failed to delay sleep: Sender is not authorized to send message
out 20 19:59:28 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:59:29 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:59:39 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:59:40 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:59:50 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 19:59:51 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:01 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:02 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:12 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:13 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:23 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:24 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:34 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:35 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:45 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:46 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:57 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:00:58 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:01:08 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:01:09 desktop-pc kwin_wayland[2342]: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is invalid
out 20 20:01:16 desktop-pc kscreenlocker_greet[163930]: Could not create EGL surface (EGL error 0x3003)
out 20 20:01:16 desktop-pc kscreenlocker_greet[163930]: Could not create EGL surface (EGL error 0x3003)
out 20 20:01:16 desktop-pc kscreenlocker_greet[163930]: Failed to write to the pipe: Transport endpoint is not connected.
Comment 1 Zamundaaa 2025-10-21 12:53:13 UTC
The driver provides the list of available modes, please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux