BA and Hd 5870: bad texture. - Page 3

BA and Hd 5870: bad texture.

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: BA and Hd 5870: bad texture.

Post 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.
megaNaab
Posts: 4
Joined: 13 Jun 2010, 11:37

Re: BA and Hd 5870: bad texture.

Post 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?
Last edited by megaNaab on 21 Jun 2010, 21:48, edited 2 times in total.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: BA and Hd 5870: bad texture.

Post 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
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: BA and Hd 5870: bad texture.

Post by oksnoop2 »

Can someone explain in layman terms what the problem exactly is?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: BA and Hd 5870: bad texture.

Post 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.
H2O
Posts: 32
Joined: 27 May 2010, 23:05

Re: BA and Hd 5870: bad texture.

Post 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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: BA and Hd 5870: bad texture.

Post 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.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: BA and Hd 5870: bad texture.

Post 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.
H2O
Posts: 32
Joined: 27 May 2010, 23:05

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
MajorMayhem
Posts: 98
Joined: 08 Jan 2009, 23:39

Re: BA and Hd 5870: bad texture.

Post 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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: BA and Hd 5870: bad texture.

Post by dansan »

I have reported the bug to their bug database: http://ati.cchtml.com/show_bug.cgi?id=1849
H2O
Posts: 32
Joined: 27 May 2010, 23:05

Re: BA and Hd 5870: bad texture.

Post by H2O »

Thanks for submitting the bug dansan.
kyrodwaggie
Posts: 1
Joined: 03 Jul 2010, 00:28

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: BA and Hd 5870: bad texture.

Post by hoijui »

sure! :-)
bugging them more can't hurt.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: BA and Hd 5870: bad texture.

Post by manolo_ »

works fine again with 10.4 (what an ati mess)
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: BA and Hd 5870: bad texture.

Post 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.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: BA and Hd 5870: bad texture.

Post 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.
Locked

Return to “Help & Bugs”