Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 13th, 2005   #1
arnieboy
Guest
 
Beans: n/a
HOWTO: Enable DRI (3D support) on SAVAGE cards

This is how to do it (only on Breezy):
first of all
Code:
sudo apt-get install gcc-3.4 build-essential
FOR OLDER INTEL AND AMD CHIPSETS (INTEL 386, 486 ETC.)
do
Code:
sudo apt-get install linux-headers-2.6.12-10-386
and jump straight to "COMMON FOR ALL CHIPSETS"
----------------------------------------------------------------------------
FOR INTEL 686 CHIPSETS (WITHOUT HYPERTHREADING)
Code:
sudo apt-get install linux-image-2.6.12-10-686
sudo apt-get install linux-headers-2.6.12-10-686
sudo apt-get install linux-restricted-modules-2.6.12-10-686
Then restart the comp and boot into the 686 kernel image from grub (u will get that option).
Now do
Code:
sudo apt-get remove linux-image-2.6.12-10-386 linux-headers-2.6.12-10-386
and jump straight to "COMMON FOR ALL CHIPSETS"
----------------------------------------------------------------------------
FOR INTEL CHIPSETS (WITH HYPERTHREADING)
Code:
sudo apt-get install linux-image-2.6.12-10-686-smp
sudo apt-get install linux-headers-2.6.12-10-686-smp
sudo apt-get install linux-restricted-modules-2.6.12-10-686-smp
Then restart the comp and boot into the 686-smp kernel image from grub (u will get that option).
Now do
Code:
sudo apt-get remove linux-image-2.6.12-10-386 linux-headers-2.6.12-10-386
and jump straight to "COMMON FOR ALL CHIPSETS"
----------------------------------------------------------------------------
FOR AMD CHIPSETS
Code:
sudo apt-get install linux-image-2.6.12-10-k7
sudo apt-get install linux-headers-2.6.12-10-k7
sudo apt-get install linux-restricted-modules-2.6.12-10-k7
Then restart the comp and boot into the k7 kernel image from grub (u will get that option).
Now do
Code:
sudo apt-get remove linux-image-2.6.12-10-386 linux-headers-2.6.12-10-386
and jump straight to "COMMON FOR ALL CHIPSETS"
----------------------------------------------------------------------------
COMMON FOR ALL CHIPSETS
Code:
wget http://dri.freedesktop.org/snapshots/archive/common-20051127-linux.i386.tar.bz2 
wget http://dri.freedesktop.org/snapshots/archive/savage-20051125-linux.i386.tar.bz2 
tar -xjf common-20051127-linux.i386.tar.bz2 
tar -xjf savage-20051125-linux.i386.tar.bz2  
cd dripkg 
sudo ./install.sh
restart your comp (or just X server).
check ur fps count with:
Code:
glxgears -printfps

Last edited by arnieboy; February 28th, 2006 at 02:31 PM..
  Reply With Quote
Old October 14th, 2005   #2
cyfer
Spilled the Beans
 
cyfer's Avatar
 
Join Date: Oct 2005
Beans: 13
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

please forgive my ignorance ..i'm kinda newb to ubuntu

i didn't try what you explain here as i'm getting kde right now ..but last night i recompiled my 2.6.12.9 ......and thank god i think it was successfull.........
trying to work the BLUEZ "3Ddesk" i get 3d is found but not enabled ...please configure you hardware acceleration

this i think is interesting ...

Code:
 
wget http://dri.freedesktop.org/snapshots/common-20050707-linux.i386.tar.bz2 
wget http://dri.freedesktop.org/snapshots/savage-20050707-linux.i386.tar.bz2 
tar -xjf common-20050707-linux.i386.tar.bz2 
tar -xjf savage-20050707-linux.i386.tar.bz2  
cd dripkg 
sudo ./install.sh
so ..after downloading the new kernel OR recompiling it ....it will work ..yes .but why uninstall the previous version ??? can't get that at all

btw , is this for all savage cards? even those S3_Unichrome?
__________________
Linuz_Is_a_HardWAre_Looser
Win_Is_A_Complete_Crap
cyfer is offline   Reply With Quote
Old October 14th, 2005   #3
Charon
First Cup of Ubuntu
 
Join Date: Oct 2005
Location: Germany
Beans: 6
Ubuntu 6.06
Send a message via ICQ to Charon
Cool Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

thanks, this actually worked like a charm!

just two things :
instead of the files you mentioned i downloaded these newer ones
http://dri.freedesktop.org/snapshots...x.i386.tar.bz2
http://dri.freedesktop.org/snapshots...x.i386.tar.bz2

