m4dEngi / RemotePlayWhatever

Tiny application that lets you force remote play together any game you have in your steam library including non-steam ones.
MIT License
1.02k stars 38 forks source link

AppImage wants gtk packages on steam deck, terminates #80

Open staticnation opened 1 year ago

staticnation commented 1 year ago

Unexpected parameter './RemotePlayWhatever-0.2.0-x86_64.AppImage'
Usage: remoteplaywhatever [-h] [-v] [-a <num>] [-i <str>]
  -h, --help            show this help message
  -v, --verbose         verbose output
  -a, --appid=<num>     AppID for non-steam games
  -i, --invitee=<str>   SteamID64 invitee ( use 0 for guest link )
Gtk-Message: 22:41:26.671: Failed to load module "colorreload-gtk-module"
Gtk-Message: 22:41:26.674: Failed to load ```

tried running the appimage on 3 different steam decks
WowSuchRicky commented 1 year ago

I get this as well, and I'm still getting the error despite installing all of the relevant GTK packages (afaict). I'm going to keep looking into this and I'll report back if I can figure out a workaround in the meantime.

m4dEngi commented 1 year ago

Should be fixed with latest release. I hope...

jwmandeville commented 1 year ago

I am getting a similar error on my steam deck on the latest version:

(1)(deck@steamdeck Downloads)$ ./RemotePlayWhatever-0.2.3-x86_64.AppImage 
Gtk-Message: 10:04:39.865: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:04:40.521: Failed to load module "colorreload-gtk-module"
Gtk-Message: 10:04:40.522: Failed to load module "window-decorations-gtk-module"

(remoteplaywhatever:32803): Gtk-WARNING **: 10:04:40.949: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/breeze-dark/status/64/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/breeze-dark/status/64/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Aborted (core dumped)

And a slightly different error when I run with sudo:

(134)(deck@steamdeck Downloads)$ sudo ./RemotePlayWhatever-0.2.3-x86_64.AppImage 

(remoteplaywhatever:32948): Gtk-WARNING **: 10:07:37.219: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted

Has anyone been able to figure it out?

jwmandeville commented 1 year ago

Maybe this was obvious, but apparently Steam has to be open for it to launch properly. Those error messages really took me down the wrong path.

It is now launching for me when Steam is open.