Dolphin emulator running on RP4B 64bit
-
Made a video....apologies...forgot to make it louder when I was recording :/
-
Thank you for all the hints. I will give it a try.
It would be great to see Wii and GC games in good performance on Pi4. -
Double Dash is working in Ishiiruka and the track is visible!
However, I see a lot of graphics errors, like Mario's and Luigi's face being distorted and graphic glitches on the track. Did you experience that, too?
(Note: I have rolled back to default Mesa 19.3 driver's from raspberry pi OS.)Best,
gandalth -
@gandalth23 I think the cause might be the Mesa drivers. I am running it on Mesa 21.2.0-dev version...
-
I recompiled mesa drivers and I am now also running on 21.2-dev.
Strange, but the graphics errors persist on my side. It looks as if the opacity of displayed areas is not correct and underlying items are shimmering through.Let's see what results others obtain. I alerted @George-Spiggott from another thread who was also interested in Double Dash.
I will experiment with Mario Kart Wii meanwhile.Best,
gandalth -
I stand corrected.
The graphics errors on 21.2-dev are present with OpenGL. But using Vulkan, the graphics in Double Dash are perfect.
On my system, the frame rate is between 26 fps and 31 fps in race mode.Best,
gandalth -
@gandalth23
So, not much better than it used to be in opengl.
I really thought vulkan would make some of my favorite games playable.Have you tried Wind Waker? in my tests with opengl it run almost playable a year ago, around 20-25 fps in the initial village. At the time, vulkan was super glitchy but there was improvements already.
I really want to give it a try since the last time i did it was like 6 months ago but it would be super time consuming and i dont have the time right now to build everything from scratch.
Another thing: using vulkan you can tick an option in dolphin settings to do HW texture decoding. It should improve performance.Edit:
heres gecko code to try running double dash in 30fps mode too[ActionReplay_Enabled]
$Force 30FPS
[ActionReplay]
$Force 30FPS
0448C388 00000002 -
@pi4papiba said in Dolphin emulator running on RP4B 64bit:
@gandalth23
So, not much better than it used to be in opengl.
I really thought vulkan would make some of my favorite games playable.Have you tried Wind Waker? in my tests with opengl it run almost playable a year ago, around 20-25 fps in the initial village. At the time, vulkan was super glitchy but there was improvements already.
I really want to give it a try since the last time i did it was like 6 months ago but it would be super time consuming and i dont have the time right now to build everything from scratch.
Another thing: using vulkan you can tick an option in dolphin settings to do HW texture decoding. It should improve performance.Edit:
heres gecko code to try running double dash in 30fps mode too[ActionReplay_Enabled]
$Force 30FPS
[ActionReplay]
$Force 30FPS
0448C388 00000002I tried Wind Walker with the same settings...it gives me about 18 to 22 FPS in the village with OpenGL in Doplhin and Dolphin Ishiiruka . Selecting Vulkan goes only from 8 to 18 FPS.
Selecting Vulkan backend in Doplhin Ishiiruka helps only by playing Mario Kart - Double Dash to get glitches off .....the only disadvantage is that it is a bit slower.
All other games that I tried are slower selecting Vulkan backend.
I also found two games that play at decent level. This are Mirco Machines and Super Mario Strikers. And maybe Super Smash Bros. Melee....
P.S. did u mean GPU texture decoding by writing "HW texture decoding"? I tried and it didn't make any difference...
-
I tried this out but I'm not having much luck with the installation. I will have another attempt tonight.
I've had a few attempts since and I get the following error when I install the MESA - " Error: unable to open display".
apt show libglapi-mesa displays "Version: 19.3.2-1~bpo10+1~rpt3" after the install attempt.
-
try with command in terminal (not over ssh but in desktop):
glxinfo -B
when you run games over Dolphin it will show you the version of GPU drivers on top of the screen....
-
@wodak Thanks I will try that in a few days. I got my hands on the new 64 bit Lakka so I'm using my SD card and experimenting with that at the moment. I will of course report back here somewhere if there is any useful info for PS1/PSP/DC/N64 etc.
-
I've added some more games ...
Micro Machines (runs OK)
Super Smash Bros. Melee (lag)
Mario Party 7 (lag)
Super Mario Strikers (lag) -
@wodak Nice that you are doing some more tests.
To be honest i am kinda giving up hope on making dolphin being usable on the pi4. My last hope was vulkan mature enough to make it run but your tests seems to go the other way around.Another test you can make since you are not using vulkan is to not launch dolphin through a x11 session like you are doing and maybe try running via gbm, in my tests with ppsspp on opengl i had better performance just by not launching the desktop and since dolphin has command line launching options, maybe it improves enough to make it useable.
Another thing is to make dolphin create shader caches before launch. In your videos ive seen some stutters that maybe are because of that, but i cant remember if this is a vulkan feature only.Cool, brother, thanks for your tests.
-
Yup...was thinking the same as you. I came to conclusion that PI4 is just not powerful enough to run Dolphin on decent level. We'll have to wait for next generation of Pi5 to arrive :)
tnx for the tips but I think I'm done with testing....might be a bit better when Igalia finishes optimizing Vulkan driver....
The stutters and tearing is mostly appearing in games if you play them full screen. In windowed mode they work kind of better (less tearing)....
-
This post is deleted! -
@wodak Seems like when 64bit is out of beta GameCube will be for raspberry pi 4 what N64 is for raspberry pi3. Some games run fine and others don’t.
-
@wodak Hi!
your guide is a gem. It helped me run dolphin on my raspberry pi 4. There is one thing that I want toaccomplish and I couldn't find any relevant help on the internet.
I want to link the dolphin executable with the mesa vulkan driver but not system wide. In other words. I have compiled and installed Vulkan using a custom installation prefix under /opt directory in order to not break something in raspberry os which comes with official mesa installed. How can I direct dolphin to the custom Vulkan drivers under /opt directory in order to use these instead of the system's default during compiling ?
Thanks in advance for your help
Kind Regards
-
@wodak What does the “full-upgrade “ command do? I use “upgrade”. Is that better?
-
@unknown said in Dolphin emulator running on RP4B 64bit:
@wodak What does the “full-upgrade “ command do? I use “upgrade”. Is that better?
Full-upgrade is used in preference to a simple upgrade, as it also picks up any dependency changes that may have been made.
Check the documentatuon. -
@nikal said in Dolphin emulator running on RP4B 64bit:
@wodak Hi!
your guide is a gem. It helped me run dolphin on my raspberry pi 4. There is one thing that I want toaccomplish and I couldn't find any relevant help on the internet.
I want to link the dolphin executable with the mesa vulkan driver but not system wide. In other words. I have compiled and installed Vulkan using a custom installation prefix under /opt directory in order to not break something in raspberry os which comes with official mesa installed. How can I direct dolphin to the custom Vulkan drivers under /opt directory in order to use these instead of the system's default during compiling ?
Thanks in advance for your help
Kind Regards
Sorry..... but I can´t help you here...maybe ask on dolphin forum...
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.