Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on KDE #1

Open
RazrFalcon opened this issue May 21, 2019 · 6 comments
Open

Doesn't work on KDE #1

RazrFalcon opened this issue May 21, 2019 · 6 comments

Comments

@RazrFalcon
Copy link

Doesn't save the last track on KDE shutdown/reboot.

  • Built from sources
  • DeadBeef 0.7.2
  • Gentoo Stable

What additional information should I provide?

@hyperblast
Copy link
Owner

What additional information should I provide?

I'd start with launching deadbeef 2> ddb.log & from terminal and then doing reboot.

I'll add few debug prints, if that does not clarify situtation.

@RazrFalcon
Copy link
Author

starting deadbeef 0.7.2
server_start
searching for GUI plugins in /home/razr/.local/lib64/deadbeef
searching for GUI plugins in /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 2 files
searching for GUI plugins in /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 22 files
found gui plugin ddb_gui_GTK3.so
added GTK3 gui plugin
load gui plugin
checking GUI plugin: GTK3
found selected GUI plugin: GTK3
loading plugin /usr/lib64/deadbeef/ddb_gui_GTK3.so
loading plugins from /home/razr/.local/lib64/deadbeef
loading plugins from /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 2 files
loading plugins from /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 22 files
loading plugin /usr/lib64/deadbeef/alsa.so
loading plugin /usr/lib64/deadbeef/artwork.so
loading plugin /usr/lib64/deadbeef/flac.so
loading plugin /usr/lib64/deadbeef/hotkeys.so
loading plugin /usr/lib64/deadbeef/in_sc68.so
loading plugin /usr/lib64/deadbeef/mp3.so
loading plugin /usr/lib64/deadbeef/signals.so
loading plugin /usr/lib64/deadbeef/vfs_curl.so
loading plugin /usr/lib64/deadbeef/vorbis.so
selected output plugin: ALSA output plugin
INFO: loading playlist Music
INFO: from file /home/razr/.config/deadbeef/playlists/0.dbpl
INFO: loading playlist New Stuff
INFO: from file /home/razr/.config/deadbeef/playlists/1.dbpl
INFO: loading playlist New Playlist
INFO: from file /home/razr/.config/deadbeef/playlists/2.dbpl
gtkui plugin compiled for gtk version: 3.24.1
Gtk-Message: 22:35:10.043: Failed to load module "appmenu-gtk-module"
quitting gtk
gtkui_stop completed
gui plugin has quit; waiting for mainloop thread to finish
plug_disconnect_all
plug_unload_all
stopping GTK3 user interface...
quitting gtk
stopping ALSA output plugin...
stopping Album Artwork...
stopping Hotkey manager...
stopping SC68 player (Atari ST SNDH YM2149)...
stopping Unix signals support...
stopping cURL vfs...
stopping OggVorbis decoder...
stopped all plugins
all plugins had been unloaded
messagepump_free
plug_cleanup
hej-hej!
starting deadbeef 0.7.2
server_start
searching for GUI plugins in /home/razr/.local/lib64/deadbeef
searching for GUI plugins in /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 2 files
searching for GUI plugins in /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 22 files
found gui plugin ddb_gui_GTK3.so
added GTK3 gui plugin
load gui plugin
checking GUI plugin: GTK3
found selected GUI plugin: GTK3
loading plugin /usr/lib64/deadbeef/ddb_gui_GTK3.so
loading plugins from /home/razr/.local/lib64/deadbeef
loading plugins from /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 2 files
loading plugins from /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 22 files
loading plugin /usr/lib64/deadbeef/alsa.so
loading plugin /usr/lib64/deadbeef/artwork.so
loading plugin /usr/lib64/deadbeef/flac.so
loading plugin /usr/lib64/deadbeef/hotkeys.so
loading plugin /usr/lib64/deadbeef/in_sc68.so
loading plugin /usr/lib64/deadbeef/mp3.so
loading plugin /usr/lib64/deadbeef/signals.so
loading plugin /usr/lib64/deadbeef/vfs_curl.so
loading plugin /usr/lib64/deadbeef/vorbis.so
selected output plugin: ALSA output plugin
INFO: loading playlist Music
INFO: from file /home/razr/.config/deadbeef/playlists/0.dbpl
INFO: loading playlist New Stuff
INFO: from file /home/razr/.config/deadbeef/playlists/1.dbpl
INFO: loading playlist New Playlist
INFO: from file /home/razr/.config/deadbeef/playlists/2.dbpl
gtkui plugin compiled for gtk version: 3.24.1
Gtk-Message: 22:35:20.361: Failed to load module "appmenu-gtk-module"
Gdk-Message: 22:36:02.989: deadbeef: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


@RazrFalcon
Copy link
Author

RazrFalcon commented May 21, 2019

Looks like the first part is from running in the shell and the second one is after I closed the shell/terminal and deadbeef restarted.

So deadbeef: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. is our problem.

@hyperblast
Copy link
Owner

I think this is because of SIGHUP being received. It is currently bound to restart action.

Probably KDE sends it instead of SIGTERM.

I'll disable this behavior by default, meanwhile you can try to comment out the these two lines and try again.

@RazrFalcon
Copy link
Author

Did not help:

Here is a full log by running deadbeef via KDE's autostart:

starting deadbeef 0.7.2
server_start
searching for GUI plugins in /home/razr/.local/lib64/deadbeef
searching for GUI plugins in /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 3 files
searching for GUI plugins in /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 21 files
found gui plugin ddb_gui_GTK3.so
added GTK3 gui plugin
load gui plugin
checking GUI plugin: GTK3
found selected GUI plugin: GTK3
loading plugin /usr/lib64/deadbeef/ddb_gui_GTK3.so
loading plugins from /home/razr/.local/lib64/deadbeef
loading plugins from /home/razr/.local/lib/deadbeef
load_plugin_dir /home/razr/.local/lib/deadbeef: scandir found 3 files
loading plugin /home/razr/.local/lib/deadbeef/signals.so
loading plugins from /usr/lib64/deadbeef
load_plugin_dir /usr/lib64/deadbeef: scandir found 21 files
loading plugin /usr/lib64/deadbeef/alsa.so
loading plugin /usr/lib64/deadbeef/artwork.so
loading plugin /usr/lib64/deadbeef/flac.so
loading plugin /usr/lib64/deadbeef/hotkeys.so
loading plugin /usr/lib64/deadbeef/in_sc68.so
loading plugin /usr/lib64/deadbeef/mp3.so
loading plugin /usr/lib64/deadbeef/vfs_curl.so
loading plugin /usr/lib64/deadbeef/vorbis.so
selected output plugin: ALSA output plugin
INFO: loading playlist Music
INFO: from file /home/razr/.config/deadbeef/playlists/0.dbpl
INFO: loading playlist New Stuff
INFO: from file /home/razr/.config/deadbeef/playlists/1.dbpl
INFO: loading playlist New Playlist
INFO: from file /home/razr/.config/deadbeef/playlists/2.dbpl
gtkui plugin compiled for gtk version: 3.24.1

And nothing. Just an immediate exit.

@hyperblast
Copy link
Owner

I'll look into this, but I think unless proper signal is sent I can't do anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants