Fedora Linux Support Community & Resources Center
  #1  
Old 13th April 2011, 04:19 PM
puntarenas Offline
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 30
linuxfirefox
Firefox 4 - GPU acceleration and akmod-nvidia

Has anyone got GPU acceleration working within Firefox 4 using akmod-nvidia 270.30 from rpmfusion.org?

Blacklisting seems to be disabled on Fedora 15by default and of course "Use hardware acceleration when available" ist activated under preferences. Unfortunately "about:support" states that hardware acceleration is not working.

/usr/bin/xulrunner
Code:
...

##
## Enable WebGL
##
MOZ_GLX_IGNORE_BLACKLIST=1
export MOZ_GLX_IGNORE_BLACKLIST

exec $XUL_PROGRAM "$@"
glxinfo
Code:
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_multisample, 
    GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_NV_float_buffer, 
    GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB, 
    GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage, 
    GLX_NV_video_capture, GLX_EXT_create_context_es2_profile, 
    GLX_ARB_create_context_robustness
GLX version: 1.4
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, 
    GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, 
    GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_multisample, 
    GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB, 
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 460/PCI/SSE2
OpenGL version string: 4.1.0 NVIDIA 270.30
OpenGL shading language version string: 4.10 NVIDIA via Cg compiler
OpenGL extensions:
 
...
about:support
Code:
...

        User Agent
        Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0

...

        browser.startup.homepage_override.buildID
        20110404082804
...

  Graphics

        GPU Accelerated Windows  0/1
Font rendering is utterly slow that way and far from being as smooth as accelerated 2D rendering under Windows 7.
  #2  
Old 13th April 2011, 07:03 PM
is977 Offline
Registered User
 
Join Date: Jul 2009
Location: Ukraine, Mykolaiv
Posts: 35
linuxfirefox
Re: Firefox 4 - GPU acceleration and akmod-nvidia

Its a linux, bro
  #3  
Old 14th April 2011, 12:19 PM
puntarenas Offline
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 30
linuxfirefox
Re: Firefox 4 - GPU acceleration and akmod-nvidia

That doesn't mean 2D rendering has to be utterly slow. Of course there is no DirectX (Direct2D/Direct3D) availiable, but Firefox can use OpenGL bindings instead. Gnome-Shell for example utilizes GPU acceleration that way and that works fine.

Now google wasn't very helpful to find information about Firefox 4 hardware acceleration under Linux (lots of confusion around hardware accelerated 2D rendering and WegGL, count me in), but at least I found some reports claiming that it is already implemented and working. That is why I am asking here, as for now 2D rendering menus and website content in Firefox 4 under F15 makes me sad.
  #4  
Old 7th May 2011, 06:54 AM
puntarenas Offline
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 30
linuxfirefox
Re: Firefox 4 - GPU acceleration and akmod-nvidia

Hardware acceleration is availiable under Fedora15 and works pretty well together with akmod-nvidia. It can be forced in about:config:
Quote:
layers.acceleration.force-enabled true
From time to time gnome-shell crashes and restarts itself without doing any harm to open applications. I am not sure if this is due to forced hardware acceleration as I did not notice any problems in Firefox itself so far.

Now that gives me a highly improved websurfing experience.

Last edited by puntarenas; 7th May 2011 at 07:00 AM. Reason: typos
 

Tags
acceleration, akmodnvidia, firefox, gpu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
akmod-nvidia-173xx ColonelPenguin Hardware & Laptops 4 28th July 2010 05:10 PM
F11: akmod-nvidia doesn't work dedded Installation, Upgrades and Live Media 4 15th June 2009 09:58 PM
nvidia driver does not work (akmod-nvidia) zuargo Hardware & Laptops 4 14th June 2009 07:11 AM
are akmod-nvidia and kmod-nvidia exclusive? marko Using Fedora 2 23rd February 2009 02:26 AM
What is akmod-nvidia for? thunderogg Hardware & Laptops 3 29th May 2008 04:41 PM


Current GMT-time: 20:19 (Wednesday, 01-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat