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

Unravel Two (1225570) #3962

Open
frostworx opened this issue Jun 9, 2020 · 32 comments
Open

Unravel Two (1225570) #3962

frostworx opened this issue Jun 9, 2020 · 32 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@frostworx
Copy link

Compatibility Report

Name of the game with compatibility issues: Unravel Two
Steam AppID of the game: 1225570

System Information

GPU: RTX 2080
Driver/LLVM version: nvidia-vulkan-440.66.15
Kernel version: 5.6.15-arch1-1
Proton version: 5.0-8

I confirm:

[] that I haven't found an existing compatibility report for this game.
[
] that I have checked whether there are updates for my system available.

steam-1225570.log

Symptoms:

The game fails to start. this has multiple reasons:

  • origin fails to start correctly and crashes: EA Origin crashes with several games #3937 ( current workaround is to remove kernel32.dll in the games wineprefix in either system32 or syswow64 - depends on the game - here system32)

  • the game fails to start anyway. it opens a white fullscreen, which turns black after a while. audio is working though (music). you have to kill the process here

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Jun 9, 2020
@kisak-valve
Copy link
Member

From the log:

14855.942:0a00:0bcc:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-divx, divxversion=(int)4, framerate=(fraction)30/1, width=(int)1920, height=(int)1080"
14855.943:0a00:0bd0:err:gstreamer:unknown_type Could not find a filter for caps: "audio/mpeg, mpegversion=(int)4, rate=(int)48000, channels=(int)2, codec_data=(buffer)1190, framed=(boolean)true, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw"
14855.943:0a00:0bc0:err:gstreamer:gstdecoder_init_gst Failed to play stream.
14855.943:0a00:0bcc:err:gstreamer:watch_bus decodebin0: Your GStreamer installation is missing a plug-in.
14855.943:0a00:0bcc:err:gstreamer:watch_bus ../../proton/gst-plugins-base/gst/playback/gstdecodebin2.c(4679): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, rate=(int)48000, channels=(int)2, codec_data=(buffer)1190, framed=(boolean)true, level=(string)2, base-profile=(string)lc, profile=(string)lc, stream-format=(string)raw)
Missing decoder: DivX MPEG-4 Version 4 (video/x-divx, divxversion=(int)4, framerate=(fraction)30/1, width=(int)1920, height=(int)1080)
[...]
14855.961:0a00:0bd0:err:gstreamer:watch_bus avidemux5: Internal data stream error.
14855.961:0a00:0bd0:err:gstreamer:watch_bus ../../proton/gst-plugins-good/gst/avi/gstavidemux.c(5780): gst_avi_demux_loop (): /GstBin:bin5/GstAviDemux:avidemux5:
streaming stopped, reason not-negotiated (-4)

@frostworx
Copy link
Author

frostworx commented Jun 9, 2020

what is really strange is that gstreamer seems to escape its wineprefix here somehow.
at least there is a gstreamer-1.0 directory
in ..../steamapps/compatdata/1225570/
containing a 122157 byte registry.x86_64.bin

edit: for the records: gst-plugins-good-1.16.2-3 lib32-gst-plugins-good-1.16.2-1 are already installed.

@frostworx
Copy link
Author

frostworx commented Jun 9, 2020

 # strings registry.x86_64.bin  | head -n12
1.3.0
audioparsers
Parsers for various audio formats
/media/ssdeam/SteamLibrary/steamapps/common/Proton 5.0/dist/lib64/gstreamer-1.0/libgstaudioparsers.so
1.16.2
LGPL
gst-plugins-good
GStreamer Good Plug-ins source release
Unknown package origin
GstElementFactory
wavpackparse
metadata, long-name=(string)"Wavpack\ audio\ stream\ parser", klass=(string)Codec/Parser/Audio, description=(string)"Wavpack\ parser", author=(string)"Mark\ Nauwelaerts\ \<mark.nauwelaerts\@collabora.co.uk\>";

via https://bugzilla.redhat.com/show_bug.cgi?id=1472160#c16

the full registry.x86_64.bin blob as zip:
registry.x86_64.bin.zip

