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.67
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 .. 11 12 13 14 15 16 17 18 19 20 21 .. 24 Next › Last »

awesome commented on 2020-07-06 16:11 (UTC)

I have wine-valve-5.11.1 and vkd3d-valve-1.1-2 installed.

When I try to compile, I get the following error

/usr/bin/ld: steamclient_main.o: in function load_steamclient.part.0': steamclient_main.c:(.text+0x40f): undefined reference towine_dlopen' /usr/bin/ld: steamclient_main.c:(.text+0x437): undefined reference to wine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x463): undefined reference towine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x48f): undefined reference to wine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x4bb): undefined reference towine_dlsym' /usr/bin/ld: steamclient_main.c:(.text+0x4ed): undefined reference to `wine_dlsym' collect2: error: ld returned 1 exit status winegcc: /usr/bin/g++ failed make: *** [Makefile:377: lsteamclient.dll.so] Error 2

Any idea? Thanks.

heavysink commented on 2020-06-13 16:41 (UTC)

It compiles now, using the wine-valve package (non-git). The git version is yet to be fixed.

heavysink commented on 2020-06-13 02:56 (UTC)

wine/list.h is an include file inside include/wine, and somehow it does not install to /usr/include/wine. I fixed it in the wine-valve package. In addition, the release version of wine-valve does not have wined3d-interlop.h, so I included one here.

kionez commented on 2020-05-19 07:50 (UTC)

wined3d-interop.h is included only in src/Proton-proton-5.0-7/vrclient_x64/vrclient_x64/vrclient_main.c (checked with grep -r), so sed command should be:

sed -i 's,wined3d-interop.h,wine/wined3d-interop.h,g' vrclient_x64/vrclient_x64/vrclient_main.c

but now it fails with

steamclient_main.c:13:10: fatal error: wine/list.h: No such file or directory

hwaiting commented on 2020-05-18 13:22 (UTC) (edited on 2020-05-18 13:23 (UTC) by hwaiting)

I fixed it by changing:

sed -i 's,wined3d-interop.h,wine/wined3d-interop.h,g' vrclient_x64/vrclient_x64/*

to

sed -i 's,wined3d-interop.h,wine/wined3d-interop.h,g' vrclient_x64/vrclient_x64/*.* 
sed -i 's,wined3d-interop.h,wine/wined3d-interop.h,g' vrclient_x64/vrclient_x64/*/*.*

But then the build still fails because the wine folder is empty, which I'm guessing should have been filled by the commented:

git clone --recurse-submodules https://github.com/ValveSoftware/Proton.git .