LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Choppy video in Firefox with Flash Player (https://www.linuxquestions.org/questions/linux-newbie-8/choppy-video-in-firefox-with-flash-player-4175507252/)

maples 06-06-2014 11:00 AM

Choppy video in Firefox with Flash Player
 
Hi,
I've been watching videos online, and every now and then the video will start to get choppy. It will play a bit, freeze for less than a second, then resume, only to have it happen again. I've Googled this, and it says to disable hardware acceleration through Firefox and the flash player. I disabled it on Firefox, and there isn't much improvement. I tried to disable it through the flash player according to Adobe's instructions. I right-click on the Flash Player logo, and I see the "Settings" option they refer to, but it is greyed out and I can't click on it. I went to Youtube, and the "Settings" option is avalible there, so I clicked on it. It opened the settings box in the middle (like it is suppossed to) but it is completely locked up and the flash player became completely unresponsive.

Is there a global config file that I could manually edit to disable hardware acceleration?

Thanks!

amani 06-06-2014 11:41 AM

post all of your graphics card details in

lspci -v

you can change both applications in FF and options in system settings

webm is far better.

maples 06-06-2014 01:15 PM

Here's the output. I ran it as root because when I didn't it had a few "Access Denied" messages.
Code:

[anthony@newerLaptop ~]$ sudo lspci -v
[sudo] password for anthony:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
lspci: Unable to load libkmod resources: error -12

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0, IRQ 61
        Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at a0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0, IRQ 64
        Memory at b0710000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04) (prog-if 30 [XHCI])
        Subsystem: Dell Device 05e9
        Flags: bus master, medium devsel, latency 0, IRQ 58
        Memory at b0700000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0, IRQ 60
        Memory at b0718000 (64-bit, non-prefetchable) [size=32]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me

00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0, IRQ 63
        Memory at b0714000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b0600000-b06fffff
        Prefetchable memory behind bridge: 00000000b0400000-00000000b04fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 05e9
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: b0500000-b05fffff
        Prefetchable memory behind bridge: 000000009fb00000-000000009fbfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Dell Device 05e9
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Dell Device 05e9
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at b071c000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
        Subsystem: Dell Device 05e9
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
        Subsystem: Dell Device 05e9
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 59
        I/O ports at 4088 [size=8]
        I/O ports at 4094 [size=4]
        I/O ports at 4080 [size=8]
        I/O ports at 4090 [size=4]
        I/O ports at 4060 [size=32]
        Memory at b071b000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
        Subsystem: Dell Device 05e9
        Flags: medium devsel, IRQ 18
        Memory at b0719000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 4040 [size=32]

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
        Subsystem: Dell Device 05e9
        Flags: bus master, fast devsel, latency 0, IRQ 62
        I/O ports at 3000 [size=256]
        Memory at b0600000 (64-bit, non-prefetchable) [size=4K]
        Memory at b0400000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-36-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Kernel driver in use: r8169

02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
        Subsystem: Dell Device 020c
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at b0500000 (64-bit, non-prefetchable) [size=512K]
        Expansion ROM at 9fb00000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k

I probably should mention that I'm running Arch Linux, and everything's up-to-date.

Thanks!

maples 06-12-2014 06:11 PM

I think I figured it out, with the help of this Arch Wiki page: https://wiki.archlinux.org/index.php...ear-free_video (should have looked there first...)

EDIT: Unfortunately, after a few videos, the problem resumed. I went back to the videos where I had no problems, and it was choppy there, too. So it is universal, not just on some videos. Any ideas?

maples 06-12-2014 06:48 PM

It seems like the proper video driver is loaded for my laptop (from the lspci output above).

Here are the intel-related packages I have installed:
Code:

[anthony@newerLaptop ~]$ pacman -Ss | grep installed | grep intel
extra/intel-dri 10.2.1-1 [installed]
extra/intel-tbb 4.2_20140122-1 [installed]
extra/xf86-video-intel 2.99.911-2 (xorg-drivers xorg) [installed]

I have no idea why it worked for 3 or 4 videos just fine, then started being choppy again. Closing and re-opening Firefox doesn't seem to work.

I have one video-related config file in /etc/X11/xorg.conf.d/
Code:

[anthony@newerLaptop ~]$ cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"

#  Tried this next line, didn't work
#  Option      "AccelMethod"  "uxa"

  Option      "TearFree"    "true"
EndSection

Is there anything else useful that I should post? I've never had an issue like this before, so I'm not positive what I need to post.

Thanks!

maples 07-27-2014 12:41 PM

I thought I'd post what I did, in case anyone has the same issue. I never got Firefox to work, but for whatever reason Google Chrome has no problems at all. So that's what I use when I need to watch a video.


All times are GMT -5. The time now is 03:02 PM.