Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wine] G2 NotR freezes when fire spell is used #159

Open
cgloeckner opened this issue Jul 24, 2024 · 6 comments
Open

[Wine] G2 NotR freezes when fire spell is used #159

cgloeckner opened this issue Jul 24, 2024 · 6 comments
Labels

Comments

@cgloeckner
Copy link

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

@kirides
Copy link
Owner

kirides commented Jul 25, 2024

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

@cgloeckner
Copy link
Author

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.

@kirides kirides added the linux label Jul 25, 2024
@kirides
Copy link
Owner

kirides commented Jul 25, 2024

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.

@cgloeckner
Copy link
Author

cgloeckner commented Jul 25, 2024

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^^

@stefson
Copy link

stefson commented Aug 14, 2024

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

@lucifer602288
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants