Package Details: pcsx2-git 2.3.311.r1.gf45840a29f-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0-or-later
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: weirdbeard (xiota)
Last Packager: weirdbeard
Votes: 132
Popularity: 1.26
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2025-05-01 12:00 (UTC)

Pinned Comments

weirdbeard commented on 2024-08-17 03:40 (UTC)

https://github.com/PCSX2/pcsx2/pull/11632

This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2

In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 71 Next › Last »

patlefort commented on 2024-06-07 01:43 (UTC)

It's not in the NEEDED section because it is loaded dynamically at runtime with dlopen.

man dlopen state: (ELF only) If the calling object contains a DT_RUNPATH tag, then the directories listed in that tag are searched..

I don't know how would that not work for @xiota. Here a test program: https://pastebin.com/g6HMN0ba

Compile and run it with gcc -Wl,-rpath=/opt/pcsx2 -ldl test_dlopen.c && ./a.out and tell us what you get. It should print /opt/pcsx2.

weirdbeard commented on 2024-06-07 01:36 (UTC)

Sounds good. Let me know when or if you want :)

xmusjackson commented on 2024-06-07 01:17 (UTC) (edited on 2024-06-07 01:23 (UTC) by xmusjackson)

@xiota the man page for ld.so(8) apparently says that DT_RUNPATH is only used for dependencies located in the DT_NEEDED section, but this build doesn't put libshaderc_shared.so.1 there for some reason. I don't know what the harm in forcing that dependecy would be though. This goes back to PCSX2 is built in a strange way, but mitigating that is part of this process, I guess. Looking into the appimage, it's not in that section either, but runpath is indeed set to '$ORIGIN/../lib'.

weirdbeard commented on 2024-06-07 01:14 (UTC)

Btw @xiota, do you want to be a co-maintainer on this package?

xmusjackson commented on 2024-06-07 01:03 (UTC) (edited on 2024-06-07 01:10 (UTC) by xmusjackson)

@xiota If you build from https://github.com/xmusjackson/pcsx2-git, do you have the same result? Note, that package doesn't require shaderc-non-semantic-debug. A linux binary should always check LD_LIBRARY_PATH then DT_RUNPATH inside the binary. I'm sure you cleared shader cache too, but patlefort is correct that there are also shaders inside .config/PCSX2/cache/.