Back to the main site

Lutris wont open

hi im new to ubuntu i just switch over from windows i was installing lutris but i keep getting this error

“Traceback (most recent call last):
File “/usr/games/lutris”, line 54, in
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 53, in
from .lutriswindow import LutrisWindow
File “/usr/lib/python3/dist-packages/lutris/gui/lutriswindow.py”, line 26, in
from lutris.gui.widgets.sidebar import LutrisSidebar
File “/usr/lib/python3/dist-packages/lutris/gui/widgets/sidebar.py”, line 6, in
from lutris import platforms, runners, services
File “/usr/lib/python3/dist-packages/lutris/platforms.py”, line 19, in
_init_platforms()
File “/usr/lib/python3/dist-packages/lutris/platforms.py”, line 14, in _init_platforms
runner = runners.import_runner(runner_name)()
File “/usr/lib/python3/dist-packages/lutris/runners/wine.py”, line 229, in init
“default”: dxvk.DXVKManager().version,
File “/usr/lib/python3/dist-packages/lutris/util/wine/dxvk.py”, line 56, in version
return self.versions[0]
File “/usr/lib/python3/dist-packages/lutris/util/wine/dxvk.py”, line 45, in versions
self._versions = self.load_dxvk_versions()
File “/usr/lib/python3/dist-packages/lutris/util/wine/dxvk.py”, line 66, in load_dxvk_versions
dxvk_versions = [v[“tag_name”] for v in json.load(dxvk_version_file)]
File “/usr/lib/python3.8/json/init.py”, line 293, in load
return loads(fp.read(),
File “/usr/lib/python3.8/json/init.py”, line 357, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.8/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.8/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)”

I’m also having this issue.

It’s was printing this at first: https://paste.ubuntu.com/p/vKhBSVJd89/
from what I understoodn, this file was missing /home/myuser/.local/share/lutris/runtime/dxvk/dxvk_versions.json, so I added it using touch command, and that’s where it printed the same issue as above (my version of the issue: https://paste.ubuntu.com/p/XBZH22Dptq)

One dirty workaround I tried is I commented the DXVK entry in runner_options array inside wine.py (line 223 to 230) wish made lutris open but it was buggy and couldn’t run games I can run with wine command.

I’m using KDE neon with this hardware:
CPU: i5-5200U
GPU: Intel HD Graphics 5500
RAM: 12GB DDR3

I also installed wine as described in the github dependencies doc.

I’m also new to linux and would really appreciate any help.

yeah im still having this issue