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

Discussion in 'UDOO NEO' started by closx, May 15, 2019.

  1. closx

    closx UDOOer

    Joined:
    May 2, 2019
    Messages:
    13
    Likes Received:
    1
    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;
    Code:
    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
     
    evaloverde likes this.
  2. closx

    closx UDOOer

    Joined:
    May 2, 2019
    Messages:
    13
    Likes Received:
    1
    Up! It past three days, and still I cannot find the solution guys. Please help!
     
  3. closx

    closx UDOOer

    Joined:
    May 2, 2019
    Messages:
    13
    Likes Received:
    1
    Up! Guys, it has been 16 days. Still could not solve the problem. Help please!
     
  4. Gorgo

    Gorgo UDOOer

    Joined:
    Nov 9, 2016
    Messages:
    159
    Likes Received:
    17
    Hi @closx , I think it more useful if you share even:
    - How you compiled QT
    - Your code
     
    evaloverde likes this.

Share This Page