Distorted video playing with Palemoon 26.2.0

Support and discussions for the x86/x64 Linux version of Pale Moon and specific Linux distribution questions related to the browser.

Moderator: trava90

Forum rules
If your question is about general use of the browser and not specific to Linux, then please use the General Support board.
Locked
Kunagi7

Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-07, 19:49

Hello,
I updated Palemoon yesterday to the latest version (Pale Moon 26.2.0 (x64)) and really weird stuff started to happen with some youtube (and twitter) videos when I have gstreamer enabled:
Image
If I disable gstreamer youtube fallbacks to webm which works perfectly:
Image
https://www.youtube.com/watch?v=NrfxcR771BA
For other videos it just works:
Image
https://www.youtube.com/watch?v=Z6znbUnhvYw
I use Fedora 23 (x64), GNOME 3 with an Intel HD Graphics.
I have both 0.10 and 1 gstreamer installed:
gstreamer-plugins-espeak-0.4.0-7.fc23.x86_64
gstreamer-plugins-ugly-0.10.19-18.fc23.x86_64
gstreamer-plugins-good-0.10.31-15.fc23.x86_64
gstreamer1-plugins-good-1.6.3-1.fc23.x86_64
libnice-gstreamer1-0.1.13-2.fc23.x86_64
gstreamer1-rtsp-server-1.6.2-1.fc23.x86_64
gstreamer1-plugins-bad-free-extras-1.6.3-3.fc23.x86_64
gstreamer1-1.6.3-1.fc23.i686
gstreamer1-plugins-good-extras-1.6.3-1.fc23.x86_64
gstreamer-plugins-base-0.10.36-13.fc23.x86_64
gstreamer1-plugins-base-1.6.3-1.fc23.x86_64
gstreamer-plugins-bad-nonfree-0.10.23-3.fc22.x86_64
gstreamer1-plugins-base-1.6.3-1.fc23.i686
gstreamer1-vaapi-0.6.1-1.fc23.x86_64
gstreamer1-1.6.3-1.fc23.x86_64
gstreamer-ffmpeg-0.10.13-15.fc22.x86_64
gstreamer1-plugins-ugly-1.6.3-1.fc23.x86_64
gstreamer1-plugins-fc-0.2-11.fc23.x86_64
gstreamer-plugins-base-devel-0.10.36-13.fc23.x86_64
gstreamer-0.10.36-13.fc23.x86_64
gstreamer1-libav-1.6.3-1.fc23.x86_64
gstreamer1-plugins-bad-free-1.6.3-3.fc23.x86_64
phonon-backend-gstreamer-4.8.2-5.fc23.x86_64
gstreamer-plugins-bad-free-0.10.23-29.fc23.x86_64
phonon-qt5-backend-gstreamer-4.8.2-5.fc23.x86_64
gstreamer-devel-0.10.36-13.fc23.x86_64
gstreamer-tools-0.10.36-13.fc23.x86_64

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-08, 01:00

I can't reproduce; the first video shown plays fine for me. Do you use any extensions that deal with video or YouTube?

Kunagi7

Re: Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-08, 06:13

I only have 5 enabled extensions:
Name: Adblock Latitude
Version: 3.0.3.1
Enabled: true
ID: {016acf6d-e5c0-4768-9376-3763d1ad1978}

Name: Blue Moon Linux
Version: 3.0
Enabled: true
ID: bluemoonlinux@addons.palemoon.org

Name: CanvasBlocker
Version: 0.1.3.1-signed
Enabled: true
ID: CanvasBlocker@kkapsner.de

Name: FireGestures
Version: 1.8.7.1-signed
Enabled: true
ID: firegestures@xuldev.org

Name: Private Tab
Version: 0.1.9.1
Enabled: true
ID: privateTab@infocatcher
It happens randomly, I watched several videos without a problem until I played this one:
https://www.youtube.com/watch?v=8-28SOWEWts
And happened again.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3843
Joined: 2015-10-06, 16:59
Location: Los Angeles CA USA

Re: Distorted video playing with Palemoon 26.2.0

Post by Pallid Planetoid » 2016-04-08, 08:21

Pale Moon 26.2.0 Release notes wrote:Linux: gstreamer 1.0 support has been implemented and enabled by default (hats off to Travis!)
From this version forward you will need to have gstreamer 1.0 libraries for video playback (0.10 is no longer supported).
Note: Pale Moon: Release notes, third bullet in PM 26.2.0 list of changes as referenced above.
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

BazBear

Re: Distorted video playing with Palemoon 26.2.0

Post by BazBear » 2016-04-08, 08:38

Pale Moon Rising wrote:
Pale Moon 26.2.0 Release notes wrote:Linux: gstreamer 1.0 support has been implemented and enabled by default (hats off to Travis!)
From this version forward you will need to have gstreamer 1.0 libraries for video playback (0.10 is no longer supported).
Note: Pale Moon: Release notes, third bullet in PM 26.2.0 list of changes as referenced above.
Good point, but my Lubuntu 14.04.4 system seems to have both (the 0.10s pkgs might just be libraries maybe?). In any case, I'm not seeing those bugs here.

