rotators / Fo1in2

Fallout 1 to 2 engine conversion
https://nma-fallout.com/threads/218045/
583 stars 30 forks source link

Wine - Extremely slow gameplay #220

Closed Cambysses closed 7 months ago

Cambysses commented 7 months ago

The game launches and seems fine up until the actual gameplay starts, it drops down to single-digit FPS rate.

I've messed around with various options in ddraw.ini and f2_res.ini, setting MODE and GRAPHICS_MODE in each respectively to every possible combination, but it makes no difference.

I'm launching the .exe through Wine on Nobara Linux 39 with this terminal command: WINEDLLOVERRIDES='ddraw.dll=n,b' wine fallout2.exe.

Tried running it through Proton compatibility as well but when doing that it just loads as Fallout 2 instead of 1.

NovaRain commented 7 months ago

Probably a similar case to https://github.com/rotators/Fo1in2/issues/213#issuecomment-1890891307 See if there's a vsync or some FPS limiter being applied on the game and disable it.

Cambysses commented 7 months ago

Nvidia settings are more difficult to tweak on Linux but I did find this option and set it to false: image

Unfortunately it doesn't seem to have made a difference. If there is any other factor limiting the framerate I don't know what it could be.

NovaRain commented 7 months ago

On Windows there's a NVIDIA control panel, on Linux there should be a NVIDIA X Server Settings or something like that: https://www.reddit.com/r/linux_gaming/comments/vuzl7n/how_to_limit_game_fps_with_nvidia_xserver/ Maybe try DXVK_FRAME_RATE=0?

Cambysses commented 7 months ago

Well I'll be damned, the frame limiter worked. I installed MangoHud / GOverlay and set the frame limit to 60, immediately that fixed the slowness.

Screenshot_20240221_185239

Here are my settings, for anyone in the future who stumbles onto this thread.

Much thanks. ✌️

Cambysses commented 7 months ago

Addendum: While the frame limiter kinda worked, I was still having serious performance issues. However I discovered the true cause.

I had to switch from Wayland to X11 for my Linux graphics engine. I have an Nvidia card and they do not play nice with Wayland at all. As soon as I switched, the game launched perfectly, butter-smooth, with no tweaks or frame limiter.