Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. libEGL warning: DRI2 failed to authenticate on Raspberry pi
Forum Updated to NodeBB v4.3 + New Features

libEGL warning: DRI2 failed to authenticate on Raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 10.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Trakt0r22
    wrote on 2 Apr 2020, 14:53 last edited by
    #1

    Hello. Im running Qt Creator 4.11.1, Based on Qt 5.14.1 (Clang 10.0 (Apple), 64 bit) on my Mac, developing a GUI intended to run on my Raspberry Pi Pi Zero W running Raspbian Buster 2020-02-13. Im using python to interact with my .ui script.

    Running my script I get these errors

    libEGL warning: DRI2: failed to authenticate
    qt5ct: using qt5ct plugin
    

    After googling and researching about this for hours, I cannot find a solution or fix. I've tried following this with no progress.

    The main issue with my application is that the stylesheets are not loading properly. Specifically the opacity part of rgba(0, 0, 0, 0). Other than that it seems to work ok.

    Is there a fix or a workaround? I just want my GUI to run and look all pretty like I've designed it. It runs great on my Mac, and I want it to look the same on my Pi. I cannot get it to run on my Pi 3b+ either.

    Please help, I've been working on this project for a long time.

    Best regards,
    Trakt0r22

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DaveHarper
      wrote on 28 Jul 2020, 19:10 last edited by
      #2

      A rather late reply but I just saw this while trying to resolve this same problem myself. I tried several suggestions I found but the one that worked was to go into the Advanced Options section of raspi-config and pick the GL Driver (A8). In the new window pick G3 - "Full KMS". You will need to reboot after changing the setting, but that got rid of the warning message for me. Still mentions using the qt5ct plugin and I don't know if that's important or not because I'm trying to learn how to use styling (currently on QSlider) and just about nothing seems to work like it does on my Linux Mint development system. About the only thing I can configure on the handle is the background color. Things like height, width and border-radius seem to have no effect. I'm really hoping I'm doing something wrong rather than that there are issues with PyQt5 on the RPi.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved