You are not logged in.
Hello! I am having a weird crack in my sound every 20 secounds or so, its like the audio hangs for a millisecound. Most noticible when listening to music.
I have tried
default-sample-rate = 48000
default-fragments = 8
default-fragment-size-msec = 5
I tried installing OSS.
I have no idea what to do from here, headset is the Logitech G930
Last edited by theoddone (2012-12-01 04:32:10)
Offline
Do you guys need anymore information?
Offline
Try "detault-sample-rate = 44100"
PulseAudio's resamplers are really shitty, and always introduce pops on my computer.
You can also try "default-fragment-size-msec = 25", it's the default on my computer and it works nicely.
Also, you can try using pure ALSA (that means completely disabling pulseaudio and make it impossible to start). You will also need to change your asoundrc, because the default is to use pulseaudio which will make every apps fail. But try fixing the sample rate and and fragment size before, it's usually the problem.
Offline
Try "detault-sample-rate = 44100"
PulseAudio's resamplers are really shitty, and always introduce pops on my computer.
You can also try "default-fragment-size-msec = 25", it's the default on my computer and it works nicely.
Also, you can try using pure ALSA (that means completely disabling pulseaudio and make it impossible to start). You will also need to change your asoundrc, because the default is to use pulseaudio which will make every apps fail. But try fixing the sample rate and and fragment size before, it's usually the problem.
I'll give it a shot.
I tried pure alsa, but I swear, sound just refused to come out of my speakers.
Offline
Nope, the popping is still here.
Any other ideas? This is irritating enough that I can't use Arch.
Last edited by theoddone (2012-12-01 03:27:57)
Offline
Give me the output of this
dmesg | tail -n 40
and also this
cat /proc/asound/{cards,devices}
Also, does unpluggins and replugging the USB card solves it for a while?
What program are you using to play the music?
Offline
[theoddone@RealityCheck ~]$ dmesg | tail -n 40
[ 5.409098] firewire_core 0000:08:03.0: created device fw0: GUID 696100006e566964, S400
[ 5.794725] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:09.0/0000:04:00.1/sound/card0/input6
[ 5.794827] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:09.0/0000:04:00.1/sound/card0/input7
[ 5.794885] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:09.0/0000:04:00.1/sound/card0/input8
[ 5.794942] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:09.0/0000:04:00.1/sound/card0/input9
[ 5.795474] vgaarb: device changed decodes: PCI:0000:04:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[ 5.795728] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 310.19 Thu Nov 8 00:52:03 PST 2012
[ 5.917760] 2:3:1: cannot set freq 16000 to ep 0x86
[ 5.943339] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[ 6.007627] systemd-journald[163]: Received SIGUSR1
[ 6.064854] uvcvideo: Found UVC 1.00 device <unnamed> (046d:081b)
[ 6.074123] usbcore: registered new interface driver snd-usb-audio
[ 6.079072] input: UVC Camera (046d:081b) as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/input/input10
[ 6.079194] usbcore: registered new interface driver uvcvideo
[ 6.079196] USB Video Class driver (1.1.1)
[ 6.141822] systemd-journald[163]: File /var/log/journal/cb729ab014d04607bf13369f423862fe/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 6.767069] r8169 0000:06:00.0: eth0: link down
[ 6.767101] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.833659] r8169 0000:07:00.0: eth1: link down
[ 6.833694] r8169 0000:07:00.0: eth1: link down
[ 6.833696] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 9.040598] r8169 0000:07:00.0: eth1: link up
[ 9.040605] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 49.191981] NVRM: GPU at 0000:04:00: GPU-ca366227-eaec-8e28-5eb7-8d9d2bd5a2c3
[ 49.191986] NVRM: Your system is not currently configured to drive a VGA console
[ 49.191987] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 49.191989] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 49.191990] NVRM: drivers including, but not limited to, vesafb, may result in
[ 49.191991] NVRM: corruption and stability problems, and is not supported.
[ 50.291064] menu-cached[508]: segfault at 100000007 ip 00007f27ca8709b2 sp 00007fff79230870 error 4 in libc-2.16.so[7f27ca7f7000+19d000]
[ 50.323339] fuse init (API version 7.20)
[ 50.634335] hda-intel: Too big adjustment 32
[ 50.693592] hda-intel: Too big adjustment 32
[ 50.753453] hda-intel: Too big adjustment 32
[ 50.813271] hda-intel: Too big adjustment 32
[ 50.873173] hda-intel: Too big adjustment 32
[ 50.932991] hda-intel: Too big adjustment 32
[ 50.992934] hda-intel: Too big adjustment 32
[ 51.052898] hda-intel: Too big adjustment 32
[ 51.161669] systemd-journald[163]: File /var/log/journal/cb729ab014d04607bf13369f423862fe/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[1]+ Done sh ~/.fehbg
[theoddone@RealityCheck ~]$ cat /proc/asound/{cards,devices}
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdfffc000 irq 17
1 [U0x46d0x81b ]: USB-Audio - USB Device 0x46d:0x81b
USB Device 0x46d:0x81b at usb-0000:00:1d.7-1, high speed
2 [Headset ]: USB-Audio - Logitech G930 Headset
Logitech Logitech G930 Headset at usb-0000:00:1d.2-2, full speed
2: [ 0- 9]: digital audio playback
3: [ 0- 8]: digital audio playback
4: [ 0- 7]: digital audio playback
5: [ 0- 3]: digital audio playback
6: [ 0- 3]: hardware dependent
7: [ 0- 2]: hardware dependent
8: [ 0- 1]: hardware dependent
9: [ 0- 0]: hardware dependent
10: [ 0] : control
11: [ 1- 0]: digital audio capture
12: [ 1] : control
13: [ 2- 0]: digital audio playback
14: [ 2- 0]: digital audio capture
15: [ 2] : control
33: : timer
Using VLC, unplugging and replugging does nothing.
Its a very subtle sound, but its enough to annoy me.
I tried OSS too, but that did not help, so I think the issue is in pulse.
Offline
Open
pavucontrol
and disable all outputs there in the config tab so PulseAudio release them.
Then, try playing an audio file like this
ffmpeg -i "some_audio_file.ogg" -f alsa hw:2,0
(hw:2,0 is your USB device I got from the previous commands)
You can also use aplay or mplayer, but I don't know how to use them. The important thing is to make them output in pure alsa directly to the correct device.
Then tell me if the sound is a bit better. If it doesn't pop at all, then Pulse is the problem.
Offline
I think its playing back normally without any problems. Exept for blowing out my ear drums ZERO popping
So then the problem is with Pulse eh?
Offline
Have a look at this: https://wiki.archlinux.org/index.php/Pu … _crackling (tsched=0 trick)
Also this: http://forums.linuxmint.com/viewtopic.php?f=42&t=44862 which tells you what values to put for fragment-size/count
But now at least you know you can fix this by removing PulseAudio. (I personnally really like pulse, so that wouldn't be an option for me).
Last edited by Max-P (2012-12-01 04:02:33)
Offline
Have a look at this: https://wiki.archlinux.org/index.php/Pu … _crackling (tsched=0 trick)
Also this: http://forums.linuxmint.com/viewtopic.php?f=42&t=44862 which tells you what values to put for fragment-size/count
But now at least you know you can fix this by removing PulseAudio. (I personnally really like pulse, so that wouldn't be an option for me).
Already did this, and aperantly my fragment size is less than one according to that guide.
Is it safe to just "pacman -R pulseaudio"
Last edited by theoddone (2012-12-01 04:06:10)
Offline
Then I guess the best you can try is to put the fragment size a bit higher again. Try something really big for a start, like 100 fragments and 200ms size for each.
After that, I can't really help much more. The problem is pulse and it can be a lot of things, like pulse doing resampling or pulse being late because of high CPU usage.
Does pulse eat a lot of CPU when playing music?
EDIT: Yes, completely safe to remove Pulse. But some DEs don't like it (especially Gnome, which I think is the only one requiring it)
Last edited by Max-P (2012-12-01 04:09:21)
Offline
Removed pulse, now I gotta try and make alsa work.
Thanks for all your help by the way, this community seems nice
Offline
It all works! Problems are gone.
I would give you a hug if I could.
Offline