Bug 384045 - Task switcher does not render with compositing enabled
Summary: Task switcher does not render with compositing enabled
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.10.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-26 10:11 UTC by Sandro Mani
Modified: 2017-08-28 13:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Mani 2017-08-26 10:11:39 UTC
For the last couple of months I've had the issue that the ALT+Tab switcher fails to render with compositing enabled, see [1]. I've finally invested some time to attempt to debug this, but have not come very far.

What I found out:

- When triggering the task-switcher, kwin reports
    QGLXContext: Failed to create dummy context

- Looking at the qt-sources, I found that QT_OPENGL_NO_SANITY_CHECK disables the sanity checking that triggers the dummy context creation.

- So trying with QT_OPENGL_NO_SANITY_CHECK=1 kwin_x11, triggering the task-switcher I get loads of
   QOpenGLShader::compile(Fragment): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Somehow it looks like kwin is not using a core GL context with sufficiently high version? My graphics setup is

    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)  (0x191b)
    Version: 17.2.0
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2


[1] https://smani.fedorapeople.org/taskswitcher.jpg 


Using kwin-5.10.5-1.fc28.x86_64 on Fedora Rawhide
Comment 1 Martin Flöser 2017-08-26 16:25:30 UTC
I'm sorry, but this is a problem in Qt, not in KWin. QtQuick requests a shader language version which is not supported.
Comment 2 Sandro Mani 2017-08-26 18:07:44 UTC
Is it know upstream?
Comment 3 Martin Flöser 2017-08-26 18:29:44 UTC
(In reply to Sandro Mani from comment #2)
> Is it know upstream?

I have no idea.
Comment 4 Sandro Mani 2017-08-28 13:04:51 UTC
For reference: https://bugreports.qt.io/browse/QTBUG-62837