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

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

User avatar
sjzstudio
Established Member
Posts: 161
Joined: Fri Apr 10, 2020 11:24 pm
Has thanked: 19 times
Been thanked: 25 times

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

Post 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.
Robin Cherry
Established Member
Posts: 72
Joined: Wed Apr 15, 2020 1:18 am
Has thanked: 2 times
Been thanked: 15 times

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

Post by Robin Cherry »

I'm having the same issue in manjaro. I just unplug the USB and plug it back in and it works.
User avatar
sjzstudio
Established Member
Posts: 161
Joined: Fri Apr 10, 2020 11:24 pm
Has thanked: 19 times
Been thanked: 25 times

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

Post 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
User avatar
Impostor
Established Member
Posts: 1332
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 344 times

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

Post 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.
Robin Cherry
Established Member
Posts: 72
Joined: Wed Apr 15, 2020 1:18 am
Has thanked: 2 times
Been thanked: 15 times

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

Post 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.
glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

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

Post 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
Robin Cherry
Established Member
Posts: 72
Joined: Wed Apr 15, 2020 1:18 am
Has thanked: 2 times
Been thanked: 15 times

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

Post 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.
glowrak guy
Established Member
Posts: 2315
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 251 times

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

Post 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
User avatar
sjzstudio
Established Member
Posts: 161
Joined: Fri Apr 10, 2020 11:24 pm
Has thanked: 19 times
Been thanked: 25 times

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

Post 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.
User avatar
sjzstudio
Established Member
Posts: 161
Joined: Fri Apr 10, 2020 11:24 pm
Has thanked: 19 times
Been thanked: 25 times

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

Post 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.

User avatar
GMaq
Established Member
Posts: 2774
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 520 times
Been thanked: 555 times

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

Post 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.

Robin Cherry
Established Member
Posts: 72
Joined: Wed Apr 15, 2020 1:18 am
Has thanked: 2 times
Been thanked: 15 times

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

Post 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?

User avatar
sjzstudio
Established Member
Posts: 161
Joined: Fri Apr 10, 2020 11:24 pm
Has thanked: 19 times
Been thanked: 25 times

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

Post 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.

Robin Cherry
Established Member
Posts: 72
Joined: Wed Apr 15, 2020 1:18 am
Has thanked: 2 times
Been thanked: 15 times

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

Post by Robin Cherry »

Yeah, irritating. It could be worse I guess.

User avatar
GMaq
Established Member
Posts: 2774
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 520 times
Been thanked: 555 times

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

Post 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..

Post Reply