Package Details: proton-native 1:5.0.9-1

Git Clone URL: (read-only, click to copy)
Package Base: proton-native
Description: Compatibility tool for Steam Play based on Wine and additional components. Monolithic distribution
Upstream URL:
Keywords: dxvk proton steam wine
Licenses: custom
Submitter: loathingkernel
Maintainer: loathingkernel
Last Packager: loathingkernel
Votes: 3
Popularity: 0.022682
First Submitted: 2019-11-12 13:24
Last Updated: 2020-06-12 00:21

Dependencies (159)

Required by (0)

Sources (21)

Pinned Comments

yochananmarqos commented on 2020-02-09 14:53

@nisarg13: You can use my afdko PKGBUILD to resolve that.

Latest Comments

1 2 3 Next › Last »

loathingkernel commented on 2020-04-16 13:54

@yochananmarqos You are correct, neither does pacman. Thanks for pointing it out. I will add an epoch. Annoyingly, upstream is using the exact opposite convention for versioning than pacman and I hadn't looked it up.

yochananmarqos commented on 2020-04-16 13:28

@loathingkernel: You'll have to add an epoch otherwise AUR helpers won't see 5.0.6 as an update.

yochananmarqos commented on 2020-02-25 15:23

@SpaceGuy: That's an issue with afdko's dependencies, not this package. Do not use pip to install anything. See my comment on the afdko page.

SpaceGuy commented on 2020-02-25 12:36

If anyone gets errors because of missing dependencies for python-ufoprocessor (especially for python-fontparts, python-fontpens and python-booleanoperations), it might be a workaround to install python-ufoprocessor with pip. Also if errors occur about missing brotli or zopfli it seems to work if you install them over pip as well. I can confirm that @yochanmarqos's PKGBUILD works. Sorry if I missed something.

yochananmarqos commented on 2020-02-09 14:53

@nisarg13: You can use my afdko PKGBUILD to resolve that.

loathingkernel commented on 2020-02-09 14:34

@nisarg13 Did you file an orphan request because you had an issue? Seriously?

In any way, the issue you are having is not related to this package but to afdko, it is because it can't find the exact version of a library it requires as in indicated in this line

pkg_resources.DistributionNotFound: The 'ufoProcessor<=1.0.6,>=1.0.5' distribution was not found and is required by afdko

You can either ask there for a fix, or create a python virtualenv, install afdko with pip and use that environment and makepkg to build proton-native

nisarg13 commented on 2020-02-09 09:05

This error pops up while building the package

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 583, in _build_master
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (ufoProcessor 1.8 (/usr/lib/python3.8/site-packages), Requirement.parse('ufoProcessor<=1.0.6,>=1.0.5'), {'afdko'})
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/makeotf", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3252, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ufoProcessor<=1.0.6,>=1.0.5' distribution was not found and is required by afdko
make[1]: *** [../proton/build/makefile_base.mak:1881: obj-fonts/SourceHanSansSCRegular.otf] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-nisarg/proton-native/src/build'
make: *** [../proton/build/makefile_base.mak:17: nested_make] Error 2
==> ERROR: A failure occurred in build().

loathingkernel commented on 2020-01-16 13:46

Yeah, I should stop pushing changes in the late night. I messed up the CFLAGS filter. Will fix.

That explains some of the issues I have been having with the latest version myself. In my case it is that dxvk (and wine for that matter) really dislikes being build with AVX. In your specific case though it was the -fstack-protector[-whatever] flag.

Anyways the relevant sections in the PKGBUILD should be

dxvk_cflags="${dxvk_cflags// -O+([0-3s]|fast)/}"

dxvk_cflags="${dxvk_cflags/ -fno-plt/}"

Will push the fix when I test it again.

yochananmarqos commented on 2020-01-15 22:49

meson is required to build:

/bin/bash: line 1: meson: command not found
make[1]: *** [../proton/build/makefile_base.mak:1239: obj-dxvk32/] Error 127
make[1]: Leaving directory '/home/yochanan/Documents/pkgbuilds/proton-native/src/build'
make: *** [../proton/build/makefile_base.mak:17: nested_make] Error 2

EDIT: Probably glslang as well since it's required to build dxvk-mingw.

EDIT: ...and it failed to build again, not sure why this time. Here's the relevant part of the build log:

loathingkernel commented on 2020-01-14 22:01

As far as wine-valve-git is concerned, I am against it because it would require extensive patching to proton to use it from the system-wide installation path, and it would require replacing the official wine or wine-staging packages. Personally I use wine-staging from the repos to run games outside steam. Also, wine-valve-git is installed to the regular paths /usr/lib32 and /usr/lib where wine built to be used with proton uses usr/lib and usr/lib64 respectively. There are a few other subtle differences here and there and that is why I used this route (patching the makefile) to build proton locally. Also, I like having control over how wine is built to avoid inconsistencies.

I have considered adding vkd3d-valve-git and lib32-vkd3d-valve-git in the previous release that it wouldn't build without vkd3d from valve. I don't like that they are git packages and don't point to specific fragments and that they require spirv-headers-git. If they were in sync with the commit of the submodule in proton I would reconsider it. Also I am not sure where I stand in requiring to replace them system-wide. I don't want to force any specific version of another package if I don't need to onto anyone using proton-native. On the other hand, they add about 5Mb to the installation, IIRC, so space-wise it is negligible.

Also, what the fuck is dxvk_config? Fucking hell, it's gonna have to build dxvk now too...

@yochananmarqos: I would also like your input on using a python virtualenv and installing afdko through pip install during the build process to use that to build the fonts. Usually whenever I try to build proton-native there is a version mismatch in one of the python libraries required by afdko. I know, doing that it is fugly and I hate it myself, but have you experienced it yourself? Do you have any better solutions or suggestions?