libEGL warning: DRI2 failed to authenticate on Raspberry pi

  • 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,

  • 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.

Log in to reply