Solved NVIDIA RTX 4090 with driver version 560.35.03: Bad Vulkan/OpenGL performance with dolphin-emu

My FreeBSD version is 14.2-RELEASE.
I am using my GPU with the sway window manager on wayland.
The game in question is Zelda Twilight Princess which is on a ramdisk during execution.
Dolphin-emu and the config files are on a encrypted nvme ssd with a read/write speed of 3.5GB.

During the launch of the game in native resolution: 640x480, OpenGL performs fine, and I get 30 FPS full speed.
If I set the internal resolution up to 4K, the game struggles to maintain 30 FPS.
Vulkan on the other hand performs poorly even with the native resolution all the time.

My guess is that the GPU uses a software renderer, but it could also be something else.
Does someone know how to fix this problem ?
 
Problem solved.

What I did was testing various emulators (yuzu, pcsx2), and even WINE.
Different nvidia-driver versions along their kmods were built, but the performance staid as bad as it was from the beginning.
So, I tried different compositors like wayfire, hikari, and hyprland, but the performance did not improve.

The solution to the problem is rather simple, I switched back to x11 and the performance problems were solved.
Well, my guess seems to be not correct, but it seems that the nvidia drivers still do not perform well enough to consider the switch to wayland.
 
Back
Top