Package Details: proton 2:9.0.3.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: 112
Popularity: 1.70
First Submitted: 2018-08-22 01:23 (UTC)
Last Updated: 2024-10-02 13:01 (UTC)

Dependencies (115)

Required by (4)

Sources (10)

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 .. 24 Next › Last »

bquast commented on 2023-05-04 11:41 (UTC)

In file included from /home/bquast/.cache/yay/proton/src/build/src-wine/include/rpc.h:59, from /home/bquast/.cache/yay/proton/src/build/src-wine/include/windows.h:60, from steam.cpp:37: /home/bquast/.cache/yay/proton/src/build/src-wine/include/rpcasync.h:139:7: error: declaration of ‘_RPC_ASYNC_NOTIFICATION_INFO::<unnamed struct> _RPC_ASYNC_NOTIFICATION_INFO::HWND’ changes meaning of ‘HWND’ [-Wchanges-meaning] 139 | } HWND; | ^~~~

Duumbo commented on 2023-03-09 01:55 (UTC)

Hi, I ran into a dependency issue as patch (core) was not installed on my machine. I am fairly new to the AUR so pardon me if this issue is redundant. Thanks for this package!

moonblue commented on 2023-02-10 21:16 (UTC) (edited on 2023-02-10 21:20 (UTC) by moonblue)

Hello, I had a build fail with /usr/include/libzvbi.h:28:10: fatal error: version.h: No such file or directory. This is not a problem with this proton package, but instead with its zvbi dependency as described at https://bugs.archlinux.org/task/77452.

I got the build to pass by reverting the change in /usr/include/libzvbi.h, replacing:

#include "version.h"

with:

#define VBI_VERSION_MAJOR 0
#define VBI_VERSION_MINOR 2
#define VBI_VERSION_MICRO 40

Thank you for making this package available! HTH

leebut commented on 2023-01-17 16:58 (UTC)

@loathingkernel,

Hello. Thanks for your help.

I did read it, but as I wrote, I didn't understand what the error meant. It happened when I tried to install Proton, which is why I posted it here.

Thanks all the same.

loathingkernel commented on 2023-01-16 14:27 (UTC) (edited on 2023-01-16 14:28 (UTC) by loathingkernel)

@leebut That's from a dependency, python-pyclipper to be exact. Why are you posting this there without reading it first?

leebut commented on 2023-01-16 13:46 (UTC)

Build fails, and I'm not sure what the error means:

Preparing...
Checking proton dependencies...
Checking afdko dependencies...
Checking python-booleanoperations dependencies...
Checking python-defcon dependencies...
Checking python-fontmath dependencies...
Checking python-fontparts dependencies...
Checking python-fontpens dependencies...
Checking python-ufonormalizer dependencies...
Checking python-ufoprocessor dependencies...
Checking psautohint dependencies...
Checking python-pyclipper dependencies...
Checking python-mutatormath dependencies...
Resolving dependencies...
Checking inter-conflicts...
Warning: dependency cycle detected:
Warning: python-fontpens will be installed before its python-fontparts dependency
Cloning python-pyclipper build files...
Generating python-pyclipper information...

Building python-pyclipper...
==> Making package: python-pyclipper 1.3.0.post4-2 (Mon 16 Jan 2023 21:31:35 CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading pyclipper-1.3.0.post4.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0

 81  131k   81  107k    0     0  33707      0  0:00:03  0:00:03 --:--:-- 33707
100  131k  100  131k    0     0  39920      0  0:00:03  0:00:03 --:--:--  213k
  -> Found update-scm-version.patch
==> Validating source files with sha256sums...
    pyclipper-1.3.0.post4.tar.gz ... Passed
    update-scm-version.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting pyclipper-1.3.0.post4.tar.gz with bsdtar
==> Starting prepare()...
patching file pyproject.toml
==> Starting build()...

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/build/__main__.py", line 373, in main
    built = build_call(
  File "/usr/lib/python3.10/site-packages/build/__main__.py", line 204, in build_package
    builder = _ProjectBuilder(srcdir)
  File "/usr/lib/python3.10/site-packages/build/__init__.py", line 308, in __init__
    self._hook = pep517.wrappers.Pep517HookCaller(
TypeError: Pep517HookCaller.__init__() got an unexpected keyword argument 'python_executable'

ERROR Pep517HookCaller.__init__() got an unexpected keyword argument 'python_executable'
==> ERROR: A failure occurred in build().
    Aborting...

Shadowphoenix commented on 2023-01-13 00:04 (UTC)

hm wait, i didnt check that - my bad, shame on me for jumping to conclusions. but i have 0 clue which one of the packages it could be. i guess i need to browse the dependencytree then

loathingkernel commented on 2023-01-12 12:57 (UTC)

@Shadowphoenix I'll check, but are you sure it is this package and not one of the dependencies? This package doesn't build any python packages directly.

Shadowphoenix commented on 2023-01-12 08:38 (UTC) (edited on 2023-01-12 08:38 (UTC) by Shadowphoenix)

this script currently doesnt work properly: it is unable to find python-setuptools-scm-git-archive according to yay.

my suggestion would be to include pip install setuptools-scm-git-archive (and obviously python-pip as a parent-dependency) somewhere to fix this.

a quick google search also gave me this:

https://pypi.org/project/setuptools-scm-git-archive/ which refers to python-setuptools-scm-git-archive as being obsolete in favor of setuptools_scm 7.0.0 and newer.

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.