Audio trigger causing crash in Ubuntu Linux on Lenovo Laptop
Posted: Mon Nov 04, 2013 12:09 am
Hi all - I'm hoping someone can give me a hand trying to solve this issue. I tried using QLC+ a couple months ago and could never get the audio trigger factory to work properly or find anyone who could help. I gave up in frustration, but have come groveling back to try once more to get it working, as I'd really like to be able to use QLC+, but absolutely need the audio trigger part to work.
I decided to wipe the computer and try starting again from scratch, with a fresh install of Ubuntu 12.04 LTS, 32 Bit, and a fresh install of QLC+ 4.5.0. I used the standard Desktop version of Ubuntu this time thinking my issues may have been tied to the minimal install version before. I also hoped the new version of QLC might help. The problem I'm having is certainly different, but I still can't get it to work.
I've started up qlcplus via the console, to aid in debugging. I add a fixture. I then to to input/output and select my DMX USB PRO for DMX output, and HDA Intel - AD198x Analog for Input and Output under Audio. I then go to the virtual console and add a new audio trigger. I go to properties and name it test, then for volume bar I select DMX, go to my fixture, and check the "Fade" box next to the master dimmer channel. I hit OK, switch to operate mode, and press the button with the green check mark.
The program then crashes, and this is what I see in the console:
qlcplus: pcm.c:1310: snd_pcm_readi: Assertion `size == 0 || buffer' failed.
Aborted (core dumped)
I've tried all kinds of different things I can think of, but the result is always the same - instant crash.
To test things a bit, I installed Audacity. In Audacity, the Audio Host is set to ALSA, and the input is set to pulse: Mic0. It's also set to stereo. I can make a recording and it picks up the sound perfectly.
Here is the contents of the ALSA debugging script, which I hope gives lots of relevant info that might help troubleshoot the issue:
[MC - EDIT] Log attached
Thank you to anyone who can help!
I decided to wipe the computer and try starting again from scratch, with a fresh install of Ubuntu 12.04 LTS, 32 Bit, and a fresh install of QLC+ 4.5.0. I used the standard Desktop version of Ubuntu this time thinking my issues may have been tied to the minimal install version before. I also hoped the new version of QLC might help. The problem I'm having is certainly different, but I still can't get it to work.
I've started up qlcplus via the console, to aid in debugging. I add a fixture. I then to to input/output and select my DMX USB PRO for DMX output, and HDA Intel - AD198x Analog for Input and Output under Audio. I then go to the virtual console and add a new audio trigger. I go to properties and name it test, then for volume bar I select DMX, go to my fixture, and check the "Fade" box next to the master dimmer channel. I hit OK, switch to operate mode, and press the button with the green check mark.
The program then crashes, and this is what I see in the console:
qlcplus: pcm.c:1310: snd_pcm_readi: Assertion `size == 0 || buffer' failed.
Aborted (core dumped)
I've tried all kinds of different things I can think of, but the result is always the same - instant crash.
To test things a bit, I installed Audacity. In Audacity, the Audio Host is set to ALSA, and the input is set to pulse: Mic0. It's also set to stereo. I can make a recording and it picks up the sound perfectly.
Here is the contents of the ALSA debugging script, which I hope gives lots of relevant info that might help troubleshoot the issue:
[MC - EDIT] Log attached
Thank you to anyone who can help!