Dolphin emulator running on RP4B 64bit
-
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...
-
@wodak thanks for clarifying
-
This may be of interest. Currently it only runs on Android as far as I know.
https://github.com/Bankaimaster999/Dolphin-MMJR
There's a video about it here. Worth noting that by 'mid range' he means A76 CPUs (Mediatek Helio G95 and Snapdragon 730) .
-
I was wondering too if anyone here had tried building this for the Pi4.
It sounds like there's been a spat with the Original Dolphin team or something. As the creator said he'd stopped work on this version, started another, https://github.com/Bankaimaster999/Dolphin-MMJR2 which apparently he also put down?
Allegedly? -
I've been playing a bit with emulation with Dolphin again. So I've updated the Mesa drivers to version 22.0.0 dev and ran Dolphin again. The results are a bit better. It runs a bit smoother (maybe 1 or 2 frames) and less glitches in games. But still not really playable.
Just for the info. I tried 5 different dolphin emulators on Lineage 18.1 (64 bit).
Dolphin , Dolphin Ishiiruka , Dolphin MMJ, Dolphin MMJR and Dolphin MMJR2. It runs even worse than on Rasperry Pi OS 64 bit... -
@wodak I'm trying to do that too using the new Raspbian Bullseye 64bit.
For some reason when following the steps here I had to keep manually installing different packages which didn't install from the dependencies listed on this guide, and had to look up the proper names for most of them, but eventually it let me build Mesa version 22.
I am suprised tho that you didn't get better performance, I'll test and see how it goes.
But I have already tested on a regular Pi 4, 4GB running Konstakang Android 11 and was able to get better performance running the MMJR build of Dolphin. I'd say it was close to full speed for some games, but still gotta do more testing of easier to emulate stuff and report back.
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.