Skip to contentSkip to conversation

s3tc broken on r600

Bug 24047 [email protected] 1 participant 22 messages Jan 4, 2010 – Nov 30, 2011 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #6 from jonathan <[email protected]> 2010-01-04 02:53:35 PST --- Created an attachment (id=32428)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32428)
st3c

a screenshot of regnum online

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

jonathan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED

--- Comment #7 from jonathan <[email protected]> 2010-04-17 10:39:21 PDT --- in wich release this bug is fixed?
because currently i use:

$ rpm -qa | grep mesa
mesa-dri-drivers-experimental-7.8-0.18.fc13.x86_64
mesa-libGLU-7.8-0.18.fc13.x86_64
mesa-libOSMesa-7.8-0.18.fc13.i686
mesa-libGL-7.8-0.18.fc13.i686
mesa-libGL-7.8-0.18.fc13.x86_64
mesa-libGL-devel-7.8-0.18.fc13.x86_64
mesa-libGLU-devel-7.8-0.18.fc13.i686
mesa-libGLw-6.5.1-8.fc12.x86_64
mesa-libGLU-devel-7.8-0.18.fc13.x86_64
mesa-libOSMesa-7.8-0.18.fc13.x86_64
mesa-dri-drivers-7.8-0.18.fc13.x86_64
mesa-libGLw-6.5.1-8.fc12.i686
mesa-dri-drivers-7.8-0.18.fc13.i686
mesa-libGLU-7.8-0.18.fc13.i686

and they are no texture with s3tc

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

jonathan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|VERIFIED                    |REOPENED
         Resolution|FIXED                       |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #8 from jonathan <[email protected]> 2010-04-18 09:58:36 PDT --- hello, today i have an update and now s3tc are enable.

$ rpm -qa | grep mesa
mesa-libOSMesa-7.8.1-1.fc13.x86_64
mesa-libGLU-7.8.1-1.fc13.x86_64
mesa-libGLU-7.8.1-1.fc13.i686
mesa-libGLU-devel-7.8.1-1.fc13.x86_64
mesa-libGLU-devel-7.8.1-1.fc13.i686
mesa-dri-drivers-7.8.1-1.fc13.x86_64
mesa-dri-drivers-7.8.1-1.fc13.i686
mesa-dri-drivers-experimental-7.8.1-1.fc13.x86_64
mesa-libGLw-6.5.1-8.fc12.x86_64
mesa-libOSMesa-7.8.1-1.fc13.i686
mesa-libGL-devel-7.8.1-1.fc13.x86_64
mesa-libGL-7.8.1-1.fc13.x86_64
mesa-libGL-7.8.1-1.fc13.i686
mesa-libGLw-6.5.1-8.fc12.i686

nice work, stille some artefact with ennemy territory quake wars

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #9 from jonathan <[email protected]> 2010-05-26 17:02:29 PDT --- when i launch ennemy territory quake wars i have this error :

failed to validate texture for unit 1. unsupported texture format in setup_hardware_state failed to validate texture for unit 4. unsupported texture format in setup_hardware_state failed to validate texture for unit 5. unsupported texture format in setup_hardware_state failed to validate texture for unit 0.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #11 from Andy Furniss <[email protected]> 2010-06-01 02:59:35 PDT --- (In reply to comment #10)

Quoted 1 line

ping

s3tc has never worked for me using a RV670 with git drivers, it affects all the games I've tried - etqw, quake4 demo, et wolf, ut2004 demo and doom3 demo.

Of course disabling s3tc in .driconf will workaround it apart from quake 4 (refuses to start without s3tc) and etqw (which then hits some other shader errors).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #12 from Andy Furniss <[email protected]> 2010-06-01 03:15:13 PDT --- (In reply to comment #11)

Quoted 1 line

Of course disabling s3tc in .driconf will workaround

Oops - I meant .drirc in your home dir, not .driconf - the contents I use to disable s3tc are -

<driconf>

    <device screen="0" driver="r600">
        <application name="Default">
            <option name="force_s3tc_enable" value="false" />
            <option name="disable_s3tc" value="true" />
        </application>
    </device>

</driconf>

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #14 from Chris Rankin <[email protected]> 2010-07-12 13:25:46 PDT --- This bug is important for WoW to work, as well. WoW will crash immediately if the OpenGL S3TC extensions are not available.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #15 from Michal Suchanek <[email protected]> 2010-07-23 05:58:35 PDT --- I think that Mesa should not advertise s3tc on drivers that don't support uploading compressed textures.

Some programs try to set the flag which forces advertising the s3tc although only upload is supported in the hope they can use precompressed textures. In the case of r600 the feature should not be advertised anyway.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #16 from jonathan <[email protected]> 2010-07-23 07:32:12 PDT --- (In reply to comment #15)

Quoted 6 lines

I think that Mesa should not advertise s3tc on drivers that don't support uploading compressed textures.

Some programs try to set the flag which forces advertising the s3tc although only upload is supported in the hope they can use precompressed textures. In the case of r600 the feature should not be advertised anyway.

hi, i woulk like know if my graphic card support s3tc? and if yes in which revision appear this feature?
thanks

0.0 VGA compatible controller: ATI Technologies Inc RV730XT [Radeon HD 4670]
model name : AMD Phenom(tm) II X4 955 Processor
cpu MHz : 3211.224
model name : AMD Phenom(tm) II X4 955 Processor
cpu MHz : 3211.224
model name : AMD Phenom(tm) II X4 955 Processor
cpu MHz : 3211.224
model name : AMD Phenom(tm) II X4 955 Processor
cpu MHz : 3211.224
dimensions: 2960x1050 pixels (783x278 millimeters)
depth of root window: 24 planes
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
--
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9490) 20090101 TCL DRI2 OpenGL version string: 2.0 Mesa 7.8.1
Linux 2.6.33.6-147.fc13.x86_64

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #17 from Michal Suchanek <[email protected]> 2010-07-23 10:07:16 PDT --- Created an attachment (id=37338)
View: https://bugs.freedesktop.org/attachment.cgi?id=37338
Review: https://bugs.freedesktop.org/review?bug=24047&attachment=37338

disables s3tc on r600 and prints a message to stderr

This patch fixes Crystalspace3D for me.
It's a workaround, it only disables the extension completely since it is unsupported on r600 cards.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

Michal Suchanek <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #37338|0                           |1

is obsolete| |

--- Comment #18 from Michal Suchanek <[email protected]> 2010-07-23 10:25:19 PDT --- Created an attachment (id=37339)
View: https://bugs.freedesktop.org/attachment.cgi?id=37339
Review: https://bugs.freedesktop.org/review?bug=24047&attachment=37339

the same patch with consistent whitespace

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

Niels P. <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #19 from Niels P. <[email protected]> 2011-07-31 03:44:35 PDT --- s3tc is fixed on r600/r600g with the third party Library.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #20 from Matt McHenry <[email protected]> 2011-11-28 19:29:43 PST --- (In reply to comment #19)

Quoted 1 line

s3tc is fixed on r600/r600g with the third party Library.

What is "the third party Library"?

I'm trying to get StarCraft II to run on this hardware:

$ glxinfo | egrep -i render\|vendor
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV610
    GL_NV_conditional_render, GL_AMD_draw_buffers_blend,
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #20 from Matt McHenry <[email protected]> 2011-11-28 19:29:43 PST --- (In reply to comment #19)

Quoted 1 line

s3tc is fixed on r600/r600g with the third party Library.

What is "the third party Library"?

I'm trying to get StarCraft II to run on this hardware:

$ glxinfo | egrep -i render\|vendor
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV610
    GL_NV_conditional_render, GL_AMD_draw_buffers_blend,

--- Comment #21 from Phil Armstrong <[email protected]> 2011-11-29 01:47:07 PST ---
http://dri.freedesktop.org/wiki/S3TC

Look for libtxc_dxtn in your distributions non-free or contrib section. Hopefullly the patent issues will get cleared up & the library will then be merged into mesa proper.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #23 from Michal Suchanek <[email protected]> 2011-11-29 02:18:36 UTC --- it cannot be fixed by s3tc.

What r600 does not support should work without any library: uploading textures which are already compressed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

Michal Suchanek <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

Tobias Jakobi <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #24 from Tobias Jakobi <[email protected]> 2011-11-29 07:04:00 PST --- There is no r600 (classic mesa) anymore, only r600g. And r600g doesn't have any problems with s3tc or texture compression in general.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#22 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=24047

--- Comment #25 from Matt McHenry <[email protected]> 2011-11-29 17:01:07 PST --- Awesome -- 'emerge -av media-libs/libtxc_dxtn' got SC2 working for me on
gentoo. Thanks!

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.