https://bugs.winehq.org/show_bug.cgi?id=43153
Bug ID: 43153 Summary: Gothic 1.0 from Steam freezes in new game on phrase "I'm Diego" Product: Wine Version: 2.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: inferrna@gmail.com Distribution: ---
Created attachment 58393 --> https://bugs.winehq.org/attachment.cgi?id=58393 WINEDEBUG=+relay,+seh,+tid,+d3d9,+wine_d3d,+d3drm,+x11drv,+xrender,+xrandr,+d3d7,+d3d8,+ddraw
Image just freezes, sound continues to work.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #1 from inferrna@gmail.com inferrna@gmail.com --- Created attachment 58394 --> https://bugs.winehq.org/attachment.cgi?id=58394 Game ini file
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #2 from inferrna@gmail.com inferrna@gmail.com --- Created attachment 58395 --> https://bugs.winehq.org/attachment.cgi?id=58395 I'm Diego :)
https://bugs.winehq.org/show_bug.cgi?id=43153
inferrna@gmail.com inferrna@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=43153
Michael B toxatec@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |toxatec@web.de
--- Comment #3 from Michael B toxatec@web.de --- I can't reproduce this with wine-2.10 (32bit) on a clean prefix. I went through the initial conversation with Diego and played on for a few minutes. I'm not using the Steam version, but also 1.08j.
Just to be sure, have you installed the directmusic DLLs or tried disabling music altogether (musicEnabled=0 in GOTHIC.INI)? Does the crash always happen on the first frame?
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #4 from inferrna@gmail.com inferrna@gmail.com ---
Does the crash always happen on the first frame?
It not on the first frame - all the short time Diego introducing himself image stay alive: camera and animation works with no artefacts.
In my first wine profile I tried with wine 2.9 from https://launchpad.net/~commendsarnex/+archive/ubuntu/winedri3 and overrides for directmusic. Just now I tried clean profile with latest wine-staging from official winehq repo and music disabled - same result. It possible to be a graphics stack related problem. If you need more debug info, I may provide it.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #5 from inferrna@gmail.com inferrna@gmail.com --- Created attachment 58441 --> https://bugs.winehq.org/attachment.cgi?id=58441 winedbg backtrace on freeze
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #6 from inferrna@gmail.com inferrna@gmail.com --- Created attachment 58442 --> https://bugs.winehq.org/attachment.cgi?id=58442 Introducing Diego
https://bugs.winehq.org/show_bug.cgi?id=43153
Richard Thier u9vata@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |u9vata@gmail.com
--- Comment #7 from Richard Thier u9vata@gmail.com --- I confirm that this bug exists. Everything happens quite literally the same way on my machine and it freezes the very same moment.
I think there is something that triggers the freeze as otherwise before Diego introduce himself I could see the scene characters being animated for a few moments...
Also the game does not freeze completely - just I cannot see what is happening. I can press "enter" several times and hear that diego explains the situation about the Gothic's world and when I finish that talk blindly not seeing anything I can hear that my character moves and bumps into obstacles and such...
So it seems that the gameplay is active after the freeze just I cannot see any change after the introduction of Diego... It actually happens AFTER he tells "I am Diego" and when my character tries to say "I am" and he answers "I don't care who you are".
I was thinking what if it is caused by some menus that might appear so I tried to disable menu effects in the INI file but it didn't help. Also I tried using the game without music and even without sound and it didn't helped if I turned these off in the INI of the game :-(
Either there is something that triggers this frozen screen or it is just triggered by having enough time passed and it is some kind of an accumulating issue that accumulates after throroughly 1-3 seconds always the same moment.
I cannot provide more information than it is already provided by inferrna, but I am using an open source radeon R300 driver on an old laptop and I tried wine versions 1.8 and 2.0 both as I had these two installed on my machine.
I might try to get a saved game at some other moment where there is no talk with Diego. If that works, it must be surely something like a triggered error and if that freezes right after 1-3 seconds I think it must be some general error that accumulates in that small amount of time until there is a complete freeze...
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #8 from Richard Thier u9vata@gmail.com --- Additional info:
- I figured that I actually saved a game by accident while I was running it blindly so it seems that even the menu is inaccessible after this screen freeze bug occurs but that works just as well as you running around blindly. Only you cannot get any visual feedback.
- I loaded this savegame and for 1-3 seconds it was playable and then it has stopped in frozen screen the same way when diago talks in the beginning. There was no Diego now and no one to talk to so it seems that the problem is not triggered by the talk of Diego, but the game refuses to update the screen after 1-3 seconds have passed...
I hope this can get fixes as this is actually a really awsome game!
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #9 from Richard Thier u9vata@gmail.com --- Additional info: I tried the same with the latest wine-2.3-229-g2cc730b version from git and it is still affected by the issue on my machine in the very same way.
Just wanted to give it a try on the most up-to-date setup to see if it helps anyone...
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #10 from Richard Thier u9vata@gmail.com --- PS.: I am on 32 bit too btw.
https://bugs.winehq.org/show_bug.cgi?id=43153
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |joseph.kucia@gmail.com
--- Comment #11 from Józef Kucia joseph.kucia@gmail.com --- Try to set musicEnabled=0 in GOTHIC.INI
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #12 from Michael B toxatec@web.de ---
It possible to be a graphics stack related problem. If you need more debug info, I may provide it.
Can one of you try starting the game with LIBGL_ALWAYS_SOFTWARE=1 to force mesa to do software rendering? I tried that successfully.
LIBGL_ALWAYS_SOFTWARE=1 wine GOTHIC.EXE
Assuming you're not using proprietary graphics drivers.
Maybe decrease the resolution first - the initial conversation took like 2 hours on my Core2Duo laptop :)
Other than that I don't really have a clue, as much as I'd like to help fixing this.. don't you get anything meaningful from the regular console output without any WINEDEBUG=foo paramters?
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #13 from Michael B toxatec@web.de --- I did some quick testing with a slackware64 live system on a USB drive with wine-staging-2.13.
I could reproduce the issue on a machine with Nvidia graphics and nouveau drivers. With LIBGL_ALWAYS_SOFTWARE=1 it didn't happen. It used LLVMpipe I think.
Tested on another machine with AMD Kabini hardware (radeonsi), no image freeze.
When the freeze did happen I could press "Win+D" or "Ctrl+Alt+D" (Toggle Desktop) and re-enter the game to fix the freeze. The game would then run smoothly.
Can you confirm that "Toggle Desktop -> re-enter" makes the game return to normal? On a recent wine version?
https://bugs.winehq.org/show_bug.cgi?id=43153
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #14 from Richard Thier u9vata@gmail.com --- I still had this problem nevertheless whatever I was doing... then I have found a working workaround to share with you here guys!!!
These are the things I was doing: - Tried all the stuff said above (nothing worked) - Tried to add d3d9.dll from SwiftShader 3.0 (not worked - unused by game?) - Tried to add d3d8.dll from SwiftShader 3.0 (used a manually build version) - Also in the meantime have found "Gothic I systempack" here:
https://forum.worldofplayers.de/forum/threads/1340357-Release-Gothic-%C2%BD-...
With swift DLLs in place and the playerpack 1.08, playerpack 2.7, then system pack 1.7 installed I can run the game flawlessly on my asus laptop which was mid-tier machine in 2007. No lag, no freeze, nothing. I am in the beginning of the game, but already seems like everything is working!
I am not sure if only the systempack is needed or SwiftShader is needed too. I will try to remove the swiftshader DLLs (I still have both of them) to see if everything works without them too.
In case other people also want to have DirectX 8 version of the SwiftShader DLLs you can find them on this discussion by someone hosting it on mediafire:
https://www.vogons.org/viewtopic.php?f=9&t=36412&start=120
^^These are handy anyways (I use them to play Nexus: Jupiter incident too)
In order to use these DLLs, I changed winecfg to make d3d9 and d3d8 APIs always native if existing - and fallback only to the build in ones. This way was good-enough for me, but you can set a specific setup just for games that really need it.
I will come back with news to tell if the systempack is enough or both hackz are needed, but I have a feeling the syspack can be enough as it had some fix on a resource garbage collection background thread according to its release docs that "might" freeze the game by completely starving other threads. Maybe this was the core issue...
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #15 from Richard Thier u9vata@gmail.com --- SwiftShader is not needed... Just install playerpack 1.08, playerpack 2.7 and systempack 1.7 after a vanilla game installation. Also changed graphics to high and still has no lagging. Everything seem to work fine after these changes.
I do not remember how to pick up items so I am not sure if I am just noob or if it does not work, but game generally runs! ;-)
https://bugs.winehq.org/show_bug.cgi?id=43153
Chebanenko Igor chebanenkoigor93@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chebanenkoigor93@gmail.com
--- Comment #16 from Chebanenko Igor chebanenkoigor93@gmail.com --- Please,retest it with latest Wine 5.13.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #17 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 67742 --> https://bugs.winehq.org/attachment.cgi?id=67742 API Monitoring in Win7.
I don't know if it is important,but here is API monitoring in Win7 in Gothic I,in the beginning,when you talking with Diego (thread API).
https://bugs.winehq.org/show_bug.cgi?id=43153
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #18 from Michael B toxatec@web.de --- I can't reproduce this issue anymore as I did in comment 13.
I'm now using wine-5.13 from the slackware64 package on sourceforge, slackware64 live, nouveau drivers, G92 chip, Mesa 19.0.6 .
I don't think this proves that the issue is gone, considering that Richard Thier's findings in comment 14 didn't confirm my observations about LIBGL_ALWAYS_SOFTWARE=1 and toggle-to-desktop to work around the issue.
https://bugs.winehq.org/show_bug.cgi?id=43153
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- Does the game work without any workaround?
Please, use only vanilla wine and no workaround.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #20 from Michael B toxatec@web.de --- Sorry for being unclear, I'm using the official wine-5.13 package for slackware64 that is available on sourceforge, so vanilla wine. No workarounds were needed and the game works well.
I did not test the in-game music (musicEnabled=0 in GOTHIC.INI).
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Thanks for the explanation. Can you test the music? It would be nice.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #22 from Michael B toxatec@web.de --- Going off-topic here I guess (see bug 43280 for music), but sure. Tested again with musicEnabled=1 in GOTHIC.INI.
Without native DirectMusic DLLs, there is no in-game music but it doesn't crash either.
With the native DLLs the music works.
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #23 from joaopa jeremielapuree@yahoo.fr --- Thank you for testing. Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=43153
--- Comment #24 from Chebanenko Igor chebanenkoigor93@gmail.com --- (In reply to Michael B from comment #22)
Going off-topic here I guess (see bug 43280 for music), but sure. Tested again with musicEnabled=1 in GOTHIC.INI.
Without native DirectMusic DLLs, there is no in-game music but it doesn't crash either.
With the native DLLs the music works.
Tested with Wine 5.14 in Ubuntu,same results.
https://bugs.winehq.org/show_bug.cgi?id=43153
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |o.dierick@piezo-forte.be Resolution|--- |FIXED
--- Comment #25 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Confirmed fixed, thanks.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=43153
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.15.