VDPAU for video playback

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

breadmoth
Moonbather
Moonbather
Posts: 63
Joined: Sun, 13 Aug 2017, 17:57

VDPAU for video playback

Unread postby breadmoth » Tue, 13 Mar 2018, 17:24

Is it possible for PM to make use of VDPAU when playing back videos off of websites like youtube? I only ask because I compared PM with VLC for video playback and noticed a significant use of CPU on PM (even though acceleration is enabled in the options.) Whereas VPDAU no significant CPU or GPU usage. Just wondering.

Also interestingly enough, this time I compiled 27.8.1 and everything actually seems rather stable, considering my GCC version:

Code: Select all

slackuser@slackmachine:~$ gcc -v
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/5.3.0/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-5.3.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/root/slackware64-current/source/d/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 5.3.0 (GCC)
slackuser@slackmachine:~$

breadmoth
Moonbather
Moonbather
Posts: 63
Joined: Sun, 13 Aug 2017, 17:57

Re: VDPAU for video playback

Unread postby breadmoth » Tue, 13 Mar 2018, 17:53

Well I spoke too soon about the stable binary. It still crashes on youtube, so I switched back to the repackaged binary, oh well. Still I would be interested to know about VDPAU, then again I could be totally wrong how that works (VDPAU) *shrug*

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1501
Joined: Mon, 20 May 2013, 18:19
Location: Earth
Contact:

Re: VDPAU for video playback

Unread postby trava90 » Tue, 13 Mar 2018, 18:16

Pale Moon does not support currently support VDPAU.

breadmoth
Moonbather
Moonbather
Posts: 63
Joined: Sun, 13 Aug 2017, 17:57

Re: VDPAU for video playback

Unread postby breadmoth » Tue, 13 Mar 2018, 18:20

trava90 wrote:Pale Moon does not support currently support VDPAU.


Are there any plans in the future to do so? I admit though I am not totally informed about VDPAU , I am thinking it is only an NVIDIA thing ? So maybe that would leave some users out anyways who do not currently use an NVIDIA chipset. Perhaps adding it might be more troublesome than it's worth, but I thought it would be worth a try to just ask about it.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1501
Joined: Mon, 20 May 2013, 18:19
Location: Earth
Contact:

Re: VDPAU for video playback

Unread postby trava90 » Tue, 13 Mar 2018, 18:31

Possibly. Though with that said Pale Moon on UXP will have improved performance when playing videos and other media (though VLC or some other dedicated player will still offer lower resource usage than a web browser can).

breadmoth
Moonbather
Moonbather
Posts: 63
Joined: Sun, 13 Aug 2017, 17:57

Re: VDPAU for video playback

Unread postby breadmoth » Tue, 13 Mar 2018, 18:43

trava90 wrote:Possibly. Though with that said Pale Moon on UXP will have improved performance when playing videos and other media (though VLC or some other dedicated player will still offer lower resource usage than a web browser can).


Well to be fair, HTML5 video playback is way better than flash, its just that VDPAU seems to be better than OpenGL which is what PM would use for acceleration? Again I am just guessing on that and I could be wrong. Perhaps a 2-3% difference is still better than over 10%+ CPU usage on flash. Either way I am not complaining , I am very happy with PM for a various reasons. Particularly the fact that it still supports GTK2 which helps in keeping in uniform with my color scheme, which VLC3 seems to now have dropped , not even QT4 support

biopsin
Apollo supporter
Apollo supporter
Posts: 31
Joined: Sun, 07 Feb 2016, 17:15

Re: VDPAU for video playback

Unread postby biopsin » Tue, 13 Mar 2018, 19:08

make use of VDPAU when playing back videos off of websites like youtube

I use the extension "mpv-youtube-dl-binding", you need to install youtube-dl and mpv,
and configure mpv to use vdpau as video out.
However the extension needs modification to be installed.

User avatar
terranigma
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: Sat, 10 Mar 2018, 01:46

Re: VDPAU for video playback

Unread postby terranigma » Fri, 16 Mar 2018, 00:52

