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
BUG: "winegstreamer: failed to create decodebin, are 64-bit GStreamer "base" plugins installed?" Seeing this error with Bottles when running a game #311004
Comments
What Wine version are you using? (And is it from the system?) |
When you say Wine version, you mean the Runner, right? Because I don't specifically choose Wine, it's whatever is the default being used by Bottles as part of this Runner that I'm using. It's
I set it by running the bottles app from a terminal and that is how I've been looking at logs data. Attaching screenshots of the entire log.
@SuperSamus |
I can reproduce the issue with Oblivion. |
Found the bad commit: 4c214a7. |
Should we be reporting this somewhere upstream? Or is this specific to Nix? Happy to report and ask for help elsewhere if you think that makes sense 🙂 |
I have an idea.
|
@SuperSamus Hi Samus 👋🏼 I ran this to get the output logs nix run github:SuperSamus/nixpkgs/bottles-gstreamer-test#bottles --verbose --log-format raw Still seeing the same message and no videos in game |
Well, I hoped for an easy solution... |
After a boring bisect, I finally found the faulty commit: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/bd97973ce0f2c5495bcda5cccd4f7ef7dcb7febc. Reverting it fixes the issue, even on the current version. I'll leave the choice of what to do to someone with more authority with me. |
I believe this is the domain of @lilyinstarlight. |
Can someone grab a log with Something weird is probably going on in winegstreamer if that commit caused this behavior |
Working: Broken: bottles-present.log EDIT: Unredacted the logs (sorry for doing that...). Do note that I'm running a 32 bit game, that's why
|
@SuperSamus Hmm that does not seem to include the debug messages around the code which that commit changes. Were these manually redacted? |
No, I only removed stuff like |
That counts as manually redacted... but I'm just going to assume the logs I'm looking for don't exist then How were you adding that env var/running stuff? |
I simply ran from the terminal
(With By the way, I remembered one thing. # `/usr` is optional
profile = ''
export GST_PLUGIN_PATH=/usr/lib32/gstreamer-1.0:/usr/lib64/gstreamer-1.0
''; This workaround was later not needed (I'm not going to bisect when). Trying this today, it still solves the problem. (I've added logs) |
I couldn't get bottles to work for me (it seems any bottle I make just stays grayed out?), but I think this is enough information for me to figure out the issue Reverting that upstream commit is itself also a workaround (rather than strict fix) from what I can tell, but I'll get to the bottom of it today or tomorrow |
Might or might not be a proper fix, but my game launcher repo was seeing the same problem on unstable branch, fixed by adding GStreamer and it's plugins to buildInputs, where wrapGAppsHook4 will see them and set the appropriate env vars correctly (as documented here). The lutris package seems to have incidentally already been doing this, which is what led me to try it as a solution. |
Describe the bug
When running a game with Bottles, I am seeing this error.
The effect of this is that no videos ingame are playing. From reading the error, I feel that there's some configuration that I'm missing or some base package that I need to add from the Nixpkgs repo. Please help
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Videos work in game
Notify maintainers
@SuperSamus I saw that you also spotted and fixed this here
#207641
Any help is appreciated 🙂
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 6.6.30, NixOS, 24.05 (Uakari), 24.05pre623656.f1010e0469db
yes
yes
nix-env (Nix) 2.18.2
"nixos"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: