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

    LibRetro not yet ready for Ubuntu 18.04

    Scheduled Pinned Locked Moved Help and Support
    libretrobrokenubuntu18.04
    40 Posts 12 Posters 16.7k 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.
    • N
      Neo-Rio
      last edited by

      Tried compiling RetroPie onto Ubuntu 18.04 LTS x64 as it just came out. Had two different computers to try this out on.
      While most everything I tested compiled, when it came time to work the libretro emulators didn't.

      What would happen is that loading would get as far showing the yellow text that the joysticks were detected. After that, the display would appear for a short time and then freeze while the sound would continue working. That effectively made the games unplayable.

      Seems like other emulators are OK... so far at least. I will try more

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Neo-Rio
        last edited by

        @neo-rio What video driver are you using ? There might be a mismatch between the one configured in RetroArch and the video driver capabilities you have on the system.

        1 Reply Last reply Reply Quote 0
        • N
          Neo-Rio
          last edited by

          Note that I've tried this on two systems already. Same results.
          Once on an Intel NUC.
          The other one on an AMD A6 with built in graphics.

          Pretty sure this isn't graphics driver related.

          1 Reply Last reply Reply Quote 0
          • esmith13E
            esmith13
            last edited by

            I have the same issues on two systems I upgraded to 18.04 from 17.10 (Lubuntu). One is a Dell Optiplex 3020 and the other is a Surface Pro 3. Both worked great before the upgrade and both have the same issues now. You can play and game from any core for about 30-60 seconds then video freezes. I have noticed that not only does sound continue, but the game is still technically running too. One game I tried was an arcade beat 'em up and I could still fight and kill enemies while the image was locked up. punches would make sounds and death screams could still be heard.

            1 Reply Last reply Reply Quote 0
            • N
              Neo-Rio
              last edited by

              I also note that trying to exit a game with Start+Select doesn't work either. The picture just stays on screen.

              1 Reply Last reply Reply Quote 0
              • A
                aammeloot
                last edited by

                @neo-rio said in LibRetro not yet ready for Ubuntu 18.04:

                Tried compiling RetroPie onto Ubuntu 18.04 LTS x64 as it just came out. Had two different computers to try this out on.
                While most everything I tested compiled, when it came time to work the libretro emulators didn't.

                What would happen is that loading would get as far showing the yellow text that the joysticks were detected. After that, the display would appear for a short time and then freeze while the sound would continue working. That effectively made the games unplayable.

                Seems like other emulators are OK... so far at least. I will try more

                Hi,

                I'm new here and I created an account because of this issue.
                I run Ubuntu 18.04 on a 2011 Apple Mac mini so Intel video.

                I have the same issue in the default Ubuntu session (X.Org) however it seems to work when I log out and start a session with Wayland instead of X.Org.

                It previously worked fine on Unity/X.Org (16.04) and Gnome/Wayland (17.10).

                Not sure what the issue might be.

                N 1 Reply Last reply Reply Quote 1
                • N
                  Neo-Rio @aammeloot
                  last edited by

                  @aammeloot

                  Just tried switching to Wayland (from the settings cog on the login screen)

                  Yep that works. Seems like a good workaround for the time being.

                  1 Reply Last reply Reply Quote 1
                  • R
                    rthorntn
                    last edited by

                    On 18.04 I was getting a freeze on loading the ROM, using Wayland fixed it.

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

                      Have you tried switching the RA video driver to opengl or vulkan to see if it would work without Wayland ?

                      1 Reply Last reply Reply Quote 0
                      • thelostsoulT
                        thelostsoul
                        last edited by

                        Thats sad to hear. I recently upgraded to Ubuntu 18.04 on my main pc and was thinking about to install RetroPie on it. If its not working correctly under xorg, I will not using it sadly. Didn't it work with older Ubuntu versions?

                        In the official Ubuntu repository is Retroarch. How does this differ? I see it have a different UI than RetroPie.

                        📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

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

                          @thelostsoul said in LibRetro not yet ready for Ubuntu 18.04:

                          Thats sad to hear. I recently upgraded to Ubuntu 18.04 on my main pc and was thinking about to install RetroPie on it. If its not working correctly under xorg, I will not using it sadly.

                          It works, you just need to adjust the video driver to be different than Wayland.

                          Didn't it work with older Ubuntu versions?

                          Yes, it did, however the 18.04 is the first one to ditch Unity and use Gnome again, so I think they changed something also on the X.org/Wayland side.

                          In the official Ubuntu repository is Retroarch. How does this differ? I see it have a different UI than RetroPie.

                          The RetroArch version in 18.04 is 1.4.1 (https://packages.ubuntu.com/bionic/retroarch) which is a quite old. However the RA team provides their own packages - either in flatpak format or directly via their PPA: https://docs.libretro.com/guides/install-gnu/.

                          thelostsoulT 1 Reply Last reply Reply Quote 1
                          • thelostsoulT
                            thelostsoul @mitu
                            last edited by

                            @mitu ok thank you for this info. I really was discouraged when I saw this thread. I'm still not ready for, but I will try RetroPie on my pc, if I can use it stable without Wayland.

                            📜 RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              Neo-Rio @thelostsoul
                              last edited by

                              I tried retropie again on a laptop using nvidia graphics and non-free nvidia driver.
                              Libretro games worked but the nvidia non-free additional driver caused system instability and the system would eventually crash

                              1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators
                                last edited by BuZz

                                On my desktop PC with 18.04 Xubuntu using Intel integrated graphics and xorg, everything seems to work fine. Unfortunately I am unable to reproduce the problems on this thread.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  sabrecheeky @BuZz
                                  last edited by

                                  @buzz

                                  I am running a udoo x86 hobby board, with Ubuntu MATE. Everything ran fine in retropie under 17.10, but my upgrade to 18.04 has broken it. It freezes right at the start of the game emulation - the controller indicator in the bottom left of the screen is still there, and I can sometimes get to a splash screen, but it is rarely running more than a fraction of a second. Wayland is not an option in the MATE desktop, iirc. Anyone found any other fixes?

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

                                    @sabrecheeky said in LibRetro not yet ready for Ubuntu 18.04:

                                    Anyone found any other fixes?

                                    Change the RetroArch video driver to gl or sdl and try again.

                                    esmith13E S 2 Replies Last reply Reply Quote 0
                                    • esmith13E
                                      esmith13 @mitu
                                      last edited by

                                      @mitu said in LibRetro not yet ready for Ubuntu 18.04:

                                      @sabrecheeky said in LibRetro not yet ready for Ubuntu 18.04:

                                      Anyone found any other fixes?

                                      Change the RetroArch video driver to gl or sdl and try again.

                                      That temp fix works for Lubuntu as well (which does not have wayland support) but unfortunately does not allow shader use.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sabrecheeky @mitu
                                        last edited by sabrecheeky

                                        @mitu Thanks - That got it going for now! (Although it still has a random 'bug' which causes the desktop to change the audio settings from HDMI to built in audio, which does not exist. - I thought this was a 17.10/pulseaudio thing - shame upgrading hasn't fixed it.)

                                        Thanks again for your (incredibly swift) reply and help!

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

                                          @sabrecheeky It wasn't me that suggested this, but a another forum user, I'm just using his/her suggestion. For curiosity, which setting worked for you ?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            sabrecheeky @mitu
                                            last edited by

                                            @mitu sdl2. Just playing round with it, I seem to losing parts of the display from the top and bottom in gba, psx and spectrum emulators I've quickly tried - can't seem to be able to fix that (My TV says the display is changing to 'VGA' - ah, the memories!) Also, I can't use my keyboard in the spectrum (lr-fuse) - although that could be unrelated to the driver. I'll keep messing about, see what I can find in the meantime!

                                            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.