Package Details: pcsx2-avx-git 2.3.168.r0.gf449b54-1

Git Clone URL: https://aur.archlinux.org/pcsx2-avx-git.git (read-only, click to copy)
Package Base: pcsx2-avx-git
Description: 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.005947
First Submitted: 2023-12-13 14:14 (UTC)
Last Updated: 2025-02-21 21:51 (UTC)

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.

  1. Make instrumented package:
    • Set environment variable or edit PKGBUILD: _build_instrumented=true
    • Resulting package: pcsx2-instrumented-avx-git
  2. Create raw profiles using instrumented package.
    • LLVM_PROFILE_FILE="default_%9m.profraw" pcsx2-qt
    • Use a "representative" sample of roms.
    • After 9 runs, profraw files will be overwritten.
  3. Process profiles:
    • llvm-profdata merge -output=pcsx2-avx-git.profdata *.profraw
  4. Rebuild package.
    • Put pcsx2-avx-git.profdata in same folder with PKGBUILD.
    • Look for message: "Compiling with profile-guided optimization."
    • Profile can be reused. Re-profile when there are too many "function control flow change" warnings.
    • Resulting package: pcsx2-avx-git

xiota commented on 2023-12-13 14:29 (UTC) (edited on 2025-02-22 07:14 (UTC) by xiota)

By default, this package targets x86-64-v3 instructions (avx/avx2). Performance benefit over standard builds is probably minimal because of dynamic dispatch.

Other microarchitecture levels (v2, v3, v4) may also work by editing some config files.

  • makepkg.confCARCH="x86_64_v4"
  • pacman.confArchitecture = auto x86_64 x86_64_v2 x86_64_v3 x86_64_v4
  • /usr/share/devtools/setarch-aliases.d/x86_64_v4 — Contents: x86_64

Problems:

  • Try building in a clean chroot.
  • Try other packages. Try the upstream AppImage.
  • Comment or flag for packaging issues.
    • Avoid flagging and commenting at the same time for the same issue.
    • Flag for common issues with standard solutions, like submodule updates, depends adjustments, fixing typos.
    • Comment for issues requiring explanation or debugging.
    • Use a pastebin for blocks of text more than a few lines.

Latest Comments

1 2 3 4 5 6 Next › Last »

xiota commented on 2025-01-15 20:52 (UTC) (edited on 2025-01-15 20:53 (UTC) by xiota)

This package targets x86-64-v3, the microarchitecture level that introduces avx/avx2 instructions. If you need support for previous levels, try aur/pcsx2-git.

If your intent is to use this package to try PGO, you'll need to adjust variables listed at the beginning of the PKGBUILD.

nmsl commented on 2025-01-15 17:08 (UTC) (edited on 2025-01-18 08:37 (UTC) by nmsl)

ya, after editing the variables it works really well. god of war can run with my i3 3110m fluently

xiota commented on 2025-01-08 16:01 (UTC)

@The-Anathema patchutils is already listed in makedeps. Try clearing AUR helper cache or building in clean chroot.

The-Anathema commented on 2024-12-21 23:06 (UTC)

Package needs patchutils added to makedepends:

.../pacaur/pcsx2-avx-git/PKGBUILD: line 137: filterdiff: command not found error: No valid patches in input (allow with "--allow-empty")

rodrigo21 commented on 2024-06-07 13:49 (UTC) (edited on 2024-06-07 13:50 (UTC) by rodrigo21)

@xiota. 5867-1 is working.

Thanks!

rodrigo21 commented on 2024-06-06 14:29 (UTC)

@xiota. Tried -4. Same error.

Also deleted the .config/PCSX2 folder. Now the games don't even start anymore.