You are not logged in.

#1 2014-07-06 11:44:55

Akrai
Member
Registered: 2014-06-20
Posts: 8

Pulse Audio & ALSA sound lag issue

Hi, I have a sound lag issue from the beggining and i dont know what to do
I googled and tried a few solutions but didnt solved it.

If i play a game, there is a sound delay, if i play a youtube video, there is a sound delay but, if i play something in VLC, there is NOT sound delay
i opened pulseaudio when playing both youtube video and vlc music and here is what it shows:
http://i.imgur.com/9rVu6KP.png

and, when opening team fortress 2 (also have sound lag)
http://i.imgur.com/bDpknta.png


what can i do?


edit: i have been thniking in the posibility that those apps are the lagged ones only, so i searched in google for team fortress 2 linux sound lag, and i foudn this: https://github.com/ValveSoftware/Source … issues/139
so i want to try to do that of disabling pulseaudio but i dont know how to do it

(mod edit: changed images to links -- Trilby)

Last edited by Akrai (2014-07-06 12:04:47)

Offline

#2 2014-07-06 12:26:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Pulse Audio & ALSA sound lag issue

You should provide more useful information like your setup and configuration, what exactly you have tried so far instead of screenshots. Take a look here.

Offline

#3 2014-07-06 15:52:16

Akrai
Member
Registered: 2014-06-20
Posts: 8

Re: Pulse Audio & ALSA sound lag issue

emeres wrote:

You should provide more useful information like your setup and configuration, what exactly you have tried so far instead of screenshots. Take a look here.

im not sure but i think this solves a bit the problem, but i still have lag, how do i change it?
it was by default commented and the values were 4 and 25 instead of 8 and 5, firstly i uncomment both (leaving in 4 and 25) and when rebooted the lag were bigger, but using 8 and 5 it is lighter i think, but not sure
my system is just a i5 3570 running over a gygabite z77 d3h motherboard, nothing special to mention
the sound lag happens in games, in flash player (youtube) and i dont remember if somewhere more, but in vlc or other programs it doesnt happen

Offline

#4 2014-07-06 16:25:54

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Pulse Audio & ALSA sound lag issue

Check your logfile for e.g. this:

IRQ timing workaround is activated

This may help, in an /etc/modprobe.d/blahblah.conf file:

options snd-hda-intel enable=0,1 bdl_pos_adj=64,64

That disables the first hda-intel "soundcard" (for when Nvidia HDMI is unwantedly detected as the first, and sets bdl_pos_adj for the 2nd-into-first-position normal hda-intel card.

You need to experiment, to find what works for your laptop.

Offline

Board footer

Powered by FluxBB