![]() |
|
Dolphin on the pi 4? - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Hardware (https://forums.dolphin-emu.org/Forum-hardware) +--- Thread: Dolphin on the pi 4? (/Thread-dolphin-on-the-pi-4) |
RE: Dolphin on the pi 4? - bomblord - 01-22-2020 (01-21-2020, 10:11 AM)George Spiggott Wrote: I've installed the update and things are a little faster with OpenGLES 3.1. I still can't seem to match the speeds that ETA Prime got with OpenGLES 3.0 in his video (below) nor could I under 3.0. I get about 13FPS in Soulcalibur II. The game is too slow to play but the music can be fixed so that it plays in sync. The game will play at double resolution with only a slight frame rate drop (9FPS) which suggests to me that the CPU is the bottleneck. Are you using the *Dolphin* CPU override? Also, why a month old version of Dolphin? Does it still throw an error on startup about needing Buffer Storage? RE: Dolphin on the pi 4? - George Spiggott - 01-23-2020 No buffer storage errors come up. This is the version I installed when 3.0 was released and I have not updated. I need to check how to do that. I'm using the CPU override in dolphin. The CPU override doesn't affect the FPS that Dolphin's counter reports it just inceases frameskip. It needs to be dropped to around 10% in some games to make them playable(ish). I also got Bloodrayne to run at a reasonable speed. RE: Dolphin on the pi 4? - bomblord - 01-24-2020 (01-23-2020, 03:46 AM)George Spiggott Wrote: No buffer storage errors come up. This is the version I installed when 3.0 was released and I have not updated. I need to check how to do that. I'm using the CPU override in dolphin. The CPU override doesn't affect the FPS that Dolphin's counter reports it just inceases frameskip. It needs to be dropped to around 10% in some games to make them playable(ish). It's not exactly frameskip. It underclocks the virtual Gamecube/Wii CPU making it easier to emulate. If a game isn't using all the Gamecube's resources it'll still run at full speed on the underclocked CPU but if the game is using 100% of the Gamecube/Wii CPU it'll run worse because it has less power to work with. But thanks it's good to know that buffer storage has been addressed at least. RE: Dolphin on the pi 4? - WODAK - 01-27-2020 My Pi is OC 2100 Mhz CPU + 600Mhz on GPU... with the latest Mesa drivers (19.3.2 witch now supports GL ES 3.1)....I'm running the games over gentoo64 with the latest versions of Dolphin and Dolphi Ishiiruka...the games run slower than the ones on zRevengee video ...So it looks like MESA drivers didn't give any accleration in games... Could there be any optimizations in emulator? or is the RP4 just to weak to run on a deccent level? RE: Dolphin on the pi 4? - raspbyan - 01-28-2020 (01-27-2020, 07:08 PM)WODAK Wrote: My Pi is OC 2100 Mhz CPU + 600Mhz on GPU... with the latest Mesa drivers (19.3.2 witch now supports GL ES 3.1)....I'm running the games over gentoo64 with the latest versions of Dolphin and Dolphi Ishiiruka...the games run slower than the ones on zRevengee video ...So it looks like MESA drivers didn't give any accleration in games... Check the video's comments. The Pi 4's CPU is overclocked to 2147 MHz, GPU at 750 MHz. https://www.tomshardware.com/news/raspberry-pi-higher-overclock,40559.html https://www.electronicsweekly.com/news/business/clocking-raspberry-pi-4-2019-10/ RE: Dolphin on the pi 4? - WODAK - 01-28-2020 (01-28-2020, 03:10 AM)raspbyan Wrote: Check the video's comments. The Pi 4's CPU is overclocked to 2147 MHz, GPU at 750 MHz. Withe the latest firmware u can't overcllock the GPU anymore... link: https://github.com/raspberrypi/firmware/issues/1290 Quoted from RP GitHub: "Overclocking core and gpu frequencies has never been supported on pi4 (even before dvfs changes). It just happened that 600 was a magic number that had an integer divider from the channel frequency of the PLL. Even on older firmware, 610 would never have worked (however fast your Pi4 was). The PLL/clock configuration is subject to change if we find settings that improve power consumption, performance or stability. And settings used may affect whether an overclock still works. As @JamesH65 says, switching off dvfs is not feasible as the clocking strategy is now substantially different. Currently v3d clock comes from PLLA=3GHz with a channel divisor of 6, and a clock divider of 2. Requesting v3d_freq=600 will result in a fractional divider of 1.666 which means some clock pulses are effectively at 1GHz - no Pi4 will work like that. Rounding up the fractional divider should make this safe again, but you'd only have a v3d_freq of 500MHz. The difficulty is that each PLL and channel divisor is shared by multiple clocks (e.g. v3d, isp, h264, hevc share PLLA, and many clocks share PLLC with core). I'll try to have a look if we can do anything better. It should be possible to detect if an overclock requested has a non-integer divider that effectively exceeds the requested frequency and reduce the overclock so it doesn't. That will stop the crashing/failing to boot when things change. I'll see if some limited gpu overclock could be supported. e.g. if v3d, isp, h264, hevc are all overclocked the same then increasing PLLA but leaving the dividers the same may be possible (no guarantees it will work on any specific Pi4, but it's something that can be tried). Overclocking core is probably not possible - things like wifi, sdcard, composite, hdmi rely on PLLC and tend to fail when run with clocks that aren't as expected." RE: Dolphin on the pi 4? - sirdaniel - 02-01-2020 https://www.raspberrypi.org/blog/vulkan-raspberry-pi-first-triangle/ Vulkan driver development has started. RE: Dolphin on the pi 4? - WODAK - 02-05-2020 Check Overclocking issue https://github.com/raspberrypi/firmware/issues/1290 just tryed to overclock GPU to 750... over_voltage=6 arm_freq=2100 gpu_freq=750 Now I've got pi@retropie:~ $ vcgencmd measure_clock arm frequency(48)=2100515584 pi@retropie:~ $ vcgencmd measure_clock core frequency(1)=500000992 pi@retropie:~ $ vcgencmd measure_clock v3d frequency(46)=750001472 Looks like they got rid of some of the limitations
RE: Dolphin on the pi 4? - sirdaniel - 04-01-2020 V3D was added to mesamatrix https://mesamatrix.net/ chart some time ago. It shows GL_ARB_buffer_storage working/enabled. I just cannot guess from above chart if the driver supports Opengl 4.x Shader language. But if so, would the existing gl extensions set be enough to run dolphin in pure ogl 4 mode (not ES)? RE: Dolphin on the pi 4? - DJBarry004 - 04-01-2020 I think those charts are clear enough. And, well, V3D clearly still has some work to do to fully support GL 4.X. I see for instance that they still not support geometry shaders. I also did some reading and it seems they´re also missing the ES3_1_compatibility extension (which is needed for what you ask). https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_ES3_1_compatibility.txt |