VladDorn1234
New Member
Hello everyone. I am having trouble with small skips
and crackling inside arch linux. I have just recently
installed this arch install onto my pc last week and have
been working on it and have been satistied with everything
besides the volume problems i am stating here.
(please excuse my spelling mistakes as english is not my native language)
in both firefox and vlc media player I have been having
audio skipping and crackling and I am certian it is
not my hardware as it works in windows and linux mint.
the first thing I did was change:
/etc/pulse/default.pa
load-module module-udev-detect tsched=0
I then restarted pulseaudio and then tried again to
listen to a sound file in vlc. the sound stayed the
same.
after this failed I then tried to set the buffer
and fragment size by using the command :
$ pactl list sinks
after i had looked at the information about my sound card I
could see what I needed to do. here is the part from the
arch wiki that talks about calculating fragment sizes i have
edited to show my exact calculations I got for my sound card.
device.buffering.buffer_size = "17664" => 17664/1411200 = 0.0125 s = 12.5 ms
device.buffering.fragment_size = "2994" => 2994/1411200 = 0.002086 s = 2.086 ms
In the previous step, we calculated the fragment size parameter. The number of fragments is simply buffer_size/fragment_size, which in this case (12.5/2.086) is 5.599:
I then changed /etc/pulse/daemon.conf to use these parameters ( i also tried both just 5 and 2 as well same result) :
; default-fragments = 5.599
; default-fragment-size-msec = 2.086
then restarted pulse again.
I then tested the same audio file in vlc and though the skipping slightly
went down, the problem is still there.
after all of that i decided to take out tsched=0 again from
/etc/pulse/default.pa
when i had done that the crackling and skipping had gone away again even more,
but every 30 seconds or so the crackling and skipping still did happen.
my hardware: 16 gb ram ddr3
amd radeon r9 380 4gb
amd fx 6300 6 core
72000 rpm hdd
gigabyte 970a ud3p
KDE plasma
onboard sound
Here is an example of the issue i tried to recreate in audacity: https://soundcloud.com/user-83962389...xample/s-L79lX
and crackling inside arch linux. I have just recently
installed this arch install onto my pc last week and have
been working on it and have been satistied with everything
besides the volume problems i am stating here.
(please excuse my spelling mistakes as english is not my native language)
in both firefox and vlc media player I have been having
audio skipping and crackling and I am certian it is
not my hardware as it works in windows and linux mint.
the first thing I did was change:
/etc/pulse/default.pa
load-module module-udev-detect tsched=0
I then restarted pulseaudio and then tried again to
listen to a sound file in vlc. the sound stayed the
same.
after this failed I then tried to set the buffer
and fragment size by using the command :
$ pactl list sinks
after i had looked at the information about my sound card I
could see what I needed to do. here is the part from the
arch wiki that talks about calculating fragment sizes i have
edited to show my exact calculations I got for my sound card.
device.buffering.buffer_size = "17664" => 17664/1411200 = 0.0125 s = 12.5 ms
device.buffering.fragment_size = "2994" => 2994/1411200 = 0.002086 s = 2.086 ms
In the previous step, we calculated the fragment size parameter. The number of fragments is simply buffer_size/fragment_size, which in this case (12.5/2.086) is 5.599:
I then changed /etc/pulse/daemon.conf to use these parameters ( i also tried both just 5 and 2 as well same result) :
; default-fragments = 5.599
; default-fragment-size-msec = 2.086
then restarted pulse again.
I then tested the same audio file in vlc and though the skipping slightly
went down, the problem is still there.
after all of that i decided to take out tsched=0 again from
/etc/pulse/default.pa
when i had done that the crackling and skipping had gone away again even more,
but every 30 seconds or so the crackling and skipping still did happen.
my hardware: 16 gb ram ddr3
amd radeon r9 380 4gb
amd fx 6300 6 core
72000 rpm hdd
gigabyte 970a ud3p
KDE plasma
onboard sound
Here is an example of the issue i tried to recreate in audacity: https://soundcloud.com/user-83962389...xample/s-L79lX