PDA

View Full Version : [ubuntu] VLC: sound cuts out (ubuntu 10.04)



HyperFlexed
May 16th, 2010, 02:58 AM
Hi, I'm running Ubuntu 10.04 with the realtime kernel.


johnny@picard:$ uname -r
2.6.31-10-rt


VLC is 1.0.6

Symptom: Playing video files works fine, however sometimes the audio just stops playing. The video continues. Only reliable fix is to write down where I left off, close VLC, and restart where I left off. While the audio stops working in VLC, I'm able to play wav files using aplay. The rest of system sounds still work fine.

I'm wondering if anyone else has had this issue, or if I should open up a bug report.

clydacs
May 18th, 2010, 04:28 AM
I've had a similar problem with I first noticed playing Chromium B.S.U. Shortly after starting a game there is a momentary pause (less than a second) of movement when the sound stops. My audio is onboard Realtek AC97 on an older P4 2.8 GHZ ATX with 756MB ram. Audio also doesn't work with youtube or hulu (flash) under firefox 3.6 and the current adobe flash plug-in from Ubuntu software center.

HyperFlexed
May 18th, 2010, 05:51 AM
I've had a similar problem with I first noticed playing Chromium B.S.U. Shortly after starting a game there is a momentary pause (less than a second) of movement when the sound stops. My audio is onboard Realtek AC97 on an older P4 2.8 GHZ ATX with 756MB ram. Audio also doesn't work with youtube or hulu (flash) under firefox 3.6 and the current adobe flash plug-in from Ubuntu software center.

You're also using the realtime kernel?

clydacs
May 18th, 2010, 01:51 PM
Actually I'm not running the realtime Kernel - Linux 2.6.32-22 generic. This is the first time I've worked with Linux and until you mentioned it I didn't know there was a "realtime" Kernel. Is it possible the sound cut out is related to the graphics driver (NVIDIA)? It seems that when ever I'm doing something where video hardware acceleration is tapped that's when the sound goes.

HyperFlexed
May 18th, 2010, 01:56 PM
Now that you mention it, that seems to be the case for me as well. Audio players work fine, but as soon as I watch youtube, or use VLC, I have to constantly restart the program to fix the problem.

With the generic kernel, my sound works, but the video will freeze occasionally while the sound runs on. I'm using the NVIDIA drivers as well.

budzis
May 18th, 2010, 02:21 PM
1

budzis
May 18th, 2010, 02:21 PM
I have a Ubuntu 10.04. After installation there was no problem - the video was played, the sound was. But then, after the imposition of a renewal, started the problems. VLC playing video suddenly lost sound. Flash player stops in Firefox and Chromium and the browser stops working altogether. Totem player plays the video and every time stops for 10-30 seconds.

