Bug 460490 - Freezes in windows with 3d graphics created via wayland api with scaling enabled
Summary: Freezes in windows with 3d graphics created via wayland api with scaling enabled
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.26.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-15 15:41 UTC by Intbyte
Modified: 2022-11-01 09:13 UTC (History)
3 users (show)

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


Attachments
drm_info output (53.68 KB, text/plain)
2022-10-16 11:52 UTC, Intbyte
Details
qdbus org.kde.KWin /KWin supportInformation output (6.91 KB, text/plain)
2022-10-16 11:53 UTC, Intbyte
Details
journalctl --boot 0 | grep kwin_wayland_drm output (8.38 KB, text/plain)
2022-10-16 11:55 UTC, Intbyte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Intbyte 2022-10-15 15:41:50 UTC
SUMMARY
Freezes in windows with 3d graphics created via wayland api with scaling enabled. If you use x11 then there is no such problem


STEPS TO REPRODUCE
1.  Enable interface scaling by 20% or more
2.  Open a window created using the wayland api with 3d graphics and MSAA enabled


OBSERVED RESULT
lagging window rendering

EXPECTED RESULT
Smooth rendering at 60 fps

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Manjaro unstable. Linux 5.19. KDE Plasma 5.26
(available in About System)
KDE Plasma Version: 5.26
KDE Frameworks Version:  5.99
Qt Version: 5.15.6
Comment 1 Nate Graham 2022-10-16 00:25:22 UTC
Thanks for the bug report! Can you attach the output of:
- drm_info (you may need to get the package for it from AUR)
- qdbus org.kde.KWin /KWin supportInformation

Also please add
> QT_LOGGING_RULES="kwin_*.debug=true"
to your /etc/environment file, reboot, reproduce the problem again and upload the
output of
> journalctl --boot 0 | grep kwin_wayland_drm

Thanks!
Comment 2 Intbyte 2022-10-16 11:52:42 UTC
Created attachment 152890 [details]
drm_info output
Comment 3 Intbyte 2022-10-16 11:53:35 UTC
Created attachment 152891 [details]
qdbus org.kde.KWin /KWin supportInformation output
Comment 4 Intbyte 2022-10-16 11:55:01 UTC
Created attachment 152892 [details]
journalctl --boot 0 | grep kwin_wayland_drm output
Comment 5 Nate Graham 2022-10-17 18:30:24 UTC
Thank for the information!
Comment 6 Intbyte 2022-10-19 09:56:50 UTC
(In reply to Nate Graham from comment #5)
> Thank for the information!

I am happy to help!
Comment 7 David Edmundson 2022-10-19 10:44:41 UTC
Lagging or freezing? 
You've said both, can you go into more detail to clarify.
Comment 8 Intbyte 2022-10-20 13:54:31 UTC
(In reply to David Edmundson from comment #7)
> Lagging or freezing? 
> You've said both, can you go into more detail to clarify.

Frames in the window are rendered with lags. Sometimes the window freezes completely. If you run a window created using x11 via xwayland, then there is no such problem. I used glfw to create the window