Package Details: pcsx2-git 2.3.10.r0.g5441c7ed59-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: A Sony PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0+
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: weirdbeard (xiota)
Last Packager: weirdbeard
Votes: 130
Popularity: 0.35
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2024-11-08 23:36 (UTC)

Dependencies (32)

Required by (3)

Sources (8)

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 2 3 4 5 6 7 8 9 10 .. 66 Next › Last »

weirdbeard commented on 2024-06-07 04:46 (UTC)

No, because it wouldn't apply to pcsx2. It has to be directly applied to pcsx2 itself

weirdbeard commented on 2024-06-07 04:20 (UTC) (edited on 2024-06-07 05:30 (UTC) by weirdbeard)

Unfortunately, setcap is 110% necessary and cannot be disabled. It enables online functionality that AppImage cannot do by linking pcap to pcsx2. (Appimage has no capacity for pcap and as far as I'm aware neither does flatpak.) It has something to do with their inability to find the lib location. Manually extracting pcsx2 from that environment and running the setcap command enables that functionality.

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?