User avatar
Pallid Planetoid
Knows the dark side
Knows the dark side
Posts: 3843
Joined: 2015-10-06, 16:59
Location: Los Angeles CA USA

Re: Distorted video playing with Palemoon 26.2.0

Post by Pallid Planetoid » 2016-04-08, 08:57

OP posted:
Kunagi7 wrote:If I disable gstreamer youtube fallbacks to webm which works perfectly
Current Pale Moon(x86) Release | WIN10 | I5 CPU, 1.7 GHz, 6GB RAM, 500GB HD[20GB SSD]
Formerly user Pale Moon Rising - to provide context involving embedded reply threads.
Good judgment comes from experience and a lot of that comes from bad judgment. - Will Rogers
Knowing Pale Moon is indisputably #1 is defined by knowing the totality of browsers. - Pale Moon Rising

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-08, 10:09

The OP appears to have all the required GSteamer 1.x packages installed.
Kunagi7 wrote:It happens randomly, I watched several videos without a problem until I played this one:
https://www.youtube.com/watch?v=8-28SOWEWts
And happened again.
I just played multiple YouTube videos including this one and they all played correctly. Have you tried with a new profile?

Kunagi7

Re: Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-08, 17:20

trava90 wrote:The OP appears to have all the required GSteamer 1.x packages installed.
Kunagi7 wrote:It happens randomly, I watched several videos without a problem until I played this one:
https://www.youtube.com/watch?v=8-28SOWEWts
And happened again.
I just played multiple YouTube videos including this one and they all played correctly. Have you tried with a new profile?
I tried with a new profile, also in GNOME3 on X.org and GNOME3 on Wayland, with the same result.
I can see this in the console output:
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
Maybe it's trying to play with the GPU and fails?
Removed gstreamer1-vaapi-0.6.1-1.fc23.x86_64 and it was solved.
Image
Fedora ships a 7 month old gstreamer1-vaapi: https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi (release 1.8 vs 0.6.1).

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-08, 17:53

We've gotten other reports of odd behavior when using vaapi. At this point I think the best option is to not use gstreamer-vaapi.

Kunagi7

Re: Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-08, 18:03

Trying to install a recent version of vaapi means to compile all the gstreamer plugins too :mrgreen: . I hope that fedora 24 will ship a more recent one to test things out...
Surprisingly, CPU load is now lower than previous versions of Pale Moon :wtf:, for a 720p video it used to be over 30% and now is 10% :thumbup: .

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-08, 18:11

Kunagi7 wrote:Surprisingly, CPU load is now lower than previous versions of Pale Moon :wtf:, for a 720p video it used to be over 30% and now is 10% :thumbup: .
Mozilla has received similar reports that in many cases Firefox used less CPU as well without gstreamer-vaapi.
Kunagi7 wrote:I hope that fedora 24 will ship a more recent one to test things out...
I'd be interested in seeing the results if you do test this on Fedora 24

Kunagi7

Re: Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-08, 18:27

There is an alpha right now but we have to wait until June for a release version though.
Well... The alpha has the same version:
gstreamer1-vaapi x86_64 0.6.1-1.fc24 fedora 467 k

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-08, 23:50

trava90 wrote:We've gotten other reports of odd behavior when using vaapi. At this point I think the best option is to not use gstreamer-vaapi.
I installed gstreamer-vaapi on my system, and the results were terrible. YouTube wouldn't even play the video, and CPU usage jumped over 10% higher than normal when on YouTube (and no video was playing!).

So at this point in time, Pale Moon should be considered incompatible with gsteamer-vaapi.

Kunagi7

Re: Distorted video playing with Palemoon 26.2.0

Post by Kunagi7 » 2016-04-09, 18:33

Mozilla teams has a wontfix bug from Firefox 25, interesting to read: https://bugzilla.mozilla.org/show_bug.cgi?id=894372
trava90 wrote:
trava90 wrote:We've gotten other reports of odd behavior when using vaapi. At this point I think the best option is to not use gstreamer-vaapi.
I installed gstreamer-vaapi on my system, and the results were terrible. YouTube wouldn't even play the video, and CPU usage jumped over 10% higher than normal when on YouTube (and no video was playing!).

So at this point in time, Pale Moon should be considered incompatible with gsteamer-vaapi.
Did you try 360p and 720p?
Distro and gstreamer-vaapi version?

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1628
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Distorted video playing with Palemoon 26.2.0

Post by trava90 » 2016-04-09, 19:33

Kunagi7 wrote:Mozilla teams has a wontfix bug from Firefox 25, interesting to read: https://bugzilla.mozilla.org/show_bug.cgi?id=894372
There are several bugs at Mozilla regarding this and they are all either "WONTFIX" or "WORKSFORME", because in each case a newer vaapi or libva version was released which improved or resolved the issue for the person who opened the bug.
Kunagi7 wrote:Did you try 360p and 720p?
Distro and gstreamer-vaapi version?
I only tried 720p.
Manjaro with gstreamer-vaapi 1.60

Locked