You are not logged in.

#1 2010-01-19 02:30:20

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Audio in Youtube

When playing youtube videos, the sound will cut out as if it needs to be buffered. but if I instantly pause and unpause the video it will play the sound again. To get a feel for my problem, watch a video and cover your ears for random amounts of time at random intervals. The vast majority of the video's sound gets lost.

I use:
DWM, with slim
external speakers, wired to an audio jack
latest flash (10.0.34?, have tried AUR prerelease)
Google Chrome Beta, AUR (same on firefox)

Sound works perfectly outside of Youtube, and only fails on Youtube videos

I don't know what caused it as it has been happening for since the beginning of my arch linux.

-----------------

side question, if you have used slim and xdm, which was faster and less memory offensive. But above it more important

Offline

#2 2010-01-19 02:37:19

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Does the sound problem occur with all flash videos or just flash videos on youtube?

If it only happens with flash videos on youtube, that is a problem with youtube.

On the Slim vs Xdm: Not sure which, but they are such tiny applications that you wouldn't notice a difference.

Last edited by alex_dc (2010-01-19 02:39:57)

Offline

#3 2010-01-19 22:32:12

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

Only on youtube, but if it doesn't happen with others then there would be a problem with my computer

Offline

#4 2010-01-20 01:09:57

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Mr.Macdonald wrote:

Only on youtube, but if it doesn't happen with others then there would be a problem with my computer

Sorry, I don't understand your comment. Do you mean that it doesn't happen with other websites/flash videos, or that it doesn't happen with other operating systems? Or maybe you mean that it doesn't happen with other people?

If you mean the first, that it doesn't happen with other websites/flash videos, then I repeat my first comment: if this is ONLY occuring with the videos on youtube, and you have tested with flash videos from other websites, then there is nothing wrong with your computer/your operating system, that is a problem with youtube. As a test, does the problem occur when watching this video: http://www.graspr.com/videos/Creating-a … ash-Part-2


If you mean that it doesn't happen with other operating systems (Windows, Ubuntu, or something else), then it is a problem with the setup of your current operating system. Please be as specific as possible when describing what does/does not work if this is your problem.


If you mean that it doesn't happen with other people, then please answer the following questions:

1. Can you view flash videos from other websites without problems?
2. If you have other computers in the house, or if you have used other computers in the house, do you have the same problem with those computers?
3. If you have used used another operating system with this computer (Windows, Ubuntu, or something else) did you have the same problem?


I understand English is not you primary language, but please try to be as specific as possible in describing your problem. Say more if you are unsure if you are specific enough. I speak bad Chinese and bad Spanish, believe me I understand.

Last edited by alex_dc (2010-01-20 01:14:22)

Offline

#5 2010-01-20 02:44:06

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

Sorry for being indescript! (word?)

1. I just tested a few of flash video sites, and they all failed. I used to think it was just Youtube but they all failed.

2. I have another Windows computer which works as well as windows does. I also have a laptop with a very, very similar Arch Linux install as this computer which also has the same problem

3. I have use other OSs on this computer without any problems that I can remember

Si puedo hablar, leer, y escribir espanol pero ingles ... is my first language.
What made you think otherwise? Maybe I have a split personality with a communist (China Cuba?)

Offline

#6 2010-01-20 04:04:33

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Mr.Macdonald wrote:

Sorry for being indescript! (word?)

1. I just tested a few of flash video sites, and they all failed. I used to think it was just Youtube but they all failed.

2. I have another Windows computer which works as well as windows does. I also have a laptop with a very, very similar Arch Linux install as this computer which also has the same problem

3. I have use other OSs on this computer without any problems that I can remember

Si puedo hablar, leer, y escribir espanol pero ingles ... is my first language.
What made you think otherwise? Maybe I have a split personality with a communist (China Cuba?)

Sorry! I was helping someone on another thread with a similar problem who spoke german. I got mixed up on the response. tongue

Unusual. Your sound works perfectly fine otherwise? You can play music, etc, without problems?

Did you use the beginner's guide or the installation guide when setting the system up? How closely did you follow the guide. Specifically, did you black list snd_pcsp or assign it to load after your sound card module? http://wiki.archlinux.org/index.php/Beg … igure_ALSA

Offline

#7 2010-01-20 05:18:18

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

I don't remember the guide I used. Probably a combination of everything, I am decently experienced with Linux in general.

I, for what ever reason, didn't blacklist snd_pcsp. But my system is on autoload and doesn't load that module. And yes, all other sound works.

As to following instructions, I had had my fill of exploding systems so I am pretty sure I followed them to the letter. For each part of the installation I pulled all the Arch wikis on that subject. My effort was worth it, everything but the sound works fast and flawlessly!

I booted my laptop, which isn't on autoload (for speedy boot), and it doesn't load snd_pcsp either and has same problem.

Non Flash videos play perfectly as I use mplayer, leading me to believe that it is a flash specific issue

Offline

