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

Darksiders Warmastered Edition (462780) #394

Open
tr37ion opened this issue Aug 24, 2018 · 60 comments
Open

Darksiders Warmastered Edition (462780) #394

tr37ion opened this issue Aug 24, 2018 · 60 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem

Comments

@tr37ion
Copy link

tr37ion commented Aug 24, 2018

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.

@legluondunet
Copy link

legluondunet commented Aug 24, 2018

The game launches with Wine 3.14-staging + DXVK, it seems stable but...there are no cinematics played, it's a big problem for immersion and for the global gaming experience.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 24, 2018
@hamid-elaosta
Copy link

I had a go at getting this yesterday. The videos are all WMV, and I believe it needs media foundation platform. I tried various different version of the DLLs but couldn't get the media player to load, unfortunately, as with the original issue it just crashes and exits using Proton and doesn't start at all.

@kisak-valve
Copy link
Member

Darksiders Warmastered Edition crashes on launch (462780)

Issue transferred from #735.
@Cuddlypuff posted on 2018-08-27T03:20:52:

Sys info: https://gist.github.com/Cuddlypuff/a518019d119623d9a1b7552e284c1f6d

as soon as the game's window appears a popup says the game has crashed and asks the user to create a minidump. Had to kill the game as it didn't shut down on its own.

No errors or related info to be found in steam's terminal output or the game's .log file


@grigi commented on 2018-08-27T07:24:54

Confirmed same behaviour with a MESA 18.1.6 with Intel UHD620 GPU.


@tingvarsson commented on 2018-08-27T14:00:30

I see the same issue, sysinfo.

@tingvarsson
Copy link

Regarding videos (source wineHQ):
For videos, this needs native mfplat installed for now, since it's not available through winetricks I have used the following process:

