| Summary: | Display freezes upon opening fullscreen views if both HDR and "Prefer color accuracy" are enabled | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | 43615 <xxx43615xxx> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | postix, xaver.hugl, xxx43615xxx |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot of settings page | ||
|
Description
43615
2025-02-20 12:04:34 UTC
Works fine for me, also on a 7900XTX.
Is there anything suspicious in the logs after you trigger this issue?
> journalctl --user-unit plasma-kwin_wayland --boot 0
(In reply to Zamundaaa from comment #1) > Works fine for me, also on a 7900XTX. > > Is there anything suspicious in the logs after you trigger this issue? > > journalctl --user-unit plasma-kwin_wayland --boot 0 Yes, it creates this entry: kwin_scene_opengl: Could not delete texture because no context is current Hmm, I also sometimes see that after closing the overview. Not sure if it's related. The entry doesn't appear when I disable color accuracy to prevent the bug, so it seems strongly correlated. Is your display setup the same as mine? oops, fixed status Created attachment 178651 [details]
Screenshot of settings page
Secondary monitors are non-HDR
(In reply to 43615 from comment #4) > The entry doesn't appear when I disable color accuracy to prevent the bug, > so it seems strongly correlated. Is your display setup the same as mine? It only happens sometimes here, might just be racy. This is relatively likely to be a core KWin issue, but just to make sure, can you record a drm debug log (https://invent.kde.org/plasma/kwin/-/wikis/Debugging/Debugging-DRM-issues) for when you open the overview? It happens consistently for me. I just triggered the freeze 3 times while logging. Attachment follows. File is too big, here's a link to it on my server: https://webdav.43615.xyz/pub/drm-debug.log There's a consistent amount of "committing ... nonblocking" that we can safely assume the drm backend is doing fine, and the issue is somewhere in rendering. Do other fullscreen effects work, like the tiling editor (Meta+T by default)? If you drag a window to maximize it, does that preview thing cause any issues? The tiling editor causes the exact same issue. I'm not sure which maximizing preview you mean, my setup displays a dark overlay which works fine. (In reply to 43615 from comment #11) > The tiling editor causes the exact same issue. I'm not sure which maximizing > preview you mean, my setup displays a dark overlay which works fine. Yeah I meant that one. So it's only fullscreen QtQuick effects specifically, and not all internal Qt windows. That's good to know. Most likely blitting the effect contents to the screen just doesn't happen for some reason... There are a handful of error paths that should never happen, but perhaps sprinkling in some logging could help. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7301 Git commit f681af2e5fe0b6c51932cca1b95537e1e236333e by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 11/03/2025 at 12:30. Pushed by vladz into branch 'master'. effect/offscreenquickview: add some warnings for when painting will be skipped The screen will visually freeze if this happens M +5 -0 src/effect/offscreenquickview.cpp https://invent.kde.org/plasma/kwin/-/commit/f681af2e5fe0b6c51932cca1b95537e1e236333e A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7314 Git commit d7241f9bdb63240563e72c2d4d5d6718f8a76fe0 by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 12/03/2025 at 06:39. Pushed by vladz into branch 'Plasma/6.3'. effect/offscreenquickview: add some warnings for when painting will be skipped The screen will visually freeze if this happens (cherry picked from commit f681af2e5fe0b6c51932cca1b95537e1e236333e) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +5 -0 src/effect/offscreenquickview.cpp https://invent.kde.org/plasma/kwin/-/commit/d7241f9bdb63240563e72c2d4d5d6718f8a76fe0 Persists in kwin 6.3.4 Persists in kwin 6.3.4, what was that commit about? The commit isn't there for fixing it, as we don't know the cause yet. If you're hitting any of the code paths where this sort of thing could potentially happen, it should print about it in your log (journalctl --user-unit plasma-kwin_wayland --boot 0) I'm not seeing any journal entries, even with -p 7. |