Terrible OpenGL performance

General discussion about the development of the open source Blender

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Terrible OpenGL performance

Post by BIGtrouble77 »

To start off, I'm a complete noob with Blender. I've been using 3dsmax since 3d studio in DOS, but I'm running linux 100% now so 3dsmax is out of the question.

Using Ubuntu Dapper x64. I have the 2.41 blender version installed from the repos and 2.42 compiled from source. Both version have TERRIBLE viewport framerates. Houndini and Maya are significantly faster.

Question... Does blender default to software mode? Where are the settings to confirm that opengl is even being used? I opened some of the elephant's dream blend files and the performance is a joke. I have some complex 3dsmax scenes with a million polys that perform better than me rotating a cube in blender (zoomed in).

I have the latest nvidia drivers installed from the site (not repo). I have the 32bit libraries installed. 3D Games in cedega like world of warcraft and CivIV perform as well as in windows. My 3d drivers shouldn't be the problem. Driver version: 1.0-8762

I'm running on a Sager 9750 laptop
Athlon X2 4800+
2gb memory
geforce 7800go gtx (256mb)
7200rpm drives
wuxga screen (1920x1200)

I'd really appreciate some suggestions. I have a feeling that either I'm running in software mode or there's a performance issue with the 64bit builds.

Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

Well, I found the super secret hidden settings menu. Not much in the way of settings to mess with unfortunately.

Posts: 289
Joined: Wed Oct 16, 2002 2:38 am

Post by z3r0_d »

which version and build of blender?

graphics drivers developed by whom?

Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

z3r0_d wrote:which version and build of blender?

graphics drivers developed by whom?
I have two builds installed. One is the default 2.41 build that comes with ubuntu dapper x64. I compiled a 2.42 build from the official stable source.

Drivers are the most current nvidia release (1.0.8762).

I kinda stated all of this in my first post...

Posts: 289
Joined: Wed Oct 16, 2002 2:38 am

Post by z3r0_d »

sorry I sort of skipped reading those lines

no, blender does not "default" to software mode... it uses whatever acceleration is available [unless you are running a static build, in which case it always runs in software mode]

if other things work then I wouldn't know where to start looking... sorry

Posts: 0
Joined: Wed Jul 19, 2006 7:33 am

Post by ddRbb »

try using a static build of blender
performance will improve

try posting ur sysinfo here

in blender go to
help - > system -> system information
then goto the text window
then in find if u can open the text file just created
u need to click on a lil button that shows current buffers in text editor
post that info here

also post ur xorg.conf file here

have u installed the nvidia kernel present in apt

good luck

Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

Edit: I just reread this and it sounds kinda aggressive. Not meant to be at all. I appreciate the help so far.

First off I built blender from the source so static builds do not apply. There are no linux x64 2.42 static versions of Blender available yet.

Second, I did not install the drivers through apt, I used nvidia's installer. Again, I don't think the nvidia kernel is needed. Maya and Houdini are fully accelerated.

Question, should opengl say nvidia, not mesa?

