* [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support
@ 2011-01-07 2:22 bugzilla-daemon
2011-02-01 21:57 ` [Bug 32888] " bugzilla-daemon
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-01-07 2:22 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
Summary: [r600g] GL_EXT_texture_compression_s3tc support
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: enhancement
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: vlee@vmware.com
mesa: 6d9ca78ef7bf831b9b63f4bda68623cbae627508 (master)
r600g currently does not support the OpenGL extension
GL_EXT_texture_compression_s3tc, whereas r600 classic does. Gallium drivers
softpipe, llvmpipe, and r300g currently also support
GL_EXT_texture_compression_s3tc.
GL_EXT_texture_compression_s3tc is a necessary extension for VMware Workstation
and VMware Player to support hardware graphics acceleration in Windows guest
operating systems.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
@ 2011-02-01 21:57 ` bugzilla-daemon
2011-02-06 15:50 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-01 21:57 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #1 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-01 13:57:45 PST ---
wine also kind of requires this extension, since s3tc is mandatory for Direct3D
translation inside the wined3d layer.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
2011-02-01 21:57 ` [Bug 32888] " bugzilla-daemon
@ 2011-02-06 15:50 ` bugzilla-daemon
2011-02-06 16:14 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-06 15:50 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #2 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-06 07:50:48 PST ---
I just noticed that there is the R600_ENABLE_S3TC option and tried to enable
it.
However this triggers the CS checker in the kernel and reject most of the
commands. Tried with Max Payne 2 and FEAR, since I know that these two use
texture compression when available (MP2 even in the menu):
1) MP2 just displays a black screen
2) FEAR works in the menu, but crashes when going ingame
In both cases I get an error from r600_check_texture_resource (r600_cs.c),
which comes from r600_bpe_from_format not knowing the FMT_BCx formas.
The format code was introduced in this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2c55547dc36f404e29dbc9253166f90df6783af
The corresponding debug option here:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6baad55f157387d0bb44144680a96bc32280109f
I dunno how this should have ever worked, when the kernel immediately rejects
these formats?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
2011-02-01 21:57 ` [Bug 32888] " bugzilla-daemon
2011-02-06 15:50 ` bugzilla-daemon
@ 2011-02-06 16:14 ` bugzilla-daemon
2011-02-09 10:39 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-06 16:14 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #3 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-06 08:14:04 PST ---
More spam:
I found this interesting thread in the Phoronix forums:
http://phoronix.com/forums/showthread.php?25679-S3TC-gt-r600-c-g/page7
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (2 preceding siblings ...)
2011-02-06 16:14 ` bugzilla-daemon
@ 2011-02-09 10:39 ` bugzilla-daemon
2011-02-15 10:08 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-09 10:39 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #4 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-09 02:39:22 PST ---
Created an attachment (id=43156)
View: https://bugs.freedesktop.org/attachment.cgi?id=43156
Review: https://bugs.freedesktop.org/review?bug=32888&attachment=43156
Disable CS check for textures
To quote Keith:
Seems to sort-of work for non-mipmapped textures.
Tested with quake4 (where s3tc is mandatory) and FEAR. Like expected all mipmap
levels are broken, which results in funny colors. Use GL_LINEAR as
r_texturemode in quake-based engines to get an idea how it could look like :)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (3 preceding siblings ...)
2011-02-09 10:39 ` bugzilla-daemon
@ 2011-02-15 10:08 ` bugzilla-daemon
2011-02-17 8:06 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-15 10:08 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #5 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-15 02:08:05 PST ---
Results with:
(i) new git master (including Dave's recent patches)
(ii) CS texture checking disabled
(iii) R600_ENABLE_S3TC=1
1) quake4 works flawlessly now, even with R600_FORCE_TILING=1
2) Max Payne 2 (through wine), where s3tc support is mandatory, also works.
Both tested in menu and ingame.
Enabling R600_FORCE_TILING doesn't show any obvious artifacts.
3) FEAR is still triggering GPU resets once you get ingame.
However this doesn't have to be related to texture compression support.
At least some textures are now visible, shortly before the driver
resets the GPU.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (4 preceding siblings ...)
2011-02-15 10:08 ` bugzilla-daemon
@ 2011-02-17 8:06 ` bugzilla-daemon
2011-02-17 8:22 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-17 8:06 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #6 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-17 00:06:55 PST ---
Retested with the latest d-r-t and at at least on my RV740 the new CS checker
code seems to do the job right.
@Dave: Would it be safe now to also advertise the remaining two BC formats in
r600g? The BC4 and BC5 one? Also, is it intended that the s3tc_to_blittable
(and the reset function) take a level parameter, which isn't used inside the
function?
Concerning FEAR: I don't think this is related to texture compression. I
fiddled around with the ingame performance options yesterday and the GPU resets
disappeared when I switched the engine from DX9 level to DX8 level pixel
shaders. Maybe this is related to the GLSL piglit tests that still lockup the
GPU.
Anyway, apart from manually enabling the envvar, this issue looks fixed to me.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (5 preceding siblings ...)
2011-02-17 8:06 ` bugzilla-daemon
@ 2011-02-17 8:22 ` bugzilla-daemon
2011-02-17 12:10 ` bugzilla-daemon
2011-08-19 5:21 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-17 8:22 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
Dave Airlie <airlied@freedesktop.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Dave Airlie <airlied@freedesktop.org> 2011-02-17 00:22:42 PST ---
not sure if the rest of the code in Mesa is setup to use BC4 or BC5 if we do
advertise them from the driver. I'd have to check what they correspond to I
think they are for RGTC as opposed to S3TC
oh I should remove that level, it was used during some of my hacks.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (6 preceding siblings ...)
2011-02-17 8:22 ` bugzilla-daemon
@ 2011-02-17 12:10 ` bugzilla-daemon
2011-08-19 5:21 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-02-17 12:10 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
--- Comment #8 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-17 04:10:58 PST ---
Yes, they are the RGTC formats.
I asked, because the formats are also advertised in r300g.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
` (7 preceding siblings ...)
2011-02-17 12:10 ` bugzilla-daemon
@ 2011-08-19 5:21 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-08-19 5:21 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=32888
Vinson Lee <vlee@vmware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #9 from Vinson Lee <vlee@vmware.com> 2011-08-18 22:21:51 PDT ---
Ubuntu 11.10 i386
mesa: 7.11-0ubuntu3
kernel: 3.0.0-8-generic
r600g has GL_EXT_texture_compression_s3tc on the above mention configuration.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-08-19 5:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-07 2:22 [Bug 32888] New: [r600g] GL_EXT_texture_compression_s3tc support bugzilla-daemon
2011-02-01 21:57 ` [Bug 32888] " bugzilla-daemon
2011-02-06 15:50 ` bugzilla-daemon
2011-02-06 16:14 ` bugzilla-daemon
2011-02-09 10:39 ` bugzilla-daemon
2011-02-15 10:08 ` bugzilla-daemon
2011-02-17 8:06 ` bugzilla-daemon
2011-02-17 8:22 ` bugzilla-daemon
2011-02-17 12:10 ` bugzilla-daemon
2011-08-19 5:21 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.