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

            Bug ID: 357755
           Summary: Please automatically use
                    QT_XCB_FORCE_SOFTWARE_OPENGL=1, if hardware don't
                    support OpenGL2
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: opensuse.lietuviu.ka...@gmail.com
                CC: bhus...@gmail.com, plasma-b...@kde.org

Plasma wants OpenGL 2 at hardware level.

Now we will see message like
"Plasma is unable to start as it could not correctly use OpenGL 2.
Please check that your graphic drivers are set up correctly."

But please use QT_XCB_FORCE_SOFTWARE_OPENGL=1 , if hardware don't support
OpenGL2: maybe automatically or provide warning dialog and ask for software
rendering.
For example, in Linux, you can just create
/etc/xdg/plasma-workspace/env/plasma-check-Qt5-OpenGL2.sh file with content
(and make this file executable): 
#!/bin/sh 
OPENGL_VERSION=`LANG=C glxinfo | grep '^OpenGL version string: ' | head -n 1 |
sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'`
if [ "$OPENGL_VERSION" -lt 2 ]; then 
   QT_XCB_FORCE_SOFTWARE_OPENGL=1 
   export QT_XCB_FORCE_SOFTWARE_OPENGL
fi

Reproducible: Always

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

Reply via email to