Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5
-
@TPR
I had issues with Libretro, such as system freezing or black screens, and I don't use it. I suggest you use the standalone version -
@ionx yeah I have both installed. I just like libretro for the ease of everything being under one roof. But if I find something that really doesn't run at all with it, I'll switch over to the standalone.
-
Great news:
Raspberry Pi Vulkan support in Dolphin Emu
I tried it, and it's working fine, some games are running better.
-
@sugarfree will need to redo the spreadsheet now ha! Had a quick go on twilight princess, the mini map works now and there were only a couple of slowdowns vs lots of slowdowns on openGL. So it does seem an improvement
Edit:- and it doesn't fix dual source blending using Vulkan so no Double Dash, Resident Evil 4 or Battalion Wars
-
@retropieuser555
Resident Evil 4 was the first thing I tried, but unfortunately, it didn’t work.
I added some entries to the spreadsheet, and most of them involved the trick of decreasing CPU usage to 70%. I will test them with Vulkan later.
So far, the games with Red are running better, but they still fall into the Red category. -
It looks like with Vulkan and the plethora of options in the emulator, it was possible to play some problematic games:
F-Zero GX
Def Jam Fight For NY
Beyond Good & Evil
Red Faction IIMy settings: Vulkan+VBI Skip+Skip EFB Access. All others are the default.
-
@sugarfree that's awesome, there are a few I intend to test again that I tried before that were too slow, F Zero was definitely one of them, it was maybe 5fps on OpenGL, so definitely much better support on Vulkan for that game. Will try a few more next week if I find the time, Star Fox Adventures in particular
Edit: Star fox still is a tad too slow imo, maybe there's some hacks that make that work slightly better
The biggest improvements I've noticed are on Wii and wiiware games. The slowdowns I noticed in Donkey Kong Country Returns & Little King's Story are gone now using vulkan. Also Strong bad, Lost Winds, Doc Louis' Punch Out & Pokemon Rumble all had massive slowdowns in OpenGL and play perfectly fine in Vulkan.
Have you found any games so far that are better in OpenGL than in Vulkan? I wonder about just setting vulkan as the default for pi 5 in the dolphin installer script
-
@retropieuser555
For GameCube, I use Vulkan by default. For Wii, I have tried only one game: Xenoblade Chronicles, and I feel that it works better with OpenGL.Star Fox Adventures is running well (not perfectly) with the following settings:
VBI Skip: Enabled
Dual Core: Enabled
CPU at 80%I am using the above settings for the majority of the games. Sometimes, I enable the Skip EFB Access, which removes some heavy effects in the games.
Generally, the emulators that take big advantage of Vulkan are lr-flycast-dev, lr-ppsspp, and Dolphin.
-
@sugarfree with the game.ini do you know what VBI Skip is called in the configs? I couldn't seem to see that in their documentation and I don't want to set it for every game
-
@retropieuser555 said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:
@sugarfree with the game.ini do you know what VBI Skip is called in the configs? I couldn't seem to see that in their documentation and I don't want to set it for every game
I think is this :
VISkip = True
I asked in their Discord for confirmation. If it works, tell me so I can give them feedback to update their wiki. Thanks.
update: It's working !
[Video_Hacks] VISkip = True
-
Retroachievements coming to GameCube next week. This won't work with lr-dolphin, only the standalone emulator
-
@abj said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:
First set as game folder in the Dolphin Gui the gc folder in the roms folder of RetroPie.
Configure correctly the gamepad from:
Dolphin GUi -> Controllers: evdev device/ gamepad. After configuration i create a profile and save.Hi, I'm on a Pi5 and I'm not able to set the gamepads with that option. The box around the screen is there but I'm only able to play the game and exit with my keyboard. I also tried to launch the
dolphin-emu
program from the/opt/retropie/emulators/dolphin/bin/
(from command-line and also through a file explorer in the desktop ) but it won't load.Any ideas. What I'm doing wrong?
-
@DTEAM So we need to add a second line to emulators.cfg, I use this:-
dolphin-editor = "XINIT-WMC:/opt/retropie/emulators/dolphin/bin/dolphin-emu"
Trouble is there's no "Big Picture" GUI option that uses gamepads to control (apparently it's a feature that gets requested for Dolphin a lot so it'll probably get developed eventually)
Consequently right now you have to have a mouse plugged in to configure your controller
Edit: no idea why it didn't load from Pixel Desktop, that should've worked tbh. The command line I know you get QT errors when trying to launch the application outside runcommand's XINIT function
-
@retropieuser555 said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:
@DTEAM So we need to add a second line to emulators.cfg, I use this:-
dolphin-editor = "XINIT-WMC:/opt/retropie/emulators/dolphin/bin/dolphin-emu"
It works well, thanks!!!! I agree with you, it should be included by default or in retropie-setup --> configurations. BTW, for people with a touchscreen and a Pi5, the touchscreen works well with Dolphin GUI.
-
Just an fyi, if you build dolphin from RetroPie as it's pointing towards the master branch, you get retroachievements access now, unlocked some bits on Wind Waker, Paper Mario and Pokémon Channel so it works as far as I can tell
-
So the issue I'm trying to figure out right now is why so many of my GC games are crashing upon loading them up in lr-dolphin.
For example, I made a completely vanilla Pi 5 Retropie build installing only the basic install and lr-dolphin and if I try to load the rvz file of NFL Blitz 2003 it crashes on the company logos 4 out of 10 loads, maybe more.
But there are images out there I've seen on AP that have lr-dolphin installed and using my same file for the game, it will load up flawlessly 50 times in a row.
Any idea what could be causing this?
@mitu any suggestions as to why my games on startup keep randomly crashing on lr-dolphin?
I can reproduce this using gl, Vulkan, pretty much any setting or change in the core. Yet these other builds seem to load lr-dolphin games just fine. The crashes seem to happen while loading up a game not during gameplay. I'd say 95% of the time it crashes before the game even starts If it makes it to when a game starts, usually its fine.
Any ideas?
-
@TPR said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:
So the issue I'm trying to figure out right now is why so many of my GC games are crashing upon loading them up in lr-dolphin.
For example, I made a completely vanilla Pi 5 Retropie build installing only the basic install and lr-dolphin and if I try to load the rvz file of NFL Blitz 2003 it crashes on the company logos 4 out of 10 loads, maybe more.
But there are images out there I've seen on AP that have lr-dolphin installed and using my same file for the game, it will load up flawlessly 50 times in a row.
Any idea what could be causing this?
@mitu any suggestions as to why my games on startup keep randomly crashing on lr-dolphin?
I can reproduce this using gl, Vulkan, pretty much any setting or change in the core. Yet these other builds seem to load lr-dolphin games just fine. The crashes seem to happen while loading up a game not during gameplay. I'd say 95% of the time it crashes before the game even starts If it makes it to when a game starts, usually its fine.
Any ideas?
@mitu So further testing...
This build I had downloaded a few months ago, I can load up NFL Blitz 2003 (USA).rvz 25 times in a row and it doesn't crash.
With the vanilla new install of RetroPie I made yesterday, it crashes on the loading screens 1 in 5 times.
Here's the info from the other build
Here's the info from the build I made yesterday:
And it usually crashes here:
or here:
If it makes it past these screens, I can play the game for a good 10-15 minutes without any issues. So the crashes seem to be happening right at the start when the game is loading.
Note that I've tested loading from both the SD card and an external hard drive, same issue. I've also tested .ciso, .rvz, and .iso files and I get the same results. Works fine in that other build, but crashes 1 in 5 times on the new build.
Different versions of RA from the old to the new build, but the lr-dolphin cores have the same file size. Any ideas?
-
@TPR said in Dolphin / Gamecube / Wiiware / Wii Compatibility on Pi 5:
@mitu So further testing...
I've done almost no testing and my input in this topic is minimal, tagging me and expecting an answer is not going to yield the desired effect.
If you want my advice, then ditch the Libretro core since it's outdated and buggy, and do your testing with the standalone emulator. -
@mitu Appreciate the response either way! Thank you!
-
In case anyone is interested, here are more of my findings....
I copied the Retroarch version 1.16.0 to my build and then switching my audio output to "pulse" I was able to load the game (NFL Blitz 2003 (USA).rvz) 22 times in a row without it crashing at startup.
I switched back over to RA 1.19.1 and ASLA audio output and the game crashed on the very first load, and then it crashed again on 3 out of the 5 times I loaded. I do not appear to have the option to switch to "pulse" on RA 1.19.1 and I'm not sure why as the audio system is installed on my Pi.
Switched back over to 1.16.0 and with pulse and have now loaded it another 11 times without it crashing.
So I have added this older version of RA to my folder:
/opt/retropie/emulators/retroarch/binand renamed it retroarch_gc and created a new entry in my emulators.cfg to point to it:
lr-dolphin-pulseaudio = "/opt/retropie/emulators/retroarch/bin/retroarch_gc -L /opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so --config /opt/retropie/configs/gc/retroarch.cfg %ROM%"
I have NO IDEA AT ALL why this seems to be working, but this is the only thing I have found to make lr-dolphin more stable. In fact, in my last couple of hours of testing, I have not had the emulator core crash once on me since making this change.
I hope this is helpful to someone.
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.