Getting the exact same issue here as @LarryDave, unfortunately.
Search Criteria
Package Details: pcsx2-avx-git 2.3.1.r59.g73549038-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pcsx2-avx-git.git (read-only, click to copy) |
---|---|
Package Base: | pcsx2-avx-git |
Description: | Sony PlayStation 2 emulator |
Upstream URL: | https://github.com/PCSX2/pcsx2 |
Licenses: | GPL-3.0-or-later |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | xiota |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 2 |
Popularity: | 0.015471 |
First Submitted: | 2023-12-13 14:14 (UTC) |
Last Updated: | 2024-11-10 23:49 (UTC) |
Dependencies (31)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR)
- glslang (glslang-gitAUR)
- libaio (libaio-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sdl2 (sdl2-compat-gitAUR, sdl2-gitAUR)
- soundtouch (soundtouch-gitAUR)
- spirv-tools (spirv-tools-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libpipewire (libpipewire-full-gitAUR, libpipewire-gitAUR) (make)
- Show 11 more dependencies...
Required by (4)
- better-libretro-pcsx2-launcher-git (requires pcsx2)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (3)
lumenor2 commented on 2024-04-20 09:57 (UTC)
LarryDave commented on 2024-04-19 14:40 (UTC)
Can't build anymore. Seems like the same problem duckstation-git experienced and fixed.
[25/147] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/Vulkan/VKShaderCache.cpp.o
FAILED: pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/Vulkan/VKShaderCache.cpp.o
...
/tmp/makepkg/pcsx2-avx-git/src/pcsx2/pcsx2/GS/Renderers/Vulkan/VKShaderCache.cpp:116:12: error: no member named 'SetEmitNonSemanticDebugInfo' in 'shaderc::CompileOptions'
116 | options.SetEmitNonSemanticDebugInfo();
| ~~~~~~~ ^
1 error generated.
lumenor2 commented on 2024-04-11 09:15 (UTC)
Getting the following when running a fresh makepkg -fsi:
Submodule path '3rdparty/vulkan-headers': checked out '19a863ccce773ff393b186329478b1eb1a519fd3'
error: pathspec '3rdparty/lz4/lz4' did not match any file(s) known to git
==> ERROR: A failure occurred in prepare().
Aborting...
xiota commented on 2024-04-01 11:14 (UTC)
@LarryDave I haven't tested for lost functionality after xz
was removed. Maybe used for compression in cso
or chd
files. lz4
is a different compression algorithm. It's faster, but produces larger files, than xz
.
The publicized backdoor affected systemd
and sshd
. Prioritize updating core packages before rebuilding lower risk packages.
LarryDave commented on 2024-04-01 08:37 (UTC)
I wonder what was xz even used for since there is also lz4 in the repo, which I've been using for years. Much better than xz imo. Hopefully whatever the usage was can be replaced with lz4.
And if it was at all possible to perhaps infect us through PCSX2 cause of xz?
xiota commented on 2024-03-30 21:12 (UTC)
For more info about xz vulnerability: https://tukaani.org/xz-backdoor/
From what I can tell, source tarballs on GitHub released by Jia Tan were affected. The git repo itself was not affected. Consequently, old builds of PCSX2, which used the git repo, should not be affected. However, it may be worth rebuilding after updating everything else.
xiota commented on 2024-03-27 12:04 (UTC)
I'm unable to check core usage, but after rebuilding this package with different settings, mold
seems to be only slightly faster than lld
. However, linking is very fast when LTO is disabled. Perhaps LTO is disabled in your makepkg.conf
.
LarryDave commented on 2024-03-27 06:30 (UTC)
Huh, indeed, interesting.
$ readelf -p .comment /opt/pcsx2/pcsx2-qt
String dump of section '.comment':
[ 0] clang version 17.0.6
[ 15] mold 2.30.0 (c7f6a91da512ef8a2634a1bef5d4ba82104659fe; compatible with GNU ld)
[ 64] GCC: (GNU) 13.2.1 20230801
But then why doesn't it use all cores like all other apps built with mold during the "Linking CXX..." process but only uses one core and takes over a minute?
xiota commented on 2024-03-26 20:27 (UTC)
/usr/bin/pcsx2-qt
is a script. The real binary is at /opt/pcsx2/pcsx2-qt
.
LarryDave commented on 2024-03-26 19:19 (UTC)
Not for me it isn't. Really don't know what I'm doing wrong at this point.
$ readelf -p .comment /usr/bin/pcsx2-qt
readelf: Error: /usr/bin/pcsx2-qt: Failed to read file header
Pinned Comments
xiota commented on 2024-01-24 03:02 (UTC) (edited on 2024-02-13 12:57 (UTC) by xiota)
Those interested in profile-guided optimization may try a time-consuming process.
_build_instrumented=true
pcsx2-instrumented-avx-git
LLVM_PROFILE_FILE="default_%9m.profraw" pcsx2-qt
llvm-profdata merge -output=pcsx2-avx-git.profdata *.profraw
pcsx2-avx-git.profdata
in same folder with PKGBUILD.pcsx2-avx-git
xiota commented on 2023-12-13 14:29 (UTC) (edited on 2025-01-08 15:58 (UTC) by xiota)
This package targets x86-64-v3 instructions. Performance benefit over standard builds is minimal because of dynamic dispatch.