Lutris: Wine: Using 'Proton 5.0' doesn't work, gives several python errors, libselinux.so.1 error

Created on 22 Mar 2020  路  4Comments  路  Source: lutris/lutris

Describe the bug
When I setup a game with "Proton 5.0" as 'Wine version', the game doesn't attempt to launch.
Logs show:
Traceback (most recent call last):
File "/usr/bin/lutris-wrapper", line 9, in
from lutris.util.monitor import ProcessMonitor
File "/usr/lib/python3.8/site-packages/lutris/util/monitor.py", line 5, in
from lutris.util.log import logger
File "/usr/lib/python3.8/site-packages/lutris/util/log.py", line 6, in
from gi.repository import GLib
File "/usr/lib/python3.8/site-packages/gi/__init__.py", line 42, in
from . import _gi
ImportError: libselinux.so.1: cannot open shared object file: No such file or directory

Expected behavior
The game should (at least attempt to) launch.
This issue doesn't happen with the older 'Proton 4.11'.

Current behavior
Nothing happens after I press 'Play'

Steps to reproduce
Setup any game with Runner = Wine
Select 'Proton 5.0' under Wine version (Needs steam for linux and steamplay installed on system?)
Press 'Play' to start game

Lutris debugging output
Lutris-d.txt

System information
lutris-issue-report.json.zip

backtrace available

Most helpful comment

Installing libselinux from AUR solve the problem.

All 4 comments

I found out that this problem goes away when I disable 'Prefer system libraries'.
Seems to be an issue between my Arch Linux system and the Proton build?

Installing libselinux from AUR solve the problem.

@RiantAnda How is Lutris detecting your Proton versions without them in ~/.local/share/lutris/runners/wine/?

Lutris has never detected anything in ~/.steam/root/compatibilitytools.d/ or the Steam official Proton for me, there's even open bug reports about it, and we never even got any confirmation that it's supposed to show up at all.

@gardotd426
I can't answer your questions. It worked for me ever since, so I opened this issue.
Because the devs accepted it, I assume this if officially supported.
My proton versions are in $HOME/.local/share/Steam/steamapps/common

Was this page helpful?
0 / 5 - 0 ratings

Related issues

telanus picture telanus  路  4Comments

tannisroot picture tannisroot  路  4Comments

life8853 picture life8853  路  4Comments

telanus picture telanus  路  4Comments

Keyhaku picture Keyhaku  路  3Comments