Page 1 of 1

Notebook Tuning

Posted: Wed Jul 17, 2019 6:57 pm
by bluebell
Ihave the impression that blacklisting the modules for the built-in USB cam and Bluetooth makes audio processing more reliable.

I put the two attachments into /etc/modprobe.d

blacklist-uvcvideo.conf

Code: Select all

blacklist uvcvideo
blacklist-bluetooth.conf

Code: Select all

blacklist bluetooth
blacklist btrtl
blacklist btintel
blacklist btbcm
blacklist btusb

Re: Notebook Tuning

Posted: Fri Jul 19, 2019 10:35 am
by sysrqer
Interesting. Does the bluetooth module keep polling to check for connections normally?

Re: Notebook Tuning

Posted: Sat Jul 20, 2019 7:50 am
by bluebell
I have no idea how to measure it. It's about those RT CPU spikes that cause xruns occasionally and force me to use a bigger buffer size. Now my Qtractor projects run slightly better and I can choose somewhat lower buffer sizes without xruns.

Re: Notebook Tuning

Posted: Sat Jul 20, 2019 10:30 am
by khz
I turn off everything in the bios I don't need. What is not there doesn't consume any power, doesn't cause any problems.
If you use an AUDIO/MIDI interface deactivate the onboard soundcard in the bios. (PS/2 port, Bluetooth, ... deactivate.)

Re: Notebook Tuning

Posted: Sat Jul 20, 2019 11:18 am
by bluebell
That's a good idea. But my computer can't. So I have now the following blacklist /etc/modprobe.d/blacklist-audiotuning.conf

Code: Select all

#
# for pro audio tuning
#
blacklist bluetooth
blacklist btrtl
blacklist btintel
blacklist btbcm
blacklist btusb

blacklist uvcvideo

blacklist iwlwifi

blacklist snd_hda_intel
blacklist snd_hda_core
blacklist snd_hda_codec
blacklist snd_hda_codec_realtek
blacklist snd_hda_codec_hdmi
With my USB interface (Ultralite AVB) I can play Videos with Firefox -> Pulseaudio -> jackd with

Code: Select all

jackd -P90 -p512 -t2000 -dalsa -r48000 -p24 -n2 -Xseq -dhw:1
without xruns.

I can even use "jack_bufsize 12" without xruns when I don't do other things (except writing this article) on the computer while playing the video.