Delta Force Land Warrior issue

I’m having a moderate issue with Delta Force Land Warrior (log and video demo attached).

Not a complete show-stopper, but a very annoying one. When mission is finished, the game supposed to take me back to main menu, but after (rendering mode?) changes from game to menu (screen flick) main menu isn’t rendered at all, i only see black squares instead of main menu. Latest Land Warrior patch 42 (official Novalogic digital release), both DirectDraw and Direct3D modes affected, fullscreen, everything maxed. (When the game starts, there is a warning msgbox about lack or shortage of virtual memory(swap), but I don’t think this is related).

Neofetch output:

OS: Debian GNU/Linux 12 (bookworm) x86_64
Host: GA-MA770T-UD3
Kernel: 6.1.0-32-amd64
Packages: 3125 (dpkg)
Shell: bash 5.2.15
Resolution: 1920x1080
DE: MATE 1.26.0
WM: Metacity (Marco)
Theme: Arc-Dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: mate-terminal
Terminal Font: Liberation Mono 14
CPU: AMD Phenom II X6 1065T (6) @ 2.900GHz
GPU: NVIDIA GeForce GTX 960
Memory: 861MiB / 7938MiB

Lutris -d output:

INFO     2025-04-24 11:36:32,037 [startup.init_lutris:209]:Starting Lutris 0.5.13
INFO     2025-04-24 11:36:32,041 [startup.check_driver:65]:Using NVIDIA drivers 535.216.01 for x86_64
INFO     2025-04-24 11:36:32,041 [startup.check_driver:69]:GPU: NVIDIA GeForce GTX 960
INFO     2025-04-24 11:36:32,041 [startup.check_driver:85]:GPU: 10DE:1401 1458:36BE (nvidia drivers)
DEBUG    2025-04-24 11:36:32,373 [xrandr._get_vidmodes:16]:Retrieving video modes from XrandR
DEBUG    2025-04-24 11:36:32,495 [lutris.get_missing_game_ids:191]:Checking for missing games
DEBUG    2025-04-24 11:36:40,869 [xrandr._get_vidmodes:16]:Retrieving video modes from XrandR
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1="1"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:__GL_SHADER_DISK_CACHE="1"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:__GL_SHADER_DISK_CACHE_PATH="/home/MyUser/Games/delta-force-lw-digital-official"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:LD_LIBRARY_PATH="/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/lib:/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/lib64:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/lib:/lib/i386-linux-gnu/i686/sse2:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib64:/usr/lib:/usr/lib64:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/home/MyUser/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/MyUser/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/MyUser/.local/share/lutris/runtime/steam/i386/lib:/home/MyUser/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/MyUser/.local/share/lutris/runtime/steam/i386/usr/lib:/home/MyUser/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/MyUser/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/MyUser/.local/share/lutris/runtime/steam/amd64/lib:/home/MyUser/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/MyUser/.local/share/lutris/runtime/steam/amd64/usr/lib"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:WINEDEBUG="-all"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:DXVK_LOG_LEVEL="none"
DEBUG    2025-04-24 11:36:40,927 [command.start:141]:WINEARCH="win32"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINE="/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/bin/wine"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINE_MONO_CACHE_DIR="/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/mono"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINE_GECKO_CACHE_DIR="/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/gecko"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:GST_PLUGIN_SYSTEM_PATH_1_0="/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/lib64/gstreamer-1.0/:/home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/lib/gstreamer-1.0/"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINEPREFIX="/home/MyUser/Games/delta-force-lw-digital-official"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINEESYNC="0"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINEFSYNC="0"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:DXVK_NVAPIHACK="0"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:DXVK_ENABLE_NVAPI="1"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:WINEDLLOVERRIDES="d3d8.dll,dinput8.dll=n,b;d3d10core,d3d11,d3d9,d3dcompiler_33,d3dcompiler_34,d3dcompiler_35,d3dcompiler_36,d3dcompiler_37,d3dcompiler_38,d3dcompiler_39,d3dcompiler_40,d3dcompiler_41,d3dcompiler_42,d3dcompiler_43,d3dcompiler_46,d3dcompiler_47,d3dx10,d3dx10_33,d3dx10_34,d3dx10_35,d3dx10_36,d3dx10_37,d3dx10_38,d3dx10_39,d3dx10_40,d3dx10_41,d3dx10_42,d3dx10_43,d3dx11_42,d3dx11_43,d3dx9_24,d3dx9_25,d3dx9_26,d3dx9_27,d3dx9_28,d3dx9_29,d3dx9_30,d3dx9_31,d3dx9_32,d3dx9_33,d3dx9_34,d3dx9_35,d3dx9_36,d3dx9_37,d3dx9_38,d3dx9_39,d3dx9_40,d3dx9_41,d3dx9_42,d3dx9_43,dxgi,nvapi,nvapi64=n;winemenubuilder="
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/MyUser/.steam/debian-installation/"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:STEAM_COMPAT_DATA_PATH="/home/MyUser/Games/delta-force-lw-digital-official"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:STEAM_COMPAT_APP_ID="0"
DEBUG    2025-04-24 11:36:40,928 [command.start:141]:SteamAppId="0"
DEBUG    2025-04-24 11:36:40,929 [command.start:141]:SteamGameId="lutris-game"
DEBUG    2025-04-24 11:36:40,929 [command.start:141]:WINE_LARGE_ADDRESS_AWARE="1"
DEBUG    2025-04-24 11:36:40,929 [command.start:141]:game_name="Delta Force LW Digital Official"
DEBUG    2025-04-24 11:36:40,929 [command.start:141]:PYTHONPATH="/usr/lib/lutris:/usr/games:/usr/lib/python311.zip:/usr/lib/python3.11:/usr/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3/dist-packages"
DEBUG    2025-04-24 11:36:40,929 [command.start:141]:LUTRIS_GAME_UUID="5cf29227-1eed-4c06-8ee4-62a88258e265"
Started initial process 1618 from gamemoderun /home/MyUser/.local/share/lutris/runners/wine/lutris-GE-Proton8-14-x86_64/bin/wine /home/MyUser/Games/delta-force-lw-digital-official/drive_c/NovaLogic/Delta Force Land Warrior/Dflw.exe
Start monitoring process.
gamemodeauto: 
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
wine client error:108: write: Bad file descriptor
Monitored process exited.
Initial process has exited (return code: 35840)
Exit with return code 35840
DEBUG    2025-04-24 11:38:41,847 [command.on_stop:195]:Process 1616 has terminated with code 35840
DEBUG    2025-04-24 11:38:43,054 [game.beat:842]:Game thread stopped
WARNING  2025-04-24 11:38:43,055 [game.on_game_quit:879]:Game still running (state: running)
INFO     2025-04-24 11:38:43,055 [game.stop:853]:Stopping Delta Force LW Digital Official (wine)
DEBUG    2025-04-24 11:38:43,057 [game.stop_game:809]:Delta Force LW Digital Official (wine) has run for 122 seconds
DEBUG    2025-04-24 11:38:43,057 [application.on_game_stop:679]:Removing 13 from running IDs
DEBUG    2025-04-24 11:38:43,058 [game.stop_game:821]:Playtime: 53 minutes
DEBUG    2025-04-24 11:38:43,059 [game.on_game_quit:897]:Delta Force LW Digital Official stopped at Thu, 24 Apr 2025 11:38:43
DEBUG    2025-04-24 11:38:43,148 [lutris.add_to_path_cache:158]:Adding Delta Force LW Digital Official (wine) to path cache
DEBUG    2025-04-24 11:38:43,150 [xrandr.change_resolution:127]:Switching to 1920x1080 on DVI-I-1
INFO     2025-04-24 11:38:43,151 [xrandr.change_resolution:138]:Switching resolution of DVI-I-1 to 1920x1080
INFO     2025-04-24 11:38:43,552 [application.do_shutdown:960]:Shutting down Lutris

Youtube video demo of the issue

Minor self-update: I’ve switched to latest dgVoodoo2, and none of the proper Direct3D wrappers (D3DImm.dll, D3D8.dll, D3D9.dll) are working for DFLW. I have no idea which API version this binary uses! Good news is - DDraw.dll works fine, and the subject issue is gone, when I use it. It’s not good enough for me, but it may be good enough for you. Keep in mind that I’m using Novalogic’s digitally distributed (in the past) installation of DFLW, not the GOG one. Anyway, have fun.

Small correction - latest dgVoodoo2 DDraw.dll doesn’t work for DFLW purpose - I have used the latest I’ve had on my PC, which is 2.8.2.