Here's my sysinfo:
  • =====================================
    = Blender 2.42 System Information =

    Platform: linux2


    - Version: 2.4.3 (#2, Apr 27 2006, 14:58:41)
    [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]

    - Paths:


    - Directories:

    Blender home dir:

    Default dir for scripts:

    Default "bpydata/" data dir for scripts:

    User defined dir for scripts:
    <NOTICE> -- not found

    Data dir "bpydata/" inside user defined dir:
    <NOTICE> -- not found

    Default config data "bpydata/config/" dir:

    - Modules: all basic ones were found.


    - Renderer: Mesa X11
    - Vendor: Brian Paul
    - Version: 1.5 Mesa 6.4.1

    - Extensions:

    GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program
    GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture
    GL_ARB_occlusion_query GL_ARB_pixel_buffer_object
    GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow
    GL_ARB_shadow_ambient GL_ARB_texture_border_clamp
    GL_ARB_texture_compression GL_ARB_texture_cube_map
    GL_ARB_texture_env_add GL_ARB_texture_env_combine
    GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3
    GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two
    GL_ARB_texture_rectangle GL_ARB_transpose_matrix
    GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos
    GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
    GL_EXT_blend_equation_separate GL_EXT_blend_func_separate
    GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract
    GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array
    GL_EXT_convolution GL_EXT_copy_texture GL_EXT_depth_bounds_test
    GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_fog_coord
    GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels
    GL_EXT_paletted_texture GL_EXT_pixel_buffer_object
    GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal
    GL_EXT_secondary_color GL_EXT_separate_specular_color
    GL_EXT_shadow_funcs GL_EXT_shared_texture_palette
    GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture
    GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp
    GL_EXT_texture_env_add GL_EXT_texture_env_combine
    GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias
    GL_EXT_texture_mirror_clamp GL_EXT_texture_object
    GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels
    GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3
    GL_ATI_texture_mirror_once GL_ATI_fragment_shader GL_HP_occlusion_test
    GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip
    GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate
    GL_MESA_pack_invert GL_MESA_program_debug GL_MESA_resize_buffers
    GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square
    GL_NV_fragment_program GL_NV_light_max_exponent GL_NV_point_sprite
    GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program
    GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix
    GL_SGI_color_table GL_SGI_texture_color_table GL_SGIS_generate_mipmap
    GL_SGIS_pixel_texture GL_SGIS_texture_border_clamp
    GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture
    GL_SGIX_pixel_texture GL_SGIX_shadow GL_SGIX_shadow_ambient

    - Simplistic almost useless benchmark:

    Redrawing all areas 10 times took 0.9203 seconds.


    (*) Found 2 notices, documented in the text above.

Posts: 0
Joined: Wed Jul 19, 2006 7:33 am


Post by ddRbb »

the blender report suggests that u have hardware accelerated openGL

so now the problem must be with
the nvidia drivers

try checking in ur xorg.conf

if in the device section
the driver being used is of ur nvidia chip
or vesa

if its nvidia then ur drivers are setup properly

then u need to find a workaround
as it might be that the Gl drivers of ur card have limited support for GL modules used be blender

as is the pitiful case with my ATI radeo Xpress 200

then theres a workaround at blender wiki

try searchin

Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

My graphics drivers are working properly. If they weren't then I wouldn't be able to play world of warcraft 90fps at 1920x1200 in linux. This is a very high end graphics card, it's a removable pci express card. Don't let the laptop thing decieve you, it's just as fast as the desktop counterpart.

This has to be a config issue within blender.

Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm

Post by kidb »

Can you show the output of glxinfo?

Posts: 0
Joined: Wed Jul 19, 2006 7:33 am

Post by ddRbb »

search the workaround
on wiki blender

Posts: 21
Joined: Fri Oct 18, 2002 1:54 pm
Location: Scotland

Post by neil »

I can confirm that I have here 2.42 running on 64 bit linux with nvidia drivers perfectly fine - well there are some problems but not to do with the display. It looks to me as if the sysinfo shows that software OpenGL is being used. Mine certainly reports this:


- Renderer: GeForce 6600/AGP/SSE2
- Vendor: NVIDIA Corporation
- Version: 2.0.1 NVIDIA 81.78

I can only guess that it may have been compiled with out the development versions of all the necessary libraries - though I couldn't tell you which ones would be the problem.

And if it is something to do with this workaround (which I doubt), maybe someone could post a link to it rather that just "search the wiki" - I have searched and cannot find it.

Hope this helps to point in the right direction.


Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

Thank you Neil!!! I finally have confirmation of what I've suspected. Blender is definately running in software mode.

I would agree with you about the compiling issues, but Ubuntu's Blender is also running in software mode. I think the problem is that the nvidia installer installed some files to non-standard locations (I had to use some weird paths to get 2.42 to compile).

I'm going to try and purge the video drivers and grab the ones through synaptic. I'm also going to have to do a complete purge of both blender versions so that they use the proper drivers.

I'll post my results in a bit...

Posts: 0
Joined: Mon Jul 17, 2006 10:01 pm

Post by BIGtrouble77 »

Good news and bad news...

The good news is everything is fixed and blender is now running fully opengl accelerated!

The bad news is I had to reinstall linux. The mesa drivers I was using were so deeply ingrained in my system it broke everything when I removed them. Fortunately, I expected that would happen and was smart enough to do a backup before hand so it'll just take me a day to get things back to normal.

Gotta say, Blender is a speed demon. I'm messing with some of the Elephant's Dream files and it's smooth as silk. All of the glitches have gone away. Can't wait to get started now.

Thanks for all the help.

Post Reply