Summary: | [Serious Sam 3] Missing textures with R600g | ||
---|---|---|---|
Product: | Mesa | Reporter: | Laurent carlier <lordheavym> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | sa, sobkas |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
apitrace that produce an error
before commit 8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff After commit 8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff |
Description
Laurent carlier
2013-01-17 16:47:14 UTC
If the game uses compressed textures, make sure you have libtxc-dxtn installed. Of course, lib32-libtxc_dxtn is installed: $ pacman -Qs lib32-libtxc_dxtn local/lib32-libtxc_dxtn 1.0.1-3 Texture compression library for Mesa (32-bit) Created attachment 74448 [details] apitrace that produce an error That trace gives: > apitrace retrace Sam3.1207.trim.trace 1205: glDebugOutputCallback: High severity API error 0, GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?) 0 1205 glProgramUniform1i(program = 8, location = 65536, v0 = 0) 1205: warning: glGetError(glProgramUniform1i) = GL_INVALID_OPERATION Rendered 0 frames in 0.0703531 secs, average of 0 fps I've bisected, and it gives me: Bisecting: 0 revisions left to test after this (roughly 0 steps) [8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff] mesa: Add extension tracking for {ARB,OES}_get_program_binary Created attachment 75419 [details]
before commit 8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff
Created attachment 75420 [details]
After commit 8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff
using MESA_EXTENSION_OVERRIDE="-GL_ARB_get_program_binary" make it works properly (In reply to comment #7) > using MESA_EXTENSION_OVERRIDE="-GL_ARB_get_program_binary" make it works > properly Just checking, do you mean "using <over-ride> eliminates the missing textures ? Sorry, hit "save" too soon. Your post on the steam forum suggested that there might be a crash related to use of precompiled shader binaries so I'm wondering if your comment here refers to fixing a crash or fixing the textures. Thanks... Probably the crash is related to some cache feature that SS3 uses (it was reproducable when switching between catalyst and mesa). Overriding GL_ARB_get_program_binary make the game working properly otherwise all the textures are missing. Thanks. First thought is that maybe Mesa is executing precompiled shader programs from Catalyst (you mentioned switching back and forth) but it seems unlikely that would work even enough to be "missing textures" ;) It seem it was a SS3 bug. Now i can see this in the output log: WRN: [OpenGL] "GL_ARB_get_program_binary" extension is present but not used because no binary formats are exposed. WRN: [OpenGL] Unable to determine VRAM size... assuming 512 MB. And now it works without overriding GL_ARB_get_program_binary, so closing. |
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.