This issue remains as one of the biggest obstacles of Firefox derived browsers on Linux for years. Video streaming became one of the major acts of Internet for a decade but we still discuss this issue (here and there) like adding some minor feature. This is really discouraging.

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 155
Joined: Wed, 27 Jul 2016, 23:18

Re: VDPAU for video playback

Unread postby hobbledehoy899 » Sat, 17 Mar 2018, 09:36

terranigma wrote:Video streaming became one of the major acts of Internet for a decade but we still discuss this issue (here and there) like adding some minor feature.

That's pretty much the case with every modern casual task you'll try to do on Linux; you can't even do something as basic as burning something to a blank Blu-ray disc the proper way (with UDF 2.50 or higher) on Linux, led alone use any sort of specialized hardware.

terranigma wrote:This is really discouraging.

You bet it is; in fact, I'm fed up! I am not going to be installing Linux on the next laptop I get! (I first used Pale Moon before I had even heard of Linux, so you don't have to worry about my usage of this wonderful browser!)

User avatar
terranigma
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: Sat, 10 Mar 2018, 01:46

Re: VDPAU for video playback

Unread postby terranigma » Sat, 17 Mar 2018, 12:33

AMD, Nvidia both use VDPAU and Intel uses VAAPI. These both APIs are opensource and you don't have to reverse engineer something to make them work. They are all there, well documented and readily used by many opensource applications out there. So, why Mozilla devs insistently disregard this issue for many years? It seems that opensource operating systems' market share is the decisive factor to make them really care.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4611
Joined: Tue, 09 Oct 2012, 19:37

Re: VDPAU for video playback

Unread postby New Tobin Paradigm » Sat, 17 Mar 2018, 13:35

As I stated on IRC.. What is wrong with OpenGL which we do support. Also, if you are so worried about this.. Why don't you bring this to us.
Last edited by New Tobin Paradigm on Sat, 17 Mar 2018, 13:35, edited 1 time in total.

User avatar
terranigma
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: Sat, 10 Mar 2018, 01:46

Re: VDPAU for video playback

Unread postby terranigma » Sat, 17 Mar 2018, 17:17

New Tobin Paradigm wrote:As I stated on IRC.. What is wrong with OpenGL which we do support. Also, if you are so worried about this.. Why don't you bring this to us.


This is not a PaleMoon specific problem. This is a general issue[1] related with Mozilla derived projects. We are talking about video playback acceleration (CPU offload) here and OpenGL has nothing to do with it. Current video playback is software and requires a good cpu to decode & render HD content. As I'm writing this, 2 cores of my 3ghz/4core PhenomII cpu is getting eaten by 720p youtube video[2].

[1]https://bugzilla.mozilla.org/show_bug.cgi?id=1210729
[2]https://youtu.be/sVuJ9RuZ41I?t=209
Last edited by terranigma on Sun, 18 Mar 2018, 02:55, edited 7 times in total.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4611
Joined: Tue, 09 Oct 2012, 19:37

Re: VDPAU for video playback

Unread postby New Tobin Paradigm » Sat, 17 Mar 2018, 18:28

Patches welcome otherwise RESOLVED WONTFIX.

User avatar
badnick
Lunatic
Lunatic
Posts: 277
Joined: Thu, 23 Mar 2017, 19:56

Re: VDPAU for video playback

Unread postby badnick » Sat, 17 Mar 2018, 20:25

I don't know what is wrong with other systems but to me 1080p/60fps videos is playing with only 5-7 % CPU usage in PMoon.
And I have no big deal configuration ( i3-4160/3.6 Ghz + Radeon R7 200)

https://sendvid.com/ji3kem7v

adisib
Lunatic
Lunatic
Posts: 357
Joined: Sat, 13 Jun 2015, 03:34
Location: KY

Re: VDPAU for video playback

Unread postby adisib » Sat, 17 Mar 2018, 22:42

Off-topic:
badnick wrote:I don't know what is wrong with other systems


You are running Windows which is hardware accelerated differently; this is a Linux-related request.
Last edited by adisib on Sat, 17 Mar 2018, 22:42, edited 1 time in total.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: Frasier, Google [Bot], Isengrim, Potkeny, snertev and 8 guests