edit:

  • neither removing V directory (with the videos)
  • nor clearing Video/video_info.txt
  • nor converting the videos quick&dirty with ffmpeg to some avis and overwriting the video files
    didn't workaround this
    (ffmpeg (and mpv) accept the input files though)
    edit2: hope is low as UnravelTwo.exe is x86-64, but just compiling lib32-gst-libav (gst-libav already installed)

@frostworx
Copy link
Author

frostworx commented Jun 9, 2020

installing quartz and disabling winegestreamer fixes the issue! the game works :)
edit: Unravel 1 #3961 can't get to work with this workaround

@NTMan
Copy link

NTMan commented Jun 12, 2020

I only observe the black screen after launch.
Screenshot from 2020-06-12 15-28-12
steam-1225570.log

@NTMan
Copy link

NTMan commented Jun 25, 2020

With proton 5.0-10-rc1 I still see only a black screen and hear the background music.

Screenshot from 2020-06-25 21-35-58

@frostworx
Copy link
Author

did you try "installing quartz and disabling winegestreamer" @NTMan ?

@avrilfanomar
Copy link

avrilfanomar commented Jul 30, 2020

@frostworx I've tried it but it doesn't help. Did you do anything else except installing quartz and disabling gstreamer?

@avrilfanomar
Copy link

Funny enough, I've got the game working by removing videos from "steamapps/common/UnravelTwo/D3D11/V". You can just watch them manually :)
Nothing else I've tried helped and I still saw gstreamer errors in log.

@frostworx
Copy link
Author

@avrilfanomar no I haven't done anything else, but I haven't touched the game since I opened this issue, so maybe things changed since then.

@frostworx
Copy link
Author

@avrilfanomar just tried it again from scratch with a clean WINEPREFIX.
The game still works when quartz is installed, but only if
winegstreamer is disabled directly in winecfg or via regedit
looks like
WINEDLLOVERRIDES="winegestreamer=d"
alone doesn't work.
I'll add a "tweak config" in steamtinkerlaunch :)

winegstreamer-disable.reg.txt

@avrilfanomar
Copy link

I've tried disabling it with winecfg, but apparently that didn't work for me. Anyways thanks for help!
Also game is working for me way better with OpenGL (PROTON_USE_WINED3D=1 option).

@frostworx
Copy link
Author

oh that is strange. which gfx card and drivers do you use, @avrilfanomar?
I'm running Radeon VII with mesa aco here

@avrilfanomar
Copy link

systeminfo.txt

@frostworx
Copy link
Author

so nvidia might be the problem indeed

@frostworx
Copy link
Author

@avrilfanomar just tried it again from scratch with a clean WINEPREFIX.
The game still works when quartz is installed, but only if
winegstreamer is disabled directly in winecfg or via regedit
looks like
WINEDLLOVERRIDES="winegestreamer=d"
alone doesn't work.
I'll add a "tweak config" in steamtinkerlaunch :)

winegstreamer-disable.reg.txt

function added in https://github.com/frostworx/steamtinkerlaunch/releases/tag/v1.0.0
and tweak config in sonic2kk/steamtinkerlaunch@cb2ac72

@frostworx
Copy link
Author

Unravel works with Proton 5.13-1, but Unravel Two still requires above tweak. Without thequartz override it draws a screen as shown here

@hcwinsemius
Copy link

hcwinsemius commented Nov 8, 2020

Would be really nice if we can nail this entirely. I did the following.

  • set Proton 5.0.10 as launcher
  • click 'play' which leads me through the origin installer
  • can't get further than a black screen so closed game.
  • opened terminal and did WINEPREFIX=..... winetricks quartz
  • WINEPREFIX=..... winetricks winecfg -- added winegstreamer as new override library and disabled
  • WINEPREFIX=...... wine64 regedit -- imported the .reg file suggested by @frostworx .

To no avail. Still a black screen. Removing the videos helps!

Any chance anyone knows what I did wrong? If I get the solution I'll post it on protondb. Thanks!

@frostworx
Copy link
Author

Just tested with a clean wineprefix and it doesn't work for me anymore as well.
Here already the horrible annoying Origin launcher fails though.

@hcwinsemius
Copy link

@frostworx thanks for testing! Ugh...yeah origin is still a pain I guess....I'll try again in case either proton or origin is updated. Will post here if I learn something new.

@alan-cugler
Copy link

Was able to isntall and run the game on proton. However, it does not map controller support correctly. When i tried to manually map the button bindings it dropped controller support completely. Was a bit frustrating.
My specs:
ubuntu 20.04
24 Gb RAM
1 Tb Hdd for games
250 Gb SSD for operating system
3.4Ghz 4x core intel processor.

@dariox86
Copy link

dariox86 commented Jan 11, 2021

@frostworx, do you have working in-game cutscenes with your workaround for Unravel Two (1225570)? By the way, Unravel (1225560) works.

@frostworx
Copy link
Author

@dariox86, I haven't tried the game since last origin launcher fail and reported in October that Unravel 1 works with proton 5.13-1.

@dariox86
Copy link

@frostworx, don't you remember if cutscene playback (Media Foundation) were working?

@dariox86
Copy link

OK, I got the game working with cutscenes. With Proton Experimental 5.13-20210107 there is no need for winegstreamer override. Launch the game with Proton Experimental 5.13-20210107. If Origin installer at some point yields an error message, click OK and close Origin window. Finally install quartz with protontricks and launch the game.

@agharbeia
Copy link

agharbeia commented May 8, 2021

With Proton experimental (experimental-6.3-20210507), there exist two quartz.dll files at the following paths:

  • drive_c/windows/system32
  • drive_c/windows/syswow64

Disabling winegstreamer in winecfg makes the game start normally with the videos.

@frostworx
Copy link
Author

Just tried with a clean WINEPREFIX with proton-6.3-3 and the game worked ootb (with the intro menu water video animation visible). So disabling winegstreamer and installing windows quartz doesn't seem to be required anymore.

@agharbeia the quartz.dlls you've seen are probably those coming directly from wine/proton.
Looks like those are enough meanwhile, so for me the game has Whitelist status (if possible with depending on the origin launcher moving target)

@agharbeia
Copy link

agharbeia commented May 8, 2021

Just tried with a clean WINEPREFIX with proton-6.3-3 and the game worked ootb (with the intro menu water video animation visible). So disabling winegstreamer and installing windows quartz doesn't seem to be required anymore.

I just updated my previous comment with the Proton version in my system.
And It's worth mentioning that without disabling winegstreamer the issue described persisted.

@MartinPL
Copy link

Looks like it working fine with the newest Proton Experimental :)

@redmcg
Copy link

redmcg commented Jul 6, 2022

I'm still getting the Assertion failed error: "ms->ref == 0" with the latest experimental. But I've added a patch that fixes it to the wine bug here:
https://bugs.winehq.org/show_bug.cgi?id=51616

However, I now get a crash during playback of the opening video. But I am able to workaround this by disabling the steam overlay.

Edit: Disabling either the Steam overlay or the Origin in-game overlay will prevent the crash during playback of the opening video. Disabling the Origin in-game overlay also seems to fix the keyboard not working. The easiest way to disable the Origin in-game overlay is probably by editing the file at:
<steam_library_loc>/steamapps/compatdata/1225570/pfx/drive_c/users/steamuser/AppData/Roaming/Origin/local_<hexdigits>.xml

and setting the value for key EnableIgo to false

@redmcg
Copy link

redmcg commented Jul 30, 2022

The patch mentioned above is now in Proton Experimental. I tried the game with a new prefix and it worked with video playback and without any workarounds.

However, the keyboard didn't work. I was able to resolve this by disabling the Origin in-game overlay by editing:
<steam_library_loc>/steamapps/compatdata/1225570/pfx/drive_c/users/steamuser/AppData/Roaming/Origin/local_<hexdigits>.xml

and adding the following entry:
<Setting key="EnableIgo" type="1" value="false"/>

@redmcg
Copy link

redmcg commented Aug 17, 2022

I'm just adding a note here in case anyone runs in to the same issue I just did:
When attempting to launch the game, it was bringing up the Origin Launcher, but crashing almost immediately afterwards.

I could see in the proton log that the game was attempting to use my integrated Intel GPU; which is actually not in use (I've configured my desktop for single screen display via my discrete graphics card).

I was able to work-around this problem by adding the following the Steam launch options:
DXVK_FILTER_DEVICE_NAME=GTX %command%

Where GTX is a substring for the name of my discrete graphics card.

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
Projects
None yet
Development

No branches or pull requests

10 participants