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

    mame - Could not initialize SDL x11 not available

    Scheduled Pinned Locked Moved Help and Support
    mamex11sdl
    3 Posts 2 Posters 879 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.
    • S
      shadoom
      last edited by

      RaspberryPi 4
      retropie-buster-4.8-rpi4_400.img.gz

      On a fresh installation of RetroPie I Installed Mame 0.244 from RetroPie-Setup -> Manage -> exp -> mame (via binary)
      I added the following to the /boot/config.txt to set the console to 720p

      hdmi_group=1
      hdmi_mode=4
      

      Running a MAME game through Emulationstation gives me the following error

      /dev/shm/runcommand.log
      Parameters:
      Executing: /opt/retropie/emulators/mame/mame "sonicwi2"
      Could not initialize SDL x11 not available
      

      The game doesn't start and just returns back to emulationstation.
      lr-mame and even x11 forwarding through mobaxterm with mame is working fine.

      1 Reply Last reply Reply Quote 1
      • mituM
        mitu Global Moderator
        last edited by

        Probably because of https://github.com/mamedev/mame/issues/9852. Seems to be fixed in https://github.com/mamedev/mame/pull/9888, but that will probably part of this month's release.

        S 1 Reply Last reply Reply Quote 3
        • S
          shadoom @mitu
          last edited by

          @mitu
          thanks a lot for that hint! I've checked the issues, but didn't notice this one.
          For anyone interested/impatient, appending the following works for now:

          videodriver kmsdrm
          

          to

          /opt/retropie/configs/mame/mame.ini
          

          Just remember to remove it when it has been implemented, as mentioned in the pull request above.

          1 Reply Last reply Reply Quote 3
          • 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.