RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Retropie Installation on Ubuntu Server x64 18.04.1

    Scheduled Pinned Locked Moved Projects and Themes
    18.04debianubunutux64x86
    223 Posts 34 Posters 67.4k 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.
    • P
      Panja
      last edited by Panja

      I'm trying to get the Plymouth working on my Intel NUC8 but at boot I only see a black screen. Sometimes I get the RetroPie logo for a brief 1 or 2 seconds.
      Any one have a clue whats going on?

      1 Reply Last reply Reply Quote 0
      • P
        Panja
        last edited by

        @movisman or maybe someone else... 😉
        Everything seems to be running excellent with Ubuntu Server except Dolphin GUI menu and for instance the FPS counter are really big. This seems to be a resolution issue.

        As we don’t use a normal desktop is there a way to specify the resolution used on my machine.
        Dolphin seems to use the desktop res.

        1 Reply Last reply Reply Quote 0
        • M
          MisterB
          last edited by

          Just wanted to pass along my thanks for the great information that is in this thread. I have wanted to build a system that looked just like the RPi but on x86 for a while, and never got it right. These steps nailed it for me.

          For anyone interested in an automated setup of the required configs, I have created a bash script that takes care of everything, and shared it on GitHub: https://github.com/MizterB/RetroPie-Setup-UbuntuServer

          It does not (yet?) handle the TV resolution changes, or the VNC login, but everything else mentioned here is collected in one place. Hopefully it is useful for others. I don't know how actively I will maintain this or improve upon it - probably depends on the interest and feedback.

          On that note, please give it a shot - I welcome your feedback!

          wmarcioW johnodonJ retroczrR 3 Replies Last reply Reply Quote 2
          • wmarcioW
            wmarcio @MisterB
            last edited by wmarcio

            @MisterB thxs, great idea. Its r un on x64?
            I sugest to add a install script for music on emulationstation, and install and update video drivers, including vulkan.

            Retropie BGM script:

            https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support

            1 Reply Last reply Reply Quote 0
            • P
              Panja
              last edited by

              Which emulators benefit from the Vulkan drivers?
              I'm running without them and everything seems to run smooth.
              But of course improvement is always good. :)

              P 1 Reply Last reply Reply Quote 0
              • M
                MisterB
                last edited by MisterB

                @wmarcio - Good point, this script is technically for X64 - I have not tried it on a 32-bit install.

                The code to upgrade the video drivers and install Vulkan is actually in there. I haven't 'enabled' it yet, as I haven't had a chance to test that everything still works after the upgrades. This is where adding some configurability options would be nice... But for now you can append the following to the end of the script before running it if you want:

                install_latest_video_drivers
                install_vulkan

                I don't know anything about the music capabilities. I will look into it.

                wmarcioW 1 Reply Last reply Reply Quote 0
                • wmarcioW
                  wmarcio @MisterB
                  last edited by

                  @MisterB thxs, i will test your script tomorrow.

                  1 Reply Last reply Reply Quote 0
                  • johnodonJ
                    johnodon @MisterB
                    last edited by

                    @MisterB Excellent work! I just ran the script against an Ubuntu 18.04 install (using the x64 mini iso) and everything seems to be working as expected. The only thing I had to do was install curl prior.

                    I'll continue to test and report back.

                    John

                    1 Reply Last reply Reply Quote 0
                    • johnodonJ
                      johnodon
                      last edited by

                      Has anyone had any luck running Naomi/Atomiswave ROMs (MAME .zips) on this config using lr-beetle-dc (formally lr-reicast)...specifically on an Intel GPU?

                      1 Reply Last reply Reply Quote 0
                      • P
                        Panja @Panja
                        last edited by

                        @Panja said in Retropie Installation on Ubuntu Server x64 18.04.1:

                        Which emulators benefit from the Vulkan drivers?
                        I'm running without them and everything seems to run smooth.
                        But of course improvement is always good. :)

                        Any one?

                        1 Reply Last reply Reply Quote 0
                        • retroczrR
                          retroczr @MisterB
                          last edited by

                          @MisterB Just tried this in x86 18.04 and it works great. Did some preliminary testing with vulkan drivers too and no issues to report yet. Really great work on putting this together. I second adding the optional steps into the script. Thank you again - great work.

                          retroczrR 1 Reply Last reply Reply Quote 0
                          • retroczrR
                            retroczr @retroczr
                            last edited by

                            @retroczr should add that I used the server install, not the mini.iso.

                            1 Reply Last reply Reply Quote 0
                            • W
                              wilmardo
                              last edited by

                              @MisterB Massive thanks for the script! I used your script yesterday and it completed successfully, but when I boot I just see a mouse and what seems a openbox interface, not emulstation. When I click with the right mouse button I get the options to start a terminal, applications, restart, reconfigure etc. but when I start the terminal I see nothing. The mouse unclutters nicely so the autostart has run at some point.
                              If I login with ssh and run ps aux I see that the emulstation process is running. I suspect there might be some overscan or wrong resolution at play and therefore the terminal isn't visible but this shouldn't matter for emulstation starting fullscreen right?
                              I tried some xrandr command in the openbox autostart config to adjust the resolution but to no avail. I will test further tomorrow but any pointers will be highly appreciated :)

                              M 1 Reply Last reply Reply Quote 0
                              • N
                                noise
                                last edited by noise

                                Hi Guys

                                I sucessfully installed retropie on ubuntu 18.04 with a lattepanda alpha 864

                                the most working fine
                                ir-parallel N64
                                ir-genesis-plus-gx
                                ir-mame2003,2015
                                ir-gambatte
                                ir-mgba
                                ir-gw
                                ir-fbalpha2012
                                ir-vice
                                ir-4do
                                ir-snes9x2010
                                ir-picodrive
                                ir-beetle-supergrafx
                                ir-beetle-ngp
                                ir-nestopioa
                                ir-pcsx-rearmed
                                ir-ppsspp (xmb menü freezing using rgui)
                                ir-beetle saturn (audio crackles no roms to testing more)

                                reicast > flycast (cannot be installed, i do another post)
                                ir-dosbox (not all run and the running like maniac mansion have no audio.

                                fs-uae my amiberry scripts are not working here check it later...

                                Dolphin problem is solved now...
                                i had audio crackles and lags and full freezes..
                                these are going since changing to vulkan.

                                Dolphin Audio:
                                after trying hours of some configuration it running much smoother with gpu clock rate: 80% the audio crackles are gone 90% decrease.

                                I installed vulkan in that way:
                                repos:
                                [https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa](link url)

                                sudo add-apt-repository ppa:paulo-miguel-dias/mesa
                                
                                sudo apt upgrade libglapi-mesa libgl1-mesa-dri vulkan-utils
                                sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-utils
                                

                                now i can switch in retroarch to vulkan and vulkan is working,

                                My main problem is now pcsx2 i can't install from
                                Official PCSX2 PPA
                                [https://launchpad.net/~gregory-hainaut/+archive/ubuntu/pcsx2.official.ppa](link url)

                                sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
                                

                                installing fom retropie script is unable and
                                sudo apt install pcsx2
                                gives the ouput:
                                package pcsx2 cannot be found.

                                i saw that is only 32bit... so anyone has successfully installed on ubuntu18.04 with a intel processor ?
                                if yes a guide would be helpful :-)

                                thanks

                                S 1 Reply Last reply Reply Quote 0
                                • M
                                  MisterB @wilmardo
                                  last edited by

                                  @wilmardo If you have the ability to do so, try starting from scratch with my latest script, where I made some changes to auto login logic (but don't run on top of an existing install - that will blow everything up).

                                  But you can also try to manually edit files as follows:

                                  /home/pi/.config/openbox/autostart should look like this:

                                  unclutter -idle 0.01 -root
                                  /opt/retropie/configs/all/autostart.sh
                                  

                                  If you don't have /opt/retropie/configs/all/autostart.sh already created, create it with:

                                  mkdir -p /opt/retropie/configs/all
                                  touch /opt/retropie/configs/all/autostart.sh
                                  chmod +x /opt/retropie/configs/all/autostart.sh
                                  chown $USER:$USER /opt/retropie/configs/all/autostart.sh
                                  cat << EOF > /opt/retropie/configs/all/autostart.sh
                                  #! /bin/bash
                                  
                                  ###############################################################################
                                  # Start EmulationStation
                                  ###############################################################################
                                  gnome-terminal --full-screen --hide-menubar -- emulationstation --no-splash
                                  EOF
                                  

                                  If the autostart.sh file already exists, just populate it with:

                                  #! /bin/bash
                                  
                                  ###############################################################################
                                  # Start EmulationStation
                                  ###############################################################################
                                  gnome-terminal --full-screen --hide-menubar -- emulationstation --no-splash
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MisterB
                                    last edited by

                                    I have posted a new release on GitHub. Please note that the install script needs to be run on a newly installed basic OS image. Do not run it on top of an existing RetroPie installation!

                                    CHANGELOG

                                    • Changed name to reflect support for both Server and Mini versions of Ubuntu
                                    • Added retropie.preseed file to standardize basic OS install & config
                                    • Installs the basic_install RetroPie meta-package, rather than its individual parts
                                    • Improved hiding of boot messages
                                    • Updated autostart logic, moved EmulationStation launch into RetroPie's autostart.sh file
                                    • Enabled install of updated video drivers and Vulkan by default
                                    • Removed install of Ultimarc-linux and RetroPie launchingimages package.

                                    https://github.com/MizterB/RetroPie-Setup-Ubuntu

                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      wilmardo @MisterB
                                      last edited by

                                      @MisterB Thanks for the update! One thing first, I think you forgot to enable the video driver installation so I ran the script with both lines uncommented (https://github.com/MizterB/RetroPie-Setup-Ubuntu/blob/master/retropie_setup_ubuntu.sh#L222)

                                      But the sad news is, I have the exact same problem after a clean install from the ubuntu-18.04.2-live-server-amd64.iso. I see emulstation running when I run ps aux over ssh but on the screen I only have a terminal with a mousepointer which unclutters.

                                      I will try to troubleshoot this, I just had time to run the script and check if it works. Will post back hopefully tomorrow :)

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MisterB
                                        last edited by

                                        Thanks for the heads-up on the video drivers - I just re-enabled those. Not sure about the blank screen issue, though. I did have something similar a few weeks ago, and after splitting out the autostart.sh and adding a shebang to the top of that file, everything started working reliably. If you could continue to troubleshoot your install and let me know what you find, I'm happy to make to changes. Maybe backgrounding clutter, or introducing a brief sleep before start ES would help?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          movisman @MisterB
                                          last edited by

                                          @MisterB

                                          Hi there,

                                          I followed the steps posted by @johnodon a while back now, and added a few findings of my own to this thread - glad to see you have incorporated all of this into a script!

                                          I'm going to change machines because I have another machine available now which will run Dolphin at full speed, so i'm going to reinstall and move my RetroPie instance over to that. This time round, to save time i'm going to try your script and see how it goes.

                                          Just wanted to say thanks for going to the trouble of making it - if it works as planned it will save me a load of time during the initial installation phase for the reinstall. If I come across anything strange or that needs adding, I will let you know if you are still in a position to make changes to the script. I'll be installing on Ubuntu Server 18.04.3.

                                          Hopefully others will make use of your script.

                                          Thanks again!

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            MisterB
                                            last edited by

                                            Thank you for the feedback - much appreciated! This script was still working for me a couple of months ago - would love to hear if you are also successful with it. Happy to add tweaks as required.

                                            M 2 Replies 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.