Bug 483783 - KWin effects show up black on the PineTab and PinePhone Pro on Arch
Summary: KWin effects show up black on the PineTab and PinePhone Pro on Arch
Status: RESOLVED DUPLICATE of bug 486460
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-16 18:38 UTC by Devin Lin
Modified: 2024-06-12 16:12 UTC (History)
1 user (show)

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


Attachments
log from opening the task switcher on an arch derived distro (62.72 KB, text/plain)
2024-03-16 18:38 UTC, Devin Lin
Details
log-after-recompile (119.73 KB, text/plain)
2024-03-23 20:28 UTC, Devin Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Lin 2024-03-16 18:38:38 UTC
Created attachment 167333 [details]
log from opening the task switcher on an arch derived distro

SUMMARY
Issue with more evidence here: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/282

Opening a KWin effect seems to show up black, with opengl errors in KWin (see attached)

This seems to occur on distros that don't compile Qt with the QT_FEATURE_opengles2=ON flag (ex. Arch). pmOS is fine, potentially because they do compile Qt with that flag.

STEPS TO REPRODUCE
1. Open a KWin effect (ex. task switcher on Plasma Mobile)

OBSERVED RESULT
It shows up black, but is interactable

EXPECTED RESULT
It displays the KWin effect


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Devin Lin 2024-03-16 18:40:28 UTC
Video of it occurring is in the Plasma Mobile issue: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/282
Comment 2 Devin Lin 2024-03-17 03:46:32 UTC
The log basically loops:

kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawElements
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glVertexAttribPointer(no array object bound)
kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawArrays
Comment 3 Devin Lin 2024-03-17 14:37:21 UTC
Also occurs on the PineTab 2
Comment 4 Devin Lin 2024-03-23 20:28:26 UTC
Created attachment 167676 [details]
log-after-recompile

Log after recompiling with https://invent.kde.org/plasma/kwin/-/blob/master/src/plugins/qpa/eglplatformcontext.cpp?ref_type=heads#L238 set to m_format.setProfile(QSurfaceFormat::CoreProfile);
Comment 5 Zamundaaa 2024-06-12 16:12:27 UTC
*** This bug has been marked as a duplicate of bug 486460 ***