Author Topic: r300 and glest  (Read 4976 times)

GNUtoo

  • Guest
r300 and glest
« on: 22 March 2007, 17:12:27 »
even if i disable the shadow my screen is grey...
i have a r300 driver with a x700(the ati free software driver)
glest tells me:
$glest
Try R300_SPAN_DISABLE_LOCKING env var if this hangs.
*********************************WARN_ONCE*********************************
File r300_vertexprog.c function t_dst_index line 184
Unknown output 3
***************************************************************************
Couldn't process event: OpenGL extension not supported: GL_ARB_shadow, required for Shadow Mapping

is there another rendering option than opengl(sdl?)
even if i disable shadows my screen stay grey,,,
what should i do?
« Last Edit: 1 January 1970, 00:00:00 by GNUtoo »

pseudonym404

  • Guest
(No subject)
« Reply #1 on: 12 April 2007, 19:07:00 »
The problem seems to be the r300 driver having issues with 3d textures.. As far as I can tell, they're not strictly needed (is it just one water texture?), and it seems to be the "throw runtime_error" in Texture3DGl::init in texture_gl.cpp that results in a gray screen..

Somewhat hacky workaround is simply to comment out the "throw runtime_error" (shared_lib/sources/graphics/gl/texture_gl.cpp:282) ;)
« Last Edit: 1 January 1970, 00:00:00 by pseudonym404 »

GNUtoo

  • Guest
(No subject)
« Reply #2 on: 18 April 2007, 22:56:18 »
thanks...i'll fix gentoo's glest(r300 use flag)
« Last Edit: 1 January 1970, 00:00:00 by GNUtoo »

GNUtoo

  • Guest
(No subject)
« Reply #3 on: 22 April 2007, 17:44:17 »
i commented out the following line and i still have the grey screen:
//       if(error!=GL_NO_ERROR){
//          throw runtime_error("Error creating texture 3D");
//       }

what should i do?
« Last Edit: 1 January 1970, 00:00:00 by GNUtoo »

GNUtoo

  • Guest
(No subject)
« Reply #4 on: 22 April 2007, 20:32:17 »
here's my console output
$ glest
*********************************WARN_ONCE*********************************
File r300_vertexprog.c function t_dst_index line 184
Unknown output 3
***************************************************************************
Try R300_SPAN_DISABLE_LOCKING env var if this hangs.
Couldn't process event: Error creating texture 3D
*********************************WARN_ONCE*********************************
File r300_render.c function r300Fallback line 393
Software fallback:ctx->RenderMode != GL_RENDER
***************************************************************************
« Last Edit: 1 January 1970, 00:00:00 by GNUtoo »

pseudonym404

  • Guest
-
« Reply #5 on: 25 April 2007, 13:58:25 »
Seems like the source change isn't in the binary that produced that console output (the "Couldn't process event: Error creating texture 3D" line should disappear), try checking out current svn, commenting out those lines, then running autogen, configure, etc.. (symlink weirdness? jam clean doesn't seem to work properly...)

As it happens, I finally gave up on my x300 and ordered an nvidia 7900gs yesterday.. As much as I'd like my system to be 100% oss, I'd rather live with nvidia's closed source offering for the time being, and actually be able to use my system. Hopefully things will improve and I'll be able to switch back to a card with oss drivers in the future. :)
« Last Edit: 19 June 2016, 07:03:20 by filux »