I needed three environment variables to get OSRS C++ working perfectly with Wine Staging on Linux:
PULSE_LATENCY_MSEC=400 solves audio glitching (even with Pipewire on F38)
vblank_mode=3 allows unlimited framerate option to Vsync (ideal for 60Hz+)
MESA_LOADER_DRIVER_OVERRIDE=zink works around an odd FPS issue on Wayland on i915
On Xorg I get 120+ FPS. Unlimited, 60 FPS, TearFree, and vblank_mode=3 did not fix odd tearing towards the top-part of the screen, and I had it even on the legacy Java client. The only fix for me with Intel UHD 630 graphics was to use Wayland. Oddly OSRS got limited to 40-50 FPS without capped GPU load on Wayland until I forced it to run through Zink.
Now I have seemingly perfect audio playback and OSRS is capped to my display framerate, with Wayland and Vulkan. I'm satisfied with the C++ client on Fedora 38!
The only thing that needs looked into is the Jagex Launcher installer itself; it doesn't load anything on Wine (no obvious console error, no GUI), and I've been resorting to restoring a backup of the Jagex Launcher folder from a previous Windows install.
21-Jul-2023 04:51:29
- Last edited on
21-Jul-2023 07:50:58
by
Espionage724