Package Details: proton 1:9.0.1-1

Git Clone URL: https://aur.archlinux.org/proton.git (read-only, click to copy)
Package Base: proton
Description: Compatibility tool for Steam Play based on Wine and additional components
Upstream URL: https://github.com/ValveSoftware/Proton
Keywords: dxvk proton steam valve vkd3d wine
Licenses: custom
Submitter: Forty-Bot
Maintainer: loathingkernel
Last Packager: loathingkernel
Votes: 106
Popularity: 0.86
First Submitted: 2018-08-22 01:23 (UTC)
Last Updated: 2024-05-04 08:01 (UTC)

Pinned Comments

loathingkernel commented on 2020-10-22 08:43 (UTC) (edited on 2022-06-15 14:11 (UTC) by loathingkernel)

Notes about this package

  • If you encounter issues while using this package, please contact me here first before reporting an issue to the upstream repository. Don't post logs, link to them. If you are using Manjaro, another derivative or an AUR helper, please mention it, I DO NOT TEST AGAINST THEM AND I CANNOT KNOW WHAT MIGHT BE WRONG WITH THE DISTRO/HELPER OF YOUR CHOICE.

  • It takes a LOT of time and space to build. Building with multiple jobs helps but might cause builds to fail in rare cases. Be sure to have at least 16GB of RAM if you are building on tmpfs

  • It is NOT built against Steam Linux Runtime (Sniper, Soldier, etc) and as such it doesn't require it. Still, is detected by Steam and works properly (preferable through steam-native).

  • This PKGBUILD uses CFLAGS, CXXFLAGS and LDFLAGS hardcoded in the PKGBUILD itself. By default it uses the same C[XX]FLAGS as upstream, namely -march=nocona and -mtune=core-avx2. To change them you will have to edit the PKGBUILD itself. Due to the nature of this package some flags can cause it to fail to build or not function properly. I try to filter them out but it is based on testing. If you have a feeling that compile-time options are involved in the issues you are having please include them in your comment. Currently the filtered options are -fstack-protector-{,-strong,-all}(dxvk and vkd3d only), -fno-plt, -z,relro, -z,now. Also the use of AVX instructions is disabled through -mno-avx.

  • There have been reports with afdko failing to find its dependencies during building. I can't do anything about that as I don't maintain that package. It is NOT an issue with this package and I haven't found a way to not depend on it. Please don't report fails due to afdko (or any of its python- dependencies, they are pulled in due to afdko and only used by that), it has been discussed enough. There are possible workarounds in the comments.

  • It contains a patch to store game prefixes in the main Steam Library under $HOME/.local/share/Steam/steamapps/compatdata. It helps with isolation of game prefixes between users and works around issues with shared libraries on NTFS partitions due to drive symlinks. To enable it, set the PROTON_USER_COMPAT_DATA env variable to 1.

  • This package requires a Rust 32 bit target, please run rustup target install i686-unknown-linux-gnu BEFORE posting any issues if you're using rustup.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 23 Next › Last »

loathingkernel commented on 2022-12-25 12:21 (UTC)

That line is a residual from https://github.com/archlinux/svntogit-community/blob/abf380b1deda2ae65d28ff1f8f74d2c7ee11c7dd/trunk/PKGBUILD#L100

My understanding tells me though that it should be redundant too, so probably it can be removed.

brody commented on 2022-12-25 09:04 (UTC)

Please remove the line 101 from PKGBUILD. It is redundant. All packages that are in depends are automatically in makedepends.

diff --git a/PKGBUILD b/PKGBUILD
index 6cf8a96..08ca933 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -98,7 +98,6 @@ optdepends=(
   dosbox
 )

-makedepends=(${makedepends[@]} ${depends[@]})
 provides=('proton-native')
 conflicts=('proton-native')
 install=${pkgname}.install

eyrie88 commented on 2022-12-06 01:24 (UTC)

@loathingkernel thanks, 1:7.0.5-4 successfully upgrades now.

agaengel commented on 2022-12-05 12:05 (UTC)

Thanks @loathingkernel 1:7.0.5-4 works

loathingkernel commented on 2022-12-05 10:53 (UTC)

@eyrie88 @agaengel, so the issue is probably related to you building it in your system instead of a clean chroot, thus the build system finds more potential dependencies than listed in the PKGBUILD.

I imported the same "fix" I had done previously in proton-ge-custom, so it should build now properly.

agaengel commented on 2022-12-05 06:37 (UTC) (edited on 2022-12-05 06:42 (UTC) by agaengel)

Error updating from 1:7.0.4-4 to 1:7.0.5-3 on ARCH Found CMake: /usr/bin/cmake (3.25.1) Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig and cmake)

src-graphene/src/meson.build:111:2: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig and cmake

