Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 137247 Enable VAVDA by default on Linux for VA-API-assisted HW video decode
Starred by 302 users Project Member Reported by fischman@chromium.org, Jul 13, 2012 Back to list
Status: WontFix
Owner: fischman@chromium.org
Closed: Mar 2014
Cc: posciak@chromium.org, dongseon...@intel.com, jorgelo@chromium.org, anandc@chromium.org, zmo@chromium.org
Components:
OS: ----
Pri: 2
Type: Feature

Restricted
  • Only users with Commit permission may comment.


Sign in to add a comment
Currently there are no plans to do this, but if/when that changes, this bug will be updated to reflect that change of plans.
 
Comment 1 by fischman@chromium.org, Jul 13, 2012
Labels: -Type-Bug Type-Feature
Comment 2 by jorgelo@chromium.org, Jul 26, 2012
Cc: jorgelo@chromium.org
Project Member Comment 3 by bugdroid1@chromium.org, Jul 26, 2012
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=148659

------------------------------------------------------------------------
r148659 | jorgelo@chromium.org | 2012-07-26T23:53:06.050607Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/content/renderer/render_view_impl.cc?r1=148659&r2=148658&pathrev=148659

Add a comment for Linux video decode acceleration.

BUG= 137247 

Review URL: https://chromiumcodereview.appspot.com/10821049
------------------------------------------------------------------------
Comment 4 by posciak@chromium.org, Jul 27, 2012
Why is this WontFix?
Comment 5 by jorgelo@chromium.org, Jul 27, 2012
I think Ami opened this bug to keep track of progress. I'm guessing once there's someone actively working on it, it will be flipped to some open state.

My change above was just linking this bug to the part of the code where the disable-accelerated-video-decode flag is processed.

Maybe "Available is better".
Comment 6 by posciak@chromium.org, Jul 27, 2012
Status: Available
Comment 7 by fischman@chromium.org, Jul 27, 2012
Status: WontFix
I marked it WontFix intentionally, because nobody is working on implementing this now, and nobody's planning on doing so in the future.  When that changes, this bug can be reopened/assigned.  
Project Member Comment 9 by bugdroid1@chromium.org, Sep 13, 2012
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=156677

------------------------------------------------------------------------
r156677 | fischman@chromium.org | 2012-09-13T23:38:50.000177Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/content/common/gpu/media/vaapi_h264_decoder.cc?r1=156677&r2=156676&pathrev=156677
   M http://src.chromium.org/viewvc/chrome/trunk/src/content/common/gpu/media/rendering_helper_gl.cc?r1=156677&r2=156676&pathrev=156677

Hacks to make HW decode work on linux via libva.

This still requires telling gyp chromeos=1 but with this (and a couple
of upstream vdpau-driver hacks) both chrome &
video_decode_accelerator_unittest work well on my lucid laptop (NVIDIA
graphics libva wrapping vdpau-driver).

BUG= 137247 


Review URL: https://chromiumcodereview.appspot.com/10909112
------------------------------------------------------------------------
hello how can i test this ? 

i built chrome with ./build/gyp_chromium -Dchromeos=1
and start chrome with 
./chrome --ignore-gpu-blacklist --enable-vaapi  --enable-internal-flash --enable-bundled-ppapi-flash  --ppapi-flash-path=/opt/google/chrome/PepperFlash/libpepflashplayer.so --ppapi-flash-version=11.3.31.323

i cannot see any hardware decoding in osmf flash player 
http://osmf.org/dev/2.0gm/debug.html

chrome://gpu shows me video hardware decoding enabled
VENDOR = 0x8086 [Intel Corporation], DEVICE= 0x0126 [2nd Generation Core Processor Family Integrated Graphics Controller]

libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.15
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD


Comment 11 by posciak@chromium.org, Sep 16, 2012
@10: Please try HTML5 video. Flash video acceleration is not supported currently.
ok do you have a sample htm5 video h264 ? does chrome dev  works with h264?
and how i can see if it is hw decoding with html5?  
Comment 13 by sarg...@gmail.com, Oct 12, 2012
It should be a must to have HW video decoding enabled when using VA-API on Linux
Labels: Restrict-AddIssueComment-Commit
I'm restricting comments because this bug is for people to subscribe to if they want to be notified if/when support is added in the future, not a support forum for a non-existent / unsupported feature.
Project Member Comment 15 by bugdroid1@chromium.org, Nov 20, 2012
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=168898

------------------------------------------------------------------------
r168898 | phajdan.jr@chromium.org | 2012-11-20T22:45:16.856286Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/content/content_tests.gypi?r1=168898&r2=168897&pathrev=168898
   M http://src.chromium.org/viewvc/chrome/trunk/src/content/content_common.gypi?r1=168898&r2=168897&pathrev=168898

Do not compile third_party/libva on Linux. It's not used.

This is also helpful for Linux distros, by removing one bundled
library from their list.

BUG= 137247 


Review URL: https://chromiumcodereview.appspot.com/11418079
------------------------------------------------------------------------
Project Member Comment 16 by bugdroid1@chromium.org, Mar 11, 2013
Labels: -Feature-Media-Video -Area-WebKit Cr-Content Cr-Internals-Media-Video
Project Member Comment 17 by bugdroid1@chromium.org, Apr 6, 2013
Labels: -Cr-Content Cr-Blink
If/when we decide to pick this up, https://codereview.chromium.org/15955009/ may be of interest.
Cc: zmo@chromium.org anandc@chromium.org
Issue 244386 has been merged into this issue.
Comment 20 by agautam@chromium.org, Oct 21, 2013
Issue 145220 has been merged into this issue.
Cc: dongseon...@intel.com
Cc: -dongseon...@intel.com fischman@chromium.org
Owner: dongseon...@intel.com
Hi, I try to enable it in Linux by defalut: https://codereview.chromium.org/176883018/
In my opinion, there is not big reason to not enable it in Linux, because zmo@ already made GPU blacklist control accelerated video decode.
Could you have a chance to look at the CL?
Status: Started
Cc: -fischman@chromium.org dongseon...@intel.com
Owner: fischman@chromium.org
Status: WontFix
Issue 370001 has been merged into this issue.
Blocking: 590209
Sign in to add a comment