Bug 32320

Summary: vdrift 2010 release cannot start with shaders enabled
Product: Mesa Reporter: almos <aaalmosss>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description almos 2010-12-11 08:15:55 UTC
the interesting parts of the console log:
radeon: Successfully grabbed chipset info from kernel!
radeon: DRM version: 2.0.0 ID: 0x4152 GB: 1 Z: 1
radeon: GART size: 253 MB VRAM size: 128 MB
radeon: HyperZ: NO
INFO: Display change was successful: 1024x768x32 16z fullscreen=0
INFO: Video card information:
      Vendor: X.Org R300 Project
      Renderer: Gallium 0.4 on ATI RV350
      Version: 2.1 Mesa 7.10-devel
      Maximum texture size: 2048
      Maximum varying floats: 32
      Using GLEW 1.5.4
....
INFO: Successfully enabled shaders
INFO: Initialized render output: full_scene_depth (FBO)
Mesa: User error: GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_RGBA16F)
ERROR: OpenGL error "invalid value" during: FBTEX texture storage initialization
INFO: Initialized render output: full_scene_color (FBO)
INFO: Initialized render output: normal_xy (FBO)
INFO: Initialized render output: material_properties (FBO)
INFO: Initialized render output: diffuse_albedo (FBO)
INFO: Initialized render output: log_luminance (FBO)
INFO: Initialized render output: log_luminance_tiny (FBO)
ERROR: Framebuffer is not complete: incomplete attachment
ERROR: Error initializing FBO:
ERROR: 	0. NORMAL: RGBA16
vdrift: src/fbobject.cpp:286: void FBOBJECT::Init(GLSTATEMANAGER&, std::vector<FBTEXTURE*, std::allocator<FBTEXTURE*> >, std::ostream&, bool): Assertion `status_ok' failed.
SIGABRT detected, releasing the mouse
Aborted
Comment 1 Marek Olšák 2010-12-14 01:59:05 UTC
The game uses GL_RGBA16F, which is a texture format from the extension GL_ARB_texture_float, that is not supported by Mesa. They should not use non-existent features. Moreover, the assertion fails inside the game, not in Mesa. Closing as NOTOURBUG.
Comment 2 almos 2010-12-14 08:24:57 UTC
Thank you for the clarification. For the record: they check for required extensions, but in a very stupid way (see http://vdrift.net/Forum/viewtopic.php?t=1472).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.