Linux Lite Forums

Hardware - Support => Sound => Topic started by: crunch182 on February 14, 2014, 11:51:42 AM

Title: Stuttering Playback
Post by: crunch182 on February 14, 2014, 11:51:42 AM
Hey,

That seemed to have work thanks but now I'm back to my jittery/stuttery playback of sound.  Can you help with this?  I don't want to end up repeating this troubleshooting cycle thanks.

My first step of course though will be restarting my system and listening to other sounds to see if it's the same output.
Title: Re: Stuttering Playback
Post by: shaggytwodope on February 14, 2014, 12:33:34 PM
What is producing the broken sound, flash video, vlc, videos, mp3s etc?
Title: Re: Stuttering Playback
Post by: crunch182 on February 15, 2014, 04:55:17 AM
I played the default wav sound from the terminal and it stuttered.  I also tried a video on the internet at varying speeds/video quality to no luck.  Finally, I tried a music file off an external usb stick and no luck.  Each of these files all stuttered/struggled to play.
Title: Re: Stuttering Playback
Post by: shaggytwodope on February 15, 2014, 01:17:40 PM
It may be necessary to add a model option to your alsa-base.conf file, open it by typing in a terminal:

Code: [Select]
sudo leafpad /etc/modprobe.d/alsa-base.conf

and pasting only the below line as is, on the bottom of the file, on its own new line.

Code: [Select]
options snd-hda-intel model=dell

Then proceed to reboot, and test audio. If this does not work we may need to test other model options.

A brief reason why, is that the driver tries to do an automatic set for proper flags and in doing so it sometimes gets this wrong. The intel audio is basiclly one of the most common drivers for audio hardware. Because the hardware varies so much we may need to use different model options. Typically this is the cause of your issue of messed up audio, I hope this fixes it. If not we try until it is :-p
Title: Re: Stuttering Playback
Post by: crunch182 on February 16, 2014, 04:51:55 AM
Hey,

I tried editing the file, making sure to save it, and rebooting but to no avail?
Title: Re: Stuttering Playback
Post by: shaggytwodope on February 16, 2014, 11:28:35 AM
What is the model of your computer?
Title: Re: Stuttering Playback
Post by: crunch182 on February 17, 2014, 05:51:50 AM
I am using a dell mini 1010, I believe that the audio driver is supposed to be a dell-multi-driver - I think.
Title: Re: Stuttering Playback
Post by: shaggytwodope on February 17, 2014, 06:36:08 AM
Re-open your configuration file as you have previously,

Code: [Select]
sudo leafpad /etc/modprobe.d/alsa-base.conf

And remove the line you previously added. (or you can place a # in front of it to disable, but its much easier to simply delete the line you can reference this thread later if need be.)

Code: [Select]
options snd-hda-intel model=dell

After you remove the line above enter these lines as is and save the file, exit and reboot. Hopefully it should be solved.


Code: [Select]
# Stuff you Added.
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=basic


The developers for the Linux kernel love to change things and not document it very well. As I believe I explained before this is quite troublesome as this singular driver provides functionality to hundreds of chip sets. It continuously changing and annoying for certain pieces of hardware. If this again does not solve the issue, we resolve to find a fix for you if possible.

If you are wondering what it will look like as a whole file you can vist here. (https://gist.github.com/shaggytwodope/9048873)
Title: Re: Stuttering Playback
Post by: crunch182 on February 18, 2014, 03:59:45 AM
I tried this, and unfortunately it didn't work - still stuttering? :(
Title: Re: Stuttering Playback
Post by: crunch182 on February 24, 2014, 08:06:00 AM
Anyone got any suggestions for my stuttering audio, I guess trying other audio configurations? :o
Title: Re: Stuttering Playback
Post by: Jerry on February 24, 2014, 10:05:08 AM
Open a terminal and type in:


Code: [Select]
aplay -l
and

Code: [Select]
cat /proc/asound/card0/codec#* | grep Codec
and paste the results please.
Title: Re: Stuttering Playback
Post by: crunch182 on February 24, 2014, 11:26:32 AM
It's all honestly it's all gone horribly wrong again, I've lost my sound when I have been trying to find solutions to find stuttering sound.

I have the issue of losing my sound card again, and I really don't know how to install it?  I downloaded the realtek driver for my system but cannot seem to follow the instructions.  I have tried compiling/configuring the driver but fail to do so.  I get the following outputs:

https://gist.github.com/anonymous/9191498

System report is attached.

[attachment deleted by admin, more than 25 days old]
Title: Re: Stuttering Playback
Post by: Jerry on February 24, 2014, 11:35:14 AM
You mentioned you installed the realtek driver, who gave you that instruction? This is where it has all gone wrong I suspect.
Title: Re: Stuttering Playback
Post by: crunch182 on February 24, 2014, 12:23:42 PM
Actually no.  I didn't install anything while trying to find a match for the al269 settings of the driver I was changing the configurations on the last line of the alsa.conf file as I had found many people tried different types that were similar to their make or model.

In regards to the previous posts which I attempted merely straight after it had been posted.  Since it's nearly been a week since my last point I though I try working out how to stop audio stuttering.

Of course, upon occasion you get it wrong, which I did - therefore I need to install my sound card again.  As I know and found out last time; my computer uses Realtek HD Audio which is the alsa alc269 driver, I tried following instructions and compiling the driver myself.

I also of course was following the sound troubleshooting on the forums through the manual and had proceeded to remember what was done last time.
Title: Re: Stuttering Playback
Post by: crunch182 on March 18, 2014, 06:55:55 AM
I run the commands Valtam said to do and following are the results

Code: [Select]
click@lite:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269 Analog [ALC269 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

click@lite:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC269
Codec: Silicon Image SiI1392 HDMI
[code]
Title: Re: Stuttering Playback
Post by: crunch182 on March 18, 2014, 07:44:27 AM
Okay for now I believe it's fixed.  I changed the alsa file

Code: [Select]
sudo leafpad /etc/modprobe.d/alsa-base.conf

on the last line I just changed model=dell

Though, I think I tried that before, so I don't know.  I'm gonna count my blessings.

Cheers guys after a very long sound is normal and working thanks for all the help and I know I was incredibly annoying when troubleshooting.
Title: Re: Stuttering Playback
Post by: crunch182 on March 18, 2014, 09:44:21 AM
Ok this morning I had good results and achieved normal playback however, since then, I have shut down and now rebooted I have found that I have stuttering playback again, any suggestions?
Title: Re: Stuttering Playback
Post by: robert on March 25, 2014, 12:50:48 PM
Hi.  I'm a newbee too and have exactly the same problem with a dell mini 10.  Have followed all advice and still stutters with the alc269.

Would really like to get this thing sorted so wife can ditch XP.
Title: Re: Stuttering Playback
Post by: robert on March 27, 2014, 10:54:39 AM
Have gone onto mplayer2 and it works for me so have removed VLC.  Thought some-one would be interested later.