-   Slackware (
-   -   -current and Lutris (

trite 02-03-2019 02:45 PM

-current and Lutris

$ lutris
Traceback (most recent call last):
  File "/usr/bin/lutris", line 31, in <module>
    from lutris.gui.application import Application
  File "/usr/lib/python3.7/site-packages/lutris/gui/", line 30, in <module>
    gi.require_version("GnomeDesktop", "3.0")
  File "/usr/lib/python3.7/site-packages/gi/", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GnomeDesktop not available


Just removed all the calls for GnomeDesktop and WebKit2, then switched places on LegacyDisplayManager() and DisplayManager(). Anyone know any better solution?

I dont know how to get the same as these ones which seems to be the ones for debian.


At least it runs now.

Maybe I will try some deb2tgz thingy later on and see if it works.

trite 02-08-2019 10:40 AM

Installed these, not all of them are needed because I just took a chance with some:


Now its stuck on this:

bash-5.0$ lutris
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/lutris/gui/", line 174, in do_activate
    if not self.window:
AttributeError: 'Application' object has no attribute 'window'
Segmentation fault (core dumped)

The only thing I can think of now is to check dependencies for all the .deb I installed and try to continue. But it feels like I'll more or less end up with a debian system if I even get it to work.

...bleh, ideas?

*edit* tbh I thinks the most effortless way to make it run is to comment out tose lines in the py for GnomeDesktop and Webkit2 since it doesnt seem to affect lutris other than for GoG and some Gnome display thingy?.

nope, it became unstabble unable to open properties of a game. back to 0.4.23

gbschenkel 03-24-2019 04:18 AM

I manage to built it.

You will need the package gnome-desktop(which are in my repo) and the webkitgtk from sbo. The webkitgtk have a few dependencies, I hope you use sbopkg to handle it. I didn't have time to check the webkitgtk and dependencies versions if are up-to-date.

ReFracture 04-19-2019 08:29 AM

As usual I find my answer here on LQ.. thanks gbschenkel. Lutris 0.5 has been a real adventure to get working, I was happy to be able to find a pre compiled package for webkitgtk (took the better part of a day last time to compile that..) so I could compile gnome-desktop, but Lutris itself needed webkit2gtk in order to run.. that one took a while to compile, but Lutris is running now.

gbschenkel 04-19-2019 11:29 PM

Sorry, my link for gnome-desktop was pointing to a branch which I renamed. It only work on current, for 14.2 I manage to built a old package, 3.18 I think but I need check if it will work with Lutris, didn't have time.

dugan 04-22-2019 11:14 PM

I ended up reinventing all this because I didn't check the forum. Here's my Lutris 5 SlackBuild for -current:

Goes well with my Winetricks SlackBuild. Just make sure you have zenity (which really should be shipped with Slackware) installed.


gbschenkel 03-01-2020 01:06 AM

Lutris 0.5.4 is borked, use my lutris-git for latest version of Lutris on Current-PAM.

414N 03-20-2020 01:04 PM


Originally Posted by gbschenkel (Post 5986849)
Sorry, my link for gnome-desktop was pointing to a branch which I renamed. It only work on current, for 14.2 I manage to built a old package, 3.18 I think but I need check if it will work with Lutris, didn't have time.

I managed to get it to compile on 14.2 by using this patch that lowers version requirements in the file:

--- a/
+++ b/
@@ -17,11 +17,11 @@
 libversion = '19.0.2'
 soversion = libversion.split('.')[0]
-gdk_pixbuf_req = '>= 2.36.5'
+gdk_pixbuf_req = '>= 2.30.0'
 gtk_req = '>= 3.3.6'
-glib_req = '>= 2.53.0'
+glib_req = '>= 2.20.0'
 xrandr_req = '>= 1.3'
-schemas_req = '>= 3.27.0'
+schemas_req = '>= 3.15.0'
 xext_req = '>= 1.1'
 gnome = import('gnome')

After building the webkit2gtk package from SBo, Lutris 0.5.4 seems to be running fine now.

Nille_kungen 03-23-2020 01:21 PM

If anyone run current then they need to patch Lutris 0.5.4 or use git master.

Spinlock 03-25-2020 08:08 PM

Here's the patch Nille_kungen referred to, if anybody wants it:


--- lutris/gui/views/  2020-03-25 19:57:38.018444041 -0500
+++ lutris/gui/views/  2020-03-25 20:00:25.599428529 -0500
@@ -130,7 +130,11 @@
        self.prevent_sort_update = False  # prevent recursion with signals
        self.modelfilter =
-        self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
+        try:
+            self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
+        except AttributeError:
+            # Apparently some API breaking changes on GTK minor versions.
+            self.modelsort = Gtk.TreeModelSort.new_with_model(self.modelfilter)
        self.modelsort.connect("sort-column-changed", self.on_sort_column_changed)
        self.modelsort.set_sort_func(sort_col, sort_func, sort_col)
        self.sort_view(sort_key, sort_ascending)

Spinlock 04-01-2020 08:48 PM

Lutris 0.5.5 is out and includes this fix.

gbschenkel 04-02-2020 07:16 AM


Originally Posted by Spinlock (Post 6106829)
Lutris 0.5.5 is out and includes this fix.

enorbet 04-11-2020 11:14 PM

UPDATE - Although I still have my modded 14.2 install, for the past week I've been working with the latest -Current w/ KTown. I'm using kernel 5.5.12 and nVidia-64-440.82 and DXVK v1.6 and it runs REALLY great... I'm even getting better framerates in Dalaran on Wow-3.3.5a and it looks better too.

Incidentally dugan's wine-staging script built a great working package for Wine-Stagiung 5.5 and tonight I'll try for 5.6.... and maybe Lutris.

Candelabrus 04-22-2020 09:43 PM

i built wekkit2gtk today on current


biker_rat 11-23-2020 05:24 PM

I was going to start a new thread, but in the process of opening it I found this one, so I decided to make a revenant post on this one instead. I too was interested in lutris and discovered that it didn't "just work" on current. My solution was to install these latest testing (gnome 3.38) packages from saxa's site/project: gnome-desktop, webkitgtk, & libseccomp; and also "pip3 install" whatever python bits lutris complains are missing when trying to start it.I used the latest git version of lutris. The release tarball on the lutris download page only half works. This approach doesn't involve patching or compiling, so I thought it was useful to mention it here.

All times are GMT -5. The time now is 01:23 PM.