Install "winetricks mf" so w7sp1 installer will be cached (you can do this on a different wineprefix, install itself is not needed)
Use install-mf.sh from https://github.com/tonix64/pyt...
Get mfplat.dll (v12.0.7601 is the version I used) from somewhere else and place in the game directory (wine won't find it if placed in the system dirs for some reason, even if set to native only)

@legluondunet
Copy link

legluondunet commented Aug 27, 2018

@tingvarsson did you try this workaround for video with Proton? It works?

@tingvarsson
Copy link

Sorry no, never got around to test it today as it wasn't just plain winetricks if I read it correctly. I'll maybe get around to do it tomorrow if no one else beats me to it.

@hamid-elaosta
Copy link

Getting the DLL is the hard part. I pulled one from my Windows 10 partition but it was no good and I could never get the game to not crash on startup.

After several hours messing with it, I just decided to boot Windows and complete the game and now I can forget about it. Darksiders Warmastered is horribly buggy, even on Windows so it's really not Proton's fault.

@tr37ion
Copy link
Author

tr37ion commented Sep 5, 2018

@tingvarsson Did you test it so far?

@tingvarsson
Copy link

Did some tests today without success I am afraid. According to WineHQ it should be enough to add native d3dcompiler_43 for the game to work, and mfplat is only for videos to work.

But it did not help for me at least, neither did turning off dxvk, dx11 completely or esync.

Also did the mfplat stuff and it doesnt report any errors in the game specific log anymore (Darksiders Warmastered Edition.log in the game dir).

Note: Saw that wine-staging 3.15 added in some mfplat stuff, so I plan to do a plain wine test later both to see if it works better there and if these new mfplat stuff remove the need for manual intervention.

@tingvarsson
Copy link

Game worked with wine-staging 3.15 (and d3dcompiler_43), but no videos.
Tried to get videos working with the mentioned method, ended up breaking the game with similar issues seen with proton. So if I can get it working again it might be similar fix for proton version.

(most likely some mismatch when it comes to mfplat.. some parts are there but not all that are required).

@tingvarsson
Copy link

Game starts and works with Proton 3.16-1 out-of-the-box for me now. Presumably still lacking video support but havent played the game on windows so I dont know what videos are not shown. In game cinematics seem to show at least.

@lagerspetz
Copy link

lagerspetz commented Oct 17, 2018

Works with proton Beta 3.16-2 out of the box. Steam controller works nicely. However, cutscenes don't play.
Edit: If I put mfplat.dll in the game folder, the game refuses to start.
I have also reported this status here: https://spcr.netlify.com/app/462780

@magicmyth
Copy link

I can also confirm the game now runs and is missing video scenes support (it just skips through them). The performance is very low compared to Windows though with the initial street scene on the opening level running at around 25fps which shoots up if I look at a wall. This is on a Ryzen 5 [email protected] and a Radeon R9 285.

@lagerspetz
Copy link

lagerspetz commented Oct 22, 2018

I have been playing pretty far now (Just beat Straga). The game occasionally crashes, but not consistently, cannot reproduce it. The old (non-warmastered) windows version used to crash for me also, so I assume this is not because of Proton. Performance is OK, I have never run the game on Windows though. The video issue is the main issue I have. Looks like I am now running with Proton 3.16-3, seems it has updated itself.

@GitThisBugOff

This comment has been minimized.

@kisak-valve

This comment has been minimized.

@GitThisBugOff

This comment has been minimized.

@kisak-valve

This comment has been minimized.

@GitThisBugOff

This comment has been minimized.

@NoXPhasma
Copy link
Contributor

NoXPhasma commented Nov 3, 2018

For me the game runs perfectly fine with great performance out of the box. Only the already mentioned skipped videos are a problem. Especially that those are telling the story.

Proton: 3.16-4
Sysinfo: https://gist.github.com/NoXPhasma/9ed85e6b0602b656c812acd013ee121f

@mstfacmly
Copy link

mstfacmly commented Nov 17, 2018

One of the game's developers has confirmed that the game uses Media Foundation for its videos on the Steam forums

Would it be possible to bundle it with a future upgrade of Proton? It is installable on WINE using winetricks.

@LingMan
Copy link

LingMan commented Jan 31, 2019

@HonkingGoose:
The videos in this one are WMV3/WMA2, VC-1/WMA Pro, and WMV3/WMA Pro. I've also added a proton log for completeness sake.

steam-462780.log
steam-462780-amd_logo-mediainfo.txt
steam-462780-intro-mediainfo.txt
steam-462780-thq_logo-mediainfo.txt

@HonkingGoose
Copy link

@LingMan Thank you, I've updated my report at issue number 1464.

@Ahmed-E-86
Copy link

Ahmed-E-86 commented Feb 1, 2019

A fix for the game:
doitsujin/dxvk#728 (comment)

There is also a fix at Lutris.net

@flibitijibibo flibitijibibo added the XAudio2 Uses the XAudio2 subsystem label Feb 11, 2019
@edoantonioco
Copy link

The game works in latest proton 4.2.9 except the videos. I hope the fix above gets included as part of proton, because without videos it sucks.

@kisak-valve kisak-valve removed the Regression Confirmed working on an older version of Proton label Jun 23, 2020
@Galcian79
Copy link

Works with the mfplat fix, but performance varies a lot. Usually runs jsut fine, but in some areas, especially at the beginning it's almost unplayable :/ Tried with DXVK and WINED3D, but both show a similar behavior. Tested with Proton 4.11-11. Anyone experienced the same or knows a fix/workaround?

I'm on a Radeon VII with Mesa 19.3.1 and a Ryzen 2700X

doitsujin/dxvk#1719

@VileLasagna
Copy link

I'm just going to necro-bump this thread because I've really wanted to replay this game recently but don't even have a working Windows install (such progress) and... I've tried real hard to get those cutscenes working. No dice, tho.

@CSahajdacny
Copy link

Still no luck with cutscenes?

@at46
Copy link

at46 commented Aug 19, 2022

There's now a 15,9 GB big file called transcoded_video.foz in steamapps/shadercache/462780/ but still no cutscenes ingame for me (tested with proton 7.0-4).

@SyncMaster93
Copy link

I have problem - crashing when i enter the cathedral

@DrLegitamate
Copy link

I keep getting a 20+gb shader cache download almost every other day rendering desktop mode on steam deck almost unusable while its downloading. This can cause my steam deck itself to crash

@melo0187
Copy link

melo0187 commented Feb 14, 2023

Game "just works" using proton 7.0.6, including proper controller mappings (tested with Steam Controller) and without crashes (at least not in the cathedral - I finished that entire area including the boss fight with Tiamat just yesterday). This is with the version from EGS installed with Heroic Games Launcher.

However still no luck with cutscenes without tinkering.
Had to run <Workaround removed by moderator> and <Workaround removed by moderator> both with -proton pointing to Darksider's pfx folder and Proton 7 install folder with corresponding env vars. Lastly I copied the <Workaround removed by moderator> to Darksider's install directory. That did the trick.

Another solution I tried was using the old Proton-5.11-GE-3-MF as a solution that does not require to perform <Workaround removed by moderator> as mentioned above (still requires the mfplat.dll however). I tried this on my Steam Deck to work around <Workaround removed by moderator>'s requirement of cabextract.
However, I DO NOT recommend this approach! While the game runs and the cutscenes play the playback is very slow with massive A/V async issues and even worse the controller mappings are messed up to a point where the game is unplayable.

I wonder if I can get this to run on my Steam Deck just as good as on my desktop by copying the prefix and the Proton 7 directory from my desktop over to the deck...

@kisak-valve
Copy link
Member

Hello @melo0187, the workaround you mentioned is legally problematic and has been removed.

@melo0187
Copy link

@kisak-valve with the speed at which valve is usually fixing a huge variety of compatibility issues for Linux users I figured that this has to be a legal issue of some sorts. Honestly I can't say if legal implications stop at preventing redistribution or would go as far as to deem doing what I described above as illegal, too.

@DrLegitamate

This comment was marked as outdated.

@simifor
Copy link

simifor commented Aug 13, 2023

@kisak-valve sorry for the ping, but I'd appreciate it if valve looked at the prerendered video issue with this game. I understand that the videos are patent encumbered, so proton can't play them as is, but the thing is, valve provides transcoded videos for this game. There's a 21.3GB file transcoded_video.foz file for this game, yet videos don't play.

I think that if the videos can't be made to play anyway, then the transcoded video should be removed, as it is as big as the game itself.

@legluondunet
Copy link

Could someone explain me why Proton can not play cinematics of this game?
Which codec is used in this game that can not be included with Proton?
This game is uninteresting without cinematics.

@CSahajdacny
Copy link

WMV container...
Try to open the file with mediainfo for more detailed info about the codecs.

@Svalorzen
Copy link

Svalorzen commented Nov 23, 2023

My game has significant graphic issues, and crashes at the beginning. The "smaller" cinematics at the beginning are rendered correctly, but as soon as the menu appears I get this:

Nov23_22:05:25

If I select start, I get prompted to choose the difficulty (again with rendering problems), and then the game crashes. Subsequent starts do not ask me anymore for the difficulty (I guess it counts as a continue), but the game still crashes.

I have tried running the game with many different versions of Proton to no avail; the version I'm using atm is Proton 8 GE 24, with standard version it would crash even sooner. Any idea of what I can do?

@at46
Copy link

at46 commented Nov 24, 2023

@Svalorzen you should use latest standard proton, start the game with PROTON_LOG=1 %command% and provide the log here via gist. Probably good to also add your sysinfo (Steam -> Help -> System Information).

@simifor
Copy link

simifor commented Nov 24, 2023

@Svalorzen that looks like possible driver issues, do what at46 said, PROTON_LOG=1 will create a text file in your home folder called steam-462780.log which you should upload here to get some info about what's wrong.

@Svalorzen
Copy link

Svalorzen commented Nov 24, 2023

@at46 @simifor Thanks. I've done two separate runs, one with just Proton 8.0-4 (which shows a black screen and nothing else), and one with 8 GE-24 which shows the screenshot I posted (just in case it might be useful). I'm attaching them here.

This is my sysinfo:
Computer Information:
Manufacturer: Gigabyte Technology Co., Ltd.
Model: X570 AORUS PRO
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 9 3950X 16-Core Processor
CPU Family: 0x17
CPU Model: 0x71
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 3500 MHz
32 logical processors
16 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Ubuntu 22.04.3 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 5.15.0-87-generic
X Server Vendor: The X.Org Foundation
X Server Release: 12101004
X Window Manager: Openbox
Steam Runtime Version: steam-runtime_0.20231024.64411
Video Card:
Driver: AMD AMD Radeon RX 580 Series (polaris10, LLVM 15.0.7, DRM 3.42, 5.15.0-87-generic)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x1002
DeviceID: 0x67df
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.75" x 11.65" (23.78" diag), 52.7cm x 29.6cm (60.4cm diag)
Primary VRAM: 8192 MB
Sound card:
Audio device: Loopback Mixer
Memory:
RAM: 32009 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 234543 MB
Largest Free Hard Disk Block: 104263 MB
Storage:
Number of SSDs: 3
SSD sizes: 1024G,1000G,250G
Number of HDDs: 0
Number of removable drives: 0

I'd like to mention that generally I never have any problems with games. Witcher 3, NFS Heat, Ghost Recon Wildlands, Rocket League, Spyro... everything always runs smooth. Obviously it depends from the game, but I'm just saying to say that I guess most of my setup should be decent overall.

steam-50620-GE-24.log
steam-50620-8.0-4.log

@simifor
Copy link

simifor commented Dec 4, 2023

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
Copy link

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
Copy link

simifor commented Dec 4, 2023

You should also have 6.2 available

@Svalorzen
Copy link

@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
Copy link

simifor commented Dec 6, 2023

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 #264

@joshas
Copy link

joshas commented Apr 1, 2024

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 �[33m73574�[00m 0xd8d03c88 �[33;01mLOG �[00m �[00mprotonvideoconverter src/videoconv/imp.rs:352:protonmediaconverter::videoconv::imp:�[00m 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
Copy link

ranplayer commented Jun 2, 2024

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:

  • OS: Arch Linux
  • Kernel: 6.6.32
  • DE: Plasma 6.0.5 (xwayland 24.1.0)
  • GPU: RX 6700 XT (Mesa 24.1.o)
  • CPU: Ryzen 7 5700 G

@jn64
Copy link

jn64 commented Dec 3, 2024

Contrary to #8186 (comment), cutscenes still don't work in Proton Experimental (new media source); only a TV test pattern is shown. Also the game seemed to play fine but crashed at a cutscene after beating the intro boss.

OS: Fedora Linux 39 (Thirty Nine)
KERNEL: 6.11.9-100.fc39.x86_64
CPU: Intel Core i5-8400 @ 2.80GHz
GPU: AMD Radeon RX 6600 (radeonsi, navi23, LLVM 17.0.6, DRM 3.59, 6.11.9-100.fc39.x86_64)
GPU DRIVER: 4.6 Mesa 23.3.6
RAM: 16 GB
Proton experimental-9.0-20241121b

screenshot_2024-12-04_00-19-38


edit: I do not have steamapps/shadercache/462780/transcoded_video.foz. Not sure if it has been removed as previously suggested, or if it's because I have shader pre-caching disabled.

@Galcian79
Copy link

Galcian79 commented Dec 3, 2024

Replying to #394 (comment)

You have to enable shader pre-cache.

@jn64
Copy link

jn64 commented Dec 3, 2024

You have to enable shader pre-cache.

Thanks. I can't because of ValveSoftware/steam-for-linux#10285, until ValveSoftware/steam-for-linux#6486 and/or ValveSoftware/steam-for-linux#9132 are implemented. Maybe I'll just wait for the inevitable re-remaster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests