https://bugs.kde.org/show_bug.cgi?id=506074

            Bug ID: 506074
           Summary: After Monitor off and back on resolution stuck to
                    placeholder until reboot
    Classification: Plasma
           Product: kwin
      Version First 6.4.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: craig.finne...@gmail.com
  Target Milestone: ---

Created attachment 182580
  --> https://bugs.kde.org/attachment.cgi?id=182580&action=edit
journalctl log from wakeup

SUMMARY
Immediately after upgrading to KDE 6.4.0 experiencing an issue that seems
almost like a race/timing issue that occurs every time for me. When monitor
turns off (system does not sleep or hibernate, simply turns off screen and then
monitor eventually goes to sleep), nvidia + wayland, after 6.4.0 upon waking up
the monitor the screen is 1080 30hz and impossible to change (no options
listed) requiring a full reboot.

Wayland Plasma 6.4.0 on Arch Linux with nvidia card and display port. From logs
it seems like plasma is trying to read the screen before the EDID can be read,
causing a placeholder 1080 30hz screen to be created and then that gets stuck
as it's not giving enough time for the monitor to wakeup.

STEPS TO REPRODUCE
1. Turn off monitor or let it go to sleep (not the system, the monitor)
2. Turn back on monitor

OBSERVED RESULT
1080p 30hz stuck as only option and impossible to change until restart computer

EXPECTED RESULT
Resolution should be the native/as I left it

SOFTWARE/OS VERSIONS
Arch Linux Kernel 6.15.2-arch1-1 (64-bit)
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Graphics Platform: Wayland

nVidia Driver 575.64-1 (also tried on 575.64-2) on GeForce GTX 1060 6GB using
DisplayPort 1.2
Monitor Samsung Odyssey Neo G9 Super Ultrawide/UHD (7680x2160 Res Currently)

ADDITIONAL INFORMATION
Doesn't appear in 6.3.5 or earlier, began immediately with 6.4.0 upgrade

Attaching journalctl and xorg logs from wakeup, seems like

1. qt.qpa.wayland is reporting "There are no outputs - creating placeholder
screen" which then takes over
2. Seeing powerdevil report Checking EDID failed after 3 tries (B), this seems
like was a little too quickly as monitor needed a moment to come up?
3. Seeing powerdevil throw a Locked bus with current call stack (empty)
4. See kwin_wayland throw kwin_wayland_drm: atomic commit failed: Permission
denied

Meanwhile in xorg log can see it wakes up, nvidia throws warnings could not
re-validate the resolution so removes them before the monitor reconnects right
after, but at this point it seems like stuck with placeholder and need to
reboot full computer

Any ideas or help on this one? I can hardcode the EDID into the kernel but of
course that's a bandaid not a proper solution, thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to