Page 1 of 2

Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Sun Sep 18, 2022 5:37 pm
by sjzstudio
Is there an easy way to restart the sound card in AvLinux MXE? When I exit the Mixbus 32C program, there are crackles in e.g. spotyfy or youtube sounds. Restarting the machine has fixed the situation so far.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Mon Sep 19, 2022 4:17 pm
by Robin Cherry
I'm having the same issue in manjaro. I just unplug the USB and plug it back in and it works.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Mon Sep 19, 2022 6:12 pm
by sjzstudio
Frustrating if the sound card is installed in a rack. And pc is in a tight spot.
I wish there was a more sophisticated method

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Mon Sep 19, 2022 7:55 pm
by Impostor
Doesn't restarting the sound server (pulseaudio, jack, pipewire, something else) help? If it does, you could make a little script, and pin that with an icon to your taskbar, so all it takes is a single click.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Mon Sep 19, 2022 9:19 pm
by Robin Cherry
sjzstudio wrote: Mon Sep 19, 2022 6:12 pm Frustrating if the sound card is installed in a rack. And pc is in a tight spot.
I wish there was a more sophisticated method
Yeah, I haven't had the time to dig too deep into the problem myself though it seems like a simple problem. If I can find the solution I will add the terminal command to my qjackctl stop entry in it's setup page.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Tue Sep 20, 2022 7:33 am
by glowrak guy
The avlinux defaults in qjackctl settings panel should restart everything when you shut off and restart qjackctl.
The default settings are available in the live session if you did some customization that needs refreshing.
Cheers

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Tue Sep 20, 2022 4:45 pm
by Robin Cherry
I should mention, for my problem anyway, that I have to do the same thing when I restart my system or I get no sound at all. This is compared to when I stop and the quit qjackctl I get crackly and distorted audio that isn't particularly loud. It must be some sort of error in how pulseaudio or alsa are starting rather than an error with qjackctl settings to my mind.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Tue Sep 20, 2022 6:53 pm
by glowrak guy
Have you tried uniform settings of 44100 in all your hardware/software/saved-session configs?
Sounds like too much processing is at work dealing with a mixed-bag of settings.

Have you tried turning off network, power-management and bluetooth? These can play havoc
with perfect access to some audio interfaces. Shared irq's can also slip in the back door.

If pipewire is installed, I'd have synaptic do a complete uninstall...I don't think it's been in
the oven long enough to properly coexist with things it's intended to replace.

This 2015 config topic might stir the pot a bit...

viewtopic.php?t=14567

Does the audio situation exist when running the default live-dvd or usb-stick?

Cheers

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Sat Oct 01, 2022 11:13 pm
by sjzstudio
It seems that the system is not properly release the Mixbus/Ardour ALSA mode back to the Pulseaudio side. Maybe some update has broken something. I tested AvLinux with a live USB session and everything works as it should.

Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Wed Nov 16, 2022 5:12 pm
by sjzstudio

It seems that this is somehow related to the kernel version. 5.16.0-18.1.liquorix-amd64 is ok. 5.19.0-14.1-liquorix-amd64 causes the above mentioned problem.


Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Wed Nov 16, 2022 7:36 pm
by GMaq

Interesting...

If 5.16 runs all your hardware well then there is absolutely no reason for a newer kernel, I still run 5.15 on my main development box as an example.


Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Thu Nov 17, 2022 3:21 pm
by Robin Cherry
sjzstudio wrote: Wed Nov 16, 2022 5:12 pm

It seems that this is somehow related to the kernel version. 5.16.0-18.1.liquorix-amd64 is ok. 5.19.0-14.1-liquorix-amd64 causes the above mentioned problem.

Is there a workaround other than plugin and unplugging that you are aware of?


Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Thu Nov 17, 2022 5:33 pm
by sjzstudio

I haven't found any other option but to use an older kernel. And I don't know who could fix it either.


Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Thu Nov 17, 2022 8:40 pm
by Robin Cherry

Yeah, irritating. It could be worse I guess.


Re: Is there an easy way to restart the sound card in AvLinux MXE?

Posted: Thu Nov 17, 2022 9:43 pm
by GMaq
artix_linux_user wrote: Wed Nov 16, 2022 8:35 pm

Well there surely is no need for a new kernel but it wouldńt hurt neither:
there are no regressions in the linux kernel development.
A regression is a user-visible change in the behavior of the kernel between two releases.
peace

Sounds like Arch brainwashing... :roll:

That is absolutely untrue! The kernel mailing list and git logs are full of regressions and breakages, I remember several years ago the kernel had broken support for USB Audio devices for about 3 revisions..

The only benefit of a newer kernel is (a) if there is a known security issue in the kernel itself and (b) if you have a brand new computer and your hardware is not fully supported by the kernel drivers yet... Other than that if your hardware is fully supported by your running kernel and the system is stable then it is lunacy to update a kernel only because of it's version number especially if you are doing daily studio work..

The ONLY reason I ship AV Linux with recent new kernels is for hardware support for newer machines, and almost every kernel release has new bugs and sometimes regressions, it's a roll of the dice every time and if you're lucky your hardware won't be affected but sometimes the luck runs out..