clydacs
May 19th, 2010, 04:37 AM
I spent a little more time on the sound fallout; I installed tried the LXDE envirionment but still had the sound falloff while running Chromium B.S.U. and could not run youtube feeds. I installed 'latencyTOP" and found delays waiting for the cpu of up to and sometimes over 1second for Xorg, firfox, Compiz, and Jbd2/Sda5-8. I'm not really sure how to inturpret the results of latancyTOP but from what I understand it appears the there is excessive latency in the video processes when put under higher demand. My Nvidia card is older with only 64MB however much more demanding applications run well under windows on the same computer (netflix watch now, celestia with high res textures etc. I still suspect the sound fall out is related to the video drivers. Maybe there is a buffer issue with older nvidia cards?

JayRobert
May 19th, 2010, 07:52 AM
I don't think it's just older NVIDIA cards - I have a three-month old Gigabyte GeForce GT 240 with the same kind of issues. I have also tried several realtime kernels to see if it was just lack of NVIDIA support for a particular kernel, since I have read that sometimes NVIDIA support for the realtime kernels lags a bit, but same result with each - see this thread (http://ubuntuforums.org/showthread.php?t=1487419) for details.

clydacs
May 19th, 2010, 02:41 PM
It makes sense then that it may be an issue with the NVIDIA drivers. Additionally, I have a second older computer configured much the same as the one I originally posted about except it has onboard video and doesn't use NVIDIA drivers. With Ubuntu 10.04 it runs fine without sound fall out although youtube and hulu (and possible other streaming content) seem to run a bit slower than the same system under windows XP. How does one go about starting a bug report?

JayRobert
May 19th, 2010, 06:41 PM
I've never filed one yet, but found this with a little searching: Launchpad (https://launchpad.net/ubuntu).

I have to go into work shortly, or I would figure out how to file it myself. I will look back at this thread late tonight to see if you were able to do so; if not, I'll try to file a bug report on this.

Thanks!

lidex
May 20th, 2010, 01:41 PM
Hi, I'm running Ubuntu 10.04 with the realtime kernel.


johnny@picard:$ uname -r
2.6.31-10-rt


VLC is 1.0.6

Symptom: Playing video files works fine, however sometimes the audio just stops playing. The video continues. Only reliable fix is to write down where I left off, close VLC, and restart where I left off. While the audio stops working in VLC, I'm able to play wav files using aplay. The rest of system sounds still work fine.

I'm wondering if anyone else has had this issue, or if I should open up a bug report.
What do you have audio output set to in vlc? Firefox/flash:
http://ubuntuforums.org/showthread.php?t=1455816

sojournerC
May 28th, 2010, 06:22 PM
I am using a professional sound card in a PCI slot - Juli@ by EVO - and have the same problems with sound cutting out.

It happened in Karmic and now in Lucid as well.

This may isolate it away from drivers.

Perhaps some buffer numbers in pulse or alsa plugins?

clydacs
June 3rd, 2010, 04:58 PM
It's been a while since I've been able to get back to this but I tried the link that lidex posted. I created the conf file as described and there was no difference. souournerC, do you have the nvidia driver for video?

chrisinspace
June 4th, 2010, 07:21 PM
I've been having a similar issue, but I haven't been able to find a solution yet. There's a tons of postings and articles about getting sound to work when it is totally broken, but not much on sound that works fine and then drops from time to time. This is affecting me across multiple applications (XBMC, VLC, Flash) and I do have the nVidia (195) driver. The media hangs for a second and then resumes playing, but without sound.

Replicounts
July 6th, 2010, 04:22 PM
Simple test if no sound with VLC etc. -- try with headphones.

Note that you DO hear system alert tones from the speaker, even if the speaker is turned off in the system settings. At least you do hear the Ubuntu alert on my Netbook. And the default when I downloaded Ubuntu 10 is that the speaker was turned off -- understandably, since $300 netbooks won't spend money for quality speakers.

To check your setting, under System, choose Preferences, then Sound. Click the Output tab. Then at "Connector:", make sure it is set to Analog Speakers, unless you don't want any audio (except alerts) from the speakers.

HyperFlexed
July 7th, 2010, 05:24 PM
Simple test if no sound with VLC etc. -- try with headphones.

Note that you DO hear system alert tones from the speaker, even if the speaker is turned off in the system settings. At least you do hear the Ubuntu alert on my Netbook. And the default when I downloaded Ubuntu 10 is that the speaker was turned off -- understandably, since $300 netbooks won't spend money for quality speakers.

To check your setting, under System, choose Preferences, then Sound. Click the Output tab. Then at "Connector:", make sure it is set to Analog Speakers, unless you don't want any audio (except alerts) from the speakers.

relevance?

Robertm305
July 11th, 2010, 07:53 PM
hello everybody my sound keeps cutting off after i start playing music on vlc, rythmbox , and movie player but when i press stop and play it starts working again but it still cuts out does any one know how to fix this im really new to ubuntu please i need helppppppppppppppppppppppppppp

Robertm305
July 11th, 2010, 08:11 PM
hello everybody my sound keeps cutting off after i start playing music on vlc, rythmbox , and movie player but when i press stop and play it starts working again but it still cuts out does any one know how to fix this im really new to ubuntu please i need helppppppppppppppppppppppppppp

medley_44
July 27th, 2010, 02:41 AM
I'm having a similar problem in Mythbuntu 10.04. Sound will occasionally cut out while watching a movie, which requires me to exit out of the movie and then play it again.

Note that this does not concern VLC, since I use MythTV's "Internal Player". However, my problem seems relevant to this post because I have an older nVidia card and am using the proprietary drivers; so, there may be a connection.

I ran Mythbuntu 9.04 on the same hardward for over a year and never experienced any sound problems.

I'm using the default kernel, by the way.

fernando-madrid
August 7th, 2010, 04:15 PM
Same problem here.

Vlc, youtube, skype work fine for a while then sound stops.

I have Ubuntu Studio Lucid 10.4 (kernel 2.6.31-11-rt) upgraded from 8.04 on a Dell laptop XPS M1330 and all sounds worked fine for a couple of months after upgrade but about 3 weeks ago the sound breaks after a playing for while.

I've followed Temüjin instructions with asound.conf (http://ubuntuforums.org/showthread.php?t=1455816).
I've updated alsa with AlsaUpgrade-1.0.23-2.sh and the problem still persists.

Any ideas?

Thanks in advance.

fer

lidex
August 7th, 2010, 05:35 PM
Does this happen with skype running - how about without?

fernando-madrid
August 7th, 2010, 11:35 PM
Does this happen with skype running - how about without?

It happens without skype running, if it is skype what I'm using skype's sound (mic and all) stops working.
I don't think it is a vlc or skype issue I think it must be at a lower level.

carlotheman
August 18th, 2010, 01:46 PM
I have the same problem.

I have the realtime kernel and an ATI graphics card running the open source drivers.

I use a my interal sound card, but a PCMCIA sound card is also installed.

It happens mainly using VLC.

roy.nico
August 20th, 2010, 08:57 AM
Actually I'm not running the realtime Kernel - Linux 2.6.32-22 generic. This is the first time I've worked with Linux and until you mentioned it I didn't know there was a "realtime" Kernel. Is it possible the sound cut out is related to the graphics driver (NVIDIA)? It seems that when ever I'm doing something where video hardware acceleration is tapped that's when the sound goes.

Hello, for me it was the case. I have been fighting a long time with crackly sound under lucid (with all apps). I found the "solution" yesterdays : i removed the proprietary drivers for my nvidia onboard graphic card, reboot, and it was ok. Now, i can't have the nice 3D desktop effects, but at least i can hear music...

But why the graphics drivers interfere with the sound ... big mystery

nico

supersas
August 20th, 2010, 06:51 PM
hi,
i have got the problem with sound. whenever i try to play any type of sound it plays for a while then it stops and i have play it again. i notice that when the sound stops then at the same time something happen to the volume controller in the above panel. It shows itself mute for a second then sound stops and then the volume goes up again but i cant here any thing . to listen to it i have to play it again.
i tried to do solve this problem by using the steps you guys told but nothing worked here..
Please guide me through this problem. i am very sad about my ubunuts sound :(

lidex
August 21st, 2010, 12:00 AM
hi,
i have got the problem with sound. whenever i try to play any type of sound it plays for a while then it stops and i have play it again. i notice that when the sound stops then at the same time something happen to the volume controller in the above panel. It shows itself mute for a second then sound stops and then the volume goes up again but i cant here any thing . to listen to it i have to play it again.
i tried to do solve this problem by using the steps you guys told but nothing worked here..
Please guide me through this problem. i am very sad about my ubunuts sound :(

Try running this command in a terminal for 10.04 or later:

ubuntu-bug audio
Reference the Ubuntu-Bug Audio link in my sig.