GD3D11 icon indicating copy to clipboard operation
GD3D11 copied to clipboard

[Wine] G2 NotR freezes when fire spell is used

Open cgloeckner opened this issue 1 year ago • 6 comments

Hey there,

my game freezes each time I'm casting fire arrow / Feuerpfeil rune while running the v17.8-dev9 renderer. This also happens if one of the dementors / Suchende cast the spell, which renders the game unplayable in 3rd chapter.

The spell works, the NPC reacts (draws his sword and curses towards the hero). Just at that exact moment the game freezes and requires external process killing to be terminated. Here's a screenshot from the last frame rendered:

Bildschirmfoto_2024-07-24_10-11-09

Additional Info:

  • Under Linux Ubuntu with kernel 5.4.0-189-lowlatency
  • Graphics card: GeForce GTX 1050 using NVIDIA's linux driver 535.183.01
  • Run via Lutris v0.5.13 (DXVK v1.10.3, VKD3D v2.12, DXVK-NVAPI/DLSS v0.7) using Lutris' builtin Wine 6.0
  • G2 NotR (Gold Edition) 2.6(fix-SP 1.8)

Let me know if you need anything else. Gothic 1 runs just fine with the Renderer, btw.

Cheers glocke

cgloeckner avatar Jul 24 '24 08:07 cgloeckner

Please try out the latest nightly version. => https://github.com/kirides/GD3D11/releases dev-9 is really old, just as the DXVK version you use is really old.

recent DXVK version is 2.4, Wine is 9.x

kirides avatar Jul 25 '24 09:07 kirides

Hi, thanks for the reply. Using the nightly version causes an error on startup:

GD3D11 Renderer couldn't be loaded. Access Denied(0x13d).

The game starts after that but without the renderer. Using to DXVK 2.4 does not help either.

Switching back to dev-9 starts the game with the renderer, but using DXVK 2.4 causes the Gothic2.exe to get stuck on the NotR-Loading-Splash (right after the GothicStarter) with Gothic2.exe allocating exactly 0 Bytes of memory.

cgloeckner avatar Jul 25 '24 10:07 cgloeckner

This sounds like DXVK wasn't correctly installed. Did you make sure to install x32 dxvk dlls?

It's hard to debug linux issues as different people have completely different ways to run the games in it.

Some use plain WINE-Prefixes and do all installations manually, others use "magic" scripts like Lutris and installation wizards, others use SteamOS and Proton, etc. Then there is PlayOnLinux, Bottles, ...

All create a different Environment.

The game and thus renderer requires a 32-bit compatible environment (modern WINE supports x86 in x64, i.e. SysWow64) Also all installed packages for the game must be 32-bit, this includes DXVK and other DLLs, as the game is 32-bit only. there are a few wine-overrides neccessery to get the game running properly.

Maybe someday i can set up a "bottles" image (or whatever becomes the default for sharing environments) that contains the base for any Gothic-installation. But before that i need to get back internet at home and enough time to tinker with Linux.

kirides avatar Jul 25 '24 11:07 kirides

Turns out my graphics cards driver does not support vulkan 1.3.x yet (which is required for newer DXVK)

[Graphics]
Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce GTX 1050/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 550.54.14
OpenGL Core: 4.6.0 NVIDIA 550.54.14
OpenGL ES: OpenGL ES 3.2 NVIDIA 550.54.14
Vulkan Version: 1.2.131
Vulkan Drivers: Intel(R) HD Graphics 630 (KBL GT2) (1.2.182), NVIDIA GeForce GTX 1050 (1.3.277)

Nvidia seems to provide 550.100 or even 560 as a beta driver but I hesitate installing a driver that's not within the repository (for compatibility reasons, because I run an old ubuntu 20.04 LTS because I rely on not upgrading my system too frequently because that machine is critical to job and hobby activity ... wow, lot's of because here :D ).

Hence I'll probably must stick playing without the renderer I guess.

Btw newer wine versions cause the game to crash on startup with an Error-Message

C: failed to initialize sound, MSS reported: Broken waveOut driver - 'buffer done' flag never set

So upgrading wine doesn't help either^^

cgloeckner avatar Jul 25 '24 12:07 cgloeckner

Is there a wine bug yet for the sound regression issue? If not, please be so kind to open one, to get it fixed.

stefson avatar Aug 14 '24 04:08 stefson

For vulkan 1.2 try https://github.com/doitsujin/dxvk/releases/tag/v1.10.3

lucifer602288 avatar Aug 14 '24 19:08 lucifer602288