ValveSoftware / Proton

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

Darksiders Warmastered Edition (462780) #394

Open tr37ion opened 5 years ago

tr37ion commented 5 years ago

Arch Linux Kernel 4.18.3 Proton 3.7 Nvidia GTX 1070 - nvidia-beta 396.54 KDE Plasma 5.13.4 KDE Framework 5.49.0 Qt 5.11.1

Game crashes with logfile report. The logfile shows:

[input:SteamController] ActionHandle menuAltLeft : 0
[input:SteamController] ActionHandle menuAltRight : 0
[input:SteamController] 0 controllers connected
setWindowMode - 1280 720
switchToFullScreenMode : 1280x720 @ 60.00 Hz, 1
reading package /gamebuild/media/base.oppc
NOTE: Video::initialize() commented out...
reading package /gamebuild/media/ui_logos.oppc
reading package /gamebuild/media/ui_core.oppc
reading package /gamebuild/media/ui_icons_small.oppc
[videoplayer] MFStartup failed with exit code 0xc00d36e3
[videoplayer] pVideoplayer is nullptr.
[videoplayer] destroy Videoplayer...
[videoplayer] closing video File
[videoplayer] stopVideo
reading package /gamebuild/media/ui_buttons_pc.oppc
reading package /gamebuild/media/ui_buttons_ps4.oppc

Looks like the video player is missing. I have to SIGKILL the EXE.

simifor commented 7 months ago

I just noticed you're still on 5.15, any particular reason you're in such an old kernel? I would try booting the game with a newer kernel just as a sanity check. You should be able to install a newer one without uninstalling the current one.

Svalorzen commented 7 months ago

I'm on Lubuntu 22.04, and this is what is available. I generally try to jump from long-term support to long-term support if I can (and given that 24.04 will be arriving soon I'll wait to upgrade until then I guess..).

simifor commented 7 months ago

You should also have 6.2 available

Svalorzen commented 7 months ago

@simifor I am a complete dunce. I was trying to run Darksiders, not Darksiders Warmastered. I apologize for wasting your time, and thanks again for the help!!

simifor commented 7 months ago

I see, I have that one too and after downloading it... it doesn't even launch for me. I guess I'll check it out. The bug report for that version is thi https://github.com/ValveSoftware/Proton/issues/264

joshas commented 3 months ago

After some debugging I found that transcoded_video.foz in steamapps/shadercache/462780/ is actually used, hashes for video files are matched, e.g.

0:00:00.609348655 73574 0xd8d03c88 LOG  protonvideoconverter src/videoconv/imp.rs:352:protonmediaconverter::videoconv::imp: Found an OGV video for hash f2901579f7a2d76bbb217b92877d26cf

And reading further in the log it seems that playback of appropriate transcoded video file is being started, as plugins for Theora are selected, but in-game video playback is just skipped. Later it falls back to rendering original video, and, of course, fails:

winegstreamer error: decodebin8: Your GStreamer installation is missing a plug-in. winegstreamer error: decodebin8: ../src-gst_base/gst/playback/gstdecodebin2.c(4704): gst_decode_bin_expose (): /GstBin:bin8/GstDecodeBin:decodebin8: no suitable plugins found: Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

Another interesting point is that after removing transcoded_video.foz there is no blank.mkv video (TV test pattern) displayed in game either. I had observed this test pattern displayed in few other games in the past.

I can only assume that video rendering workaround with transcoded videos is just not working for this game. Could someone give any pointers on further debugging, or just give up? As transcoded video files are already provided, it would be great to use them, instead of relying on an illegal workaround, requiring 900MB file download from windows update website. Otherwise transcoded_video.foz should be removed from game shader cache, as 12GB of unused data is just a waste of bandwidth and storage space. In addition, videos that failed to play are stored in another file in shader_cache, that will result in another 12GB of data when player completes the game.

All debugging was done using this launcher command: PROTON_LOG=1 GST_DEBUG=6 %command% . GST_DEBUG value of "6" displays all LOG information, that protonmediaconverter is outputting.

ranplayer commented 1 month ago

This game's videos still won't play with Proton 9.0-1 and 9.0-2 (RC). Logs: steam-462780.tar.gz

Main error lines:

(wine:45843): GStreamer-WARNING **: 19:51:12.613: Failed to load plugin '/home/gamer/.local/share/Steam/steamapps/common/Proton 9.0 (Beta)/files/lib64/gstreamer-1.0/libgstcoretracers.so': /home/gamer/.local/share/Steam/steamapps/common/Proton 9.0 (Beta)/files/lib64/gstreamer-1.0/libgstcoretracers.so: wrong ELF class: ELFCLASS64
2395.914:0124:022c:warn:debugstr:OutputDebugStringA "reading package /gamebuild/media/ui_buttons_ps4.oppc\n"

winegstreamer error: decodebin14: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin14: ../src-gst_base/gst/playback/gstdecodebin2.c(4704): gst_decode_bin_expose (): /GstBin:bin14/GstDecodeBin:decodebin14:
no suitable plugins found:
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)

(wine:45843): GStreamer-Video-CRITICAL **: 19:52:04.172: gst_video_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed

(wine:45843): GStreamer-Audio-CRITICAL **: 19:52:04.177: gst_audio_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed
2447.482:0124:0128:warn:debugstr:OutputDebugStringA "[videoplayer] setVideoFile get Num Channels\n"

Specs: