Audio Device Info crashes Audacity with VIA 8237 soundcard

Hi

Using the Audio Device Info crasher Audacity with VIA 8237 sound, Im using Puppy Linux Slacko 531. Audacity 2.00 and 2.01 behave similarly. Audio Device Info works okay with Creative Labs soundcard and Puppy Slacko.

Using JACK set to hw0,0 the error is still there, but setting JACK to hw0,1 makes it work okay. Here is a summary and commandline output-

Audacity with ALSA, Audio Device Info crash

...
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
audacity: pcm_params.c:2249: snd1_pcm_hw_params_slave: Assertion `err >= 0' failed.
Aborted

Audacity with JACK, JACK set to hw0,1, Audio Device Info no crash


Audacity with JACK, JACK set to hw0,0, Audio Device Info no crash

...
ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
audacity: pcm_params.c:2249: snd1_pcm_hw_params_slave: Assertion `err >= 0' failed.
Aborted

The selection of input device changes depending on the above settings, see screenshots
aud-jack with hw01 hw00 shown.jpg
aud-jack with hw00 hw01 shown.jpg
alsa-hw0hw1shown.jpg

Thanks for the report.

Did you mean "Audacity with JACK, JACK set to hw0,0, Audio Device Info leads to a crash?

I am not a Linux guru. Steve is, but he is away.

Do you think there may be a problem with this VIA inbuilt sound - maybe it does not support Linux properly? You may want to check Alsa Opensrc Org - Independent ALSA and linux audio support site or other resources for driver tweaks.

Should you be seeing identical mirror devices 0,0 and 0,1? Do the 0,0 devices crash when you record from them?

Does

arecord -l

also list these duplicated devices?

And why does Jack list the duplicate devices other than the ones you asked for?

Does Ardour or some other audio editor also crash with this VIA device?

If you still want to pursue this, a backtrace would be better than terminal output, using a debug package of Audacity.



Gale

Thanks for the answers and questions, will look into it.

It’s not just with Jack though. Without Jack loaded in crashes in ALSA mode. Will check soundcard info…