https://bugs.winehq.org/show_bug.cgi?id=48766
Bug ID: 48766 Summary: Late Shift doesn't work properly Product: Wine Version: 5.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: mo78@abv.bg Distribution: ---
I didn't managed to run this game properly. I installed mfplat and quartz. Mfplat is required only for the developers logo. On the first run everything is looking good except there are no voices when a video is playing. On the second run - black screen and there are no more videos and this is a big problem as the whole game is made up of different videos.
Plese tell me what logs you need and I'll provide them. Thank you.
https://bugs.winehq.org/show_bug.cgi?id=48766
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- What happens with builtin components?
https://bugs.winehq.org/show_bug.cgi?id=48766
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #2 from mo78@abv.bg --- Excuse me, english isn't my native language. What do you mean with builtin components? Some dll overrides?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- "Native" and "builtin" refer to DLLs provided by Microsoft and by Wine, respectively. That's the same language as is used in winecfg to manage DLL overrides.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #4 from mo78@abv.bg --- Thank you :) I installed quartz by 'wineticks quartz' and observed the forementioned results. You want me to install DLLs provided by Microsoft? How to do that? I can't find anything relevant on Google.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- `winetricks quartz` does exactly that, it installs Microsoft DLLs and sets native overrides for them in winecfg. I'm asking to not do that, by switching those overrides to builtin only, so that Wine components are used.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #6 from mo78@abv.bg --- Thank you for your help :)
I just tried it but it actually makes it worse. Now the game gives a black screen right after the start and there isn't even the developer's logo. I tried to return them to native one by one and at one stage the logo appears but after that the game again gives black screen and I can't reach the main menu. After I turn them all to native again, the game starts normally and there is main menu.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- It's only really interesting to debug with all builtin components. Can you please reset them to builtin and attach a log with WINEDEBUG=+timestamp,+seh,+mfplat,+strmbase,+quartz,+gstreamer,+qcap,+qedit,+amstream?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #8 from mo78@abv.bg --- Created attachment 66684 --> https://bugs.winehq.org/attachment.cgi?id=66684 Late Shift wine.log
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #9 from mo78@abv.bg --- Here you are :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #10 from Zebediah Figura z.figura12@gmail.com --- Can you please re-enable winegstreamer.dll and try again?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #11 from mo78@abv.bg --- I have to set winegstreamer to native, right?
https://i.imgur.com/J8o6dfu.png
Here you are :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #12 from mo78@abv.bg --- Created attachment 66698 --> https://bugs.winehq.org/attachment.cgi?id=66698 Late Shift winegstreamer native wine log
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #13 from Zebediah Figura z.figura12@gmail.com --- No, please set all components to builtin. It's only interesting to debug with *all* builtin components. Native winegstreamer doesn't even make sense; Microsoft doesn't distribute such a DLL.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #14 from mo78@abv.bg --- Ok, I'm sorry. Here you are :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #15 from mo78@abv.bg --- Created attachment 66704 --> https://bugs.winehq.org/attachment.cgi?id=66704 Late Shift winegstreamer builtin wine log
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #16 from Zebediah Figura z.figura12@gmail.com --- 1076.601:006d:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\winegstreamer.dll" 1076.601:006d:err:ole:create_server class {f9d8d64e-a144-47dc-8ee0-f53498372c29} not registered 1076.601:006d:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 1076.601:006d:err:ole:CoGetClassObject no class object {f9d8d64e-a144-47dc-8ee0-f53498372c29} could be created for context 0x17
Something's still preventing winegstreamer.dll from being loaded.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #17 from mo78@abv.bg --- It doesn't present in the override settings at all:
https://i.imgur.com/d6ULNE4.png https://i.imgur.com/VQeAkB9.png
What should I do?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #18 from Zebediah Figura z.figura12@gmail.com --- Did you install Wine from a package, or build it from source? If the former, is winegstreamer.dll.so present in the installation directory? (i.e. /usr/lib/...) If the latter, was winegstreamer.dll.so in fact built?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #19 from mo78@abv.bg --- I use isolated prefix with wine downloaded from here: https://github.com/Kron4ek/Wine-Builds/releases
I can easily use system Wine though via export option. You're right, there isn't winegstreamer.dll.so in lib folder. Now I'll make a log with my system Wine, installed from the package manager. There is winegstreamer.dll.so, I already checked.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #20 from mo78@abv.bg --- Created attachment 66708 --> https://bugs.winehq.org/attachment.cgi?id=66708 Late Shift winegstreamer native system wine log
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #21 from mo78@abv.bg --- Excuse me, the file name is wrong. It should be "Late Shift winegstreamer BUILTIN system wine log". It's just the name. I tested it with builtin setting as the forementioned screenshots and I don't change anything except system Wine usage.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #22 from mo78@abv.bg --- Hello, Is this log correct?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #23 from mo78@abv.bg --- Wine 5.5 - the game still doesn't work properly. Do you want me to give you a log from a clean prefix?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #24 from Zebediah Figura z.figura12@gmail.com --- No, I just didn't get to it yet.
12524.802:0071:err:gstreamer:watch_bus decodebin0: Your GStreamer installation is missing a plug-in. 12524.802:0071:err:gstreamer:watch_bus gstdecodebin2.c(4678): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2) Missing decoder: H.264 (High Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001b67640028acd940780227e5c044000003000400000300f03c60c65801000668ebe1f2c8b0, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1)
You'll need the (32-bit) "bad" plugin set for these, and installing the "ugly" plugins as well is probably a good idea.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #25 from mo78@abv.bg --- No problem, I'm nit in a hurry. I just tought there is some problem with my miserable efforts to help :) Thank you very much for your help!
I have installed ugly and lib32-gstreamer previously and I get the logs with them already installed:
https://i.imgur.com/scm8bAc.png
https://i.imgur.com/woncpr7.png
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #26 from Zebediah Figura z.figura12@gmail.com --- Right, so if you're on Arch, you need lib32-gst-plugins-bad. Unfortunately that's still only available through the AUR.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #27 from mo78@abv.bg --- That's no problem. I've been using pure Arch for 10 years, but there are many problems with this package and it fails to compile :)
I can install it on my backup OS Linux Mint. With lib32-gst-plugins-bad installed, what should I do next?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #28 from Zebediah Figura z.figura12@gmail.com --- (In reply to mo78 from comment #27)
That's no problem. I've been using pure Arch for 10 years, but there are many problems with this package and it fails to compile :)
I can install it on my backup OS Linux Mint. With lib32-gst-plugins-bad installed, what should I do next?
I'm not sure I understand what you're asking; either it works in that case, or attach another log with the same channels.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #29 from mo78@abv.bg --- I managed to install lib32-gst-plugins-bad!
Now the game crashes immediately and even doesn't give a black screen.
Built in libraries log: https://pastebin.com/JRFMRY91
Native in libraries log: https://pastebin.com/MeMzK0i7
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #30 from Zebediah Figura z.figura12@gmail.com --- I'm not sure how that error could happen; it seems like your prefix is out of date, but didn't update for some reason. Can you try running 'wine wineboot -u'?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #31 from mo78@abv.bg --- Yes, now the game crashes with a message:
https://i.imgur.com/3Je2eO7.png
Built in libraries log: https://pastebin.com/redsZS90
Native libraries log: https://pastebin.com/GWeD5WP8
I deleted the prefix and created it again but with the same result.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #32 from mo78@abv.bg --- I tired some more things:
I deleted the whole prefix and this time I don't installed Media Foundation - the game hangs at start with a black screen. If I install DXVK, it can get past the black screen and for the first time I heard the sound of the first splash screen but the splash screen itself is invisible. There is a menu but the menu background is missing. No matter what I choose - New Game or Continue, the game gives a black screen and it not progress further.
Then I installed quartz. The game started really slow but with almost no difference in it's behavior. After the first splash screen there's no menu, just a black screen. Then I set quartz to builtin, the game starts fast and there is a little difference - the game gives a black screen and not progress further but the Esc menu is active. There's again no menu background.
With gstreamer set to builtin it's all the same with active Esc menu.
Here's the logs (they are huge): 1. quartz and gstreamer builtin: https://my.pcloud.com/publink/show?code=XZ363MkZhMGtWWsAX4YMNuIEtSHeAVv8ozkk 2. quartz native and gstreamer builtin: https://my.pcloud.com/publink/show?code=XZBO3MkZRNM5sjEfx1LphYmodxLNayKslcmy
Then I installed mfplat.
Here's the logs: 1. quartz and gstreamer builtin + mfplat: https://my.pcloud.com/publink/show?code=XZtI3MkZAb3M9iXfEC4PzeMzRFPFn5LFs0cV 2. quartz native and gstreamer builtin + mfplat: https://my.pcloud.com/publink/show?code=XZYA3MkZqBJOvADnriuExXEFoKsjdJMcOWmV
With the second variant the game starts very slow and there's no active Esc menu.
Do you need something more?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #33 from Zebediah Figura z.figura12@gmail.com --- Let's please just focus on the case with all builtin components—don't install native quartz or mfplat, don't disable winegstreamer; let's instead just debug winegstreamer until it works. Even installing native components and then later setting them to builtin will affect what happens in the prefix.
12463.025:0071:err:gstreamer:unknown_type Could not find a filter for caps: "video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4, profile=(string)high, codec_data=(buffer)01640028ffe1001b67640028ac>
It appears from other messages in the log that the "bad" plugins are installed, but openh264dec is missing. Arch builds without it for some reason; I can't easily find the Linux Mint package build scripts but it's not unlikely that it does as well. As a substitute, however, the gstreamer libav plugin should support h264 decoding.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #34 from mo78@abv.bg --- Ok, I just installed openh264. Tell me what to do now - I'll start over with a new prefix and you'll tell me what to install and what overrides to make :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #35 from Zebediah Figura z.figura12@gmail.com --- Just install the program, please; don't install native quartz or mfplat or perform any overrides.
Is libgstopenh264.so present in your GStreamer plugin path? (i.e. /usr/lib/gstreamer-1.0/ or something similar).
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #36 from mo78@abv.bg --- Ok, brand new prefix, without anything installed:
https://my.pcloud.com/publink/show?code=XZwNiMkZNNkQL7cKitQyrd0HDbblIffTXjGk
locate can't find libgstopenh264.so on my system but the package is installed:
https://i.imgur.com/mUOVzke.png
If i look at the files, I see this libraries:
https://i.imgur.com/jBE06Y1.png
They are in /usr/lib/:
/usr/lib/libopenh264.so /usr/lib/libopenh264.so.2.1.0 /usr/lib/libopenh264.so.5
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #37 from Zebediah Figura z.figura12@gmail.com --- Right, that's what I figured: gst-plugins-bad is built without openh264 support, so installing openh264 won't actually make a difference. Instead, can you please try installing gstreamer1.0-libav?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #38 from mo78@abv.bg --- I can't find gstreamer1.0-libav in arch official repositories or in AUR. I found gst-libav instead. Should I install it?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #39 from Zebediah Figura z.figura12@gmail.com --- Ah, I thought you were still using Linux Mint. For Arch, you'd need lib32-gst-libav.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #40 from mo78@abv.bg --- I'm on Arch all the tine :) As I wrote previously, I managed to install gst-plugins-bad but now lib32-gst-libav fauls to build. Should I try on Mint? Tell all the needed packages I have to install :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #41 from Zebediah Figura z.figura12@gmail.com --- The necessary plugins are the 32-bit gstreamer base, good, bad and libav plugins. For Arch, that would be lib32-gst-plugins-base, lib32-gst-plugins-good, lib32-gst-plugins-bad, lib32-gst-libav. For Mint, that'd be gstreamer1.0-plugins-base:i386, gstreamer1.0-plugins-good:i386, gstreamer1.0-plugins-bad:i386, gstreamer1.0-libav:i386. I don't think the ugly plugins are necessary here, though many other games require them.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #42 from mo78@abv.bg --- Thank you :)
All needed packages installed. Here's the log from a clean prefix:
https://my.pcloud.com/publink/show?code=XZGskTkZ6Bno4BcGTopyrGUerB1ze7rGNN17
The game starts, the developer's logo is visible but there's no sound. A moment before the logo fully disappears and is barely visible, the game freezes.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #43 from Zebediah Figura z.figura12@gmail.com --- It looks like it needs IMediaSeeking::get_Duration() to work, and gstreamer doesn't have a duration for us yet. I'll need to do some research to figure out the best way to fix this.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #44 from mo78@abv.bg --- Thank you very much. If you need something, I'll do it.
https://bugs.winehq.org/show_bug.cgi?id=48766
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |d9003a04646087f1ca92391ef70 | |5f0598974dc9b
--- Comment #45 from Zebediah Figura z.figura12@gmail.com --- Turns out my diagnosis was incorrect. This should be fixed by https://source.winehq.org/git/wine.git/commitdiff/d9003a04646087f1ca92391ef705f0598974dc9b.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #46 from mo78@abv.bg --- Is there a patch to try it ot I should just download Wine git and compile it?
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #47 from Zebediah Figura z.figura12@gmail.com --- You could download current git and compile it, or wait for Wine 5.6 to be released tomorrow.
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #48 from mo78@abv.bg --- Oh, thank you. I'll compile it tommorow for it's too late now and I will write you back for the result :)
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #49 from mo78@abv.bg --- You are great! The game is working now. Thank you!!!
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #50 from mo78@abv.bg --- Excuse me but can you take a look at this bug when you have the time: https://bugs.winehq.org/show_bug.cgi?id=48766
Up the Irons!
https://bugs.winehq.org/show_bug.cgi?id=48766
--- Comment #51 from mo78@abv.bg --- Opps, wrong link: https://bugs.winehq.org/show_bug.cgi?id=48906
https://bugs.winehq.org/show_bug.cgi?id=48766
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #52 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.6.