ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.19k stars 1.06k forks source link

Risen 3 - Titan Lords (249230) #1283

Open buschmann23 opened 6 years ago

buschmann23 commented 6 years ago

The game itself works flawless, but the intro videos (publisher/developer logos) are not shown and the background of the main menu is black. But as said, the game itself can be played without any issues on highest details, also the actual game intro is shown as it should be.

Distribution: openSUSE Tumbleweed Linux: 4.18.5 GPU: AMD Radeon R9 280 GPU driver: amdgpu 18.0.1 / Mesa 18.1.6 / LLVM 6.0.1 GPU memory: 3072MB CPU: AMD FX 6300 RAM: 16GB Resolution: 1920x1080 Proton: 3.7-5 Beta

Full specs: https://gist.github.com/buschmann23/f0040553d4bc4bdeb567778bd52f7946 Log file: https://gist.github.com/buschmann23/cb37d57fc5fff9de4705a9463f0d6f4c

omicron-b commented 6 years ago

I do confirm everything as per original report

System Information

Pixelnarium commented 6 years ago

Last time I tried this game with Proton it crashed when I tried to save the game. The save option is available after the (pretty long) tutorial fighting sequence. Is that fixed?

buschmann23 commented 6 years ago

@Pixelnarium I loaded a savegame I saved on Windows without any problems. I also had no problems with saving and loading on Proton.

deresh commented 6 years ago

Works for me, witouth any above mentioned issues

Nvidia / 1070 gtx / 396.54 driver ubuntu 18.04 Proton version: 3.7.6

zzeiSt commented 5 years ago

Proton 3.16-4 Beta, amdgpu

Game runs but crashes often and doesn't always close properly. Gives a lot of these messages (while running):

src\mrTransitTasks.cpp(739) : WARNING: Unable to accurately determine the start position of the destination of the transition NodeID 4718.
src\mrTransitTasks.cpp(740) : No source sync event position was generated this frame, this may result in unexpected behaviour.

Furthermore it has unplayable graphic glitches when csmt is turned off. This is the same with non Proton wine-staging 3.21.

And just for your interest, the graphical glitches are even worse with gallium-nine and produces waves of this error:

EE ../mesa-18.2.6/src/gallium/drivers/radeonsi/si_state.c:2521 si_init_depth_surface - Invalid DB format: 2, disabling DB.
vinterskog commented 3 years ago

This game freezes very frequently with sounds and music still playing in the background. It happens so often that it is basically unplayable. I have tried running it with a variety of different versions of Proton including 4.11-13 and 5.13-6 but the problem remains the same. It's a shame because when it does run, it runs great.

OS: Pop!_OS 20.04 LTS KERNEL: 5.10.21-xanmod1 CPU: AMD FX-6300 Six-Core GPU: NVIDIA GeForce GTX 1060 6GB GPU DRIVER: NVIDIA 460.56 RAM: 16 GB

Edit: I managed to force Steam to download the 32 bit version of the game and had no problems during several hours of gameplay.

jarrard commented 3 years ago

Game crashes after 15minutes or so for me. Doesn't appear to be related to the save system which works fine.

Be nice if someone can figure out why this happens for this game because other then some initial stuttering (shader caching) it runs pretty good.

kisak-valve commented 3 years ago

Hello @jarrard, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the crash, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

jarrard commented 3 years ago

I disabled vkbasalt, reshade, mangohud, and for a moment I thought I fixed it. 30mins or so play no crash, but I walked up to the tutorial area ending (portal cutscene) and it freezes up consistently in that scene, if you skipcutscene you can bypass it but it seems other cutscenes after that can also cause freezes.

So the crashing isn't always every 15mins, it can happen randomly and maybe even the second you load up into the gameplay. Flip a coin basically. Here is a log file, when the game freezes it must be forced exited.

steam-249230.log

https://gist.github.com/jarrard/83901432e10599bab09c96d6ba471f0d

As a side note, the game appears to run fine without crashes under lutris with wine, but I'm still testing things.

PS. This is a good game for testing any WMV solutions against. It seems installing wmp11 or mf packages does not work for this game; the intro and mainmenu background wmv files do not play.

jarrard commented 3 years ago

The solution for AMD users with the below graphical issue is; use the AMDVLK icd64 loader. RADV/MESA appears to have a issue with this game. (corrupting shaders?) NOTE: This does not fix the random crashing.

Risen3 Corrupt texture

jarrard commented 3 years ago

DXVK v1.9 was used for testing.

Might have figured out a potential source of the issue. The problem (graphic glitch) did not occur with AMDVLK icd64 loader, only happens with RADV!!! Curious if this fixes the proton random freeze issue also, will have to test it out. Unfortunately PROTON/WINE still freezes game at spots, usually after at least 15mins of play.

Crashing may also be a issue with default WINE for this game but less frequent. Even tho I experienced over hr of no freezing with my wine setup, the game has now started to freeze up. Might need to go back to windows for this one as there is no solution.

