Linux & Flash HW Acceleration... seemingly impossible? =/

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • y_not
    Same 'ol Song
    • Aug 2009
    • 147
    • United States

    #1

    Linux & Flash HW Acceleration... seemingly impossible? =/

    Sorry for the kinda long post, about 1/2 of it lists what I have attempted, so I outlined that so you can skim it if need be. But I tried to keep that as short as possible also.

    Hello,
    Linux nerds & my fellow computer techs/nerds!

    If I could pick your brains here...
    I have been trying to get Adobe Flash 11.2.x/Chrome Pepper Flash to perform hardware acceleration in various Ubuntu distros. As of late I have really been liking Mint Olevia + Cinnamon quite a bit, but not really set on any one DE/GUI at this point.

    I have tried to get this working on a new this year, Core i7 LGA1155 system running a GeForce 550GTX GPU, as well as various not so old, but not so super new laptops.
    In particular I have been messing with a family member's AMD RS880 (Nile Platform) based notebook /w a Radeon HD4250 Mobility RV620 core based (HD3xxx desktop core) IGP GPU.


    The GUIs run quite well, they're plenty fast too, but I just can't get YouTube videos to play /w "Hardware Video Decoding", only SW. Rendering will do HW, but that barely makes a dent. So playing 720p/1080p video on a 3-4yr old laptop is quite jumpy and un-fluid @ well under full CPU usage. They play perfectly in Windows 8.... yeah, I know.

    Here's what I have tried....

    I have tried both Adobe native flash & Chrome Pepper flash.
    I have tried overriding GPU HW acceleration in Chrome /w a noticeable improvement, but still not good enough. I have used both stable & unstable versions of Chrome, no change. I have tried turning on Adobe's HW acceleration override for the native 11.2.x flash by adding: "EnableLinuxHWVideoDecode=1" to /etc/adobe/mms.cfg /w no GO!
    I get the feeling this flag isn't supported anymore.

    Obviously this system is using the open source Gallium 0.4 drivers /w MesaGL, as the AMD Legacy FGLRX Driver, for Radeon HD5xxx and older GPUs, doesn't work past Kernel v3.2.x/X-Server 1.12.4, so no newer than Pangolin LTS 12.0.1 /w original hardware enablement + kernel stack.
    So I tried this package: https://launchpad.net/~makson96/+archive/fglrx in Ringtail, both Ubuntu Unity/KDE3 & Mint Olevia /w Cinnamon... FAIL!! Black screen at login, no shell access, backlight on. So none of the backlight fixes worked. The FGLRX AMD Kernel module fails to compile on Ubuntu Ringtail /w latest kernel updates for 3.8.0-XX, so I stuck /w the original kernel, that way it was happy and compiled properly. Still no go. I can tap the power button and it'll do a blind, safe shutdown, but just a black screen /w backlight, no video signal on the LCD and nothing on external.
    I found a few other threads with users reporting the same issue, but no actual fixes and there's no support from the developer of the package.

    Decided to give up on that and instead, learn how to upgrade to the mainline kernel 3.11, hoping for a performance boost from its AMD optimizations. That was pretty cool to learn that!! Enabled the newer Radeon DPM kernel switch in GRUB, verified it works with debugfs and still not much better.
    Followed this guide: How To Setup Radeon DPM On Ubuntu Linux Kernel 3.11
    And this: Linux Kernel 3.11 Released! Install It In Ubuntu
    Although I see there is a newer update to the final 3.11 kernel, I'll do that later.
    Also had to fix some missing firmware modules that were found when I did the upgrade, fun adventure, but rewarding and learned a lot!!

    So then I tried upgrading MESA & the Open Source drivers /w no noticeable improvement and still no HW accel.
    I used this guide, as recommended in the above phoronix tutorial, along with it's associated package: Oibaf - Updated & Optimized Graphics Drivers

    I even followed the instructions in the package notes to enable VDPAU support /w no go for flash. I haven't yet tested it /w MPLAYER to see if it's using the newly added VDPAU or not.

    End stuff I have tried...

    All of this was done on the AMD system, even on the nVidia GPU Core i7 system it didn't enable Flash Video HW acceleration /w the proprietary nVidia GPU driver installed. I didn't try all that other stuff on that one though, as I tried it later once I had the AMD system handy.

    I'm really at a loss here as to what to do. I have spent weeks on this, nearly every day /w no progress, other than what I'm learning in other areas of Linux from all of this "beating my head against the wall".

    I can't imagine I'm so much of a Linux newb that I'm just not able to get this going, something tells me it's not me, it's Adobe and their STUPID FLASH!!
    As the Apple HTML5 test video trailer for Tron works beautifully!!! And has pretty low CPU usage, even on the 4yr. old AMD system. But that works out of the box, LOL.

    I thought about trying Kernel 3.12, as it's supposed to have tremendous performance improvements for AMD GPUs as a result of its smarter and more aggressive processor speed switching/power saving state management as reported @ the Phoronix site. But it's still under development, so I really don't want friends and family using an unstable kernel.

    I really want this to work... as it's pretty much a basic requirement for the majority of computer users that watch YouTube videos and I'm quite annoyed, dismayed and frustrated that it doesn't work, even on brand new kit. It's really making me question my desire to work toward moving to Linux, or at least mastering it as an alternative OS for my arsenal of expertise.

    Any ideas as to what to try next, or something you think I might have missed in what I have tried so far, etc... Would be VEEEEERRRYYY much appreciated.
    How to properly apply thermal grease - Y_not's way.
  • cheapie
    null
    • Jul 2010
    • 849
    • USA

    #2
    Re: Linux & Flash HW Acceleration... seemingly impossible? =/

    Did you try asking on IRC? That always seems to be the most helpful.

    Comment

    Related Topics

    Collapse

    • hinisa
      Xiaomi router freezes at boot after re-capping
      by hinisa
      I'm using Xiaomi Router 4A gigabit edition as wireless repeater. It worked fine for 2 years or so, but last week, wireless started to disappear.

      When I unplug/replug the power, it was working fine for a day/half a day or so until it freezes again.

      After testing with different power supply adapters and concluding it wasn't the issue I finally opened the case and this was the situation:



      Anyway I proceed to clean up the mess and replace all caps but unfortunately it made the situation worse. Now router can't even boot, either it freezes during...
      07-08-2023, 05:58 AM
    • tsavpyn
      Requests to Intel Flash Programming Tool for Linux Ubuntu x86_64
      by tsavpyn
      Dear all,
      I forgot my BIOS password of my Surface Pro 3, I searched for solutions for a long time and knew that by using FPT to dump my bios to bin file and using decryptor, I can get my BIOS password.
      Now I have a problem that I am unable to dump my BIOS into bin file.

      My Surface Pro 3 currently runs on Ubuntu 22.04, with Secure Boot enabled and Boot From SSD Only.

      I searched for FPT but there is no Linux version and none of them work.
      I hereby request a copy of Intel Flash Programming Tool for Linux x64.
      I would really appreciate it if anyone...
      05-28-2024, 11:18 PM
    • KevinWysocki
      Aya A39FHD3901/2 - Vestel 17MB82 mainboard - LED blinking
      by KevinWysocki
      Hi there,

      My mother in law gave me an Aya TV, to take a look if I could do something to repair it.

      At startup, LED constantly blinks and no image is shown (even if I light the screen, broken backlight is not the problem), also +12V power rail is fine.

      After some research, it seems that NOR flash often fails on this mainboard, I have found the procedure to force flash upgrading with a USB key connected to mainboard USB port, pressing "OK" button on the remote and plugging the TV power cord.

      Flash upgrade didn't seem to work,...
      08-20-2023, 09:45 AM
    • ekozeko333
      [Help] Lenovo Yoga Slim 7-14ARE05 (DA0LS3MBAF0) – 25Q80DVN1G Flash Is All FF, USB-C PD Stuck at 5V
      by ekozeko333
      Hi all,
      I’m trying to recover a Lenovo Yoga Slim 7-14ARE05 with board DA0LS3MBAF0 Rev:F. I’ve run into an unusual issue where USB-C PD is stuck at 4.7–5V and the system won’t boot (keyboard lights flash briefly, then nothing).
      🔥 The Problem Started After Suspected ESD/PD Fault
      I experienced a power issue or ESD event through a USB-C charger
      After that, the NX20P5090 power switch was visibly burned and was replaced
      Now the PD controller always negotiates 5V @ 2A, even with known-good chargers
      🧠 What I’ve Done So Far
      Flashed...
      06-21-2025, 02:48 AM
    • corrize
      Nikon D800 camera - flash don’t work and capacitor don’t charge
      by corrize
      Hello, I'm stuck in troubleshooting…
      The flash system works like that : when the (mechanic) flash button is pressed, the flash mecanically pop up, and a circuit buck boost elevate 7v (batt) to 200-300v (?) for charging the big capacitor. And when the photo shoot button is pressed, the capacitor is discharged in the xeon light.

      In the D800, there is a first « power board » close to the battery. 2 wires (batt 7v) goes to another little « flash board ». I measured 7v, so ok.
      When I press the flash button, it's detected by the system, flash icon appear on LDC display....
      10-01-2022, 10:02 AM
    • Loading...
    • No more items.
    Working...