Page 1 of 1
Terrible OpenGL performance
Posted: Thu Jul 20, 2006 2:39 am
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+
geforce 7800go gtx (256mb)
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.
Posted: Thu Jul 20, 2006 3:31 am
Well, I found the super secret hidden settings menu. Not much in the way of settings to mess with unfortunately.
Posted: Thu Jul 20, 2006 3:52 am
which version and build of blender?
graphics drivers developed by whom?
Posted: Thu Jul 20, 2006 4:34 am
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...
Posted: Thu Jul 20, 2006 5:20 am
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
Posted: Thu Jul 20, 2006 6:24 am
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
Posted: Thu Jul 20, 2006 8:02 pm
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 =
- Version: 2.4.3 (#2, Apr 27 2006, 14:58:41)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
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
GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program
GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture
GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow
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_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract
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_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal
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_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels
GL_ATI_texture_mirror_once GL_ATI_fragment_shader GL_HP_occlusion_test
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_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.
Posted: Thu Jul 20, 2006 8:20 pm
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
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
Posted: Thu Jul 20, 2006 9:12 pm
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.
Posted: Thu Jul 20, 2006 9:49 pm
Can you show the output of glxinfo?
Posted: Thu Jul 20, 2006 10:18 pm
search the workaround
on wiki blender
Posted: Thu Jul 20, 2006 11:29 pm
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.
Posted: Fri Jul 21, 2006 1:10 am
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...
Posted: Fri Jul 21, 2006 6:52 am
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.