the other thing was with with the compiling-stage during the install. on first try it hung up because it couldn't find gcc-3.4.4 (apparently the kernel-headers told the install script to use gcc-3.4.4, i though everything is now compiled with gcc-4.0.0? )

after installing gcc-3.4.4 i started the install-script again and it worked!

so one last question : isnt the kernel compiled with gcc-4.0.0? wouldn't it usually create problems if i load a gcc-3.4.4 compiled module into a gcc-4.0.0 compiled kernel?

/me goes off to play some more ppracer..

[edit]
forgot to mention that since i use an IBM Thinkpad T22 i installed the linux-image-2.6.12-9-686
[/edit]
Charon is offline   Reply With Quote
Old October 14th, 2005   #4
radiazo
5 Cups of Ubuntu
 
radiazo's Avatar
 
Join Date: Oct 2005
Location: Bogotá, Colombia
Beans: 21
Send a message via MSN to radiazo
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

a lot of thanks!!!
radiazo is offline   Reply With Quote
Old October 14th, 2005   #5
leezer3
A Carafe of Ubuntu
 
Join Date: Apr 2005
Beans: 124
Ubuntu 8.04 Hardy Heron
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

The kernel is still currently compiled with gcc3.4.
@ Cyfer: You are not re-compiling the kernel, but rather the drivers for the vid card.


Cheers

-Leezer-
__________________
Registered Linux User No. 400619
Registered Linux Machine No. 302965
leezer3 is offline   Reply With Quote
Old October 14th, 2005   #6
cyfer
Spilled the Beans
 
cyfer's Avatar
 
Join Date: Oct 2005
Beans: 13
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

=====>arnieboy<======
Code:
-$ getting errors
-$ reconfiguring the **** 
-$ downloading the right driver
-$ oooops , this is gonna work !
-$ it really works 
-$ getting the BLUEZ
-$ the BLUEZ works
-$ thanks for DAEMON "arnieboy"
__________________
Linuz_Is_a_HardWAre_Looser
Win_Is_A_Complete_Crap
cyfer is offline   Reply With Quote
Old October 15th, 2005   #7
assan
5 Cups of Ubuntu
 
assan's Avatar
 
Join Date: Sep 2005
Location: Poland
Beans: 30
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

Thanks arnieboy it worked like a charm.
But there is another problem after few moments of fast animation glxgears is slowing down, almost stopping. Any ideas what to do? It was the same before enabling DRI and after.
glxgears is not showing any fps? It is maybe silly question but in hoary it was fps was just there and -? and -help want help me.
assan is offline   Reply With Quote
Old October 15th, 2005   #8
arnieboy
Guest
 
Beans: n/a
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

Quote:
Originally Posted by assan
Thanks arnieboy it worked like a charm.
But there is another problem after few moments of fast animation glxgears is slowing down, almost stopping. Any ideas what to do? It was the same before enabling DRI and after.
glxgears is not showing any fps? It is maybe silly question but in hoary it was fps was just there and -? and -help want help me.
do the following to get the fps count on glxgears:
Code:
glxgears -iacknowledgethatthistoolisnotabenchmark
the slowing down of the gears is nothing to worry about.
  Reply With Quote
Old October 15th, 2005   #9
assan
5 Cups of Ubuntu
 
assan's Avatar
 
Join Date: Sep 2005
Location: Poland
Beans: 30
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

Results are pretty slow:

1806 frames in 5.2 seconds = 348.711 FPS
2660 frames in 5.1 seconds = 519.943 FPS
2660 frames in 5.2 seconds = 516.076 FPS
1960 frames in 5.0 seconds = 391.679 FPS
2660 frames in 5.3 seconds = 505.836 FPS
2660 frames in 5.1 seconds = 525.939 FPS

Do I need to reconfigure Xserver?
assan is offline   Reply With Quote
Old October 15th, 2005   #10
arnieboy
Guest
 
Beans: n/a
Re: HOWTO: Enable DRI (3D support) on SAVAGE cards

Quote:
Originally Posted by assan
Results are pretty slow:

1806 frames in 5.2 seconds = 348.711 FPS
2660 frames in 5.1 seconds = 519.943 FPS
2660 frames in 5.2 seconds = 516.076 FPS
1960 frames in 5.0 seconds = 391.679 FPS
2660 frames in 5.3 seconds = 505.836 FPS
2660 frames in 5.1 seconds = 525.939 FPS

Do I need to reconfigure Xserver?
this is the best u can get with ur card on linux. if u had run the glxgears command before installing the drivers u wud have probably seen around 100 fps. generally there is a jump of nearly 3-4 times with the installation of the savage modules.
  Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 11:56 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry