lordheavy Jan 16, 2013 @ 2:11pm
Missing textures with radeon drivers and mesa from git
Now radeon driver (R600g) from mesa-git (futur mesa 9.1/10.0) expose now OpenGL 3.1 and GL_ARB_texture_buffer_object, but only for core profiles (compability profiles shouldn't be supported).

When running SS3 with this driver, textures are missing and terminal is filled with:
INF: Encoded user ID = 07c6d27b:425ae20b
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
INF:
INF: * Desktop settings...
INF: Color depth: 32-bit
INF: Desktop resolution: 1920 x 1080
INF: Fullscreen on primary display
Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=0x9047)
Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=0x87fc)
WRN: [OpenGL] Unable to determine VRAM size... assuming 512 MB.
Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=0x9048)
Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=0x87fc)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
INF:
INF: Gfx API: OpenGL
INF: Resolution: 1920 x 1080
INF: Vendor: ATI (0x1002)
INF: Driver: X.Org (0x6738)
INF: Renderer: Gallium 0.4 on AMD BARTS
INF: Version: 3.0 Mesa 9.1-devel (git-1cedf78)
INF: Video memory size: 512 MB
INF: Available for textures: 512 MB
INF: Active GPU(s): 1
WRN: Display driver is too old, please update it ASAP!
INF:
INF: Sfx API: OpenAL
INF: Device: OpenAL Soft
INF: Mixer frequency: 44100 Hz
INF: Mixer voices: 64
INF: Max sound sources: 30
INF: Max total volume: 3
INF: Speaker config: (unknown)
INF: Environment FX: not supported
INF:
ERR: OpenGL: API error! (CreateStaticVertexBuffer)
INF: AutoDetect: Hardware values unchanged, nothing to do.
Installing breakpad exception handler for appid(steam)/version(1358286427_client)
Installing breakpad exception handler for appid(steam)/version(1358286427_client)
INF: Started simulation on 'Content/SeriousSam3/Levels/Menu/Intro.wld' in 0.53 seconds.
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
INF: Started simulation on 'Content/SeriousSam3/Levels/Menu/MenuLevel.wld' in 0.16 seconds.
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
Game removed: AppID 41070 "Serious Sam 3: BFE", ProcID 19760
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Generating new string page texture 116: 24x256, total string texture memory is 2,42 MB
Shutting down. . .
unlinked 2 orphaned pipes
CAsyncIOManager: 0 threads terminating. 0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 371866 single object sleeps, 598 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 2 multi object alertable sleeps

Steam is launched with MESA_DEBUG=1 R600_LLVM=0, SS3 with community support disabled.

Intel driver expose the same bug.
Last edited by lordheavy; Jan 16, 2013 @ 2:14pm
Showing 1-6 of 6 comments
< >
AlenL  [developer] Jan 17, 2013 @ 6:52am 
This looks like a regression in the driver. You should contact the driver developer. This does not happen on our side with current drivers for either of the IHVs.
AlenL  [developer] Jan 18, 2013 @ 2:17am 
This message:
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)

signifies that the driver is not allowing us to create texture-buffer object to render into. Hope this helps, if you can relay it to them.
lordheavy Feb 6, 2013 @ 5:55pm 
I cannot execute SS3 anymore, it segfault, here is a partial backtrace:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/lordh/.local/share/Steam/SteamApps/common/Serious Sam 3/Bin/Sam3.orig
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Game removed: AppID 41070 "Serious Sam 3: BFE", ProcID 1153
cat: /etc/debian_version: Aucun fichier ou dossier de ce type
WRN: CPU Power saving is enabled and performance governor is not used.
INF: GameEnv API: Steam
Game update: AppID 41070 "", ProcID 1392, IP 0.0.0.0:0
Setting breakpad minidump AppID = 41070
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197992653503 [API loaded no]
INF: Encoded user ID = 07c6d27b:425ae20b
[New Thread 0xf61b2b40 (LWP 1416)]
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
INF:
INF: * Desktop settings...
INF: Color depth: 32-bit
INF: Desktop resolution: 1920 x 1080
INF: Fullscreen on primary display
[New Thread 0xf3b6bb40 (LWP 1422)]
WRN: [OpenGL] Unable to determine VRAM size... assuming 512 MB.
INF:
INF: Gfx API: OpenGL
INF: Resolution: 1920 x 1080
INF: Vendor: ATI (0x1002)
INF: Driver: X.Org (0x6738)
INF: Renderer: Gallium 0.4 on AMD BARTS
INF: Version: 3.0 Mesa 9.2-devel (git-48b01e6)
INF: Video memory size: 512 MB
INF: Available for textures: 512 MB
INF: Active GPU(s): 1
WRN: Display driver is too old, please update it ASAP!
INF: SysMessage: Display driver is too old or version cannot be determined.
INF: Press OK to update driver, or Cancel to continue.

Program received signal SIGSEGV, Segmentation fault.
0xf5589a20 in ?? ()
(gdb) bt
#0 0xf5589a20 in ?? ()
#1 0xf6a14bfa in _XEnq () from /home/lordh/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
#2 0xf6a1192c in ?? () from /home/lordh/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
#3 0xf6a127c0 in _XReply () from /home/lordh/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
#4 0xf67bc76c in XIQueryDevice () from /home/lordh/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libXi.so.6
#5 0x08e58e55 in ?? ()
#6 0x08dcd497 in ?? ()
#7 0x08dcb2ff in ?? ()
#8 0x08389753 in ?? ()
#9 0x08399338 in ?? ()
#10 0x0839a8db in ?? ()
#11 0x089f4116 in ?? ()
#12 0x08d71db8 in ?? ()
#13 0x08d721e8 in ?? ()
#14 0x0804f4db in ?? ()
#15 0xf7d8a825 in __libc_start_main () from /usr/lib32/libc.so.6
#16 0x08388e95 in ?? ()
lordheavy Feb 6, 2013 @ 6:13pm 
Removing the ShaderCache directory have fixed the crash. Textures are still MIA
M@yeulC [Fr] May 26, 2013 @ 3:38pm 
I have the same issue with (just updated) mesa 9.2.

libtxc_dxtn is installed.

ERR: OpenGL: API error! (NewRenderCanvas, color-buffer object)
ERR: OpenGL: API error! (NewTextureCanvas, texture-buffer object)
Last edited by M@yeulC [Fr]; May 31, 2013 @ 7:41am
Showing 1-6 of 6 comments
< >
Per page: 15 30 50
Date Posted: Jan 16, 2013 @ 2:11pm
Posts: 6