PDA

View Full Version : TNT2 - DXTC/ S3TC extensions ..


DarkYY
09-16-02, 03:34 AM
Hi,

I try to play unreal tournament 2003 demo under linux but it hangs because of an error on missing DXTC/S3TC extensions ..
I don't understant .. It works fine under windows ..
There's no support for this with TNT2 under linux ? :\

DarkYY

DarkYY
09-16-02, 09:18 AM
no one can help me ? :|

utiel
09-16-02, 09:27 AM
I have readed that win version uses D3D, without S3TC.
In linux, only OpenGL is posible, and OpenGL uses S3TC.

I think we need to update our graphics cards :_(

DarkYY
09-16-02, 09:44 AM
Too Bad :~\

diziet
09-16-02, 11:09 AM
Hi,
You have to be running the latest drivers and have at least a GeForce card. Am not sure whether any particular revision is required as I have a GF4.
The linux readme file in the ut2003 install directory actually mentions this particular problem and basically says:

"You need an nvidia card, and you need the latest linux nvidia drivers".

Diziet

Andy Mecham
09-17-02, 02:12 AM
The minimum requirements for UT2003 are a GeForce 256 and PIII 600. Please check the UT2003 README for more details.

--andy

utiel
09-17-02, 09:18 AM
Originally posted by diziet

"You need an nvidia card, and you need the latest linux nvidia drivers".

Diziet

Nvidia TNT2 (pro,M64) are Nvidia cards.

But doesn't have S3TC, Gforce and up, have them

TNT/2 users will have to update our systems.
Also my PII needs an upgrade too

and My acoount need a lot of $$$!!!

At least, we can play UT3 in Windows with tnt2 ;)

Mamoulian
09-18-02, 02:56 PM
Originally posted by Andy Mecham
The minimum requirements for UT2003 are a GeForce 256 and PIII 600. Please check the UT2003 README for more details.

--andy

...but it also says:

http://www.ina-community.com/forums/announcement.php?forumid=214#features


that it will run with '16 MB TNT2-class'.
Which doesn't have hardware T&L.

Why should that run on Windows but not Linux?


Mamo.

r0gu3
09-18-02, 04:38 PM
I thought that the problem wasn't the hardware wasn't good enough (although that may be an issue...) but i think i can throw together a libgl that can be preloaded that will convert s3tc into regular textures...
BUT!!!
I am pretty sure that would be in violation of US patent law and so unless someone has space on some webserver where us patent laws are ignored, i can't really post it anywhere :(

- r0gu3

Andy Mecham
09-18-02, 05:57 PM
The TNT2 is supported under Windows through Direct3D. As Linux doesn't have Direct3D, you'll need to use OpenGL; this necessitates a GeForce 256 or higher card.

Thanks!

--andy

r0gu3
09-19-02, 09:42 AM
Well although performance may not be up to par, IF ut2003 didn't use s3tc then it should run on tnts... my point is that its pretty trivial to bypass the libGLcalls to load the compressed texture and simple decompress the s3tc then load the texture. This (i believe) would be in violation of s3's patents on s3tc. But I can't seem to find the patent numbers on s3tc(or dxtc whatever you wanna call it)...

- r0gu3

Mamoulian
09-21-02, 08:22 AM
Ah. Thats along the lines of what I was thinking... if DirectX can do this decoding in software, OpenGL should be able to.
And I'd have thought those that work on the linux OpenGL libraries would have gotten around to putting it in by now, if its not too much work...?



Mamo.

bwkaz
09-21-02, 08:32 AM
I don't think it's "too much work", I think it's more of a patent issue than that. S3 has the texture format patented, and M$ can pay for a license to use it in D3D. But who's going to pay for a license for an opensource GL library? Add to that that some people don't want patented stuff in open source libraries and such, and it's fairly possible that DRI may not do that.

If someone wanted to write an S3TC-"enabled" wrapper around libGL (like what r0gu3 is talking about), they'd either have to pay a license fee to S3, or tell everyone they give it to that it's illegal. Because it will be.

Assuming it is actually patented... but if it isn't, then... why would anyone care?

Imperito
09-25-02, 10:17 AM
How to get it to work on a GeForce 2 MX? You say you need at least a GeForce, I have a Geforce 2 and I get that same error. glxgears works so I think it isn't my driver (probably?) but I get that same error about DXTC/S3TC.

r0gu3
09-26-02, 07:34 AM
Well check glxinfo and see if the vendor is nvidia Corp...

If its not, and you see mesa ANYWHERE than you don't have the drivers installed properly :)

I had the game running fine on my gf2 mx

- r0gu3

acmay
10-01-02, 02:12 AM
I have Gefore2 GTS and I get an error about not having the S3TC extensions.

Here is my glxinfo output and the error message.

acmay@mud:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: NVIDIA Corporation
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce2 GTS/AGP/3DNOW!
OpenGL version string: 1.3.1 NVIDIA 31.23
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_imaging, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x26 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x27 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x28 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
acmay@mud:~$ ut2003_demo
Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
OpenGL renderer relies on DXTC/S3TC support.

History:

Exiting due to error

bwkaz
10-01-02, 09:41 AM
Originally posted by acmay
direct rendering: No This would, I think, be your problem.

Post your /var/log/XFree86.0.log and whatever file that log says X is using as its config file (usually /etc/X11/XF86Config-4, but not always -- it's one of the first ten lines or so in the log).

acmay
10-01-02, 11:55 AM
Here is the log and the config file.

Quake3 and Wolfenstein seem snapping enough that I though the drivers were working.

bwkaz
10-01-02, 12:16 PM
How about ldd $(which glxinfo) -- it will print which libraries your glxinfo binary is linking against, and where it's finding them. It should list libGL.so.1 and libGLcore.so.1, and these files should be living in /usr/lib. Just to make sure you don't have stale symlinks laying around, ls -l both of them and make sure they're pointing to libGL.so.1.0.3123 and libGLcore.so.1.0.3123, respectively.

Sometimes you can also fix problems like this by doing an ldconfig as root.

acmay
10-01-02, 12:31 PM
Thanks for the tip, I got it working now.
I re-ran the install make in the GLX directory to fix things up.

I think a apt-get upgrade bit me, but I am not sure.