mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[GH-ISSUE #1078] SOLUTION for those (linux users) who are experiencing black screen #333
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#333
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 @Ein420 on GitHub (Sep 26, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1078
I'm on Arch linux and this managed to work for me
If you are experiencing no audio, these steps should also fix your issue:
this fixed the previous issue of it not building. (skip this, already fixed)
before compiling ShadPS4 (just after cloning),
edit your
src/video_core/texture_cache/tile_manager.cppon line 298, remove
staticfromstatic auto [desc_layout_result, desc_layout] =then to fix the black screen,
add these lines to
src/core/libraries/kernel/thread_management.cppfrom this commit:github.com/shadps4-emu/shadPS4@481e18a245 (diff-1179139663)Make sure to use the
-DCMAKE_DISABLE_FIND_PACKAGE_SDL3=ONflag if the SDL3 on your repo/pc is a higher version than what shadPS4 needs.For some reason, I'm only able to get audio when compiling it myself, audio does not work at all if I'm using a pre-release/release
@ngoquang2708 commented on GitHub (Sep 26, 2024):
thread_management.cpppatch fix black screen for me. But the emulator still crash when finishing character creation.@Ein420 commented on GitHub (Sep 26, 2024):
try building from diegolix29's fork, you will get better results:
https://github.com/diegolix29/shadPS4
@RoastBeefer00 commented on GitHub (Sep 26, 2024):
same here :(
@Ein420 commented on GitHub (Sep 26, 2024):
make sure you're building the 'Full-Blood' branch of the fork I mentioned
@RoastBeefer00 commented on GitHub (Sep 26, 2024):
Reloading got me past character creation and now I can play the game. I had to apply this fix in the code and build from source. The fork suggested does not work me on Fedora 40 or steam deck
@Ein420 commented on GitHub (Sep 26, 2024):
It will take a reload to get past laggy loading screens
are u using official build?
Full-Blood/diegolix29's fork is the most performant in my case
@GryfHub commented on GitHub (Sep 26, 2024):
i can't build it on my SD i get:
CMake Error at CMakeLists.txt:147 (find_package):
Found package configuration file:
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find required Qt component "Widgets".
Expected Config file at "/usr/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake"
exists
Configuring with --debug-find-pkg=Qt6Widgets might reveal details why the
package was not found.
@Leniptic commented on GitHub (Sep 26, 2024):
Same issue as above person, but "Multimedia" instead of "Widgets". Running Mint 22 Wilma with a 3070. I've never built from source before, let alone edited someone else's code and then built it, so I 100% could've just done something wrong.
@GryfHub commented on GitHub (Sep 26, 2024):
Can someone build it and link a dlwnload ?
@Ein420 commented on GitHub (Sep 27, 2024):
I have the latest, most bleeding edge qt6 packages installed, yet I'm not getting these issues
make sure you at least have qt6 installed
otherwise, maybe the solution to ur issues is as simple as compiling with
-DCMAKE_DISABLE_FIND_PACKAGE_QT6=ON(something like that) e.g. ``-DCMAKE_DISABLE_FIND_PACKAGE_QT6-MULTIMEDIA=ON`@Ein420 commented on GitHub (Sep 27, 2024):
Maybe the steamOS is not yet updated to Qt6/plasma 6 and still only uses plasma 5 (?) that may be ur issue
@Ein420 commented on GitHub (Sep 27, 2024):
https://www.mediafire.com/file/yygq1le5bhkqddz/shadps4/file
@Myew420 commented on GitHub (Sep 27, 2024):
I get this when trying to run it:
error while loading shared libraries: libfmt.so.10: cannot open shared object file: No such file or directory@ngoquang2708 commented on GitHub (Sep 27, 2024):
Try SteamOS 3.6 Beta branch
@Skyrent commented on GitHub (Sep 27, 2024):
It doesn't work either on 3.6. Same error.
@RoastBeefer00 commented on GitHub (Sep 27, 2024):
I was able to get the game running on my steam deck using the binary from my own fork, but a lot of game textures won't load. Also, I can no longer get past the black screen on Fedora and I don't know why
@ngoquang2708 commented on GitHub (Sep 27, 2024):
My advice is to wait a few months for the Linux part of the emulator to mature. Currently you can launch some games but it is just hit or miss and performance wise no where near as good as on Windows.
@RoastBeefer00 commented on GitHub (Sep 27, 2024):
Correction sorry it's working on Fedora again I just had to use an X11 session instead of Wayland. On my desktop I can only handle 480p so yeah waiting may be a good option.
@Ein420 commented on GitHub (Sep 27, 2024):
Make sure you have the 'fmt' package installed
@aaalloc commented on GitHub (Sep 28, 2024):
I can confirm that it worked with diegolix29 forks and thread_management fix it can launch and has no crashes when finishing character creation. (tested on Fedora 40 with AMD cpu and NVIDIA gpu)
Otherwise if it still crash after character creation, you could just restart the game and it will work.
@raphaelthegreat commented on GitHub (Sep 29, 2024):
This isn't an issue but rather a discussion
@intellq commented on GitHub (Nov 21, 2024):
Also, if you are getting a black screen in a Wayland session (even after applying the linux fix), call the emulator like this:
DISPLAY= ./shadps4
To force it to use wayland and not the X bridge