Page 3 of 4

Re: BA and Hd 5870: bad texture.

Posted: 20 Jun 2010, 12:33
by Kloot
I googled that the problem is that the graphics driver does not support texture compression used by old models.
3DO ("old model") textures are NOT S3TC-compressed, they can only be .bmp's or .tga's and Spring reads those into client memory as-is. This is just yet another one of ATI's GL driver bugs.

Re: BA and Hd 5870: bad texture.

Posted: 20 Jun 2010, 13:41
by megaNaab
EDIT:
The spring rendering code has some sections which handle DXT/S3TC compression (which is used in .dds). My ATI driver does not support DXT/S3TC decompression, so the problem must have something to do with S3TC.

But if all the textures are BMP and TGA (which don't have any compression, except RLE), how there can be problems with textures and S3TC?

Re: BA and Hd 5870: bad texture.

Posted: 20 Jun 2010, 17:46
by jK
A little knowledge is a dangerous thing.
It is obviously a combination of user incompetence and bad driver testing by ATi, so please stop say what devs "have to do".

I would request a lock for this thread, because it doesn't lead to anywhere.

Re: BA and Hd 5870: bad texture.

Posted: 20 Jun 2010, 19:36
by FLOZi
Devs are no longer even responsible for tatextures_vXX.sdz and haven't been for years. And as kloot said they are all bmp and tga. (at least in the most recent version I have)

Anyone using .dds with 3do is smoking some serious products... :?

edit: And CA 3do textures are all bmp/tga too:

http://trac.caspring.org/browser/trunk/ ... ures/tatex

Re: BA and Hd 5870: bad texture.

Posted: 20 Jun 2010, 20:22
by oksnoop2
Can someone explain in layman terms what the problem exactly is?

Re: BA and Hd 5870: bad texture.

Posted: 21 Jun 2010, 00:20
by Beherith
Well, im as much as a layman about this as anyone, but heres what I think happens (anyone knowing better please correct me or feel free to edit/delete this post) :

3do's use 1 texture per face, so each face has a UV range of (0,0)-(1,1)
Thus each face uses 1 single texture.
Now having the gfx card switch textures bindings to a new image on _every_ face is slow, thus undesirable.

What the engine does instead, is it takes all these per face images, and tiles them on a large texture, then transforms the UV coordinates of the faces to correspond to the correct part of the large tiled image. Somewhere along the ATI driver update, functionality on a pathway related to coordinate generation/transformation was changed, thus resulting in the UV's not being transformed from the (0,0)-(1,1) range to their corresponding small areas. So the gfx drivers map the whole tile map to each single face.

Re: BA and Hd 5870: bad texture.

Posted: 23 Jun 2010, 10:24
by H2O
Nice to see something moving.

I can't give more information, i don't have enough knowledge, but if there is some workaround to try, i will be happy to do it.

Re: BA and Hd 5870: bad texture.

Posted: 23 Jun 2010, 12:59
by dansan
Beherith wrote:3do's use 1 texture per face...
Is it possible to convert the texture format from BAs to the one CA is using (which is not affected)?

I'd do the work to convert everything if I get the right instructions how to.

Re: BA and Hd 5870: bad texture.

Posted: 23 Jun 2010, 13:25
by zerver
Of course it is possible, but your time is better spent spamming ATI with bug reports IMO. There will also be mod checksum mismatch if you change the textures, so you will need a hacked EXE.

Re: BA and Hd 5870: bad texture.

Posted: 23 Jun 2010, 14:54
by H2O
So lets coordinate our efforts in sending bug reports. Can someone report how to submit those bug reports? I haven't done one till now.

However seems that the 10.5 and the 10.6 driver versions put some problem with few old, but more known games. Maybe if Ati fix them, it will resolve our problem too.

Re: BA and Hd 5870: bad texture.

Posted: 23 Jun 2010, 14:55
by hoijui
i guess that would be for the next version of BA, which should come very soon anyway, as it is still not fit for spring master.

Re: BA and Hd 5870: bad texture.

Posted: 30 Jun 2010, 21:31
by MajorMayhem
I have the exact same problem with my 4830 running 10.5 drivers. I like the drivers though cause they fix all the longstanding issues in IL-2 1946. Why can't spring be updated to get away from such ancient compression? Just saying I have no other issues with anything else.

Re: BA and Hd 5870: bad texture.

Posted: 01 Jul 2010, 18:42
by dansan
I have reported the bug to their bug database: http://ati.cchtml.com/show_bug.cgi?id=1849

Re: BA and Hd 5870: bad texture.

Posted: 02 Jul 2010, 14:59
by H2O
Thanks for submitting the bug dansan.

Re: BA and Hd 5870: bad texture.

Posted: 03 Jul 2010, 00:33
by kyrodwaggie
Same issue here with a 5830 card, should probably add an account on the ati bugtracker just to notify them that it affects the windows drivers also.

Re: BA and Hd 5870: bad texture.

Posted: 03 Jul 2010, 07:34
by hoijui
sure! :-)
bugging them more can't hurt.

Re: BA and Hd 5870: bad texture.

Posted: 04 Jul 2010, 10:03
by manolo_
works fine again with 10.4 (what an ati mess)

Re: BA and Hd 5870: bad texture.

Posted: 04 Jul 2010, 18:07
by zerver
The 10.4 driver is not perfect, it has some very rare system lockups.

However, it will have to do until ATI sorts out the mess.

Re: BA and Hd 5870: bad texture.

Posted: 04 Jul 2010, 22:41
by very_bad_soldier
There should be a big warning message when installing spring. As Ati is very popular at the moment and having the latest driver installed is not unusual either, a big chunk of newbies that install spring today will get gfx errors making them cry and uninstall spring.

Re: BA and Hd 5870: bad texture.

Posted: 05 Jul 2010, 01:16
by oksnoop2
That's a good point. I would hate to jump through all the hoops just to find that the textures are screwy. Then again they might pick a game that has s3o's...but still a polite heads up would probably be...well polite.