Dolphin, the GameCube and Wii emulator - Forums
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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


RE: Dolphin on the pi 4? - Helios - 08-23-2019

can you describe how it glitches out? ideally get a FIFO log?

Do we have a wiki entry on how to take a FIFO log uhh


RE: Dolphin on the pi 4? - mbc07 - 08-23-2019

(08-23-2019, 05:53 AM)Helios Wrote: Do we have a wiki entry on how to take a FIFO log uhh

Yes. Here is it.


RE: Dolphin on the pi 4? - Helios - 08-23-2019

Should probably add a note to compress the fifo in a zip or tarball before attempting to share. It compresses very well.


RE: Dolphin on the pi 4? - jdonald - 08-23-2019

(08-17-2019, 12:01 PM)Helios Wrote: Does the 64 bit videocore driver support buffer_storage? That's a pretty important extension we need for reasonable performance.

The VC6 GL driver supports ARB_buffer_storage but GLES lacks EXT_buffer_storage. Somehow scenes of Luigi's mansion can run at full speed and probably likewise for other GameCube games. Wii games are still very slow on the Pi 4 and this might be part of the reason.

We could kindly ask the Igalia team working on V3D to potentially add EXT_buffer_storage. The Dolphin devs seem to have asked Mali and other vendors for this extension over the years. Was this requested at some point for VideoCore? If there's already an old ticket that would be good for context.

Whether EXT_buffer_storage would be actually helpful on the Pi depends on whether the rendering backend is the bottleneck. How can I benchmark games for an estimate of their performance if this were hypothetically fixed? Perhaps playing in wireframe mode would be representative?

(08-21-2019, 07:03 PM)MayImilae Wrote: this is the first time since OpenGL ES support that there has been a device where OpenGL is worse than OpenGL ES. It was a pretty good assumption! Well, now that the exception has occurred, hopefully someone will set up some way to deal with this situation.

My initial thought was that for __arm__ || __aarch64__ we could have PreferGLES default to True, otherwise False. The Mupen64Plus codebase suggests that RockChip's RK3288+RK3399 and AmLogic's AMLGXM also can do GLES 3.0, and I doubt either of those systems support OpenGL 3.0.

I don't know if there is any preference on Jetson TX2 / Nano to run with GLES 3.2 vs GL 4.6.


RE: Dolphin on the pi 4? - Helios - 08-23-2019

Null video backend will essentially do that.

Tricky part is getting to a point of actual gameplay so you can effectively use the null backend Tongue


RE: Dolphin on the pi 4? - mbc07 - 08-23-2019

Can't save states be shared between different video backends? At least I recall it working when switching between OpenGL/DX11...


RE: Dolphin on the pi 4? - Helios - 08-23-2019

I don't remember, I wanted to recommend that but I wasn't sure if savestates broke between backends anymore. I don't think they do these days?


RE: Dolphin on the pi 4? - bomblord - 08-23-2019

(08-23-2019, 05:53 AM)Helios Wrote: can you describe how it glitches out? ideally get a FIFO log?

Do we have a wiki entry on how to take a FIFO log uhh

What it does is show a skybox with wireframes. I frustratingly cannot get a fifo log to save it keeps throwing a weird error in terminal whenever I attempt to open the file explorer clicking save does nothing
(dolphin-emu:4074): dconf-WARNING **: 02:55:18.825: failed to commit changes to dconf: The connection is closed

I've also sudo ran it and get the same issue.

(08-17-2019, 12:01 PM)Helios Wrote: Does the 64 bit videocore driver support buffer_storage? That's a pretty important extension we need for reasonable performance. Dolphin will run without it, but performance will be miserable.

As I specifically get an error saying it doesn't every time I launch a game I'm going with not right now.


RE: Dolphin on the pi 4? - JosJuice - 08-23-2019

(08-23-2019, 09:04 AM)jdonald Wrote: My initial thought was that for __arm__ || __aarch64__ we could have PreferGLES default to True, otherwise False.

I wouldn't recommend that, because we do want to use OpenGL for the Tegra X1.


RE: Dolphin on the pi 4? - bomblord - 08-23-2019

(08-17-2019, 12:01 PM)Helios Wrote: Does the 64 bit videocore driver support buffer_storage? That's a pretty important extension we need for reasonable performance. Dolphin will run without it, but performance will be miserable.

Potentially good news https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=249636
6by9 Raspberry Pi Engineer & Forum Moderator Wrote:Things like ARB_buffer_storage I would expect to be implemented in the base mesa library rather than the platform specific code. A fair amount of stuff appears to be conditional on the GL / GLES version that the driver claims to support though.

https://gitlab.freedesktop.org/mesa/mes ... ble.h#L216 says I'm right, and GLES EXT_buffer_storage directly maps to GL ARB_buffer_storage.

The VC6 V3D hardware can support GLES 3.2, but under mesa it is currently failing conformance testing for reasons that are still being tracked down. I suspect that if the v3d driver claimed to do GLES 3.2 then it may automagically work.

Looking at some of our status emails from Igalia, they are fixing the GLES 3.1 conformance issues at present, so hopefully soon we'll be able to adopt that and you should get GLES EXT_buffer_storage.