Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Horrible audio skipping with snd-hda-intel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
linedot
n00b
n00b


Joined: 15 Mar 2012
Posts: 8
Location: Germany

PostPosted: Sun Apr 29, 2012 4:28 pm    Post subject: Horrible audio skipping with snd-hda-intel Reply with quote

Hello!

I've got a big issue with audio - it skips irregularly. Everything on my computer sounds like this.

Initially I thought it was a PulseAudio issue, but after trying everything i found on the internet and in the end just removing it and using alsa only, I think I've narrowed the problem down to the kernel module.

My Audio Codec is a Realtek® ALC898, for which I have no Idea what model I have to load
Searching around on the web yields that it should be compatible with ALC882, but I've tried every option for this chip and the problem persisted.

Only when I used model=generic, the problem is less severe, but there is still some skipping here and there. I've tried other options (different values for position_fix, enable_msi), nothing helped...

I don't know what else to try, it's really frustrating.
Any kind of help would be very appreciated
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 29, 2012 5:16 pm    Post subject: Reply with quote

Useful debugging info:

Code:
wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload

Then show us the URL that the script shows at the end.
Back to top
View user's profile Send private message
linedot
n00b
n00b


Joined: 15 Mar 2012
Posts: 8
Location: Germany

PostPosted: Sun Apr 29, 2012 5:25 pm    Post subject: Reply with quote

here: http://www.alsa-project.org/db/?f=f99156897dc6b517e965c6cd2b6fcc67eb4850e2

edit: removed alsa from kernel and emerged alsa 1.0.25 from poly-c overlay, but still same problem :(
http://www.alsa-project.org/db/?f=8aa1c419c9c077dfc1a6f08eb19986cbaa53ad8b
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 29, 2012 5:56 pm    Post subject: Reply with quote

Code:
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfb520000 irq 77
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb080000 irq 36
 2 [Headset        ]: USB-Audio - Creative USB Headset
                      Creative Technology Creative USB Headset at usb-0000:08:00.0-1.4, full speed

So, which one do you want to use? Personally, I would disable the other 2, which means unplugging the headset, and compiling the kernel (or even better, alsa-driver, for more recent ALSA code which actually matches your versions of alsa-lib and alsa-utils) with the specific HDA (Intel or Nvidia) only.

If you don't know which model= option to use, try all of them - write a little script to unload then reload the ALSA kernel modules, looping through the model names, and running speaker-test. There was a script posted on the Arch Linux forum - bonus points if you can track that down ;)

Obviously, google for the model number/name of your motherboard/laptop/system, with the word "alsa", to see how other users have fared.

Edit:
Code:
pcm.!default {
   type pulse
}

You're using pulse currently - get rid of that, it'll just confuse things.
Back to top
View user's profile Send private message
linedot
n00b
n00b


Joined: 15 Mar 2012
Posts: 8
Location: Germany

PostPosted: Sun Apr 29, 2012 6:39 pm    Post subject: Reply with quote

googling for my board/codec didn't help except for the things I already found :/.

I disabled pulse again just to be sure - didn't change anything.
unplugged headset and disabled nvidia hdmi - didn't change anything

I already tried all ALC882 and ALC880 possible models and some others. I'll try the others too, but it seems highly unlikely.

I think my chip might be busted. I'll try and install windows on an old hdd to see if their drivers produce the same sound
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 29, 2012 7:00 pm    Post subject: Reply with quote

linedot wrote:
googling for my board/codec didn't help except for the things I already found :/.

Well, we're not mind-readers, and don't know what you already found. Or if other people say it works in ALSA.
Back to top
View user's profile Send private message
linedot
n00b
n00b


Joined: 15 Mar 2012
Posts: 8
Location: Germany

PostPosted: Mon Apr 30, 2012 6:31 am    Post subject: Reply with quote

Sorry - I meant the things I already posted.

But that statement is wrong - I also found out that apparently support for the chip was added only in 1.0.25 and found some things about trying kernel 3.2.*. unfortunately that didn't work either. I didn't find anyone with my problem or anyone simply stating that sound worked (apart from the patch stating it should be compatible with 882).

I've now tried every single option for model and only model=generic works.

I think I'll just roll with generic for now
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Apr 30, 2012 6:59 am    Post subject: Reply with quote

Things to try:

    hda-verb
    Post on the ALSA bugzilla.
    Try the ALSA IRC chatroom.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum