Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53627

White window with QOpenGLShader errors in Android emulator using fglrx 15.6 driver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:

      Description

      I was using Qt 5.5.1 and android emulators successfully some time ago, but now I cannot run my (and Qt) QtQuick apps as nothing gets rendered (white window) with errors like this:

      W libgallery.so: (null):0 ((null)): QOpenGLShader::compile(Vertex): Vertex shader failed to compile with the following errors:
      W libgallery.so: ERROR: 0:2: error(#101) Macro redefined: lowp
      W libgallery.so: ERROR: 0:3: error(#101) Macro redefined: mediump
      W libgallery.so: ERROR: 0:4: error(#101) Macro redefined: highp
      W libgallery.so: ERROR: error(#273) 3 compilation errors.  No code generated
      

      Tried to compile gallery example using Qt 5.6.0 - it' the same. App does not crash though, QtWebView can be launched and be visible, for example. Apps work on OK on KDE desktop itself.

      Full output of quick/controls/gallery app running on Andrid 6 x86 emulator is attached.

      Only thing changed since that time with Android apps was that I believe I updated Android SDK (some things through SDK manger), and upgraded fglrx drivers to 15 (due to some other issues) from wheezy-backports:

      $ apt-cache policy fglrx-driver fglrx-modules-dkms 
      fglrx-driver:
        Installed: 1:15.9-4~deb8u1~bpo70+1
        Candidate: 1:15.9-4~deb8u1~bpo70+1
        Version table:
       *** 1:15.9-4~deb8u1~bpo70+1 0
              100 http://httpredir.debian.org/debian/ wheezy-backports/non-free amd64 Packages
              100 /var/lib/dpkg/status
           1:12-6+point-3 0
              500 http://httpredir.debian.org/debian/ wheezy/non-free amd64 Packages
      fglrx-modules-dkms:
        Installed: 1:15.9-4~deb8u1~bpo70+1
        Candidate: 1:15.9-4~deb8u1~bpo70+1
        Version table:
       *** 1:15.9-4~deb8u1~bpo70+1 0
              100 http://httpredir.debian.org/debian/ wheezy-backports/non-free amd64 Packages
              100 /var/lib/dpkg/status
           1:12-6+point-3 0
              500 http://httpredir.debian.org/debian/ wheezy/non-free amd64 Packages
      

      After downgrading fglrx to v12 from main wheezy repository everything started to work again.

      Not sure if there will be same problems after upgrading to Jessie, where v15 driver are the default.

      Also not sure if this is right place to report bug. Maybe I should report to fglrx Debian maintainers also..?

      Sadly I can't test with Linux 3.16 (Jessie default) backport because KDE rendering issues on Wheezy).

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              sletta Gunnar Sletta
              Reporter:
              talkless Vincas Dargis
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes