Skip to content

Symlink libshaderc.so.1 for pcsx2 - #10

Merged
thelamer merged 1 commit into
linuxserver:rommfrom
LoneAngelFayt:pcsx2-libshaderc
Aug 4, 2026
Merged

Symlink libshaderc.so.1 for pcsx2#10
thelamer merged 1 commit into
linuxserver:rommfrom
LoneAngelFayt:pcsx2-libshaderc

Conversation

@LoneAngelFayt

Copy link
Copy Markdown

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

Symlinks libshaderc.so.1 to the copy that ships with duckstation, in the duckstation install block.

Benefits of this PR and context:

pcsx2 dlopens libshaderc.so.1 and there is no copy in the image, so it fails to start:

Failed to load shaderc: Loading libshaderc.so.1 failed: libshaderc.so.1: cannot open shared object file: No such file or directory
Failed to compile utility pipelines
Failed to create GS device
Startup Error: Failed to initialize GS

It only bites on a cold shader cache, which is why it is easy to miss. With a warm /config/.config/PCSX2/cache pcsx2 runs fine without the library.

How Has This Been Tested?

Made the same symlink by hand in a running container off the romm branch, then ran pcsx2 with /config/.config/PCSX2/cache cleared. Without it pcsx2 dies with the error above, with it the game boots. Not yet tested as a rebuilt image.

Source / References:

n/a

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@github-project-automation github-project-automation Bot moved this from PRs to PRs Approved in Issue & PR Tracker Aug 4, 2026
@thelamer
thelamer marked this pull request as ready for review August 4, 2026 18:12
@thelamer
thelamer merged commit b6d5d08 into linuxserver:romm Aug 4, 2026
2 checks passed
@LinuxServer-CI LinuxServer-CI moved this from PRs Approved to Done in Issue & PR Tracker Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants