Lutris only works as root

As the title says, Lutris only launches with sudo from terminal, nothing else works.
lutris -d and lutris --submit-issue both have the output seen on the screenshot.
I’ve tried reinstalling everything, deleting the lutris folders in .cache and .local, etc, and nothing seems to work.
Please help!

Edit: Wine also doesn’t work, neither does Proton. Here’s a log of me trying to run iexplore in the default prefix:

sixene@sixene-arch: ~/.wine/drive_c/Program Files/Internet Explorer $ wine iexplore.exe 
0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0120:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0120:fixme:file:NtLockFile I/O completion on lock not implemented yet

Proton via Steam is either stuck on first time setup (Fallout 76) or says it’s running without actually running (Portal 2)

Hi,
for the first problem, I think you need to configure either your gtk or it is highly probable that you have permission options.

  • For this case, try using gtk-chtheme set the gtk theme, its been a while I used kde so I don’t know if KDE has a way to set gtk config option.

For the second problem, can you post details of your system and what drivers are you using for your gpu?.

Also check this page:

Hi, thanks for the response!
The gtk issue was because I’m using a minimal version of kde, I fixed it with the post you linked.
For the main issue, here’s details of my system and drivers (hope i took the right screenshots):


I also think it might be a permission issue, however i did:

sudo chmod +rwx -R /home/sixene
sudo chown sixene -R /home/sixene

(i also tried /home/sixene/)
To try to resolve any permission issues in my user’s home folder, but it didn’t make any difference.

I would try downloading the git master, then run it from there directly

#Git folder#/bin/lutris

If that runs then there is something wrong with the install from pacman, also did you installed from AUR?

A little more background, lutris is basically a bunch of python scripts so it should run just fine…

Actually that gives me an idea, is your Python installation working for the normal user?

My Python installation seems to be working fine, however running lutris from the git master still produces the same result:

sixene@sixene-arch: ~/Downloads/lutris/lutris-master/bin $ ./lutris
Failed to register: Timeout was reached

Interesting… Look at this post:

I tried the command in the post, sadly to no avail even after a restart, and I also tried inxi -b which does nothing for me, I don’t have the command. lutris -d still also has no output. However, lutris.log finally had some output in it, so I’ll share that:

[INFO:2022-04-30 20:50:37,933:startup]: Starting Lutris 0.5.10.1
[WARNING:2022-04-30 20:50:39,331:libretro]: No folder at /home/sixene/.local/share/lutris/runners/retroarch/
[INFO:2022-04-30 20:50:41,167:__init__]: Running migration: mess_to_mame
[INFO:2022-04-30 20:50:41,201:__init__]: Running migration: migrate_hidden_ids
[INFO:2022-04-30 20:50:41,202:__init__]: Running migration: migrate_steam_appids
[INFO:2022-04-30 20:50:41,223:__init__]: Running migration: migrate_banners
[INFO:2022-04-30 20:50:41,246:startup]: Using NVIDIA drivers 510.60.02 for x86_64
[INFO:2022-04-30 20:50:41,246:startup]: GPU: NVIDIA GeForce GTX 1080
[INFO:2022-04-30 20:50:41,246:startup]: GPU: 10DE:1B80 10DE:119E (nvidia drivers)
[INFO:2022-05-01 09:19:50,817:startup]: Starting Lutris 0.5.10.1
[WARNING:2022-05-01 09:19:51,125:libretro]: No folder at /home/sixene/.local/share/lutris/runners/retroarch/
[INFO:2022-05-01 09:19:51,370:startup]: Using NVIDIA drivers 510.60.02 for x86_64
[INFO:2022-05-01 09:19:51,370:startup]: GPU: NVIDIA GeForce GTX 1080
[INFO:2022-05-01 09:19:51,370:startup]: GPU: 10DE:1B80 10DE:119E (nvidia drivers)
[INFO:2022-05-01 10:50:03,466:startup]: Starting Lutris 0.5.10.1
[WARNING:2022-05-01 10:50:04,741:libretro]: No folder at /home/sixene/.local/share/lutris/runners/retroarch/
[INFO:2022-05-01 10:50:05,385:startup]: Using NVIDIA drivers 510.60.02 for x86_64
[INFO:2022-05-01 10:50:05,385:startup]: GPU: NVIDIA GeForce GTX 1080
[INFO:2022-05-01 10:50:05,385:startup]: GPU: 10DE:1B80 10DE:119E (nvidia drivers)

That log looks fairly normal

That’s why I don’t understand what’s going on, lutris, wine and proton all just randomly stopped working when I booted yesterday, with lutris at least working via sudo.

You could check what was last installed:

grep -i installed /var/log/pacman.log

Or upgraded

grep -i upgraded /var/log/pacman.log

Well, this is what I found with the ‘upgraded’ command, but there isn’t really anything I can spot that stands out:

[2022-04-28T17:53:14+0200] [ALPM] upgraded alsa-card-profiles (1:0.3.50-1 -> 1:0.3.50-2)
[2022-04-28T17:53:14+0200] [ALPM] upgraded bison (3.8.2-3 -> 3.8.2-4)
[2022-04-28T17:53:14+0200] [ALPM] upgraded brotli (1.0.9-7 -> 1.0.9-8)
[2022-04-28T17:53:14+0200] [ALPM] upgraded gnome-desktop-common (1:42.0-1 -> 1:42.1-1)
[2022-04-28T17:53:14+0200] [ALPM] upgraded gnome-desktop (1:42.0-1 -> 1:42.1-1)
[2022-04-28T17:53:14+0200] [ALPM] upgraded smbclient (4.16.0-5 -> 4.16.0-6)
[2022-04-28T17:53:14+0200] [ALPM] upgraded kio-extras (22.04.0-1 -> 22.04.0-2)
[2022-04-28T17:53:14+0200] [ALPM] upgraded libcgif (0.2.1-1 -> 0.3.0-1)
[2022-04-28T17:53:14+0200] [ALPM] upgraded libmm-glib (1.18.6-1 -> 1.18.6-2)
[2022-04-28T17:53:14+0200] [ALPM] upgraded libnotify (0.7.9-2 -> 0.7.11-1)
[2022-04-28T17:53:14+0200] [ALPM] upgraded libpipeline (1.5.5-1 -> 1.5.6-1)
[2022-04-28T17:53:15+0200] [ALPM] upgraded libslirp (4.6.1-1 -> 4.7.0-1)
[2022-04-28T17:53:22+0200] [ALPM] upgraded linux (5.17.4.arch1-1 -> 5.17.5.arch1-1)
[2022-04-28T17:53:23+0200] [ALPM] upgraded linux-headers (5.17.4.arch1-1 -> 5.17.5.arch1-1)
[2022-04-28T17:53:24+0200] [ALPM] upgraded linux-zen (5.17.4.zen1-1 -> 5.17.5.zen1-1)
[2022-04-28T17:53:26+0200] [ALPM] upgraded linux-zen-headers (5.17.4.zen1-1 -> 5.17.5.zen1-1)
[2022-04-28T17:53:26+0200] [ALPM] upgraded luit (20210218-1 -> 20220111-1)
[2022-04-28T17:53:26+0200] [ALPM] upgraded nodejs-lts-gallium (16.14.2-2 -> 16.15.0-1)
[2022-04-28T17:53:26+0200] [ALPM] upgraded nvidia (510.60.02-16 -> 510.60.02-17)
[2022-04-28T17:53:26+0200] [ALPM] upgraded pciutils (3.7.0-2 -> 3.8.0-1)
[2022-04-28T17:53:26+0200] [ALPM] upgraded pipewire (1:0.3.50-1 -> 1:0.3.50-2)
[2022-04-28T17:53:26+0200] [ALPM] upgraded pipewire-alsa (1:0.3.50-1 -> 1:0.3.50-2)
[2022-04-28T17:53:26+0200] [ALPM] upgraded pipewire-pulse (1:0.3.50-1 -> 1:0.3.50-2)
[2022-04-28T17:53:27+0200] [ALPM] upgraded vim-runtime (8.2.4651-1 -> 8.2.4827-1)
[2022-04-28T17:53:27+0200] [ALPM] upgraded vim (8.2.4651-1 -> 8.2.4827-1)
[2022-04-28T17:53:27+0200] [ALPM] upgraded xfce4-settings (4.16.2-1 -> 4.16.2-2)
[2022-04-28T17:53:27+0200] [ALPM] upgraded zenity (3.42.0-1 -> 3.42.1-1)
[2022-04-28T18:02:28+0200] [ALPM] upgraded bcompare (4.4.1.26165-1 -> 4.4.2.26348-1)
[2022-04-28T18:03:50+0200] [ALPM] upgraded bcompare-kde5 (4.4.1.26165-1 -> 4.4.2.26348-1)
[2022-04-28T18:03:53+0200] [ALPM] upgraded bdf-unifont (14.0.01-1 -> 14.0.03-1)
[2022-04-28T18:06:16+0200] [ALPM] upgraded cef-minimal (96.0.18-1 -> 99.2.14-1)
[2022-04-28T18:06:18+0200] [ALPM] upgraded discord-chat-exporter-cli (2.32-1 -> 2.34-1)
[2022-04-28T18:06:27+0200] [ALPM] upgraded jre8 (8u321-1 -> 8u331-1)
[2022-04-28T22:07:19+0200] [ALPM] upgraded libgudev (237-1 -> 237-2)
[2022-04-30T20:14:41+0200] [ALPM] upgraded iana-etc (20220325-1 -> 20220427-1)
[2022-04-30T20:14:44+0200] [ALPM] upgraded systemd-libs (250.4-2 -> 250.5-1)
[2022-04-30T20:14:45+0200] [ALPM] upgraded curl (7.82.0-3 -> 7.83.0-1)
[2022-04-30T20:14:46+0200] [ALPM] upgraded libnl (3.6.0-1 -> 3.6.0-3)
[2022-04-30T20:14:46+0200] [ALPM] upgraded systemd (250.4-2 -> 250.5-1)
[2022-04-30T20:14:51+0200] [ALPM] upgraded sqlite (3.38.2-1 -> 3.38.3-1)
[2022-04-30T20:14:51+0200] [ALPM] upgraded gnutls (3.7.4-1 -> 3.7.4-2)
[2022-04-30T20:14:54+0200] [ALPM] upgraded alsa-card-profiles (1:0.3.50-2 -> 1:0.3.51-1)
[2022-04-30T20:15:01+0200] [ALPM] upgraded sdl2 (2.0.20-2 -> 2.0.22-1)
[2022-04-30T20:15:08+0200] [ALPM] upgraded btrfs-progs (5.16.2-1 -> 5.17-1)
[2022-04-30T20:15:11+0200] [ALPM] upgraded libspeechd (0.11.1-2 -> 0.11.1-3)
[2022-04-30T20:15:14+0200] [ALPM] upgraded cifs-utils (6.14-1 -> 6.15-1)
[2022-04-30T20:15:23+0200] [ALPM] upgraded electron (18.0.3-2 -> 18.2.0-1)
[2022-04-30T20:15:48+0200] [ALPM] upgraded libfilezilla (1:0.37.1-1 -> 1:0.37.2-1)
[2022-04-30T20:16:05+0200] [ALPM] upgraded libmm-glib (1.18.6-2 -> 1.18.8-1)
[2022-04-30T20:18:37+0200] [ALPM] upgraded iproute2 (5.17.0-2 -> 5.17.0-3)
[2022-04-30T20:18:43+0200] [ALPM] upgraded pipewire (1:0.3.50-2 -> 1:0.3.51-1)
[2022-04-30T20:18:44+0200] [ALPM] upgraded lib32-systemd (250.4-1 -> 250.5-1)
[2022-04-30T20:18:48+0200] [ALPM] upgraded lib32-curl (7.82.0-1 -> 7.83.0-1)
[2022-04-30T20:18:58+0200] [ALPM] upgraded lib32-libcurl-compat (7.82.0-1 -> 7.83.0-1)
[2022-04-30T20:18:58+0200] [ALPM] upgraded lib32-libcurl-gnutls (7.82.0-1 -> 7.83.0-1)
[2022-04-30T20:18:58+0200] [ALPM] upgraded lib32-libnl (3.5.0-1 -> 3.6.0-1)
[2022-04-30T20:18:58+0200] [ALPM] upgraded lib32-pipewire (1:0.3.50-1 -> 1:0.3.51-1)
[2022-04-30T20:19:00+0200] [ALPM] upgraded libcurl-compat (7.82.0-3 -> 7.83.0-1)
[2022-04-30T20:19:00+0200] [ALPM] upgraded libcurl-gnutls (7.82.0-3 -> 7.83.0-1)
[2022-04-30T20:19:16+0200] [ALPM] upgraded libvirt (1:8.2.0-4 -> 1:8.2.0-7)
[2022-04-30T20:21:06+0200] [ALPM] upgraded nano (6.2-1 -> 6.3-1)
[2022-04-30T20:21:39+0200] [ALPM] upgraded oniguruma (6.9.7.1-2 -> 6.9.8-1)
[2022-04-30T20:21:43+0200] [ALPM] upgraded pipewire-alsa (1:0.3.50-2 -> 1:0.3.51-1)
[2022-04-30T20:21:43+0200] [ALPM] upgraded pipewire-pulse (1:0.3.50-2 -> 1:0.3.51-1)
[2022-04-30T20:21:58+0200] [ALPM] upgraded python-click (8.1.2-1 -> 8.1.3-1)
[2022-04-30T20:22:26+0200] [ALPM] upgraded systemd-sysvcompat (250.4-2 -> 250.5-1)
[2022-04-30T20:22:41+0200] [ALPM] upgraded thunar (4.16.11-1 -> 4.16.11-2)
[2022-04-30T20:22:42+0200] [ALPM] upgraded thunar-archive-plugin (0.4.0-3 -> 0.5.0-1)
[2022-04-30T20:22:43+0200] [ALPM] upgraded transmission-gtk (3.00-3 -> 3.00-4)

Also when I said I reinstalled everything, I mean I reinstalled all 1357 or so of my packages.
Maybe I could try to clean reinstall them, but I don’t know how with pacman. I want to avoid reinstalling my entire os, because I have some VMs set up that took a while and I don’t want to lose, but at this point I have no idea what else to try. How can I make sure there’s no permission issues? Maybe that could help.

You and I run very similar Arch installs, I definitely would not suggest to do a clean install as this comes after an update.

First try other DE, something light like xfce and see if Lutris works there. I am using a modified dwm.

When you run lutris -d you say you don’t get any output. Do you mean no output at all? or the same “Failed to register: Timeout was reached”

So, when I run lutris -d or lutris --submit-issue it’s both the same “Failed to register: Timeout was reached” output. I’ve tried xfce as well, same behaviour, and I even tried installing gnome as a third DE, but same behaviour.

Have you tried restarting your computer 2 or 3 times? according to Mr. Google that is the solution to your problem.

As an additional note, check your logs:

journalctl -r

Yeah, I usually shut it down for the night, but just in case, I just restarted it 2 times and nothing changed.
However, I finally have logs I can show, thanks to journalctl.
This is the output I get from journalctl -r up to the line where I start Lutris:

May 01 22:01:52 sixene-arch systemd[807]: Started Konsole - Terminal.
May 01 22:01:52 sixene-arch plasmashell[885]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:366: Unable to assign [undefined] to QString
May 01 22:01:51 sixene-arch kwin_x11[852]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15900, resource id: 12583025, major code: 18 (ChangeProperty), minor code: 0
May 01 22:01:51 sixene-arch systemd[807]: app-org.kde.konsole-d0242a29a5934964b4e930a74f867002.scope: Consumed 3.423s CPU time.
May 01 22:01:51 sixene-arch kwin_x11[852]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15771, resource id: 54526118, major code: 18 (ChangeProperty), minor code: 0
May 01 22:01:49 sixene-arch konsole[1269]: kf.notifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
May 01 21:59:40 sixene-arch systemd[1]: libvirtd.service: Unit process 720 (dnsmasq) remains running after unit stopped.
May 01 21:59:40 sixene-arch systemd[1]: libvirtd.service: Unit process 719 (dnsmasq) remains running after unit stopped.
May 01 21:59:40 sixene-arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=libvirtd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 01 21:59:40 sixene-arch kernel: audit: type=1131 audit(1651435180.088:134): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=libvirtd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 01 21:59:40 sixene-arch systemd[1]: libvirtd.service: Deactivated successfully.
May 01 21:59:26 sixene-arch xdg-desktop-portal-kde[1104]: xdp-kde-background: GetAppState called: no parameters
May 01 21:58:56 sixene-arch xdg-desktop-portal-kde[1104]: xdp-kde-background: GetAppState called: no parameters
May 01 21:58:49 sixene-arch dbus-daemon[819]: [session uid=1000 pid=819] Activated service 'org.kde.KSplash' failed: Process org.kde.KSplash exited with status 1
May 01 21:58:49 sixene-arch plasma_waitforname[825]: org.kde.knotifications: WaitForName: Service was not registered within timeout
May 01 21:58:45 sixene-arch xdg-desktop-por[1062]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_41/gtk1180803289'
May 01 21:58:45 sixene-arch xdg-desktop-por[1062]: A backend call failed: No such method 'CreateMonitor' in interface 'org.freedesktop.impl.portal.Inhibit' at object path '/org/freedesktop/portal/desktop' (signature 'ooss')
May 01 21:58:40 sixene-arch systemd[807]: Started Lutris.
May 01 21:58:40 sixene-arch kwin_x11[852]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5972, resource id: 12583024, major code: 18 (ChangeProperty), minor code: 0

Maybe we can figure something out with this, sadly I’m not proficient enough to really understand it.

Is transmission working? That is also a gtk application

Yes, transmission works fine. Here’s journalctl when I launch it if that helps.

sixene@sixene-arch: ~ $ journalctl -r
May 02 13:28:12 sixene-arch xdg-desktop-portal-kde[1093]: xdp-kde-background: GetAppState called: no parameters
May 02 13:28:08 sixene-arch pipewire-pulse[1172]: 536870912
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Supervising 5 threads of 3 processes of 1 users.
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Successfully made thread 1173 of process 1170 owned by '1000' RT at priority 20.
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Supervising 4 threads of 3 processes of 1 users.
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Supervising 4 threads of 3 processes of 1 users.
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Supervising 4 threads of 3 processes of 1 users.
May 02 13:28:08 sixene-arch rtkit-daemon[1090]: Successfully made thread 1170 of process 1170 owned by '1000' high priority at nice level -11.
May 02 13:28:07 sixene-arch systemd[827]: Started PipeWire PulseAudio.
May 02 13:28:06 sixene-arch systemd[827]: Started Transmission - BitTorrent Client.

Can you try:

killall lutris

Then run lutris again, some other programs report that there is a Dbus issue that causes programs to no work sometimes.

Also for the Proton Wine issue do you have logs or is that already working?

killall lutris didn’t work, it just said ‘no process found’.
I posted some logs in my first post’s edits for wine, but sadly I can’t get any logs from Proton.
This is all I get from Steam via terminal when I try to launch a Proton game:

GameAction [AppID 317400, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
[2022-05-02 18:26:36.040] [MANGOHUD] [info] [config.cpp:114] skipping config: '/home/sixene/.config/MangoHud/wine-explorer.conf' [ not found ]
[2022-05-02 18:26:36.040] [MANGOHUD] [info] [config.cpp:114] skipping config: '/home/sixene/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/MangoHud.conf' [ not found ]
[2022-05-02 18:26:36.040] [MANGOHUD] [info] [config.cpp:114] skipping config: '/home/sixene/.config/MangoHud/wine64-preloader.conf' [ not found ]
[2022-05-02 18:26:36.040] [MANGOHUD] [info] [config.cpp:119] parsing config: '/home/sixene/.config/MangoHud/MangoHud.conf'
sh: 1: glxinfo: not found

It also just gets stuck on this window:
help4
Also here’s the Wine logs from the first post so you don’t have to search:

sixene@sixene-arch: ~/.wine/drive_c/Program Files/Internet Explorer $ wine iexplore.exe 
0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0120:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0120:fixme:file:NtLockFile I/O completion on lock not implemented yet