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
The Witcher 2 (20920) #2309
Comments
@CuriousTommy The Witcher 2 has native support. |
@JanGalek I know, but I want to try to Windows version and see how well it performs compared to the native version. |
I experience the same issue (the game crashes silently), with all the available Proton versions. Any workaround found? |
Crashes on startup
LOG: http://ix.io/1Q2q Conclusion: Proton is checking for wrong pid -> upstream fix required EDIT: According to @kisak-valve this is harmless #131 (comment) EDIT2: as follows Possible suspect(s)SEH?
Concluding that Probably non-fatal DOTNET?According to https://appdb.winehq.org/objectManager.php?sClass=version&iId=26197 it may be using .NET with which proton seems to have issues providing based on https://github.com/ValveSoftware/Proton/labels/.NET -> Trying to install it manually Referencing: https://appdb.winehq.org/objectManager.php?sClass=version&iId=26197&iTestingId=92121 Using manually installed Made new installation Locally (on wine not proton) i'm getting:
Relevant: https://bbs.archlinux.org/viewtopic.php?id=137423 Installing vcrun2010 fixed issue with missing Can't find anything usefull -> gave up |
Which is using eON wrapper that is next to unusable (crashes on startup, has performance and stability issues).. -> Using wine is much better. To justify using wine for "native" game. |
Unfortunately |
how do you install windows version when there is a linux version? |
@logan001 Right-click -> Properties -> Check "Force the use of a specific Steam Play compatibility tool". |
I don't know if it helps, but I was unable to start Steam's The Witcher 2 even with a Wine Steam prefix (so no Proton), no matter the wine build, but at a dev's suggestion I tried with GoG's instead and it just worked which makes me wonder if the Steam build is not doing something special compared to GoG's. |
The Witcher 2 memory allocation Issue transferred from #3238. There seems to be a memory allocation bug that leads to the game crashing on proton. Shortly before the crash there may be a warning that 3.9 of 4.0 gb memory are allocated and that OpenGL is not clearing it's cache. This warning may not always be seen. Easier to reproduce in second act. |
Hello @kkleinw, please copy your system information from Steam ( |
Copying the contents of With D9VK v0.30 there is a visual issue when in a conversation, fixed when using Joshua-Ashton/d9vk@55cb30c steam-20920.log (WINEDEBUG=warn+all) System Information
|
@kisak-valve I copied config as @DustyCrumpet wrote: cp -r ~/.steam/steam/steamapps/common/the\ witcher\ 2/bin/config/* ~/.steam/steam/steamapps/compatdata/20920/pfx/drive_c/users/steamuser/My\ Documents/Witcher\ 2/Config/ @aeikum is there an option to automate executing this command when the game is being installed the first time using Proton to not doing this manually? The launcher works now but the game do not start when I use: The game loads when I do not use On both configurations: with I can move the launcher outside it: There appears The Witcher logo in place of this rectangle when the game starts: System Information
|
How does this work on Windows? If the step is not required on Windows, it should not be required here, either. |
@Joshua-Ashton do you have any idea why the log file is not being created when I set |
Use |
@Joshua-Ashton thank you! cp -r ~/.steam/steam/steamapps/common/the\ witcher\ 2/bin/config/* ~/.steam/steam/steamapps/compatdata/20920/pfx/drive_c/users/steamuser/My\ Documents/Witcher\ 2/Config/ has been done earlier so that I can run the launcher. My system information is here #2309 (comment) |
@aeikum
Here is the log file |
Help us, @aeikum. You're our only hope. |
@aeikum there left only the issue with running the launcher without the workaround. |
@jqadev thanks for the workaround. i did a quick test with my last saving i have from a few years ago. windows 38fps. linux 29 fps. (on ultra) |
Does not start for me. I tried copying the files as suggested previously. |
It "just works" on Windows. No need to copy directories. |
It "just works" on Linux too if one use the native version. |
@daxcore I saw your great work related to fix of the PES 2020 Lite
|
@aeikum, the issue #231, which is still open for over a year, explains the need for making symlink As I've read in the mentioned issue, this problem is impossible to solve at the Proton / Wine level and the correct way to solve it is to manually create a symlink this way: rm -r ~/.steam/steam/steamapps/compatdata/20920/pfx/drive_c/users/steamuser/My\ Documents/Witcher\ 2/Config/
ln -sfn ~/.steam/steam/steamapps/common/the\ witcher\ 2/bin/config/ ~/.steam/steam/steamapps/compatdata/20920/pfx/drive_c/users/steamuser/My\ Documents/Witcher\ 2/Config instead of copying data (without symlink) as it was suggested here #2309 (comment), i.e.: cp -r ~/.steam/steam/steamapps/common/the\ witcher\ 2/bin/config/* ~/.steam/steam/steamapps/compatdata/20920/pfx/drive_c/users/steamuser/My\ Documents/Witcher\ 2/Config/ @aeikum, please let me know if the only proper solution is to create a symbolic link manually. |
Hello @ebesathyr, you have a Sea Islands (CIK) generation video card, and Linux uses the |
Is anyone tested compatibility with GalliumNine? |
@aeikum @kisak-valve the workaround is no more needed since Proton 5.13-1 in contrast to the version 5.0-10. |
On Proton Experimental the game crashes silently (usually a launcher should appear, but it doesn't). Native version performs much worse (seemingly bottlenecked by loading things), so I'd really like for the game to work on Proton. Installing VC++ Redist 2010 through protontricks didn't help, .NET Framework 4.0 fails to install. .NET 4.5 and 4.8 need wine-mono just won't install for me for some reason. Using Arch Linux |
The game works for me using latest Proton Experimental. Fedora 34 Witcher 2 is modded with this mod though: https://www.nexusmods.com/witcher2/mods/934 |
I've seen it working for others on Arch out of box. I'm using KDE Plasma 5.22.3 (X11) with |
Installed an earlier Proton version (4.x), .NET 4 installed successfully, but the launcher still doesn't launch. No unknown exception in the logs though. New logs: https://hastebin.com/xotuhitali.sql |
Progress! Decided to play Deus Ex Revision instead (which has no native Linux version), and noticed that it downloaded Steamworks Common Redistributables (which it didn't for Witcher 2). Launched W2 after that, and it automatically installed the prerequisites! Launcher works. |
Holy cow. It works! I spent hours trying to fix this and all I had to do is try to run a game that's Windows-exclusive! Loading times are so much better than the native port, on the level of Windows. Performance is worse though, probably because I was using 4.x. Gonna test on Proton Experimental. |
I didn't need to set up anything manually to make it work. It is possible I ran some other game that installed the common redistributables though. |
Reinstalled the game. On the first launch the performance was much worse, even the FMVs ran at like 15 FPS. But then I restarted the game (and closed a YouTube tab and a Discord window) and it ran much better, with levels close to native Windows! |
To #5027 - the first time setup mentioned DirectX Runtime and VC++ Redist 2010, so these are needed to be downloaded through Steamworks Common Redistributables. Also I saw people mention .NET Framework 4, but I'm not sure about that since it's broken under Wine/Proton. |
I seem to be experiencing similar problems. Here's a log from trying to launch the game: https://pastebin.com/XVEaHwty It seems to be failing to load some DLLs:
I've tried Proton Experimental, 6.3-6, and 5.13-6, same result with all. I did try running another Windows game in case that prompted the installation of the Steamworks Common Redistributables, but no luck (the other game - Arx Fatalis, if it matters - ran fine). |
I have a different issue – the launcher starts, but after i click on "Launch game" the game gets stuck on the splash screen (the wolf medallion logo). Logs: steam-20920.log I've tried Proton Experimental, 6.3-7, 5.13-6, 5.0-10. The game ran fine previously (might have been using Proton 5.13-6 or 5.0-10). One day it stopped working, I don't know what changed. |
I've resolved the issue in my previous post. Some web searching revealed that the issue isn't exclusive to Linux+Proton but also happens on Windows. Some workaround suggested disabling hyperthreading, which pointed me to the actual culprit – having too many CPU cores. This seems to be a bug in Witcher 2. To work around the bug, you can manually restrict the game to a subset of the cores with EDIT: i should probably mention that the problem manifested when i switched to a 16-core/32-thread CPU, but there were no issues with a 6-core/12-thread CPU. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I can confirm that this fixed the issue for me on my Steam Deck where the launcher wouldn't even start. It was so weird. I was able to get far on my own by installing vcredist_x86.exe via protontricks, but couldn't get past the DirectX thing, Not sure how Wine/Proton keep things common between different games like this. |
This game has plenty of crashes on all versions of Proton, though Proton 8 is relatively stable (as expressed in crashes per hour terms :-). However, it also exhibits a peculiar behavior, whereupon the game appears to ignore key presses, to the tune: "press key -> no action -> reload/restart -> key works". I wonder if this arises from the general bugginess of the game or may there be an underlying issue with Proton/Linux input events/whatever else? |
Compatibility Report
System Information
I confirm:
steam-20920.log
Symptoms
Game crashes silently (before showing anything on the screen).
Reproduction
Launch the game
The text was updated successfully, but these errors were encountered: