View topic - Spring on Intel or ATI 'open-source' drivers



All times are UTC + 1 hour


Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: 24 Oct 2009, 21:17 

Joined: 04 Oct 2009, 23:21
Location: Chicago
When I load up Spring RTS I see only white models and map which means there is no texture compression support in the driver. There would be hope with a software texture compression library from here.
Unfortunately this method is patent encumbered... otherwise you could:
Download and extract the latest version.
you will also need two packages (and their dependencies):
Code:
$ sudo apt-get install libgl1-mesa-dev driconf
$ cd <folder you extracted to>
$ make
$ sudo make install
$ driconf

force texture compression and save your configuration.
you would now have pretty textures in Spring on your IGP or legacy ATI based system.


Top
 Offline Profile  
 
PostPosted: 25 Oct 2009, 23:28 
User avatar

Joined: 16 Oct 2008, 17:54
What is your point? Is this simply a how-to?


Top
 Offline Profile  
 
PostPosted: 30 Oct 2009, 03:34 

Joined: 04 Oct 2009, 23:21
Location: Chicago
Blue_Falcon wrote:
What is your point? Is this simply a how-to?

I agree.


Top
 Offline Profile  
 
PostPosted: 09 Nov 2009, 23:06 
User avatar

Joined: 03 Jan 2008, 15:40
so, if ti works on intel gpu's, how good spring will run on those bare-bones cards?


Top
 Offline Profile  
 
PostPosted: 19 Nov 2009, 08:33 

Joined: 20 Dec 2007, 19:59
Without S3TC compression activated, textures are white..ok.

But do you know where the bug come from ? spring or driver

Spring should work without S3TC, no ?


Top
 Offline Profile  
 
PostPosted: 20 Nov 2009, 16:45 

Joined: 04 Feb 2009, 11:38
tnx, it just works. :D


Top
 Offline Profile  
 
PostPosted: 21 Jan 2010, 13:21 

Joined: 02 Jul 2005, 16:36
Location: Strasbourg - France
Thanks a lot, also worked for me !


Top
 Offline Profile  
 
PostPosted: 25 Jan 2010, 06:00 

Joined: 25 Jan 2010, 05:43
What GPU do you use?

on my R600 I can't force compression :/


Top
 Offline Profile  
 
PostPosted: 24 Feb 2010, 02:00 

Joined: 26 Feb 2008, 17:55
Thanks!

Forcing compression through driconf for my Intel GM945 enabled textures on ground!


Top
 Offline Profile  
 
PostPosted: 07 Mar 2010, 21:20 

Joined: 07 Mar 2010, 21:18
You sir, are a legend, thank you so much! I can now play this game without pretending to be on Hoth the whole damn time. :-)

Sven


Top
 Offline Profile  
 
PostPosted: 14 Apr 2010, 00:44 
User avatar

Joined: 15 Oct 2006, 12:17
Location: UK, York
It is a real shame that I would never ignore patent or copyright law. :)


Top
 Offline Profile  
 
PostPosted: 14 Apr 2010, 10:02 
User avatar

Joined: 28 Jul 2008, 05:51
Location: Australia
UPDATE: AS OF 2010 YOU NO LONGER NEED LIBDXTN. Please read this post for up-to-date information.

rem5 wrote:
Without S3TC compression activated, textures are white..ok.

But do you know where the bug come from ? spring or driver


The driver.

rem5 wrote:
Spring should work without S3TC, no ?


Spring works fine, however some game (mod) authors have taken to supplying graphics in DDS (s3tc) format.

The issue is not the engine, it's the artwork in some games. More specifically the issue is America's broken patent patent system - which claims to prevent patents on algorithms but in fact allows them when described in terms of "a method or system for... some algorithm ... on a computer device or digital storage medium".

I've actually read the S3TC patent and in truth it probably only covers hardware implementations (because its claims and diagrams talk about "encoding modules" and the like as though they are physical objects.) Unfortunately the only way to be sure is to test it in court and nobody is willing to do that.


Last edited by SpliFF on 14 Oct 2010, 02:16, edited 1 time in total.

Top
 Offline Profile  
 
PostPosted: 14 Apr 2010, 15:11 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
SpliFF wrote:
The issue is not the engine, it's the artwork in some games. More specifically the issue is America's broken patent patent system - which claims to prevent patents on algorithms but in fact allows them when described in terms of "a method or system for... some algorithm ... on a computer device or digital storage medium".

erm SMF maps use DXT too

SpliFF wrote:
I've actually read the S3TC patent and in truth it probably only covers hardware implementations (because its claims and diagrams talk about "encoding modules" and the like as though they are physical objects.) Unfortunately the only way to be sure is to test it in court and nobody is willing to do that.

