Failed to load mpv config file
Running the flatpak version, 0.27.
I've given it extra permissions through flatseal so it can read ~/.config/mpv and ~/.config/celluloid.
These are the logs when I play a video:
Jul 17 16:53:41 desktop dbus-daemon[1403]: [session uid=1000 pid=1403] Activating service name='io.github.celluloid_player.Celluloid' requested by ':1.607' (uid=1000 pid=258039 comm="/usr/bin/nautilus --gapplication-service")
Jul 17 16:53:41 desktop systemd[1370]: Started app-flatpak-io.github.celluloid_player.Celluloid-302888.scope.
Jul 17 16:53:41 desktop dbus-daemon[1403]: [session uid=1000 pid=1403] Successfully activated service 'io.github.celluloid_player.Celluloid'
Jul 17 16:53:41 desktop celluloid[302900]: Failed to update mpv-config-file
Jul 17 16:53:41 desktop gnome-shell[1559]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Jul 17 16:53:42 desktop celluloid[302900]: Failed to open script options directory: /home/p3lim/.var/app/io.github.celluloid_player.Celluloid/config/celluloid/script-opts
Jul 17 16:53:42 desktop celluloid[302900]: Failed to load mpv config file
Jul 17 16:53:42 desktop io.github.celluloid_player.Celluloid[302900]: Cannot load libcuda.so.1
I also tested copying ~/.config/mpv to the ~/.var/.../config directory, didn't make a difference.
Additionally, any setting I set in the GUI doesn't end up anywhere, it doesn't write them to ~/.config/celluloid, nor ~/.var/app/io.github.celluloid_player.Celluloid/config/celluloid, but it somehow remember them. There are some settings stored in dconf, but certainly not all of them.
I have the same problem I'm not using flatpak I'm using the rpm package from Fedora, celluloid-0.28-1.fc42.x86_64
If I change the settings using dconf-editor works, but if I use celluloid preferences nothing happens, and celluloid complains at start that can't load the config file.
Running with G_MESSAGES_DEBUG=all celluloid I have this when selecting the mpv configuration file in preferences
(io.github.celluloid_player.Celluloid:23596): Gtk-DEBUG: 22:59:15.615: snapshot symbolic icon using mask (io.github.celluloid_player.Celluloid:23596): Gtk-DEBUG: 22:59:15.617: snapshot symbolic icon using mask (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: watch_fast: "/io/github/celluloid-player/celluloid/" (establishing: 0, active: 6)
(io.github.celluloid_player.Celluloid:23596): GLib-GIO-CRITICAL **: 22:59:24.780: g_file_get_uri: assertion 'G_IS_FILE (file)' failed (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: watch_fast: "/io/github/celluloid-player/celluloid/window-state/" (establishing: 0, active: 1) (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: change_fast (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: unwatch_fast: "/io/github/celluloid-player/celluloid/window-state/" (active: 2, establishing: 0)
(io.github.celluloid_player.Celluloid:23596): GLib-GObject-CRITICAL **: 22:59:24.780: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: unwatch_fast: "/io/github/celluloid-player/celluloid/" (active: 7, establishing: 0)
(io.github.celluloid_player.Celluloid:23596): GLib-GIO-CRITICAL **: 22:59:24.781: g_settings_set_value: assertion 'G_IS_SETTINGS (settings)' failed
I have the same problem I'm not using flatpak I'm using the rpm package from Fedora, celluloid-0.28-1.fc42.x86_64
If I change the settings using dconf-editor works, but if I use celluloid preferences nothing happens, and celluloid complains at start that can't load the config file.
Running with G_MESSAGES_DEBUG=all celluloid I have this when selecting the mpv configuration file in preferences
(io.github.celluloid_player.Celluloid:23596): Gtk-DEBUG: 22:59:15.615: snapshot symbolic icon using mask (io.github.celluloid_player.Celluloid:23596): Gtk-DEBUG: 22:59:15.617: snapshot symbolic icon using mask (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: watch_fast: "/io/github/celluloid-player/celluloid/" (establishing: 0, active: 6)
(io.github.celluloid_player.Celluloid:23596): GLib-GIO-CRITICAL **: 22:59:24.780: g_file_get_uri: assertion 'G_IS_FILE (file)' failed (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: watch_fast: "/io/github/celluloid-player/celluloid/window-state/" (establishing: 0, active: 1) (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: change_fast (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: unwatch_fast: "/io/github/celluloid-player/celluloid/window-state/" (active: 2, establishing: 0)
(io.github.celluloid_player.Celluloid:23596): GLib-GObject-CRITICAL **: 22:59:24.780: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (io.github.celluloid_player.Celluloid:23596): dconf-DEBUG: 22:59:24.780: unwatch_fast: "/io/github/celluloid-player/celluloid/" (active: 7, establishing: 0)
(io.github.celluloid_player.Celluloid:23596): GLib-GIO-CRITICAL **: 22:59:24.781: g_settings_set_value: assertion 'G_IS_SETTINGS (settings)' failed
This is a different bug that has already been fixed in 9267da8c907834d74f92970b66dea2ce30904408.
same issue here, even with flatseal permissions, once config is selected in the preferences dialog and it is closed, re-opening it will show "None"
@gnome-mpv I just want to add I have this seem issue, with and without Flatpak:
Failed to open script options directory: m
mei 26 14:17:48 lenovo kernel: celluloid[7997]: segfault at ffffffffffffffb0 ip 00005aef5d97b9ad sp 00007fff4894a200 error 5 in celluloid[119ad,5aef5d976000+26000] likely on CPU 4 (core 2, socket 0)
mei 26 14:17:48 lenovo kernel: Code: 00 be 80 00 00 00 48 c7 44 24 20 00 00 00 00 c4 e3 f1 22 c0 01 31 c0 c5 f9 7f 44 24 10 ff 15 6a 07 03 00 48 63 05 77 1b 03 00 <48> 8b 3c 03 48 85 ff 74 6a 48 8d 6c 24 10 31 f6 48 89 ea ff 15 02
mei 26 14:17:48 lenovo systemd-coredump[8152]: Process 7997 (celluloid) of user 1000 terminated abnormally with signal 11/SEGV, processing...
If I create the folder mkdir -p /home/user/.config/celluloid/script-opts the crash is gone. I think this folder should be created on startup.
read the release notes. there is a patch available so u can try to build celluloid with it. if u prefer using the flatpak, download Warehouse > Disable updates for celluloid > Downgrade to 0.27 till they make a new release.
@n3thshan Could you please point to the patch?
@francoism90 you can try the new ver 0.29 from the releases page. its not out yet for flathub though.
I'm on Fedora 42 with GNOME DE and X11. The config file does not load (I can select it and open it, but when I restart the application the selection is gone; however, the toggle stays on) with flatpak version and Fedora's rpm installed from Software centre or whatever it's called.
@qaxyri What's the path of the file? Did you tried placing it into ~/.config for example?
@francoism90
~/.config/mpv/mpv.conf
I got only this inside of it: save-position-on-quit
Do not know if it matters, just thought to mention it.
@qaxyri That's also the path I'm using. Weird, it doesn't happen over here.
Sorry, other then checking any logs when using SELinux/apparamor, I don't know anything else.
Workaround here: 1033
@p3lim 0.29 is now on Flathub. Can you test it and see if the problem is fixed?
@gnome-mpv it works in v0.29 but hardware acceleration does not with hwdec=vaapi