VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [SOLVED] ATI proprietary driver and Firefox  (Read 891 times)

askfor

  • Member
  • *
  • Posts: 33
  • user
[SOLVED] ATI proprietary driver and Firefox
« on: March 02, 2016, 03:02:20 pm »

My question is why HD movies play slower in Firefox after proprietary ATI drivers were installed.

Allow me some explaining first.

ATI proprietary driver does not build on VL 7.1. Copmiler reports an error while building fglrx module. I have found a patch here.

http://henryhermawan.blogspot.hr/2014/12/amd-catalyst-omega-145011003-1412-for.html

One could find patches for other kernel and other driver version. Since it is a kernel module which does not compile, it is important to match kernel version rather than driver version. For those who don't know. kernel version can be found by executing command 'uname -r'.

Patched fglrx module compiled fine.  fgl_glxgears runs fine, display was sharper and colors more intensive. However, frame rates for HD movies in firefox dropped sharply. They used to play fine on default driver. Webkit based  browsers have no problem, it is difficult to say, but I think they are playing HD movies even  better with new driver. I have Chrome and Opera 35.

Note that HD movies are played directly in browser and not via plugin. I used this guide to force HW acceleration:

http://en.librehat.com/blog/force-enable-hardware-acceleration-in-firefox-on-linux/

Firefox about:support page indicated that HW acceleration was enabled, indeed, but browser started to freeze and crash. Then I tried version downloaded from Mozilla site, rather than one from repository. It worked slightly better, but still unusable.

I am pretty sure it is something with firefox. When I start it from terminal, I am getting:

Can't find symbol 'EGLImageTargetRenderbufferStorageOES'.

As if I am using wrong version of some library or something....
« Last Edit: March 27, 2016, 09:46:00 am by askfor »
Logged

roarde

  • Vectorian
  • ****
  • Posts: 723
  • move the needle
Re: ATI proprietary driver and Firefox
« Reply #1 on: March 02, 2016, 03:38:21 pm »

Just a hunch. Try it both with and without the package "glamor-egl" installed.
Logged
Robert
VL 7.1 Light

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: ATI proprietary driver and Firefox
« Reply #2 on: March 02, 2016, 04:25:44 pm »

I tried Firefox from Mozilla site, no dice, but thanks. I'll try repository version later.

I wonder something else. Is there any chance to force HD media to be played by plugin instead of internally ?

Precisely by Gecko Media Player. I feel I could manage mplayer much more easily than some obscure browser internals. As far as I understand, HD movies (mp4 seem to be most common) are played in HTML5 canvas, something that one does not have much control over.
Logged

wigums

  • Guest
Re: ATI proprietary driver and Firefox
« Reply #3 on: March 02, 2016, 06:44:18 pm »

should be as simple as making sure gecko-mediaplayer is installed and grab an addon/plugin
Logged

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: ATI proprietary driver and Firefox
« Reply #4 on: March 03, 2016, 05:51:33 am »

Should be, but it is not. Brave new Firefox plays MP4 and similar movies internally, using new HTML5 features. It is like trying to render HTML in a plugin.

If one tries to change how it handles MIME type, there is no way to add new type, and there is no entry for MP4. There might be an addon, perhaps, but I doubt it would work.

Things are getting worse each day, not only in IT. One has to accept that and abandon all hope.
 
Logged

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: ATI proprietary driver and Firefox
« Reply #5 on: March 04, 2016, 04:54:17 am »

I remember I had rather bad frame rates in Firefox until I installed gst-ffmpeg package. Also I noticed that both, Opera and Chrome have their own ffmpeg library, independent of one supplied by distro.

So I am asking, is there something I could do about ffmpeg to increase my frame rate, and make it work better with hardware accelerated display.
Logged

askfor

  • Member
  • *
  • Posts: 33
  • user
Re: [SOLVED] ATI proprietary driver and Firefox
« Reply #6 on: March 08, 2016, 09:08:18 am »

I have found a way to prevent vertical sync using aitconfig or amdconfig. It can be done from Catalyst Control Center (amdcccle), too.
---------------------------------------------------------------------------------------------------
Paragraph above helps, but the true solution is:

1. open Firefox
2. type about:config in address bar
3. find gfx.xrenderer.enabled
4. set it to 'false'

After that movies will play as expected.

« Last Edit: March 27, 2016, 09:54:14 am by askfor »
Logged