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

    [SOLVED] RetroPie on Ubuntu VirtualBox - All Games Crash On Launch

    Scheduled Pinned Locked Moved Help and Support
    ubuntux86
    6 Posts 2 Posters 7.6k 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.
    • obsidianspiderO
      obsidianspider
      last edited by obsidianspider

      I've decided to mess around with trying to run the x86 variant of RetroPie on an Ubuntu VM, and while things installed just fine, I'm finding that every game, on every emulator, all crash. I'm not sure if this is because it's a VM, or something else.

      I'm running Ubuntu 16.0.4 LTS
      RetroPie 4.1.8 (b2ab4ca)

      Here's an example from the runcommand.log, but all games have a similar segmentation fault issue.

      Parameters: 
      Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/obsidianspider/RetroPie/roms/snes/Super Mario World.smc" --appendconfig /dev/shm/retroarch.cfg
      PPU.RenderSub = 0
      PPU.FullClipping = 1
      Settings.Transparency = 1
      Settings.SpeedhackGameID = 7
      PPU.SFXSpeedupHack = 0
      coldata_update_screen = 0
      OpenGL Warning: glXChooseVisual: bad attrib=0x186a0, ignoring
      OpenGL Warning: glXChooseVisual: bad attrib=0x186a1, ignoring
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 947:  5428 Segmentation fault      (core dumped) /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/obsidianspider/RetroPie/roms/snes/Super Mario World.smc" --appendconfig /dev/shm/retroarch.cfg
      

      Any ideas?

      📷 @obsidianspider

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @obsidianspider
        last edited by

        @obsidianspider possible the VM graphics may be messing with things. I haven't tested it myself so I can't be sure.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        obsidianspiderO 1 Reply Last reply Reply Quote 0
        • obsidianspiderO
          obsidianspider @herb_fargus
          last edited by

          @herb_fargus I'm kind of thinking that may be it. When a game goes to launch things resize into a window and go bizarre. I also noticed it does it when I try to run RetroArch from the RetroPie menu just to see if I could tweak any settings.

          📷 @obsidianspider

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @obsidianspider
            last edited by

            @obsidianspider I had similar type issues with dosbox and windows 3.1 in a VM. If using virtual box you can try messing with the video settings, I vaguely remember some experimental acceleration of sorts you could enable, may have been for directx though

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            obsidianspiderO 1 Reply Last reply Reply Quote 0
            • obsidianspiderO
              obsidianspider @herb_fargus
              last edited by obsidianspider

              @herb_fargus Good call on looking at the video settings. Disabling the 3D acceleration in VirtualBox allows games to run. There's some stutter, but I'm blaming that on the VM environment (crazy though with an i5 and 4GB RAM). Thanks for helping diagnose the crashing!

              📷 @obsidianspider

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @obsidianspider
                last edited by

                @obsidianspider well if you think about it you're using a computer... To emulate a computer... To emulate another computer ;) emulatorception! lots of overhead processing there. But glad it's at least functional :)

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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