open All Channels
seplocked Linux
blankseplocked S3TC=>r600c
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2010.08.23 14:01:00 - [1]
 

Hi,

I'm playing EVE with the r600c driver and it's kind of working:
+ Shader *seem* to be OK
+ UI is perfect(So I can gate camp/roam even if all ship are black)
- a LOT of textures are missing
/ Only char avatar in cache are displayed


So i checked what was the "lot of texture problem"...

Wine tel a lot of "glCompressedTexSubImage2DARB" and "glTexImage2D" error.
I have installed the libtxc-dxtn, who is responsible of the S3TC textures compression/decompression.

So after that, all those error are replaced by "unsupported texture format in setup_hardware_state
failed to validate texture for unit {0,1,2}..." so this mean that EVE require S3TC compression and decompression on driver level (r600c don't support that), not only S3TC compressed transfer to the video card (with is supposed to work).

I may be able to implement this by using code from r300c... But I need to know if possible :
- What kind of S3TC compression is used in EVE (DXT?)?
- It's possible to simply disable S3TC in EVE? (This will be faster than implementing S3TC on these drivers)

Cid Jorgumeri
Roving Guns Inc.
RAZOR Alliance
Posted - 2010.08.26 11:46:00 - [2]
 

In my investigation, S3TC is not disableable in eve, and implementing software S3TC (which eve's gfx engine seems to rely on.) to be exact, I'm pretty sure eve wants to load and decompress textures that were stored as S3TC dxt* on disk. Hooks to make that work are pretty much not in any Xorg/Mesa GL driver apart from the software driver.

Once upon I time I tried hacking messily in wine make it work, and I got something half-workable, with horrible texture corruption. Until that use of libtxc-dxtn is implemented in the radeon opensource drivers, dont count on them working with EVE.

You'll need to handle cases for making this work through the whole driver pipeline basically, so you'll also have to fix up things in the kernel driver too. Ugly stuff.

Rothur Cral
Posted - 2010.08.26 14:29:00 - [3]
 

You don't need to do anything to decompress DXT textures as the card can handle them directly. However, the card needs to be told it is getting compressed textures. Unfortunately, the register documentation released by AMD doesn't give the format codes for DXT textures (for IP reasons). The r300 driver has support because the format codes were guessed.

Ravow
Minmatar
Cosmic Encounter
Mayhem.
Posted - 2010.08.27 00:59:00 - [4]
 

Edited by: Ravow on 27/08/2010 00:59:50
I can confirm that some of the texture are unpacked on the hardrive, probably with the help of the video drivers.

The Avatar face I already have in cache work in r600g but those generated during I have r600g are plain black. The black face generated with r600g stay black after, on fglrx.

The normal eve texture (ship, planet, space background), are probably sent in DXT* format directly to video card.

Douglas WildOak
The Executioners
Capital.Punishment
Posted - 2010.09.25 14:28:00 - [5]
 

Originally by: Rothur Cral
Unfortunately, the register documentation released by AMD doesn't give the format codes for DXT textures (for IP reasons).


Things are moving ahead in Gallium at a nice pace:
http://www.phoronix.com/vr.php?view=15292

Meanwhile, the ATI developers responsible for publishing sample code for the open source community have just stopped working on the evergreen series and are beginning to move ahead to the next generation of cards. This probably means that if those registers have not already been released, they never will. However, reading this news makes me hope that all necessary documentation better be in place:
http://www.phoronix.com/scan.php?page=article&item=amd_evergreen_3d&num=1

ChristofDeluca
Posted - 2010.10.31 06:17:00 - [6]
 

Originally by: Ravow
Hi,

I'm playing EVE with the r600c driver and it's kind of working:
+ Shader *seem* to be OK
+ UI is perfect(So I can gate camp/roam even if all ship are black)
- a LOT of textures are missing
/ Only char avatar in cache are displayed





Can you give me tips on how you did it? I get a blank screen and just sound.


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only