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] Lots of things not working with Retropie on Ubuntu usb X64



  • Hi I succesfully installed Ubuntu on usb for a I7+AMD PC, I just started, i kinda didn't have any issue installing retropie, configurating pads, installing some more engines, and even playing Steam and Kodi.
    However I am kinda disappointed with lots of things not working, basically I succesfully played Quake with cdda sound and ... that's all. I haven't tested it all but would like some help:
    -I tried several things to put my roms on LAN and/or another internal harddrive and this isn't working. I'm pretty sure I cannot follow the guide made for pi
    -It just refuse to install kodi, this is the only thing it refuses, well I got it on ubuntu but still, it would be cool to link it
    -I tested some roms SMS and GG, I tried to test the most easy emulation, and this is just not working, GG stay on black screen, and SMS is launching but keep rebooting ? There must be something wrong with my setup.
    -I also couldn't start Cannonball, quite strange since Quake works.


  • Global Moderator

    Please add more info about your setup, as requested in https://retropie.org.uk/forum/topic/3/read-this-first.

    -I tried several things to put my roms on LAN and/or another internal harddrive and this isn't working. I'm pretty sure I cannot follow the guide made for pi

    RetroPie doesn't automatically do that - you can follow the guide and use the 2nd option - adding your NAS folder to /etc/fstab.

    -It just refuse to install kodi, this is the only thing it refuses, well I got it on ubuntu but still, it would be cool to link it

    RetroPie uses the Kodi packages from the distro or - for Ubuntu - from team-xmbc's PPA. Is there a problem installing it or running it ?

    -I tested some roms SMS and GG, I tried to test the most easy emulation, and this is just not working, GG stay on black screen, and SMS is launching but keep rebooting ? There must be something wrong with my setup.

    Some emulators need a BIOS file in order to work - though for Master System and Game Gear, I see those are optional. The log file from /dev/shm/runcommand.log would help to find the problem.

    -I also couldn't start Cannonball, quite strange since Quake works.

    You need to Outrun RevB ROM in order to run it, have you copied it to /home/pi/RetroPie/roms/ports/cannonball ?



  • @mitu said in Lots of things not working with Retropie on Ubuntu usb X64:

    Please add more info about your setup, as requested in https://retropie.org.uk/forum/topic/3/read-this-first.

    I'll get back to you later with that

    RetroPie doesn't automatically do that - you can follow the guide and use the 2nd option - adding your NAS folder to /etc/fstab.

    Ok I didn't try this one as the guide mentionned to prefer the other way.... anyway the path must be wrong as there is the word 'pi' in it, I'm really not sure what to use, ubuntu is unclear, is it "/home/pi/RetroPie/roms" or "/home/RetroPie/roms" ?
    also I had to create an empty autostart.sh that was really odd, that wiki is not made for ubuntu

    RetroPie uses the Kodi packages from the distro or - for Ubuntu - from team-xmbc's PPA. Is there a problem installing it or running it ?

    It refuses to install it and gives some logfiles, it's really odd, iso I tried to install it via ubuntu store, worked fine, didn't change anything retropie side.

    Some emulators need a BIOS file in order to work - though for Master System and Game Gear, I see those are optional. The log file from /dev/shm/runcommand.log would help to find the problem.

    I'll get back to you later with that I suspect an issue with drivers/graphic card maybe but everything else is working fine inclunding games from steam

    You need to Outrun RevB ROM in order to run it, have you copied it to /home/pi/RetroPie/roms/ports/cannonball ?

    Yes, I alreaady played it on Pi3, strangely I was unable to transfer this rom from the pi3 as I did with quake at the same time, really odd but it may just be just a rom issue.


  • Global Moderator

    Ok I didn't try this one as the guide mentionned to prefer the other way.... anyway the path must be wrong as there is the word 'pi' in it, I'm really not sure what to use, ubuntu is unclear, is it "/home/pi/RetroPie/roms" or "/home/RetroPie/roms" ?

    On Ubuntu, it's $HOME/RetroPie/roms. Substitute $HOME with your homedir and the pi user with your Ubuntu user, under which is installed RetroPie.



  • @mitu said in Lots of things not working with Retropie on Ubuntu usb X64:

    Ok I didn't try this one as the guide mentionned to prefer the other way.... anyway the path must be wrong as there is the word 'pi' in it, I'm really not sure what to use, ubuntu is unclear, is it "/home/pi/RetroPie/roms" or "/home/RetroPie/roms" ?

    On Ubuntu, it's $HOME/RetroPie/roms. Substitute $HOME with your homedir and the pi user with your Ubuntu user, under which is installed RetroPie.

    Ok I was really wrong... I'll run more test tonight and get back with more info later, as I already fought a lot with those NAS path previously for other project could you hint me more about some stuff :
    -My nas never had any password what should I use for guest login on the fstab exemple ?
    -I'm not sure what my homedir would be, I looked a bit yesterday, and it seems ther's nothing particular, simply "home" or "//"
    -This command refused to launch "sudo raspi-config" I assume I can simply enter it directly via retropie ?


  • Global Moderator

    @ninjaw said in Lots of things not working with Retropie on Ubuntu usb X64:

    -My nas never had any password what should I use for guest login on the fstab exemple ?

    There's an option for mount to use a guest account, simply titled guest.

    -I'm not sure what my homedir would be, I looked a bit yesterday, and it seems ther's nothing particular, simply "home" or "//"

    The homedir is usually /home/<username>. Just open a terminal and type

    echo $HOME
    

    and it should show you the homedir.

    -This command refused to launch "sudo raspi-config" I assume I can simply enter it directly via retropie ?

    raspi-config exists only on a Raspberry Pi, so it's not applicable to PC/Ubuntu installs. Use the 2nd option from https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/ to mount your NAS folder and don't forget to copy the ROM folder structure on it before you set up auto-mounting.



  • Here's my tonight test, here's my config :

    Ubuntu 19.04
    RAM 7,8 GB
    Intel® Core™ i7 CPU 930 @ 2.80GHz × 8
    AMD® Radeon r9 200 series
    Gnome 3.32.1 64-bit

    -Roms on LAN : I spent hours on this, and I couldn't figure why it doesnt work. Hopefully I had commands to test the rompath, and it looks like I couldn't figure how to call my server. I already had hard time with this on another linux project, it may simply be from my hardware : I use a regular Freebox revolution from major french ISP. I had to do sudo apt install cifs-utils and tested numberous other tools to figure what was the IP, I ended with //192.168.0.254/Freebox/Retropie/roms as this is working directly in ubuntu file navigato,r however nothing works via Chrome where all my local ip from 01 to 12 are showing the retropie folders. I guess I'm doomed, numberous other french freebox users are saying the same.

    -Emulation : I found back a working PI sd card and brought back the working roms, Picodrive is just broken, Now I got a small windows that stuck immediatly on the message "joypad detected" previously it was always rebooting. Couldn't figure how to reset it. But all of ports games I tested are working including doom quake and outrun. Also FPS and gamewatch are working fine. Cannot go far in testing with so few disk space. I guess I'm doomed too, 1st tought is that sega emuls dont like ubuntu (maybe the 32 bits thing)

    -Kodi : It still refuse to install looking at logs the only thing he says is that "kodi-inputstream-rtmp" is not available here's full log:

    RetroPie-Setup version: 4.5.1 (1d449e7)
    System: Ubuntu 19.04 - Linux ninjaw-16GB 5.0.0-31-generic #33-Ubuntu SMP Mon Sep 30 18:51:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    
    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'kodi' : Kodi - Open source home theatre software
    = = = = = = = = = = = = = = = = = = = = =
    
    Atteint :1 http://fr.archive.ubuntu.com/ubuntu disco InRelease
    Atteint :2 http://fr.archive.ubuntu.com/ubuntu disco-updates InRelease
    Atteint :3 http://fr.archive.ubuntu.com/ubuntu disco-backports InRelease
    Réception de :4 http://security.ubuntu.com/ubuntu disco-security InRelease [97,5 kB]
    Ign :5 http://dl.google.com/linux/chrome/deb stable InRelease
    Atteint :6 http://repo.steampowered.com/steam precise InRelease
    Atteint :7 http://dl.google.com/linux/chrome/deb stable Release
    Atteint :8 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu disco InRelease
    97,5 ko réceptionnés en 1s (93,4 ko/s)
    Lecture des listes de paquets…
    
    = = = = = = = = = = = = = = = = = = = = =
    Installing 'kodi' : Kodi - Open source home theatre software
    = = = = = = = = = = = = = = = = = = = = =
    
    Atteint :1 http://fr.archive.ubuntu.com/ubuntu disco InRelease
    Atteint :2 http://fr.archive.ubuntu.com/ubuntu disco-updates InRelease
    Atteint :3 http://fr.archive.ubuntu.com/ubuntu disco-backports InRelease
    Réception de :4 http://security.ubuntu.com/ubuntu disco-security InRelease [97,5 kB]
    Ign :5 http://dl.google.com/linux/chrome/deb stable InRelease
    Atteint :6 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu disco InRelease
    Atteint :7 http://repo.steampowered.com/steam precise InRelease
    Atteint :8 http://dl.google.com/linux/chrome/deb stable Release
    97,5 ko réceptionnés en 1s (96,5 ko/s)
    Lecture des listes de paquets…
    Lecture des listes de paquets…
    Construction de l'arbre des dépendances…
    Lecture des informations d'état…
    Aucune version du paquet kodi-inputstream-rtmp n'est disponible, mais il existe dans la base
    de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
    ou qu'il n'est disponible que sur une autre source
    
    E: Le paquet « kodi-inputstream-rtmp » n'a pas de version susceptible d'être installée
    E: Impossible de trouver le paquet kodi-vfs-sftp
    Unable to install binary for kodi
    

  • Global Moderator

    • When 'mounting' a CIFS share, the remote path is always //server/share, not //server/share/path/into/the/server. That's how CIFS/SMB works, you cannot 'mount' a folder underneath the share, you need to use the share.

    • Regarding Picodrive - I would have liked to see the log file - /dev/shm/runcommand.log. But you can also install the alternative emulator - lr-genesis-plus-gx - and switch to it when launching a Megadrive game. Do you have a gamepad attached ? I don't see one in your system description.

    • For Kodi, it's not clear if you installed the distro package and then you tried to install the PPA one. I see that, for 19.04, there is no kodi-inputstream-rtmp package in the PPA archive (https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa/+index?field.series_filter=disco&batch=75&memo=75&start=75). Try uninstalling all your Kodi packages and then re-install from the RetroPie setup.



  • @mitu said in Lots of things not working with Retropie on Ubuntu usb X64:

    • When 'mounting' a CIFS share, the remote path is always //server/share, not //server/share/path/into/the/server. That's how CIFS/SMB works, you cannot 'mount' a folder underneath the share, you need to use the share.

    What ? It looks like very unlikely, that's not what it's shown in the wiki. Anyway I did try a lot of things including mounting all stages from the server structure, as the issue is probably calling the server itself. It looks like common issue, and it's very odd because this is an old popular machine, powerful server, unix, and obviously it's detected automatically by Ubuntu the same way windows do. Also there are dedicated french wiki around using ubuntu and freebox (but all that they say never worked) a this page that give direct usual IP. As you can see: it's not the same IP I used (254 instead of 1) and with my long windows+freebox experience I believe it's true. I cannot understand why on ubuntu the whole range of first local IP are showing retropie, and how it is possible that the only thing responding is 254, never saw this before. What about server names ? obvioulsy I couldn't use those in this case.

    • Regarding Picodrive - I would have liked to see the log file - /dev/shm/runcommand.log. But you can also install the alternative emulator - lr-genesis-plus-gx - and switch to it when launching a Megadrive game. Do you have a gamepad attached ? I don't see one in your system description.

    Actually I had preinstalled genesis, it didn't work, but right now the whole settings are corrupted and reinstall it didn't work. Do we have any clue about the other 64bit emulators that doesnt work like Daphne ? that's what is mentionned here.

    It's simply as that : it never worked, always did the same, before and after installing kodi via ubuntu. It's the only module that refused to install.


  • Global Moderator

    @ninjaw said in Lots of things not working with Retropie on Ubuntu usb X64:

    What ? It looks like very unlikely, that's not what it's shown in the wiki.

    You can try it yourself from the command line

    sudo mkdir /mount/nas
    sudo mount -o guest //NAS_NAME/FreeBox /mount/nas
    
    

    Actually I had preinstalled genesis, it didn't work, but right now the whole settings are corrupted and reinstall it didn't work. Do we have any clue about the other 64bit emulators that doesnt work like Daphne ? that's what is mentionned here.

    PCSX2 probably doesn't work OOB on x86_64.

    It's simply as that : it never worked, always did the same, before and after installing kodi via ubuntu. It's the only module that refused to install.

    It works fine for me, though I'm using a LTS release for Ubuntu (18.04).



  • @mitu said in Lots of things not working with Retropie on Ubuntu usb X64:

    You can try it yourself from the command line

    sudo mkdir /mount/nas
    sudo mount -o guest //NAS_NAME/FreeBox /mount/nas
    
    

    It would be handy, still trying to figure what's wrong with freebox, the 254 is confirmed, ppl talk about wrong dns server, and someone sucessfully mounted using 'mafreebox.freebox.fr' do you know if this kind of NAS_NAME are allowed ?


  • Global Moderator

    @ninjaw said in Lots of things not working with Retropie on Ubuntu usb X64:

    It would be handy, still trying to figure what's wrong with freebox, the 254 is confirmed, ppl talk about wrong dns server, and someone sucessfully mounted using 'mafreebox.freebox.fr' do you know if this kind of NAS_NAME are allowed ?

    I don't understand this - isn't your NAS in your local network ? What's the hostname of it ? If it doesn't have one, then use its IP address instead of the hostname.



  • @mitu said in Lots of things not working with Retropie on Ubuntu usb X64:

    It would be handy, still trying to figure what's wrong with freebox, the 254 is confirmed, ppl talk about wrong dns server, and someone sucessfully mounted using 'mafreebox.freebox.fr' do you know if this kind of NAS_NAME are allowed ?

    I don't understand this - isn't your NAS in your local network ? What's the hostname of it ? If it doesn't have one, then use its IP address instead of the hostname.

    Yes... that's one of the strange things, Ubuntu and windows and kodi are calling it freebox_server but, it seems ubuntu requires another name.... oh wait actually this dedicated page is VERY detailled and include a fstab ligne : https://doc.ubuntu-fr.org/freeboxv6

    Interesting that page says I have to force SMB1.0 vers=1.0 ! More fuel to test tonight sigh



  • HO-LY crap ! it worked I just had to add lots more options:

    //mafreebox.freebox.fr/Freebox/RetroPie/roms /home/ninjaw/RetroPie/roms cifs nofail,x-systemd.automount,x-systemd.device-timeout=10,guest,cache=none,uid=1000,iocharset=utf8,file_mode=0777, dir_mode=0777,vers=1.0 0 0
    

    Lots of french people are looking for 7 years to these settings, I feel I should put that in his own topic, for futur reference I have to add some notes:
    -Here, the first /Freebox/ it's just the way I named my own hard drive connected to freebox, since I use a Freebox Mini4K without hard drive. So users with Freebox Revolution should replace this with /Disque\040dur/ the original name of included hard drive
    -The /ninjaw/ is my ubuntu profile, Raspberyy Pi users should use /pi/
    -//mafreebox.freebox.fr/ is indeed the intranet freebox URL, however, here it's just the SAMBA local name you should use instead of FREEBOX_SERVER



  • Most of my emulators are working, I think we can say I don't have this specific issue anymore


  • Global Moderator

    Well, glad you got it set-up. Enjoy playing with your RetroPie !



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.