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

    Problem with lr-vice

    Scheduled Pinned Locked Moved Help and Support
    runcommand.logvicevice 64
    25 Posts 4 Posters 5.1k 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.
    • TPRT
      TPR @jamrom2
      last edited by

      @jamrom2 The GPi Case has its own built in controller. What would I do to fix that? This isn't an issue with any other emulation core.

      1 Reply Last reply Reply Quote 0
      • TPRT
        TPR @jamrom2
        last edited by

        @jamrom2 And even after installing xboxdrv from the retropie-setup module, I still get the same error:

        Parameters:
        Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_x64_libretro.so --config /opt/retropie/configs/c64/retroarch.cfg "/home/pi/RetroPie/roms/c64/10th Frame.T64" --appendconfig /dev/shm/retroarch.cfg
        /opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 933 Floating point exception/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_x64_libretro.so --config /opt/retropie/configs/c64/retroarch.cfg "/home/pi/RetroPie/roms/c64/10th Frame.T64" --appendconfig /dev/shm/retroarch.cfg
        xboxdrv: no process found

        1 Reply Last reply Reply Quote 0
        • TPRT
          TPR
          last edited by

          I am completely stumped. I've tried everything I can possibly think of. lr-vice works perfectly fine on my Pi4 build but I cannot get anything at all to work on the GPi Case with the Pi Zero. And from everything I've read there is no reason why it shouldn't work.

          No matter what I try I still keep getting the following:

          Parameters:
          Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_x64_libretro.so --config /opt/retropie/configs/c64/retroarch.cfg "/home/pi/RetroPie/roms/c64/10th Frame.T64" --appendconfig /dev/shm/retroarch.cfg
          /opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 1164 Illegal instruction /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_x64_libretro.so --config /opt/retropie/configs/c64/retroarch.cfg "/home/pi/RetroPie/roms/c64/10th Frame.T64" --appendconfig /dev/shm/retroarch.cfg
          xboxdrv: no process found

          1 Reply Last reply Reply Quote 0
          • TPRT
            TPR
            last edited by

            I even tried from a completely clean install on the Pi Zero today and it still didn't work. Is it possible that the version of lr-vice currently available is broken?

            jamrom2J 1 Reply Last reply Reply Quote 0
            • jamrom2J
              jamrom2 @TPR
              last edited by jamrom2

              @tpr It's definately not the lr-vice causing this. Is this a genuie build from the download section?

              Also, it looks like it's that xboxdrv causing it. That's the driver for an xbox controller. It should be using udev (or readlly xpad) as the driver.

              I'm not 100% sure this will help, but can you look in your Retropie-Setup -->Manage Packages --> Manage Driver packages --> and see if "xboxdrv" says (installed - via source) next to it... as well as xpad. If the xboxdrv does, then go into it and disable it.

              You only really need that if you are running an xbox controller. It should just be using xpad as default.

              here's the whole write-up on the xboxdrv from the Retropie Docs.

              https://retropie.org.uk/docs/Xbox-360-Controller/

              TPRT 2 Replies Last reply Reply Quote 0
              • TPRT
                TPR @jamrom2
                last edited by TPR

                @jamrom2 I've checked and double checked this. Installed, removed and re-installed. I get that same issue regardless if xboxdrive and xpad is installed and enabled or uninstalled and disabled. What is it about lr-vice that is throwing that error yet none of my other 20-something installed cores do? Why is that core looking for xboxdrv to begin with? Is there something that I can change so it no longer looks for that?

                Also, I'm not a newbie. I've been building Pi's since RetroPie was a thing. That's why I'm stumped! I honestly have tried every trick I can think of and no matter what I do I can't get this to work.

                jamrom2J 1 Reply Last reply Reply Quote 0
                • TPRT
                  TPR @jamrom2
                  last edited by

                  @jamrom2 Here's the runcommand.log from the same game running on another Pi build:

                  Parameters:
                  Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vice/vice_x64_libretro.so --config /opt/retropie/configs/c64/retroarch.cfg "/home/pi/RetroPie/roms/c64/#/10th Frame.T64" --appendconfig /dev/shm/retroarch.cfg

                  dankcushionsD 1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator @TPR
                    last edited by

                    @tpr when providing logs please launch the game with the verbose option to provide a verbose log - these you’ve provided so far don’t really paint a complete picture of the scenario. see read-this-first link for full verbose log instructions

                    TPRT 2 Replies Last reply Reply Quote 0
                    • jamrom2J
                      jamrom2 @TPR
                      last edited by

                      @tpr I honestly don't know. I switched over from vice to lr-vice64 without any issues like this. I had my own, but unrelated to this.

                      As suggested, run it verbose and upload the log... don't post it here, it will be a mess.

                      Maybe there is something not set correctly somewhere, but I can't imagine what. It was a load and go for me, as is for most.

                      1 Reply Last reply Reply Quote 0
                      • TPRT
                        TPR @dankcushions
                        last edited by

                        @dankcushions Thanks. I'll do that tonight. Sorry for not doing it first. I've had loads of questions answered and not needed to do that. Was hoping it might have just been something that someone else had also had happened and could point me in the right direction, but maybe this one is actually a bigger issue than I would have thought...

                        1 Reply Last reply Reply Quote 0
                        • TPRT
                          TPR @dankcushions
                          last edited by

                          @dankcushions
                          Here is the verbose runcommand.log -
                          https://www.dropbox.com/s/ljbd8994zutip5g/runcommand.log?dl=0

                          Any help or suggestions would be appreciated.

                          dankcushionsD 1 Reply Last reply Reply Quote 0
                          • dankcushionsD
                            dankcushions Global Moderator @TPR
                            last edited by dankcushions

                            @tpr as i thought, the xboxdrv stuff is a red herring. the core is having a floating point error and crashing out, and i guess xboxdrv is complaining about that.

                            your issue is the crash. i see a number of [libretro ERROR] s which i suspect don’t occur during logs of working games. they seem to point to a BIOS or perhaps bad rom issue. i don’t know anything about c64/vice but it sounds like it’s expecting certain files in the romset:

                            The C128, VIC20, SCPU64 and C64 emulators also need the following DOS ROMs for the hardware-level emulation of the 1540, 1541, 1571, 1581, 2000, and 4000 disk drives, as well as the CMD hard drive:

                            ‘dos1540', the 1540 drive ROM (16 KiB)
                            ‘dos1541', the 1541 drive ROM (16 KiB)
                            ‘dos1541II', the 1541-II drive ROM (16 KiB)
                            ‘dos1571', the 1571 drive ROM (32 KiB)
                            ‘dos1581', the 1581 drive ROM (32 KiB)
                            ‘dos2000', the 2000 drive ROM (32 KiB)
                            ‘dos4000', the 4000 drive ROM (32 KiB)
                            ‘dosCMDHD', the CMD HD boot ROM (16 KiB)

                            see https://vice-emu.sourceforge.io/vice_4.html
                            the errors imply 2000 and 4000 files are missing, but idk

                            you’re also running an ancient version of RA but that may not be related.

                            TPRT 3 Replies Last reply Reply Quote 0
                            • TPRT
                              TPR @dankcushions
                              last edited by

                              @dankcushions Thanks for that. My Pi 4 is running the same version of lr-mame with the same romset and doesn't require any BIOS files or anything. I'm going to try to update RA now and see if that may be it, but I was using an older versions since the GPi Case is Pi Zero W based and this version seemed to run pretty smoothly.

                              dankcushionsD 1 Reply Last reply Reply Quote 0
                              • TPRT
                                TPR @dankcushions
                                last edited by TPR

                                @dankcushions Well, damn... that old version of RA seemed to be exactly what was causing it. So now I need to go through all the other emulator cores on the build to make sure that didn't break anything else.

                                One question. I noticed I now have to "press quit twice" to exit the emulator. Do I have to set that in the RA settings > Input > Hot Key Bind for each emulator or is there a way to set that globally? I think I have about 20ish cores installed and I'm really hoping I don't have to make that change one core at a time! :P

                                Although to get lr-vice running at a decent speed on the GPi Case (or I'm assuming with any Pi Zero based setup) I needed to do this in RA:

                                Options > Show Audio Options ON
                                then
                                Audio > SID Engine - Change to fastSID

                                Now the core seems to run pretty close to full speed! If you don't make that change, the core barely runs at all.

                                239456171_1275648366233860_5284548916083207898_n.jpg

                                S 1 Reply Last reply Reply Quote 1
                                • TPRT
                                  TPR @dankcushions
                                  last edited by

                                  @dankcushions Something else I just noticed about updating to the latest version of RA. There is a few second delay after a game starts where I can perform any hotkey functions, like go into the RA menu or exit a game. Seems to be about a 7 second delay. Anything I can do to fix that?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sleve_mcdichael @TPR
                                    last edited by

                                    @tpr said in Problem with lr-vice:

                                    I noticed I now have to "press quit twice" to exit the emulator. Do I have to set that in the RA settings > Input > Hot Key Bind for each emulator or is there a way to set that globally? I think I have about 20ish cores installed and I'm really hoping I don't have to make that change one core at a time! :P

                                    You can put quit_press_twice = "false" in your retroarch.cfg (or change it from "true" to "false" if it's already there.)

                                    1 Reply Last reply Reply Quote 0
                                    • dankcushionsD
                                      dankcushions Global Moderator @TPR
                                      last edited by dankcushions

                                      @tpr said in Problem with lr-vice:

                                      @dankcushions Thanks for that. My Pi 4 is running the same version of lr-mame with the same romset and doesn't require any BIOS files or anything.

                                      lr-mame? do you mean lr-vice?

                                      One question. I noticed I now have to "press quit twice" to exit the emulator. Do I have to set that in the RA settings > Input > Hot Key Bind for each emulator or is there a way to set that globally? I think I have about 20ish cores installed and I'm really hoping I don't have to make that change one core at a time! :P

                                      hmm, that should have set to true on your global /opt/retropie/configs/all/retroarch.cfg when you updated: https://github.com/RetroPie/RetroPie-Setup/blob/a9198687e573694f01fd0b434100b86b1babff9e/scriptmodules/emulators/retroarch.sh#L265-L266

                                      if so, i suspect your /opt/retropie/configs/c64/retroarch.cfg is not default and is full of all the options, overriding /all/retroarch.cfg? - perhaps you saved it when in the retroarch menu? this would mean you're running your own config, outside of retropie's remit, so you'd have to make your own change there (unless you returned it to default by deleting it, then renaming the retroarch.cfg.rp-dist to retroarch.cfg

                                      this might fix your 7 second thing also

                                      TPRT 3 Replies Last reply Reply Quote 0
                                      • TPRT
                                        TPR @dankcushions
                                        last edited by

                                        @dankcushions said in Problem with lr-vice:

                                        @tpr said in Problem with lr-vice:

                                        @dankcushions Thanks for that. My Pi 4 is running the same version of lr-mame with the same romset and doesn't require any BIOS files or anything.

                                        lr-mame? do you mean lr-vice?

                                        Yes, sorry. I was just doing something in mame so it was on my mind!

                                        One question. I noticed I now have to "press quit twice" to exit the emulator. Do I have to set that in the RA settings > Input > Hot Key Bind for each emulator or is there a way to set that globally? I think I have about 20ish cores installed and I'm really hoping I don't have to make that change one core at a time! :P

                                        hmm, that should have set to true on your global /opt/retropie/configs/all/retroarch.cfg when you updated: https://github.com/RetroPie/RetroPie-Setup/blob/a9198687e573694f01fd0b434100b86b1babff9e/scriptmodules/emulators/retroarch.sh#L265-L266

                                        if so, i suspect your /opt/retropie/configs/c64/retroarch.cfg is not default and is full of all the options, overriding /all/retroarch.cfg? - perhaps you saved it when in the retroarch menu? this would mean you're running your own config, outside of retropie's remit, so you'd have to make your own change there (unless you returned it to default by deleting it, then renaming the retroarch.cfg.rp-dist to retroarch.cfg

                                        this might fix your 7 second thing also

                                        I did mange to get the "press quit twice" thing fixed however I'm still getting the delay once any core opens. It seems to be a global thing, not just with lr-vice. Any ideas as to what could be causing it? It wasn't an issue before I updated RA.

                                        1 Reply Last reply Reply Quote 0
                                        • TPRT
                                          TPR @dankcushions
                                          last edited by TPR

                                          @dankcushions Also, I never touched /all/retroarch.cfg I only went into each emulator core, chose "close content" then went into my settings > Input > Hotkey Binds, and turned off the "Press Quit Twice" option, and then saved current configuration, where I can see it saved it into the emulator core directory. But even before I did any of that, I was still getting the delay from the vanilla install of the new version of RA.

                                          Here is the file from my /opt/retropie/configs/all/retroarch.cfg
                                          https://www.dropbox.com/s/sl0hkfue8zjsp5i/retroarch.cfg?dl=0

                                          See anything that could be causing the issue?

                                          EDIT: I don't see anything in there about disabling press quit twice and this is the file that was downloaded "from binary" yesterday.

                                          1 Reply Last reply Reply Quote 0
                                          • TPRT
                                            TPR @dankcushions
                                            last edited by

                                            @dankcushions So I made another change. I went into every one of my emulation core config folders and changed the retroarch.cfg to the following. Now all the cores seem to work without the delay and I can also press quit once to get out of the core. I'm not sure if this was the best way to do it, or if you think there was a better way, but at least, for now, this "works."

                                            Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                                            input_remapping_directory = "/opt/retropie/configs/nes/"

                                            quit_press_twice = "false"

                                            #include "/opt/retropie/configs/all/retroarch.cfg"

                                            dankcushionsD 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.