AFAIK the problem is the following:
The problem is that most (all?) OpenSource drivers just build on Mesa, so they do a lot on the CPU and only a few things are really hardware accelerated. In the case here it means that the decompression doesn't happen on the GPU instead Mesa decompress them on the CPU and sends them uncompressed to the GPU.
Means: If the GPU would decompress the textures, it wouldn't be any problem (your GPU vendor already paid the patent fees), but when the CPU does so, it's a new implementation and you need to pay the fees again.


Top
 Online Profile  
 
PostPosted: 05 Jul 2010, 12:46 

Joined: 05 Jul 2010, 12:33
Why are you using an Open Source driver in the first place? Mesa experimental drivers have almost no 3d support in video games unless you wanna play Quake. R600 is supported and Catalyst has released version 10.6 so far it works with Xorg 1.7.6 (by my own testing have a system running it right now). And by ArchLinux testing 10.6 with a custom install script works with Xorg 1.8. You should never use Mesa drivers to play video games.


Top
 Offline Profile  
 
PostPosted: 15 Jul 2010, 20:44 

Joined: 07 Jun 2010, 08:02
Going from description, Ubuntu does by default not include the library for propitiatory texture compression.
Going from >this post on the Archlinx forums, you a libary related to libtxc_dxtn to get texture compression working.
~Cheers


Top
 Offline Profile  
 
PostPosted: 17 Aug 2010, 15:06 
User avatar

Joined: 19 Mar 2010, 15:09
Troublesome_God wrote:
Why are you using an Open Source driver in the first place? Mesa experimental drivers have almost no 3d support in video games unless you wanna play Quake. R600 is supported and Catalyst has released version 10.6 so far it works with Xorg 1.7.6 (by my own testing have a system running it right now). And by ArchLinux testing 10.6 with a custom install script works with Xorg 1.8. You should never use Mesa drivers to play video games.


10.5+ don't show any textures on units :( spring is borked with the latest ATi drivers :(


Top
 Offline Profile  
 
PostPosted: 17 Aug 2010, 15:54 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
Spring uses OpenGL. If something works on NV, but not on ATI, the changes are 99% that it is an ATI bug, not a spring bug, which magically is worked-around by NV drivers.
-> go bug ATI


Top
 Offline Profile  
 
PostPosted: 18 Aug 2010, 19:37 
AI Coder

Joined: 16 Nov 2009, 18:26
hoijui wrote:
Spring uses OpenGL. If something works on NV, but not on ATI, the changes are 99% that it is an ATI bug, not a spring bug, which magically is worked-around by NV drivers.
-> go bug ATI


Ya, this is trollish...but...

Didn't someone recently insist that these problems with ATI are all a thing of the past by some years now?! As such, I'm sure you're mistaken. :roll: :wink:


Top
 Offline Profile  
 
PostPosted: 18 Aug 2010, 21:30 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
i remember someone saying, that the ATI problems would soon be gone if hoijui gets his harem. was some high ranking guy, and there was wide acceptance of that claim.
actually, what you think of was a mistake.. someone though hoijui already got his harem some time ago, and that unworthy soul spread it. Therefore, everyone though problems would be gone by now..
as you see, the high ranked guy was right though.

most appreciated would be a culturally mixed composition, easily achieved if the spring community works together as a whole and everyone considers donating his younger sister, sisters of girl-friends, cousins, ... *
take a stand in this issue! cause yes! you can!

*
virginity is not mandatory!!
what is:
  • can cook
  • aged 16 - 40
  • female
  • human or similar
  • < 200kg (to limit bandwidth)
optional:
  • deaf
  • blind (actually a bonus for her)
  • malfunctioning odor detection
good treatment of the freight is guaranteed, including daily food ratio and a minimum of 10min real sunlight (as long as it is not cloudy)!!
in case of rough defect, freight might be returned to sender or, if preferred, be renatured.

upload as attached file to your next post, or use paste- or filebin, do NOT copy&paste directly in here!


Top
 Offline Profile  
 
PostPosted: 26 Aug 2010, 19:02 

Joined: 27 Feb 2008, 12:06
I've got the missing textures problem.
Forcing S3TC in driconf even makes the models disappear and generates a checker board on the ground.

Is there a fix or workaround available? I am running kernel 2.6.35. The new one isn't released yet on Gentoo.

edit: Sorry. Overread that library stuff. If I don't want to install that lib, I won't get textures. Ok. Damn IP.


Attachments:
File comment: open ATI - missing models
missingModels.jpeg [410.21 KiB]
Downloaded 2 times
File comment: open ATI - missing textures
missingTextures.jpeg [299.19 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.