#8 2010-01-20 05:40:46

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Audio in Youtube

Are you using alsa directly?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2010-01-20 07:15:43

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Mr.Macdonald wrote:

I don't remember the guide I used. Probably a combination of everything, I am decently experienced with Linux in general.

I, for what ever reason, didn't blacklist snd_pcsp. But my system is on autoload and doesn't load that module. And yes, all other sound works.

As to following instructions, I had had my fill of exploding systems so I am pretty sure I followed them to the letter. For each part of the installation I pulled all the Arch wikis on that subject. My effort was worth it, everything but the sound works fast and flawlessly!

I booted my laptop, which isn't on autoload (for speedy boot), and it doesn't load snd_pcsp either and has same problem.

Non Flash videos play perfectly as I use mplayer, leading me to believe that it is a flash specific issue

Deinfitely flash-specific. There seem to be a few suggestions on the Arch wiki, see if any of them help:

http://wiki.archlinux.org/index.php/Ado … leshooting



And if not:

Just to be thorough (I know I can be irratting with some of these questions, but I want to make sure we don't miss anything), you have tried playing flash videos in all the following ways:

1. Firefox with regular flash downloaded via pacman
2. Firefox with pre-release flash downloaded via AUR
3. Google Chrome with regular flash downloaded via pacman
4. Google Chrome with pre-release flash downloaded via AUR

and none have worked correct?

Also, are you using the adobe flash plugin, or an open-source alternative? Have you only installed one type of plugin, or did you at some point install another and later replaced it? I had an issue with openjdk not being completely removed by pacman, and java not working properly, which is why I ask.

Offline

#10 2010-01-20 16:26:29

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

this sounds promising

Flash blocks sound and/or delayed playback
If sound is delayed within flash video and/or if Flash stops sound from any other application, then:
$ vim /etc/rc.conf
Locate the MODULES array and add snd-pcm-oss to banned modules, which should look like:
MODULES=( !snd-pcm-oss )

I will try it when I get back to my computer EDIT: I tunneled into my computer and found snd_pcm_oss loaded, so I blacklisted and rebooted, but I still can't check if it worked yet. I think the wiki had a typo

1. Firefox with regular flash downloaded via pacman
2. Firefox with pre-release flash downloaded via AUR
3. Google Chrome with regular flash downloaded via pacman
4. Google Chrome with pre-release flash downloaded via AUR

Tried All and none worked

Are you using alsa directly?

Don't know what this means, but I am using alsa run as a bootup process (ones in rc.conf)

I don't believe that I have used gnash or others

$ sudo find / -name "*gnash*"
Password:
/var/abs/extra/gnash-gtk
/var/abs/extra/gnash-common
/var/abs/community/jgnash
/var/abs/community/jgnash/jgnash.desktop
/var/abs/community/jgnash/jgnash.sh
/var/abs/community/jgnash/jgnash.png
/var/lib/pacman/sync/extra/gnash-common-0.8.6-2
/var/lib/pacman/sync/extra/gnash-gtk-0.8.6-2
/var/lib/pacman/sync/community/jgnash-1.12.0-1

I think I am good

Last edited by Mr.Macdonald (2010-01-20 16:29:17)

Offline

#11 2010-01-20 20:50:40

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

blacklisting that snd_pcm_oss did nothing

Offline

#12 2010-01-20 21:50:05

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Mr.Macdonald wrote:

blacklisting that snd_pcm_oss did nothing

Is the other suggestion relevant? Do you use CPU frequency scaling or an ATI card?

http://wiki.archlinux.org/index.php/Ado … erformance

Last edited by alex_dc (2010-01-20 21:52:25)

Offline

#13 2010-01-21 19:15:55

Mr.Macdonald
Member
Registered: 2008-10-09
Posts: 26

Re: Audio in Youtube

I use neither

Offline

#14 2010-01-22 16:21:58

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: Audio in Youtube

Well that doesn't make any damn sense!

Uninstall Flash. Download the tar file directly from Adobe's site, unzip, and put the lib in (I'm pretty sure it's) /usr/share/mozilla(either that or firefox)/plugins. The plugins directory you'll have to create yourself. (Note: those install instructions may not be entirely accurate, I'm working from the memory of something I did maybe once when I used Slackware)

If that doesn't do anything, try playing around the cpufrequtils settings anyway. I know you don't use them but they are setup in the Arch kernel, and the kernel might by trying to "help you" by enabling them by default, much like KMS.

If THAT doesn't work, then we're left with one of three things, in order of most to least likely:

1. You haven't included all information about the problem/haven't thoroughly tested the issue. Try testing flash under all concievable circumstances to see under exactly what conditions it does/does not work.

2. You did something REAL screwy on your install/setup. Double back over the Beginner's guide, etc., and double check to see you didn't miss any important details.

3. There is a bug in flash. File a bug report with Adobe and see what they tell you.

Last edited by alex_dc (2010-01-22 16:24:05)

Offline

Board footer

Powered by FluxBB