start blank unresponsive screen (Linux x86)

Found a bug? Post it here.
Post Reply
forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

start blank unresponsive screen (Linux x86)

Post by forestcreature » Mon Dec 19, 2016 4:16 am

hiya,

a few days ago sunvox 1.9.2 crashed. it was during a songwriting session with somebody, so i can't remember exactly what happened. i think that i had been changing between jack and alsa output, or vice versa

since then i have not been able to start sunvox properly again. i have tried to start 1.9.1, with the same effect. console output looks normal, as does the log under /tmp. a window is launched that is black and unresponsive. i removed ~/.config/SunVox, and the sunvox clipboard files, to no apparent effect

x86 linux 4.4.14 with ratpoison window manager (never had a similar problem before, with this setup; sunvox had been running quite well for weeks, albeit with more hangs as documented elsewhere, e.g. when opening module without stopping currently playing module)

i'm not sure where to begin troubleshooting. would it be possible to have a debugging version please?

looking forward to your ideas! i became quite reliant on sunvox :)

bests,
Jason

User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: start blank unresponsive screen (Linux x86)

Post by NightRadio » Mon Dec 19, 2016 9:13 pm

Please try to launch SunVox from Terminal using the following command:
./sunvox clearall
This will reset all the settings

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Mon Dec 19, 2016 10:26 pm

thank you

i ran with the clearall argument and got the attached log output (black window opened and closed immediately). after running clearall and starting sunvox again, the previously described problem persists: blank window

edit: no evidence of segfault
Attachments
sunvox_log.txt
sunvox clearall log (v1.9.1)
(369 Bytes) Downloaded 104 times

User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: start blank unresponsive screen (Linux x86)

Post by NightRadio » Thu Dec 22, 2016 9:14 pm

Ok, thanks. Now please launch SunVox from Terminal and send me its text output (it is almost the same as sunvox_log.txt, but with some additional details sometimes).

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Wed Dec 28, 2016 6:38 am

sorry for the delay

for some reason stdout and stderr redirection to file didn't work, just for sunvox, so here's the terminal output
Attachments
20161227sunvoxOutput.txt
terminal output of sunvox 1.9.2
(509 Bytes) Downloaded 93 times

User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: start blank unresponsive screen (Linux x86)

Post by NightRadio » Wed Dec 28, 2016 7:18 pm

hm... may be something wrong with the pulse audio.
Please try put this config file to the /home/user/.config/SunVox/ directory
Attachments
sunvox_config.ini
using ALSA device hw:0,0
(36 Bytes) Downloaded 130 times

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Thu Dec 29, 2016 8:36 pm

wow, it worked! thank you!

i am really sorry that you had to spend time on this, since it's not your fault at all, and not a fault of sunvox

Slackware changed to pulse audio as default in this version, 14.2, which is understandably unpopular with some people---it is hard to get rid of, once a system is built around it. i uninstalled pa, and thought that i reconfigured back to a state of using only ALSA and jack

i'm really sorry that this didn't occur to me (i thought i was rid of pa). still not sure exactly what happened, but this works

User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: start blank unresponsive screen (Linux x86)

Post by NightRadio » Fri Dec 30, 2016 7:32 pm

since it's not your fault at all, and not a fault of sunvox
Great! :)
Honestly i don't like PulseAudio too... I prefer pure ALSA

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Sat Jan 28, 2017 1:32 am

haha it happened again, so again i used the .ini file which you supplied. however the difference between this file (with which i get a working sunvox window), and the existing .ini file (-> blank black sunvox window) is that the latter file has a 3rd line for the builtin_theme XY that i selected. otherwise (i.e. in terms of audiodevice and audiodriver) they are identical

huh? :)

User avatar
NightRadio
Site Admin
Posts: 3008
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: start blank unresponsive screen (Linux x86)

Post by NightRadio » Tue Jan 31, 2017 7:28 pm

Hm... So it happens randomly?
Or if you return the line "builtin_theme XY" back to the config - you will get the black screen 100%? If so - please send your current "bad" config to me.

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Tue Feb 07, 2017 11:43 pm

i don't see an obvious pattern. currently sunvox starts fine with an .ini file that includes builtin_theme and other selected options. so i would probably leave it now unless something systematic happens

EDIT: replicated on another computer (Slackware 14.2 again, this time 64bit). now i'm fairly sure it happens like this: set sunvox to use ALSA, start jackd, start sunvox = fails to start. i think that something special is happening on these two systems because everything was compiled to use pulseaudio, and pulseaudio was removed. i've avoided learning anything about pulseaudio because i hoped the problem would go away when i took reasonable steps to remove it. but i think that a bunch of things were compiled to work with it, including ALSA (grr), so recompiling everything to do with audio is going on my todo list. but still, maybe sunvox's handling of the situation is a bug? i don't know what it's doing when it hangs in this situation
Last edited by forestcreature on Wed Feb 08, 2017 3:45 am, edited 1 time in total.

forestcreature
Posts: 9
Joined: Mon Dec 19, 2016 3:56 am

Re: start blank unresponsive screen (Linux x86)

Post by forestcreature » Wed Feb 08, 2017 12:39 am

removing pulseaudio emulation for ALSA (https://github.com/i-rinat/apulse) seems to have solved the starting problem. this installed libpulse* libs for applications that were compiled to require them (like mplayer). i speculate that perhaps sunvox tried to start with pulseaudio driver when it couldn't use ALSA, but maybe libpulse returns strangely or something when the ALSA client can't be created, so it hung. does sunvox have a timeout for non-starting drivers? hope that this is helpful!

Post Reply