RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Is VLC supposed to work when using KMS on pi4?

    Scheduled Pinned Locked Moved Help and Support
    vlckms
    2 Posts 1 Posters 592 Views
    Loading More Posts
    • 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.
    • J
      jigidyjim
      last edited by

      Hello - I’m using dtoverlay=vc4-kms-v3d-pi4 in my boot config and when I do, vlc doesn’t display images to either of my pi 4 hdmi outputs. I just run vlc from the command line and with FKMS, the image shows up fine, but with kms it does not.

      I know that some things like omx don’t work under kms, but I’m having trouble finding out if vlc has the same issues or if maybe I’ve just installed something wrong.

      Thank you.

      J 1 Reply Last reply Reply Quote 0
      • J
        jigidyjim @jigidyjim
        last edited by

        I went back to looking into this again today. I've seen a bunch of threads around where people talk about vlc and using kms for hardware acceleration, so it seems like it is maybe supposed to work?

        I captured the output from running it. The output looks identical regardless of whether I'm using FKMS or KMS. With FKMS, the image correctly shows on the screen (either hdmi0 or hdmi1, whatever I specify). With KMS, the output is the same, but the screen still just displays the terminal, nothing else shows up on either display.

        Is there some other place I can look for errors, some other log file maybe?

        Here's what the output is:

        $ cvlc /home/pi/PieMarquee2/marquee/system/snes.png 
        VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
        [015a11d0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
        [015a2ac8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
        [015a2ac8] main interface error: no suitable interface module
        [01528b58] main libvlc error: interface "dbus,none" initialization failed
        [015bc2a0] main interface error: no suitable interface module
        [01528b58] main libvlc error: interface "globalhotkeys,none" initialization failed
        [015bc2a0] dummy interface: using the dummy interface module...
        [aab014b0] gles2 generic error: parent window not available
        [aab00ca0] mmal_xsplitter vout display error: Failed to open Xsplitter:opengles2 module
        [aab014b0] xcb generic error: window not available
        [aab00ca0] mmal_xsplitter vout display error: Failed to open Xsplitter:xcb_x11 module
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.