Package Details: vita3k-git r3546.ef89d019d-1

Git Clone URL: https://aur.archlinux.org/vita3k-git.git (read-only, click to copy)
Package Base: vita3k-git
Description: Experimental PlayStation Vita emulator
Upstream URL: https://github.com/Vita3K/Vita3K
Keywords: emulation gaming
Licenses: GPL2
Conflicts: vita3k
Provides: vita3k
Submitter: aimileus
Maintainer: EXtremeExploit
Last Packager: EXtremeExploit
Votes: 12
Popularity: 1.03
First Submitted: 2018-01-29 14:48 (UTC)
Last Updated: 2024-01-17 19:09 (UTC)

Pinned Comments

xiota commented on 2023-10-30 09:29 (UTC)

Instead of deleting folders, may also edit [folder]/config to add the missing .git to the end of the url.

EXtremeExploit commented on 2023-10-21 16:53 (UTC)

Also kind reminder that now that now that the sources have a .git you have to delete your AUR helper cache so it doesnt yell about it not being a clone bla bla

Latest Comments

1 2 3 4 5 6 Next › Last »

EXtremeExploit commented on 2023-12-26 13:22 (UTC)

Pushed a commit that makes the commit hash part of the version always be 9 characters long, i decided with 9 as it already was the length used, just for consistency

patlefort commented on 2023-12-26 09:08 (UTC)

It's not specific to an AUR helper, but how the user configured their git. It just make sure that the version generated is consistent for all users regardless of their configuration.

In this case, on my system, the version generated is r3529.bef1567a-1 while this package is r3529.bef1567a6-1 in the AUR. For aur helpers, it think that r3529.bef1567a6-1 is more recent.

xiota commented on 2023-12-26 08:58 (UTC)

@patlefort What specific aur helper has problems with this package?

patlefort commented on 2023-12-26 06:56 (UTC)

Can you please change git rev-parse --short to git rev-parse --short=7 as prescribed in the wiki? The version generated in this pkgbuild has more chars than the default and will lead to aur helpers thinking that there is always or never an update.

EXtremeExploit commented on 2023-11-13 01:29 (UTC)

the "avx2 optimization no" is an echo from qemu's configure script, a dependency of unicorn

xiota commented on 2023-11-12 18:19 (UTC) (edited on 2023-11-12 18:20 (UTC) by xiota)

With -march=x86-64-v3 -O3, the following is displayed during initial config. What is the criteria for displaying yes/no?

avx2 optimization no

Build completes successfully without the SSE2 warning / "error".

EXtremeExploit commented on 2023-11-12 18:08 (UTC) (edited on 2023-11-12 18:09 (UTC) by EXtremeExploit)

XXH3 Fixed in the last push, now XXH_X86DISPATCH_ALLOW_AVX gets enabled with a cmake option

xiota commented on 2023-11-10 01:08 (UTC)

Error: if _____ is compiled with AVX enabled, the resulting binary will crash on sse2-only cpus !!

Stating the obvious.

I added -march=x86-64-v3 -O3 -mavx -mavx2 -mfma -DXXH_X86DISPATCH_ALLOW_AVX=ON to CFLAGS and CXXFLAGS. No complaints during build, but config still says:

avx2 optimization no

patlefort commented on 2023-11-10 00:02 (UTC)

It currently won't compile if AVX is enabled:

/pkgbuild/vita3k-git/src/vita3k/external/xxHash/xxh_x86dispatch.c:93:4: error: "Error: if xxh_x86dispatch.c is compiled with AVX enabled, the resulting binary will crash on sse2-only cpus !! "          "If you nonetheless want to do that, please enable the XXH_X86DISPATCH_ALLOW_AVX build variable"
#  error "Error: if xxh_x86dispatch.c is compiled with AVX enabled, the resulting binary will crash on sse2-only cpus !! " \
   ^

Their cmake file doesn't allow setting XXH_X86DISPATCH_ALLOW_AVX but a little sed magic can do the trick:

diff --git a/PKGBUILD b/PKGBUILD
index 230cfc2..628e982 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 _pkgname="vita3k"
 pkgname="$_pkgname-git"
-pkgver=r3472.ca39e6dff
+pkgver=r3473.6e75edfc
 pkgrel=1
 pkgdesc="Experimental PlayStation Vita emulator"
 arch=('x86_64')
@@ -189,6 +189,8 @@ prepare() {
                        git submodule set-url "${_submodules[${key}]}" "${srcdir}/${key}"
                        git -c protocol.file.allow=always submodule update "${_submodules[${key}]}"
                done
+
+               sed -i 's/!defined(XXH_X86DISPATCH_ALLOW_AVX)/0/' 'external/xxHash/xxh_x86dispatch.c'
        )
        (
                # submodules for VulkanMemoryAllocator-Hpp

xiota commented on 2023-10-30 09:29 (UTC)

Instead of deleting folders, may also edit [folder]/config to add the missing .git to the end of the url.