Can't play videos with QT (Qmediaplayer, Udoo Neo Full, Udoobuntu 2)



  • Hello everyone, me again!
    I finally built my QT5 application for Udoobuntu 2 (I know there is not so much source around for that. So I can help anyone with that.). My application is a basic Video Player application which depends on Qmediaplayer.
    When I run glmark2 or something else that tests OpenGL ES2, it works without problems.
    But when I run my application or any QT application uses OpenGL (as hellogl_es2), It gives the error following, "Unable to find an X11 visual which matches EGL config".
    Full output;

    root@udooneo:/usr/lib/arm-linux-gnueabihf/qt5/examples/opengl/hellogl_es2# ./hellogl_es2
    xkbcommon: ERROR: x11: failed to get keymap from X server: unmet condition in get_explicits(): wire->keycode >= keymap->min_key_code && wire->keycode <= keymap->max_key_code
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 5 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 5
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 1 (RGB444), but this is incompatable
    Unable to find an X11 visual which matches EGL config 1
    Segmentation fault
    

    Please help me guys, I can feel that I am so close!
    Best,
    Onur



  • build hellogl_es2 with debug info
    $gdb hellogl_es2

    r
    bt
    cut-n-paste here



  • @vladstelmahovsky said in Can't play videos with QT (Qmediaplayer, Udoo Neo Full, Udoobuntu 2):

    build hellogl_es2 with debug info
    $gdb hellogl_es2

    r
    bt
    cut-n-paste here

    Thanks for your reply, but I couldn't understand. How can I add this "info" to debug?



  • @closx just make a debug build



  • @vladstelmahovsky said in Can't play videos with QT (Qmediaplayer, Udoo Neo Full, Udoobuntu 2):

    @closx just make a debug build

    I already made a debug version. But does not works.
    By the way, application runs. But when I gonna play a video, it gives the eror.
    Thx for your answer again :D


  • Lifetime Qt Champion

    Hi,

    Are you using a cross-compiled version of Qt ?
    What if you force the backend to use EGL ?



  • @closx so, application not crashing anymore after EGL errors?
    Have you tried to build Qt5 manually? May be its better to use an Yocto builds?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.