Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux


Sponsored Ad

Reply
 
Thread Tools
Old 02-20-08, 10:50 PM   #1
Nicktaken
Registered User
 
Join Date: Feb 2008
Posts: 12
Default 169.09 texture corruption continues

Since 100. I've been seeing this corruption as many others have in games.
Testing has determined that it's related to DXT5 compressed textures.

EDIT: this only occurs with DXT5 textures created by nvcompress. Textures created by the card's hardware are fine. This is why using GL to compress uncompressed textures to dxt5 look fine, but loading a dxt5 texture created by nvcompress does not. You can make comparisons by using gimp's plugin (which uses hardware). Create a dxt5 in gimp using it's hardware compression, and load it up against a dxt5 created by nvcompress.

Take a dxt5 texture (i used one bigger than 256x256 with a "unusued" alpha channel) load it up. Witness the neat white lines everywhere.

Take same texture, load it up uncompressed, notice how you dont get white lines everywhere.

Try it with DXT1, DXT3 , both should render as expected. DXT5 is the only one that results in the white bars.

This issue resolves itself when you go back to 100. version drivers.

this was tested on an N6600 card. Though i dont believe it to be specific to that card. The texture i used had a flat alpha channel that would have been better suited as dxt1 anyway, but i dont think that matters.
Nicktaken is offline   Reply With Quote
Old 02-21-08, 07:30 PM   #2
WhiteDwarf
Registered User
 
Join Date: Jul 2004
Posts: 29
Default Re: 169.09 texture corruption continues

I can confirm this as well (testing on my laptop with a Go 7700). It also happens with DXT5 textures created using Direct3D to create dds files that use DXT5 texture compression. They look correct using 100.14.19.
WhiteDwarf is offline   Reply With Quote

Sponsored Links - Guests Only

Old 02-21-08, 09:10 PM   #3
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 1,794
Default Re: 169.09 texture corruption continues

I'm having trouble reproducing this problem. Can you please attach the original and compressed images with this problem? Also, what are you using to view the resulting compressed texture?
AaronP is offline   Reply With Quote
Old 02-21-08, 10:30 PM   #4
WhiteDwarf
Registered User
 
Join Date: Jul 2004
Posts: 29
Default Re: 169.09 texture corruption continues

In the attached tarball is source for a simple viewer (uses SOIL to load the texture) that exposes the corrupted textures here. Also includes the original tga, dds compressed using nvcompress -bc3 (nvidia-texture-tools-2.00), as well as screen shots of it using driver 169.09 (corrupted texture), and driver 100.14.19 (not corrupted).

Note that this corruption happens on a number of other DXT5 compressed textures here as well (in fact happens on most of them) -- I just picked a small one at random.
Attached Files
File Type: bz2 dds.tar.bz2 (5.0 KB, 118 views)
WhiteDwarf is offline   Reply With Quote
Old 02-22-08, 07:32 AM   #5
lloeki
Arch Linux
 
lloeki's Avatar
 
Join Date: Oct 2006
Posts: 122
Default Re: 169.09 texture corruption continues

could it be related to this?

http://www.nvnews.net/vbulletin/showthread.php?t=104363
lloeki is offline   Reply With Quote
Old 02-22-08, 07:16 PM   #6
Nicktaken
Registered User
 
Join Date: Feb 2008
Posts: 12
Default Re: 169.09 texture corruption continues

guaranteed all those corrupted textures are dxt5 made with nvcompress.
Nicktaken is offline   Reply With Quote
Old 02-23-08, 04:28 AM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 1,794
Default Re: 169.09 texture corruption continues

Thanks WhiteDwarf. I reproduced the problem with your test application and it will be fixed in a future driver release.
AaronP is offline   Reply With Quote
Old 02-23-08, 05:07 AM   #8
WhiteDwarf
Registered User
 
Join Date: Jul 2004
Posts: 29
Default Re: 169.09 texture corruption continues

Glad I could help. Looking forward to the fix!
WhiteDwarf is offline   Reply With Quote
Old 02-23-08, 12:56 PM   #9
Nicktaken
Registered User
 
Join Date: Feb 2008
Posts: 12
Default Re: 169.09 texture corruption continues

for now you can add a check for the GL version and Renderer, so you can software decompress DXT5 files for nvidia cards using affected 169 drivers. That's what i'm doing.
Nicktaken is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 01:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
nV News - Copyright ©1998-2009. All rights reserved.