WIN10 Report: Played the game for 6+ hrs and in all that time it only froze up once. So certainly the game isn't to blame for the constant crashing under Wine/Proton (happens more often in cut-scenes and scene transitions).

Hopefully one day the Wine or Proton team can figure out why some of these older games have these kinds of problems, I don't think its due to missing WMV support?! but who knows, the main menu calls on WMV background all the time.

jarrard commented 3 years ago

@kisak-valve If you think a apitrace of this game on Linux and Windows would help let me know. Its been bugging me that this freeze/crash issue exists for this game. Its possible it does not happen on NVIDIA hardware? I only have a 6800xt here.

I feel solving this issue could help some other games, there are quite a few games made by this developer and they seem to more or less use similar graphics engines so it could be a good way to broadly fix them all.

I haven't tested all other Gothic or Risen games however, and we know ELEX works (needs variantgeom) but this may in fact be a general DX9 bug that has just never been resolved?

hakzsam commented 2 years ago

@jarrard Are you still able to reproduce this with recent Mesa?

jarrard commented 2 years ago

@jarrard Are you still able to reproduce this with recent Mesa?

I haven't reverted my Mesa from the git version so I do not know what its like on mainline 21.3?

hakzsam commented 2 years ago

mesa-git is 22.0-devel, latest Mesa release is 21.3.0.

ghost commented 2 years ago

I am experiencing the same frequent, randomly-seeming crashes, unfortunately. They occur far more frequently later on in the game (or this was a coincidence). Can sometimes hardly play a minute. Before changing to Windows, i will manually install mesa 21.3.0 and will report back with log and system information.

Edit: Ah sorry, can't be of any help because I do not manage to manually install mesa:

Dependency libdrm_intel found: NO found 2.4.108 but need: '>=2.4.109'
Run-time dependency libdrm_intel found: NO (tried cmake)

../meson.build:1614:4: ERROR: Invalid version of dependency, need 'libdrm_intel' ['>=2.4.109'] found '2.4.108'.

Would logs of crashes in Risen 3 using mesa 21.2.5-1 be helpful?

jarrard commented 2 years ago

try amdvlk or amdgpu-pro driver. OR update to Mesa v22 (git) and see if that helps RADV...

DadSchoorse commented 2 years ago

The frequent crashes/freezes are fixed by PROTON_HEAP_DELAY_FREE=1. Using that I played through the whole game without any issues using proton 6.3.

But with 7.0 based proton the game main menu regressed, it's now running at 1 fps. The game itself still works fine with heapdelayfree.

kisak-valve commented 2 years ago

Hello @DadSchoorse, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the regression, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

DadSchoorse commented 2 years ago

steam-249230.log system info

DadSchoorse commented 2 years ago

Ah wait I see what's going on, it's a problem with the video converter gstreamer module if shader precaching is disabled. The main menu works fine (still without the video, but at normal fps) after enabling shader precaching.

hakzsam commented 2 years ago

Are you still be able to reproduce issues with RADV?

jarrard commented 2 years ago

Issues to test: -There was the video/menu backgrounds not playing. (missing mfplat stuff) -A persistent ~15min or so crash. (unknown what caused this) -Some terrain textures would go black in some areas (like first harbor town). (pretty sure this got fixed in radv) -There was a weird issue on one of the islands where if you attack enemy while standing in water it crashed. (may be gamebug itself)

It's been at least a year since I last messed with this game. I hope my saves are still on steam cloud, if so I'll spin it up sometime soon and see how she goes.
Using mainline arch amdgpu/radv drivers, not git/dev. (I was but recently they pushed a very BAD update which caused plasma to break, probably fixed now thou)

hakzsam commented 2 years ago

@jarrard Did you get a chance to reproduce with up-to-date drivers?

jarrard commented 2 years ago

Not yet sorry. (will re-download it as it was lost recently) I'll test it today, only 4.4GB so should be easy enough.

UPDATE: With Mesa Version: 22.1.3 on my 6800xt with RADV and Proton7.0-3 I didn't see any of the previous graphical issues nor the persistent crashing when using RADV.

Proton however still doesn't render background videos and likely flashback and other videos but that is not MESA's problem. The only other issue I haven't confirmed to be fixed is the standing in certain water while attacking/shooting an enemy. I believe that is a gamebug as it only happens in very specific locations not everywhere.

So I'd say this is mostly fixed. At least for me.

Godot-Fye commented 1 year ago

Game starts normal to Main Menu, no Background Video/Picture on the Mainmenu and game freezes after 2-3 seconds inside the menu - but the Background music still plays normal. Reinstalling the Game does not help, switching Proton Versions (8, 7, 6) does not help.

So the game is still unplayable for me at the moment.

1 Year ago it runs fine on the same Linux Installation :(

Specs: Ryzen 3900X, Nvidia GTX 1080, 32GB Ram, Manjaro KDE - Kernel 6.1.49, Mesa 23.1.6