A full log can be found at /home/xxxxx/.cache/yay/proton/src/build/obj-graphene32/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
make[2]: *** [../proton/Makefile.in:486: /home/xxxxx/.cache/yay/proton/src/build/.graphene-configure32] Error 1
make[2]: Leaving directory '/home/xxxxx/.cache/yay/proton/src/build'
make[1]: *** [../proton/Makefile.in:121: container-build] Error 2
make[1]: Leaving directory '/home/xxxxx/.cache/yay/proton/src/build'
make: *** [../proton/Makefile.in:32: nested_make] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

This is the last part ofr the meson-log.txt file


Checking if "ARM NEON intrinsics" compiles: NO 
Configuring graphene-config.h using configuration
Configuring graphene-version.h using configuration
Configuring config.h using configuration
Program python3 found: YES (/usr/bin/python3)
Pkg-config binary for 1 is cached.
Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/i686-pc-linux-gnu-pkg-config'
env[PKG_CONFIG]: i686-pc-linux-gnu-pkg-config
env[PKG_CONFIG_PATH]: 
env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig:/usr/share/pkgconfig
Called `/usr/bin/i686-pc-linux-gnu-pkg-config --modversion gobject-introspection-1.0` -> 1

CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.25.1)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /home/xxxxx/.cache/yay/proton/src/build/obj-graphene32/meson-private/__CMake_compiler_info__ with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-G"
  - "Ninja"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/xxxxx/.cache/yay/proton/src/build/obj-graphene32/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /home/xxxxx/.cache/yay/proton/src/build/obj-graphene32/meson-private/cmake_gobject-introspection-1.0 with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/home/xxxxx/.cache/yay/proton/src/build/obj-graphene32/meson-private/cmake_gobject-introspection-1.0/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake
  -- CMake architectures:    ['libpyldb-util.cpython-310-x86-64-linux-gnu.so', 'libpyldb-util.cpython-310-x86-64-linux-gnu.so.2', 'libpyldb-util.cpython-310-x86-64-linux-gnu.so.2.6.1', 'libpyside2.cpython-310-x86_64-linux-gnu.so', 'libpyside2.cpython-310-x86_64-linux-gnu.so.5.15', 'libpyside2.cpython-310-x86_64-linux-gnu.so.5.15.7', 'libpytalloc-util.cpython-310-x86-64-linux-gnu.so', 'libpytalloc-util.cpython-310-x86-64-linux-gnu.so.2', 'libpytalloc-util.cpython-310-x86-64-linux-gnu.so.2.3.4', 'libsamba-policy.cpython-310-x86-64-linux-gnu.so', 'libsamba-policy.cpython-310-x86-64-linux-gnu.so.0', 'libsamba-policy.cpython-310-x86-64-linux-gnu.so.0.0.1', 'libshiboken2.cpython-310-x86_64-linux-gnu.so', 'libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15', 'libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15.7']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/libpyldb-util.cpython-310-x86-64-linux-gnu.so', 'lib/libpyldb-util.cpython-310-x86-64-linux-gnu.so.2', 'lib/libpyldb-util.cpython-310-x86-64-linux-gnu.so.2.6.1', 'lib/libpyside2.cpython-310-x86_64-linux-gnu.so', 'lib/libpyside2.cpython-310-x86_64-linux-gnu.so.5.15', 'lib/libpyside2.cpython-310-x86_64-linux-gnu.so.5.15.7', 'lib/libpytalloc-util.cpython-310-x86-64-linux-gnu.so', 'lib/libpytalloc-util.cpython-310-x86-64-linux-gnu.so.2', 'lib/libpytalloc-util.cpython-310-x86-64-linux-gnu.so.2.3.4', 'lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so', 'lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so.0', 'lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so.0.0.1', 'lib/libshiboken2.cpython-310-x86_64-linux-gnu.so', 'lib/libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15', 'lib/libshiboken2.cpython-310-x86_64-linux-gnu.so.5.15.7']
Preliminary CMake check failed. Aborting.
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig and cmake)

src-graphene/src/meson.build:111:2: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig and cmake

loathingkernel commented on 2022-12-04 23:40 (UTC)

@eyrie88, my CI built it correctly. You are on Manjaro so I don't know.

eyrie88 commented on 2022-12-04 22:40 (UTC)

Error upgrading from 1:7.0.4-4 to 1:7.0.5-3 on Manjaro

Found CMake: /usr/bin/cmake (3.24.3)
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig and cmake)

src-graphene/src/meson.build:111:2: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig and cmake

A full log can be found at /home/xxxxx/.aur/proton/src/build/obj-graphene32/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
make[2]: *** [../proton/Makefile.in:486: /home/xxxxx/.aur/proton/src/build/.graphene-configure32] Error 1
make[2]: Leaving directory '/home/xxxxx/.aur/proton/src/build'
make[1]: *** [../proton/Makefile.in:121: container-build] Error 2
make[1]: Leaving directory '/home/xxxxx/.aur/proton/src/build'
make: *** [../proton/Makefile.in:32: nested_make] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

gobject-introspection is installed from official and at v1.74.0-1