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

--- Comment #5 from stevenmcfeel...@gmail.com ---
(In reply to Jakob Petsovits from comment #4)
> For later convenience, the error portion of the log goes as follows.
> Apparently kscreenlocker_greet does not have a valid EGL surface to draw its
> contents on (preceded by a few potentially unrelated pipewire errors):
> 
> Mar 12 12:41:38 smcfeely-desktop wireplumber[2238]:
> <WpPortalPermissionStorePlugin:0x62c09124b2d0> Failed to call Lookup:
> GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
> Mar 12 12:41:38 smcfeely-desktop pipewire[2229]: [0:34:16.149552308] [2229]
> ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
> Mar 12 12:41:38 smcfeely-desktop pipewire[2229]: [0:34:16.149561108] [2229]
> ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid
> info
> Mar 12 12:41:38 smcfeely-desktop pipewire[2229]: [0:34:16.149575598] [2229] 
> INFO Camera camera_manager.cpp:284 libcamera v0.2.0
> Mar 12 12:41:38 smcfeely-desktop wireplumber[2238]:
> <WpPortalPermissionStorePlugin:0x62c09124b2d0> Failed to call Lookup:
> GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
> Mar 12 12:41:46 smcfeely-desktop kscreenlocker_greet[3770]:
> file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/
> lockscreen/NoPasswordUnlock.qml:26: ReferenceError: tryToSwitchUser is not
> defined
> Mar 12 12:41:48 smcfeely-desktop kscreenlocker_greet[3770]: qt.qpa.wayland:
> eglSwapBuffers failed with 0x300d, surface: 0x0
> Mar 12 12:41:48 smcfeely-desktop kscreenlocker_greet[3770]: qt.qpa.wayland:
> Could not create EGL surface (EGL error 0x3000)
> Mar 12 12:41:49 smcfeely-desktop kscreenlocker_greet[3770]: Failed to write
> to the pipe: Bad file descriptor.
> 
> Although the undefined tryToSwitchUser error may not be linked to the EGL
> stuff, potentially also worth investigating.
> 
> (In reply to Re Play from comment #2)
> > Same issue here. Googling around a bit, I found that Mutter had an issue
> > that was extremely similar to this. They never found the exact cause, but
> > had a Mutter specific workaround. Perhaps that could be useful for narrowing
> > this down? https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1968040
> 
> I don't know about possible causes at this point, but it looks like KWin's
> equivalent to MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0 is KWIN_DRM_NO_AMS=1 looking
> at the code. If you think this is worth trying, you could set it for KWin's
> systemd unit (`systemctl --user edit plasma-kwin_wayland.service`):
> 
> ### Editing
> /home/kpetso/.config/systemd/user/plasma-kwin_wayland.service.d/override.conf
> ### Anything between here and the comment below will become the contents of
> the drop-in file
> 
> [Service]
> Environment="KWIN_DRM_NO_AMS=1"
> 
> ### Edits below this comment will be discarded

I have been testing this for the past 48 hours and it appears to work. Setting 
Environment="KWIN_DRM_NO_AMS=1" allows my desktop's monitor to properly wake
up.

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

Reply via email to