You are not logged in.

#1 2015-12-15 19:37:47

89c51
Member
Registered: 2012-06-05
Posts: 741

No Video HW acceleration with Firefox 43.

I tried with both LIBVA_DRIVER_NAME=gallium and vdpau and it doesn't work.

Anything i have to enable?

$ vainfo
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.6.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

and

vainfo
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'gallium'
libva info: Trying to open /usr/lib/dri/gallium_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.6.1)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD

Last edited by 89c51 (2015-12-15 20:30:51)

Offline

#2 2015-12-15 20:33:04

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No Video HW acceleration with Firefox 43.

Firefox never had hardware video acceleration in Linux. Ok, there was gstreamer-vaapi, but it was never actually integrated into Firefox, so it didn't work well (presentation was always done entirely in software) or often didn't work at all - just do a search for "firefox green screen", there will be plenty of hits.

There were issues beyond that with gstreamer (see here), so Mozilla is moving away from it towards using ffmpeg directly. In fact, that's how the Arch package is built, it's now built with --disable-gstreamer, so only direct ffmpeg support is there (there's no --enable-ffmpeg in the Arch mozconfig, but that's because there's no need for it, it's the default).

There will be hardware decoding at some point, see these bugs: vaapi, vdpau.

Offline

#3 2015-12-15 21:17:56

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

Dafuq hmm

Offline

#4 2015-12-16 05:07:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No Video HW acceleration with Firefox 43.

If you want hardware decoding now, there is a way: install freshplayer-plugin and PepperFlash. freshplayer-plugin can be configured to use either vaapi or vdpau. Of course this will only apply to flash video, not to HTML5 video. For HTML5 video you'll need to wait for the Mozilla devs to implement vaapi/vdpau.

Offline

#5 2015-12-16 12:06:50

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

Its nearly 2016 and we are still struggling to get the basics to work as they should. hmm 

Flash is a no go. I'll wait.

Thanks.

Offline

#6 2015-12-16 14:42:53

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No Video HW acceleration with Firefox 43.

It's not about "struggling", it's simply not implemented yet. Windows and OSX got hardware decoding only recently, so it's not like Linux is severely behind. And it's not like other browsers are any better, Chromium needs to be patched to enable vaapi and there's no way to get vdpau. Also, this whole HTML5 video thing is still relatively new. And finally, I personally find this whole web video thing kinda blah, a local dedicated player playing a local file, that's the real deal. Feel free to call me an old fogey smile

Offline

#7 2015-12-16 19:36:29

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

Since the internet is the place where most videos are published and viewed/consumed HTML5 video must work perfectly (done in the most efficient way and with the least amount of work for the end user). No if no buts not anything.

Offline

#8 2015-12-16 20:37:44

MoSal
Member
Registered: 2015-09-23
Posts: 32

Re: No Video HW acceleration with Firefox 43.

89c51 wrote:

Since the internet is the place where most videos are published and viewed/consumed HTML5 video must work perfectly (done in the most efficient way and with the least amount of work for the end user). No if no buts not anything.

Published on the internet doesn't mean we have to use browsers for playback. Performance/Quality issues go beyond the lack of hardware decoding anyway.

mpv can use youtube-dl directly. But I personally always download first.

Offline

#9 2015-12-16 20:55:08

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

Well we use browsers to browse the internet. I just want to hit play and watch what i want. I don't see why i have to download or open another app just to watch a video on a page.

BTW .mov videos got to accelerate again. Is this a side effect of arch enabling gstreamer for mp3?

Offline

#10 2015-12-16 21:21:49

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No Video HW acceleration with Firefox 43.

89c51 wrote:

just to watch a video on a page.

And there exactly is your problem, you want to watch a video on a page smile

89c51 wrote:

BTW .mov videos got to accelerate again. Is this a side effect of arch enabling gstreamer for mp3?

Yeah, you could be one of the few for whom gstreamer-vaapi works well.

Offline

#11 2015-12-16 22:58:02

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

Gusar wrote:
89c51 wrote:

just to watch a video on a page.

And there exactly is your problem, you want to watch a video on a page smile

Thats the purpose of the internet. I doubt you copy paste the text you see on a webpage on your text editor to read it.

Offline

#12 2015-12-17 05:31:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No Video HW acceleration with Firefox 43.

89c51 wrote:

Thats the purpose of the internet.

The purpose of the internet was to serve *pages* (actuall,y we could have a whole big giant discussion about the purpose of the internet, but let's leave it at that smile). Everything else that was shoehorned into it nowadays (video definitely applies here) is just bloat. Hey, I told you I'm an old fogey smile

Offline

#13 2015-12-17 06:08:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: No Video HW acceleration with Firefox 43.

Gusar wrote:
89c51 wrote:

Thats the purpose of the internet.

The purpose of the internet was to serve *pages* (actuall,y we could have a whole big giant discussion about the purpose of the internet, but let's leave it at that smile). Everything else that was shoehorned into it nowadays (video definitely applies here) is just bloat. Hey, I told you I'm an old fogey smile

A real old fogey would know that you're talking about the web, the internet was always far more than that.

Offline

#14 2015-12-17 14:16:15

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: No Video HW acceleration with Firefox 43.

Gusar wrote:

Hey, I told you I'm an old fogey smile

Real old fogeys get their web via email tongue

RMS wrote:

I usually fetch web pages from other sites by sending mail to a program (see git://git.gnu.org/womb/hacks.git) that fetches them, much like wget, and then mails them back to me. Then I look at them using a web browser, unless it is easy to see the text in the HTML page directly. I usually try lynx first...


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#15 2015-12-17 18:11:33

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: No Video HW acceleration with Firefox 43.

alphaniner wrote:
RMS wrote:

I usually fetch web pages from other sites by sending mail to a program (see git://git.gnu.org/womb/hacks.git) that fetches them, much like wget, and then mails them back to me. Then I look at them using a web browser, unless it is easy to see the text in the HTML page directly. I usually try lynx first...


I wrote it as a "joke" never expecting someone to do something so idiotic. neutral

Offline

Board footer

Powered by FluxBB