Package Details: pcsx2-avx-git 2.3.1.r59.g73549038-1

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.026262
First Submitted: 2023-12-13 14:14 (UTC)
Last Updated: 2024-11-10 23:49 (UTC)

Required by (4)

Sources (3)

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 2024-01-24 02:57 (UTC) by xiota)

This package targets x86-64-v3 instructions. Performance benefit over standard builds is minimal because of dynamic dispatch.

  • Binaries available at aur.chaotic.cx

  • Avoid flagging and commenting at the same time for the same issue.

    • Flag for common issues with standard solutions, like submodule updates.
    • Comment for issues requiring explanation or debugging.
      • Use a pastebin for blocks of text more than a few lines.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

rodrigo21 commented on 2024-06-06 03:18 (UTC)

@xiota pcsx2-latest-bin is working.

I hope it gets fixed, but I think the OpenGL renderer is better than Vulkan on my machine.

xiota commented on 2024-06-06 02:59 (UTC)

@rodrigo21 A recent git commit broke it. While I look at it, can you see if you get the Failed to find function shaderc_compilation_status_to_string error with pcsx2-latest-bin?

rodrigo21 commented on 2024-06-06 02:52 (UTC) (edited on 2024-06-06 02:52 (UTC) by rodrigo21)

I'm getting this error when building in a clean chroot: /build/pcsx2-avx-git/src/google.shaderc/third_party/spirv-tools/source/opcode.cpp:726:19: error: no member named 'OpExtInstWithForwardRefs' in 'spv::Op'; did you mean 'OpExtInstWithForwardRefsKHR'?

The previous version builds fine.

lumenor2 commented on 2024-04-20 09:57 (UTC)

Getting the exact same issue here as @LarryDave, unfortunately.

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...