Package Details: pcsx2-git 2.3.35.r0.g4eae1b7127-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.150054
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2024-11-27 22:52 (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 2 3 4 5 6 7 8 9 10 .. 67 Next › Last »

xmusjackson commented on 2024-06-07 06:22 (UTC) (edited on 2024-06-07 06:26 (UTC) by xmusjackson)

@xiota I think that approach would cause any binary looking for libshaderc_shared.so.1 without a runpath or rpath, or without LD_LIBRARY_PATH set beforehand to load /opt/pcsx2/libshaderc_shared.so.1. Unfortunately, I can't be much direct help because I'm having no issues with rpath and setcap or loading the wrong library, and I have the upstream shaderc installed as well even. It's too bad that changing the name of this library isn't part of the patchset...

xmusjackson commented on 2024-06-07 05:55 (UTC)

@xiota Thanks. I didn't spend enough time to dig into the classes.

xmusjackson commented on 2024-06-07 05:39 (UTC) (edited on 2024-06-07 05:58 (UTC) by xmusjackson)

@patlefort Can you find in the code where dlopen is used to load libshaderc_shared.so.1 or are you speculating? That was my thought as well but I'm unable to find such a line. However, in the file cmake/FindShaderc.cmake of the pcsx2 source are the lines:

if(SHADERC_FOUND)
    add_library(Shaderc::shaderc_shared UNKNOWN IMPORTED)

Meaning that shaderc is (supposed to be) linked in like normal.

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.