ValveSoftware / Proton

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

Iron Harvest (826630) #5471

Open kolAflash opened 2 years ago

kolAflash commented 2 years ago

Compatibility Report

System Information

I confirm:

Proton-Log: steam-826630.log.zip Game logfile: Player.log.zip

Symptoms

When a cinematic (pre rendered MP4 videos) should be played, the screen simply turns black and nothing happens.
(no sound, no video skip when hitting escape)

Have a look at this lines in Player.log:

WindowsVideoMedia error 0x80004001 while reading Z:/home/myuser/opt/Steam/steamapps/common/Iron Harvest/release/IronHarvest_Data/StreamingAssets\Cinematics\c01pol.mp4

Context: Creating DXGI DeviceManager
Error details: Nicht implementiert. [german: Not implemented]

Workaround as described here:
https://www.protondb.com/app/826630#RzxldAlRP6
Use the Proton version by "GloriousEggroll" instead: https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.21-GE-2
Somehow that Proton version doesn't have that bug. Can this be backported to vanilla Proton?

Reproduction

Play through the first campaign mission and the first cinematic will be played.

kekonn commented 2 years ago

@kolAflash this is probably a licensing issue (mfplat) and not a technical one. That would explain why GE Proton does work.

ipr commented 2 years ago

Link to issue tracking these cases: #1464

kolAflash commented 2 years ago
[Mediainfo](https://mediaarea.net/en/MediaInfo) for `c01pol.mp4`:

``` General Complete name : c01pol.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 286 MiB Duration : 4 min 5 s Overall bit rate : 9 788 kb/s Writing application : Lavf58.51.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4.1 Format settings : CABAC / 1 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 1 frame Format settings, GOP : M=1, N=30 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 4 min 5 s Bit rate : 8 171 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 24.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.164 Stream size : 239 MiB (83%) Language : English Codec configuration box : avcC Audio #1 ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 4 min 5 s Duration_LastFrame : -18 ms Bit rate mode : Constant Bit rate : 320 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 9.37 MiB (3%) Language : English Default : Yes Alternate group : 1 Audio #2 ID : 3 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 4 min 5 s Duration_LastFrame : -18 ms Bit rate mode : Constant Bit rate : 320 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 9.36 MiB (3%) Language : Polish Default : No Alternate group : 1 Audio #3 ID : 4 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 4 min 5 s Duration_LastFrame : -18 ms Bit rate mode : Constant Bit rate : 320 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 9.37 MiB (3%) Language : German Default : No Alternate group : 1 Audio #4 ID : 5 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 4 min 5 s Duration_LastFrame : -18 ms Bit rate mode : Constant Bit rate : 321 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 9.38 MiB (3%) Language : Russian Default : No Alternate group : 1 Audio #5 ID : 6 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 4 min 5 s Duration_LastFrame : -18 ms Bit rate mode : Constant Bit rate : 320 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 44.1 kHz Frame rate : 43.066 FPS (1024 SPF) Compression mode : Lossy Stream size : 9.36 MiB (3%) Language : nat Default : No Alternate group : 1 ```

kolAflash commented 2 years ago

The issue has become less worse. I've just tested it with Proton-7.0-3. Now the videos play, but are just heavily distorted. But at least the video controls work now, so videos can be skipped and the next campaign mission becomes accessible. Side note: The dual monitor Proton-GE mouse bug doesn't happen with Proton-7.0-3.

With Proton-6.3-8 it's still broken as it was. So this hasn't been fixed by a game update. Proton-Experimental (2022-06-21 / Build ID 8928659) is the same as Proton-7.0-3. (distorted video, but video controls working)

distorted video screenshot (Proton-7.0-3) ![grafik](https://user-images.githubusercontent.com/3355089/174683326-8629afa8-1725-4cc7-90b5-27ca0461e085.png)
kisak-valve commented 2 years ago

Hello @kolAflash, can you test how the game behaves with the game's launch options set to WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER=1 %command%?

kolAflash commented 2 years ago

@kisak-valve

Yeah! Video graphics output is working like a charm! :-) Tested with Proton-7.0-3 and WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER=1 %command%.

Gameplay is fine too. (dual monitor Proton-GE mouse bug also doesn't happen)

The only problem left I experience is, that the audio language in videos seems to be picked randomly. Sometimes it's English, sometimes German, sometimes Polish. All for the same video. And mother tongue setting disabled. And even with that setting it also shouldn't change randomly. But I'd say that's a completely different problem and much less worse than the video problem discussed before.

kisak-valve commented 2 years ago

Hello @kolAflash, your repeated links to a legally problematic workaround's issue tracker are not appreciated and have been removed.

kolAflash commented 2 years ago

Hello @kolAflash, your repeated links to a legally problematic workaround's issue tracker are not appreciated and have been removed.

@kisak-valve Sorry, I didn't know that. I'll try to remember not to post those links again.

kisak-valve commented 2 days ago

Iron Harvest

Issue transferred from https://github.com/ValveSoftware/Proton/issues/8169. @MichelN86 posted on 2024-10-16T14:25:58:

Hi all,

I purchased the game Iron Harvest. I used GE-Proton9-16 (also tried 15 and 14) on this game. The game is stuttering a lot, when i read the protondb website i came across a message from a user who suggested proton 7.0.6, tried that one and the game runs perfectly fine. Proton 9 i also tested from steam is also a stuttering mess.

Please fix this issue, for people who comes from windows this is very frustrating.

kisak-valve commented 2 days ago

Hello @MichelN86, 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 the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put them in a gist, then include a link to the gist in this issue report.