mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[GH-ISSUE #1149] Broken Linux Qt build #358
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ngoquang2708 on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1149
Qt AppImage taken from https://github.com/shadps4-emu/shadPS4/actions/runs/11090758200.
Host: Arch Linux.
No logs in
user/log/.Terminal:
@PrimalSmite commented on GitHub (Sep 29, 2024):
Same problem on same system.
@s0mebodyhelpme commented on GitHub (Sep 29, 2024):
Same here.
@ngoquang2708 commented on GitHub (Sep 29, 2024):
Crashes started with this PR https://github.com/shadps4-emu/shadPS4/pull/1130. AppImage before this PR don't crash.
@ConnorG512 commented on GitHub (Sep 29, 2024):
Can confirm I also had the same issue on main
80bf46d. I was advised to try XWayland when I reported to the discord. I didn't have much luck but it might be something you can try.@ngoquang2708 commented on GitHub (Sep 29, 2024):
It won't crash when I extract the shadps4 binary from the appimage and run on my Arch Linux host.
@qurious-pixel commented on GitHub (Sep 29, 2024):
It appears to be caused by the bundled lib
libgstreamer-1.0.so.0.Removing that from the AppImage package fixes the issue.
@cournat commented on GitHub (Sep 30, 2024):
Could you possibly explain how to do that? Just stating that isn't very helpful.
@ngoquang2708 commented on GitHub (Sep 30, 2024):
/tmp/XXXdir to another dirusr/lib/libgstreamer-1.0.so.0@ngoquang2708 commented on GitHub (Sep 30, 2024):
@cournat Try google next time.
@ngoquang2708 commented on GitHub (Sep 30, 2024):
After remove
libgstreamer-1.0.so.0, it can run on Arch Linux now, but still crash on SteamOS 3.6 Beta.@ngoquang2708 commented on GitHub (Sep 30, 2024):
I can run the unmodified appimage on SteamOS 3.6 Beta with this:
@tGecko commented on GitHub (Sep 30, 2024):
Will look into it, since apparently I broke it 😅
@tGecko commented on GitHub (Sep 30, 2024):
Please test https://github.com/shadps4-emu/shadPS4/actions/runs/11102990739
@ngoquang2708 commented on GitHub (Sep 30, 2024):
Won't crash on Arch Linux anymore. Still crash on SteamOS 3.6 Beta but I think that just SteamOS fault.
@ngoquang2708 commented on GitHub (Sep 30, 2024):
One interesting thing is that, if I mount and run the appimage mannually, there is a bulk of failed to load plugin log messages. Leave it here for anyone interested.
@BuyMyMojo commented on GitHub (Sep 30, 2024):
I am still seeing this issue on the latest commit on Nobara 40.
the output from manually running it:
earlier commits still work just fine like the latest github release for example
@cournat commented on GitHub (Sep 30, 2024):
"(1)(deck@steamdeck ShadPS4)$ sudo mount Shadps4.AppImage /mnt/iso
mount: /var/mnt/iso: special device Shadps4.AppImage does not exist."
I tried google, which didn't help at all, thank you very much.
After trying to mount, that's what happens. At this point, I give up. I'll wait until ShadPS4 is finished, so this issue will have been patched out.
@ConnorG512 commented on GitHub (Oct 1, 2024):
Bazzite here. Same from me too. I was playing with it earlier in Discord help. I ran it in an Ubuntu container using distrobox and the errors persisted but it still allowed me to continue using the appimage. I was getting segfaulting when using it in my native fedora environment. I'm not sure if the segfaults are across all Fedora distros, Bazzite or just my computer but just something worth noting.
@ItsLaguna commented on GitHub (Oct 1, 2024):
Tried on both Wayland and X11, using 0.3.0 and latest prerelease. I'm using Bazzite too.
Can boot the emulator (I get the same as the comment above) but then I'm greeted with a blackscreen on Bloodborne.
I used to be able to boot it when setting gamescope as environment variable, but now I can't.
Before booting the game:
After booting the game:
Log because it was fairly long
@qurious-pixel commented on GitHub (Oct 1, 2024):
to mount an AppImage do the following:
./Shadps4.AppImage --appimage-mountThe resulting image will be mounted in
/tmp/.mount_Shadp<rand>#########
And regarding the continuing errors, the gstreamer plugin hook is usually bundled with the GTK kit. It seems most likely that there is a version conflict, which is why the GST symbol errors appear in the console logging.
@ConnorG512 commented on GitHub (Oct 1, 2024):
If the GStreamer erorrs aren't the cause of the crash, which to be honest I do believe because as I say I did run the appimage underneath a Ubuntu podman container and it did work fine, although the errors were still there. It must be something else causing a segfault. It was working absolutely fine up until recently. I do not know what it is caused by or if it a specific distribution? Maybe it is a Fedora thing I have no idea but something is going on.
This is a test on my standard Bazzite I have tested just now.
As you can see if I boot it through a Ubuntu container, I will not get that segfault and it will boot up just fine.
There was another cased of a user getting the same issue over on Discord help. Also on Fedora 40 and also got a segfault with the same errors so something is going on in some way.
https://discord.com/channels/1080089157554155590/1258851012924538931/1290469815110336596
I would add a coredump here but unfortunately it's an invalid type but this is really all the information I have that I can provide at the current moment.
EDIT: Just to add I tested on the newest main commit
github.com/shadps4-emu/shadPS4@3a36615da7@qurious-pixel commented on GitHub (Oct 1, 2024):
You could test the build where I removed the libgstreamermediaplugin.so from the qt plugins folder.
Artifacts
@ConnorG512 commented on GitHub (Oct 1, 2024):
Hi
Yep, your build removed the errors and it booted to the main window as normal can even double click on the appimage from dolphin and boots just fine. Even booted into games commit 270c4f3
@PatrickChudalla commented on GitHub (Oct 1, 2024):
@qurious-pixel I have just tested this commit
https://github.com/shadps4-emu/shadPS4/actions/runs/11130962314
and for me it is working now on my Steam Deck out of the box. Thank you so much!
@cournat commented on GitHub (Oct 1, 2024):
Yes, I tried mounting that way as well. Same issue there as well. Ended up switching to Beta 3.6, used a mount disk plugin (which seemed to fail, as the AppImage wasn't mounted in any of 3 possible locations- also don't remember the name of the plugin, but I've used it before to mount isos and it worked fine), and got the same gstreamer errors as everyone else in Beta 3.6 when trying to run the AppImage.
@qurious-pixel commented on GitHub (Oct 1, 2024):
AppImage is not an iso. It is a squashfs disk image with an offset. If you were on SteamOS Stable, then it would fail to mount/launch for a different issue.
Check the GSTreamer Fix now that you are on SteamOS Beta.
@Dante1475 commented on GitHub (Oct 1, 2024):
For me, still fail on SteamOS 3.7 (principal, not beta or stable)
@PatrickChudalla commented on GitHub (Oct 2, 2024):
I am experiencing the same problem as @Dante1475, but only with SteamOS 3.6.15 (Beta branch).
@ngoquang2708 commented on GitHub (Oct 2, 2024):
@PatrickChudalla Bloodborne requires a Linux specific hack to be able to boot.
@ngoquang2708 commented on GitHub (Oct 2, 2024):
This issue is opened for appimage not running at all, which is fixed in main, not for game failed to boot.
@Hermiten I think you should close this.
@PatrickChudalla commented on GitHub (Oct 2, 2024):
Is there already a solution you can nudge me to? @ngoquang2708
@ngoquang2708 commented on GitHub (Oct 2, 2024):
@PatrickChudalla Try my build which included the Linux hack https://github.com/ngoquang2708/shadPS4/actions
@PatrickChudalla commented on GitHub (Oct 2, 2024):
@ngoquang2708 Thank you, this is actually working! I can open the game, create a character but sadly I can't get into the game. The Memory of the deck gets instantly eaten up, the Swap-Memory aswell, and then it crashes.
So probably it would be able to run, if it wasn't for the still excessive ram usage.
@Leniptic commented on GitHub (Oct 2, 2024):
Thanks for this, can finally boot Bloodborne on Linux :)
@cournat commented on GitHub (Oct 2, 2024):
I'm going to try it soon.
Also I didn't say an AppImage was an iso. Not sure why you felt the need to explain that.
@Dante1475 commented on GitHub (Oct 2, 2024):
Works for me, but no audio, I miss something?
SteamOS 3.7
@ngoquang2708 commented on GitHub (Oct 3, 2024):
Audio is working for other games but sadly not working in BB because it use encrypted audio files.
@cournat commented on GitHub (Oct 3, 2024):
Your latest build of those isn't working on SteamOS Beta. Just a really infuriating grey screen. Going to try each of those releases in a bit, but I imagine I won't have much luck.
@ngoquang2708 commented on GitHub (Oct 3, 2024):
@cournat
What game do you try? SteamDeck don't have enough RAM to run BB in the emulator currently.Edit: I can boot BB with stock swap size.
@ngoquang2708 commented on GitHub (Oct 3, 2024):
@cournat
I have 8G swapfile so I can run BB.@ngoquang2708 commented on GitHub (Oct 3, 2024):
@cournat Try this (currently latest) build https://github.com/ngoquang2708/shadPS4/actions/runs/11137632936
@cournat commented on GitHub (Oct 3, 2024):
That gives the same green screen the others posted
@ngoquang2708 commented on GitHub (Oct 3, 2024):
@cournat @PatrickChudalla report it working for him. Seem there is issue in your end. Can you post log here.
@cournat commented on GitHub (Oct 3, 2024):
My Deck is currently bricked after giving up and switching to gaming mode.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Quang Ngô @.>
Sent: Wednesday, October 2, 2024 11:38:41 PM
To: shadps4-emu/shadPS4 @.>
Cc: cournat @.>; Mention @.>
Subject: Re: [shadps4-emu/shadPS4] Broken Linux Qt build (Issue #1149)
@cournathttps://github.com/cournat @PatrickChudallahttps://github.com/PatrickChudalla report it working for him. Seem there is issue in your end. Can you post log here.
—
Reply to this email directly, view it on GitHubhttps://github.com/shadps4-emu/shadPS4/issues/1149#issuecomment-2390501276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXMWWRQXNTWZXVO3AD6CI4TZZTC5DAVCNFSM6AAAAABPBTJZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJQGUYDCMRXGY.
You are receiving this because you were mentioned.Message ID: @.***>
@ItsLaguna commented on GitHub (Oct 3, 2024):
This worked for me, thanks!
Edit: nvm, spoke too soon, first time booting went fine until the end of the character creation which crashed. After that I can't boot to menu anymore. Last thing I see in log is:
@s0mebodyhelpme commented on GitHub (Oct 3, 2024):
I get a segmentation fault with that build on Arch under Hyprland wayland.
@ngoquang2708 commented on GitHub (Oct 3, 2024):
@ItsLaguna Yeah that the game specific issue.
@s0mebodyhelpme Try latest build from this link https://github.com/ngoquang2708/shadPS4/actions. Select the top one.
@Dante1475 commented on GitHub (Oct 3, 2024):
Oh I see, but with your last build, my Deck lost all System audio, after restart works again.
Edit: After try your last update, the audio works, but still crash after character creation.
https://youtu.be/f_Po_BskWao
@Hermiten commented on GitHub (Oct 4, 2024):
This is a common problem, bloodborne IS not fully supported for now. You Can check others issues and try sometimes