Problem with lr-vice
-
I cannot get lr-vice to run on my GPi Case using a Pi Zero W. No idea what is happening, just takes me back to the main menu anytime I try to load a game. I have 20 other emulation cores all set up and working fine. Haven't done anything different with this one, but no matter what I've tried, it doesn't work. I've gotten lr-vice to work just fine on other Pi projects I've done. But I'm stumped here.
This is what my runcommand log spit out:
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/#/1942.prg" --appendconfig /dev/shm/retroarch.cfg
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 757 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/#/1942.prg" --appendconfig /dev/shm/retroarch.cfg
xboxdrv: no process foundParameters:
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: 1414 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 -
I played around it with more more today and I can't get anything to load. I can't figure out what could be wrong. Folder permissions seem to be set correctly. All the ROMs I have are tested to be good. I've checked the script files loading up the emulators and roms and they all seem to be pointing in the right place.
Anyone have any ideas why the games are loading based on the runcommand.log above?
-
@tpr honestly, lr-vice is dump and play setup. There isn't much to do with it.
Looking at your log, it looks like something is wrong with your controller setup
"xboxdrv: no process found" is the last entry on both logs.It doesn't like the driver. What controller are you using?
-
@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.
-
@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 -
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 -
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?
-
@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.
-
@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.
-
@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 -
@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
-
@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.
-
@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...
-
@dankcushions
Here is the verbose runcommand.log -
https://www.dropbox.com/s/ljbd8994zutip5g/runcommand.log?dl=0Any help or suggestions would be appreciated.
-
@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 idkyou’re also running an ancient version of RA but that may not be related.
-
@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.
-
@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 fastSIDNow the core seems to run pretty close to full speed! If you don't make that change, the core barely runs at all.
-
@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?
-
@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 yourretroarch.cfg
(or change it from "true" to "false" if it's already there.) -
@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-L266if 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 theretroarch.cfg.rp-dist
toretroarch.cfg
this might fix your 7 second thing also
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.