Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved v6 - roms + kodi won't start when samba share activated

    Recalbox General
    roms kodi wont start samba
    2
    5
    983
    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.
    • lbesnard
      lbesnard last edited by

      Hi all

      I just did a fresh install of recalbox v6 today. I initially tried uploading a few snes roms, and played them -> worked fine
      Kodi also worked properly.

      However, I then decided to use the samba feature to point directly to my media center. I got the folder hierarchy fine, played with the permission to make sure recalbox has writing access to the roms (but that it is not needed actually). Recalbox finds the roms through the samba share. However, every time I try to open a rom, it loads the recalbox loading page, and then goes back to the game selection menu...
      The same thing happens when I try to use Kodi. It just won't start
      If I change again the /boot/recalbox-boot.conf to use the sharedevice=INTERNAL , it works fine

      When I launch kodi, here is the log

      [2019/05/14 15:14:11.816] (INFO ) : Attempting to launch kodi...
      [2019/05/14 15:14:11.816] (INFO ) : Shutting down SDL AUDIO
      [2019/05/14 15:14:12.196] (INFO ) : Available and configurated : USB,2-axis 8-button gamepad  
      [2019/05/14 15:14:12.196] (INFO ) : Saved USB,2-axis 8-button gamepad   for player 0
      [2019/05/14 15:14:12.196] (INFO ) : No config for player 1
      [2019/05/14 15:14:12.196] (INFO ) : No config for player 2
      [2019/05/14 15:14:12.196] (INFO ) : No config for player 3
      [2019/05/14 15:14:12.196] (INFO ) : No config for player 4
      [2019/05/14 15:14:12.196] (INFO ) : Configure emulators command : -p1index 0 -p1guid 03000000830500006020000010010000 -p1name "USB,2-axis 8-button gamepad  " -p1nbaxes 2 -p1devicepath /dev/input/event0 
      [2019/05/14 15:14:13.222] (INFO ) : Creating surface...
      [2019/05/14 15:14:13.254] (INFO ) : Created window successfully.
      [2019/05/14 15:14:13.648] (INFO ) : Added known joystick USB,2-axis 8-button gamepad   (instance ID: 0, device index: 0)
      [2019/05/14 15:14:14.010] (INFO ) : SDL AUDIO Initialized
      [2019/05/14 15:14:14.010] (INFO ) : playing
      [2019/05/14 15:14:14.010] (WARN!) : Shutdown terminated with non-zero result!
      

      and with a game (it doesn't even same that the process has terminated):

      [2019/05/14 15:15:27.180] (INFO ) : Attempting to launch game...
      [2019/05/14 15:15:27.180] (INFO ) : Shutting down SDL AUDIO
      [2019/05/14 15:15:27.588] (INFO ) : Available and configurated : USB,2-axis 8-button gamepad  
      [2019/05/14 15:15:27.588] (INFO ) : Saved USB,2-axis 8-button gamepad   for player 0
      [2019/05/14 15:15:27.589] (INFO ) : No config for player 1
      [2019/05/14 15:15:27.589] (INFO ) : No config for player 2
      [2019/05/14 15:15:27.589] (INFO ) : No config for player 3
      [2019/05/14 15:15:27.589] (INFO ) : No config for player 4
      [2019/05/14 15:15:27.589] (INFO ) : Configure emulators command : -p1index 0 -p1guid 03000000830500006020000010010000 -p1name "USB,2-axis 8-button gamepad  " -p1nbaxes 2 -p1devicepath /dev/input/event0 
      [2019/05/14 15:15:27.589] (INFO ) : Controllers config : -p1index 0 -p1guid 03000000830500006020000010010000 -p1name "USB,2-axis 8-button gamepad  " -p1nbaxes 2 -p1devicepath /dev/input/event0 
      [2019/05/14 15:15:28.027] (INFO ) : 	python /usr/lib/python2.7/site-packages/configgen/emulatorlauncher.pyc -p1index 0 -p1guid 03000000830500006020000010010000 -p1name "USB,2-axis 8-button gamepad  " -p1nbaxes 2 -p1devicepath /dev/input/event0  -system snes -rom /recalbox/share/roms/snes/Mega\ Man\ X\ 3\ \(U\)\ [\!].smc -emulator default -core default -ratio auto 
      [2019/05/14 15:15:28.491] (WARN!) : ...launch terminated with nonzero exit code 256!
      [2019/05/14 15:15:28.491] (INFO ) : Creating surface...
      [2019/05/14 15:15:28.518] (INFO ) : Created window successfully.
      [2019/05/14 15:15:28.938] (INFO ) : Added known joystick USB,2-axis 8-button gamepad   (instance ID: 0, device index: 0)
      [2019/05/14 15:15:29.332] (INFO ) : SDL AUDIO Initialized
      [2019/05/14 15:15:29.332] (INFO ) : playing
      

      any help would be greatly appreciated.
      Cheers
      Loz

      OyyoDams 1 Reply Last reply Reply Quote 0
      • OyyoDams
        OyyoDams Staff @lbesnard last edited by

        @lbesnard please post your /boot/recalbox-boot.conf with network configuration

        lbesnard 1 Reply Last reply Reply Quote 0
        • lbesnard
          lbesnard @OyyoDams last edited by

          @oyyodams said in v6 - roms + kodi won't start when samba share activated:

          /boot/recalbox-boot.conf

          sharedevice=NETWORK
          sharenetwork_smb1=ROMS@10.1.1.198:games/emulation/recalbox/roms:username=guest,password=guest
          sharenetwork_smb2=SAVES@10.1.1.198:share/games/saves:username=guest,password=guest
          

          and for example a rom will have the following address:
          games/emulation/recalbox/roms/snes/Legend of Zelda, The - A Link to the Past.smc

          Also forgot to mention this is on a RPI3

          OyyoDams 1 Reply Last reply Reply Quote 0
          • OyyoDams
            OyyoDams Staff @lbesnard last edited by

            @lbesnard ok I need an archive support. Unfortunately in the current version the automatic process doesn't work anymore because our previous provider is not free anymore. So we have to switch to a new one. So please:

            • Connect to Recalbox with ssh
            • Execute the following command: /recalbox/scripts/recalbox-support.sh
            • You'll then find an archive file in the save folder of Recalbox, can you send it by mail to support@recalbox.com and then reply here ?

            Thanks

            lbesnard 1 Reply Last reply Reply Quote 0
            • lbesnard
              lbesnard @OyyoDams last edited by

              @oyyodams said in v6 - roms + kodi won't start when samba share activated:

              /recalbox/scripts/recalbox-support.sh

              D**n ! thanks !

              I ran the script. It failed and the last line was

              /recalbox/scripts/recalbox-support.sh: line 116: /recalbox/share/saves/recalbox-support-20190514153203.tar.gz: Permission denied
              

              The share/save folder didn't have the writing permission on for guest.

              Kodi and Games run fine now. So thanks for the tip 😄

              However, maybe some more logging could be made available for more self diagnose? Maybe it's somewhere else and I didn't look properly.

              Cheers

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Want to support us ?

              89
              Online

              98.7k
              Users

              28.1k
              Topics

              187.0k
              Posts

              Copyright © 2021 recalbox.com