1 |
Сергей posted on Wed, 13 Aug 2014 15:37:32 +0400 as excerpted: |
2 |
|
3 |
> Hello everybody! When I listen to music using Amarok or Google Chrome |
4 |
> flash player (didn't try any other players) sometimes sound freezes for |
5 |
> a second. I have tried changing phonon backend (gstreamer/vlc) and also |
6 |
> changing kernel parameter CONFIG_SND_HDA_PREALLOC_SIZE from 64 to 2048 |
7 |
> and 4096. Disabling Pulseaudio or using it's older version also didn't |
8 |
> help. |
9 |
> Can you please give me a piece of advice about what to do? |
10 |
|
11 |
On one older system I had, using PCI not the newer PCIE, there was a BIOS |
12 |
setting for size of PCI transaction. I can't remember details such as |
13 |
the exact name of the BIOS setting, but the idea was that this was the |
14 |
largest PCI transaction allowed before it had to give up the bus and let |
15 |
something else have a turn, if there were other things waiting, of |
16 |
course. The tradeoff was between higher efficiency due to lower overhead |
17 |
as more could be done at a time, and higher latency as one task had the |
18 |
bus tied up for longer, keeping others waiting. |
19 |
|
20 |
After I shortened that, the occasional problems with sound freezes I had |
21 |
on that machine disappeared. I had tried other things such as increasing |
22 |
buffer size, etc, that didn't work, but decreasing the PCI transaction |
23 |
size and thus latency time did. |
24 |
|
25 |
As for pulseaudio, I'd guess a lot of gentooers don't use it at all, |
26 |
preferring direct alsa, etc. I know I've never used pulse here. |
27 |
|
28 |
And for kde's phonon backend, while gstreamer is I believe the current |
29 |
default, I don't have gstreamer installed at all here, but remember that |
30 |
switching from the earlier xine backend to the vlc backend helped quite a |
31 |
bit. However, that's likely to help only for kde apps. Firefox and |
32 |
chrome of course aren't kde apps, tho amarok is (but tho I switched away |
33 |
from amarok in the early kde4 period, IIRC it can be configured to use |
34 |
either kde's phonon or direct alsa or pulse, so depending on how it's |
35 |
configured it might not be going thru phonon either). |
36 |
|
37 |
-- |
38 |
Duncan - List replies preferred. No HTML msgs. |
39 |
"Every nonfree program has a lord, a master -- |
40 |
and if you use the program, he is your master." Richard Stallman |