[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: All flash videos playing far too quickly - SOLVED



On 02/19/2012 04:58 AM, Florian Kulzer wrote:
On Sat, Feb 18, 2012 at 17:59:16 -0500, brian wrote:
On 02/18/2012 04:09 PM, Florian Kulzer wrote:
On Sat, Feb 18, 2012 at 12:39:53 -0500, brian wrote:
On 02/17/2012 05:11 PM, brian wrote:
On 02/17/2012 02:40 PM, Richard Owlett wrote:

  [...]

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658128

  [...]

The bug report cited above suggests that the HDMI alsa sink is the root
of the problem.

  [...]

Are you actually using the HDMI output for sound?

No.

  [...]

cat /proc/asound/cards
0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe7f4000 irq 16
1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe9e8000 irq 19
2 [CODEC          ]: USB-Audio - USB Audio CODEC
                      Burr-Brown from TI USB Audio CODEC at usb-0000:00:12.1-1, full speed

So there is an USB audio device connected as well? If you want to use
that one with flashplayer then it might be enough to run

   modprobe -r snd_hda_intel
   modprobe -r snd_usb_audio
   modprobe snd_usb_audio index=0

as root or with sudo. You may have to log out from your desktop
environment and issue these commands on a terminal (you cannot remove
modules that are in use). After you have done this, verify that
/proc/asound/cards now lists the USB device as card number 0, then try
if you get sound output from flashplayer. The annoying thing about sound
with Flashplayer is that the browser plugin seems to be hell-bent on
using alsa's card number 0 directly; I have never managed to make it to
respect any KDE/phonon or pulseaudio setting that says otherwise.

If you want to use the Intel SB device then you can test if disabling
the HDMI sink is sufficient to make flashplayer behave:

   modprobe -r snd_hda_intel
   modprobe snd_hda_intel enable=1,0

(Verify that /proc/asound/cards lists SB as card 0 and that the HDMI
card is gone after you do that.)

If you find a configuration that works then you can make it permanent by
putting the corresponding module options in a file in /etc/modprobe.d/
to make them persistent across reboots. I recommend creating an extra
file for that rather than adding the options to an existing file. (This
approach ensures that your settings will never be overwritten by an
upgrade.)


My apologies to anyone who's been following this and waiting for confirmation of the results. Sometimes life interferes with computing...

As you may have seen from another reply, the USB device was definitely my cassette tape to MP3 converter. I unplugged that, the third entry in /proc/asound/cards disappeared.

On to the two commands to disable the HDMI sink. I logged in as root in console mode, and entered the two commands you gave.

The output of the first command was

snd_hda_intel 0000:01:05.1: PCI INT B disabled
snd_hda_intel 0000:00:14.2: PCI INT A disabled


The output of the second command was

snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
hda_codec: ALC1200: BIOS auto-probing.
hda_codec: ALC1200: SKU not ready 0x411111f0
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input8
input: HDA ATI SB Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
snd_hda_intel: probe of 0000:01:05.1 failed with error -2

While this looked a little less than promising, logging out of the console, logging back in as myself and then running startx seems to have got everything working on my PC. I have sound, MP4s play correctly, and flash videos play correctly.

Thanks all, but especially Florian, for your assistance.


Brian.


Reply to: