LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-28-2004, 09:22 PM   #61
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15

Alas,

I downloaded an earlier version of

tar xjvf savage-2004xxxx-linux.i386.tar.bz2
tar xjvf common-2004xxxx-linux.i386.tar.bz2

installed them and tried to sudo ./install.sh but no go!

Still get:

bob@linux:~/dripkg> cat dri.log
cc -o .o
cc: no input files
make: *** [.o] Error 1

Maybe it's time to go by another graphics card
 
Old 08-30-2004, 06:48 PM   #62
shep fc3
LQ Newbie
 
Registered: Aug 2004
Posts: 16

Rep: Reputation: 0
Sorry you are still not having any luck. I got it to work using

common-20040829-linux.i386.tar.bz2 29-Aug-2004 07:14 1.0M
and
savage-20040829-linux.i386.tar.bz2 29-Aug-2004 07:13 1.9M

I'm still trying to tweak ut2k4 so it runs a little faster. But it works!

first I used tar -xjvf common.....
then I untar the savage package.
cd dripkg
./install.sh
 
Old 08-31-2004, 10:44 PM   #63
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
shep fc3,

No, I used the same packages as you and still same result:

bob@linux:~/dripkg> cat dri.log
cc -o .o
cc: no input files
make: *** [.o] Error 1

Anybody else able to make sense of this error message?
 
Old 09-02-2004, 05:56 AM   #64
azeemarif
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
S3 savage IX/MV

Hello,

Is S3 savage IX not capable of DRI?

I get this error message (copy-pasted from /var/log/XFree86.0.log)

I have latest (unstable) debian with latest (2.6.8.1) kernel. I followed the instructions in post 40 of this thread. Everything went well without any errors.

Please suggest something....
=====================================================
(--) SAVAGE(0): mapping framebuffer @ 0xf0000000 with size 0x800000
(==) SAVAGE(0): Write-combining range (0xf0000000,0x800000)
(II) SAVAGE(0): Splitting WC range: base: 0xf2000000, size: 0x5000000
(II) SAVAGE(0): Splitting WC range: base: 0xf4000000, size: 0x3000000
(==) SAVAGE(0): Write-combining range (0xf6000000,0x1000000)
(==) SAVAGE(0): Write-combining range (0xf4000000,0x3000000)
(==) SAVAGE(0): Write-combining range (0xf2000000,0x5000000)
(II) SAVAGE(0): map aperture:0x40bb4000
(--) SAVAGE(0): Chose mode 118 at 60Hz.
(II) SAVAGE(0): 9348 kB of Videoram needed for 3D; 8192 kB of Videoram available
(EE) SAVAGE(0): Insufficient Videoram available for 3D
(EE) SAVAGE(0): Try a lower color depth or smaller desktop.
(EE) SAVAGE(0): For integrated savages try increasing the videoram in the BIOS.
(EE) SAVAGE(0): DRI isn't enabled
(II) SAVAGE(0): Using 1232 lines for offscreen memory.
(II) SAVAGE(0): Using XFree86 Acceleration Architecture (XAA)
 
Old 10-13-2004, 02:15 AM   #65
wondering_jew
LQ Newbie
 
Registered: Oct 2004
Location: Laramie Wyoming
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
IWhen i try the method suggested in post # 40 at the step where i am running the install.sh It fails to compile and says "The DRI drivers can not be installed without the latest kernel modules." II made sure i had the latest avaliable and it still would not work. I should add that i have gone through the steps suggested in the posts after the last person with this problem and still nothing works

Last edited by wondering_jew; 10-13-2004 at 02:31 AM.
 
Old 10-13-2004, 02:41 AM   #66
azeemarif
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
S3 DRI Solved

Hi,

The problem you mentioned is faced by me as well....

make sure

1) you have your kernel source in /usr/src/<your kernel dir>
2) have the same version of gcc which you used to compile the kernel
3) when following the instructions in post #40, first you unpack common package and then savage package

also have a look at http://azeemarif.blogspot.com .... I have put the instructions how I was able to make things work....

I hope it helps...
 
Old 10-13-2004, 07:09 PM   #67
wondering_jew
LQ Newbie
 
Registered: Oct 2004
Location: Laramie Wyoming
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
well im still at it i tried again and got the same thing about needing current modules, When i open dri.log it says "Makefile:182: *** Cannot find a kernel config file. Stop." where is it looking for this kernel config file, i copied the one from the boot folder to where it should be looking for it (per earlier post) and still nothing.
 
Old 10-13-2004, 10:15 PM   #68
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
Hey wondering_jew I've got the same problem as you can read above. I'm running Suse 9.1, what is your flavor? I wonder if it's something with Suse?
 
Old 10-14-2004, 03:12 AM   #69
wondering_jew
LQ Newbie
 
Registered: Oct 2004
Location: Laramie Wyoming
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
I'm running ubuntu, guess i should put that in my profile on the side sometime huh
 
Old 10-14-2004, 08:30 PM   #70
azeemarif
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by bobterri
shep fc3,

No, I used the same packages as you and still same result:

bob@linux:~/dripkg> cat dri.log
cc -o .o
cc: no input files
make: *** [.o] Error 1

Anybody else able to make sense of this error message?
Hello bob,

this is very trivial problem (I have mentioned this problem in my blog at http://azeemarif.blogspot.com)

To solve this problem, you have to extract

1) common module first
2) savage module second

(in you posts above, you mentioned that you extracted the packages in the opposite order)

~Arif
 
Old 10-14-2004, 10:54 PM   #71
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 47
I edited Post 40 to reflect that the common package needs to be un-tared first. I guess I just got lucky all the times I did this and always seem to do it in the right order.

I just build another module for 2.6.8.1 and it works fine. Also someone was wondering if this works on Suse-9.1 and I can say yes it does.


azeemarif
Quote:
S3/VIA released the source code to their savage DRI driver for xfree86 4.2.0. It is based on mesa 3.x, and as such needs to be ported to mesa 4.x for 4.3.0 or 5.x for CVS. There is some work going on to port the driver to the new mesa. For information on compiling the source for 4.2.0, see this page or this page. The code released by S3/VIA only works on prosavage and twister based chips. The UtahGLX project has support for savage 3D/MX/IX for XFree86 3.3.x and 4.x.
I am currently trying to get DRI working on my laptop (VIA S3 UniChrome Pro), this makes the Savage DRI install look like a cake-walk.

Sorry for not answering any of these questions but I've been real busy. Fortunately there has been plenty of help from the good people here at LQ.

Good luck to everyone.

Last edited by /bin/bash; 10-14-2004 at 10:56 PM.
 
Old 10-14-2004, 11:13 PM   #72
bobterri
Member
 
Registered: Feb 2002
Location: Davenport, IA
Distribution: LinuxMint, Sam-Linux
Posts: 149

Rep: Reputation: 15
Well I untarred "common" first and then "savage" but still no luck.

Here's my "cat dri.log"

make DRM_MODULES=savage.o modules
make[1]: Entering directory `/home/bob/dripkg/drm'
make -C /lib/modules/2.6.5-7.108-default/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

Building modules, stage 2.
MODPOST
/bin/sh: line 1: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/bob/dripkg/drm'
make: *** [savage.o] Error 2
linux:/home/bob/dripkg #
 
Old 10-14-2004, 11:28 PM   #73
azeemarif
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by bobterri
Well I untarred "common" first and then "savage" but still no luck.

Here's my "cat dri.log"

make DRM_MODULES=savage.o modules
make[1]: Entering directory `/home/bob/dripkg/drm'
make -C /lib/modules/2.6.5-7.108-default/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.5-7.108'

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.108/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

Building modules, stage 2.
MODPOST
/bin/sh: line 1: scripts/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.5-7.108'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/bob/dripkg/drm'
make: *** [savage.o] Error 2
linux:/home/bob/dripkg #


Now it seems to be a problem with your kernel source tree

please check if you have `/usr/src/linux-2.6.5-7.108/scripts/modpost' script file ?

if not, try to get new kernel source!
 
Old 10-15-2004, 02:48 PM   #74
wondering_jew
LQ Newbie
 
Registered: Oct 2004
Location: Laramie Wyoming
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Well I won a battle today, but ended up losing ground overall... I finally managed to get dri installed following the steps in post 40, however upon restart my screen just blinked repeatedly as X tried to start and then i guess the x server just crashed- any suggestion as to what else i may need to configure when i restart this battle would be greatly appreciated.
 
Old 10-15-2004, 03:26 PM   #75
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 47
wandering_jew, I agree it sounds like your X server is crashing. Do you have the agpgart & via_agp modules loaded? Do you have the device /dev/agpgart ?

Try looking through /var/log/XFree86.0.log or /var/log/Xorg.0.log, depending on if you use XFree86 or Xorg...

grep EE /var/log/XFree86.0.log
or
grep EE /var/log/Xorg.0.log

That should show you any errors you are having.

The nice thing about doing it using the method in Post #1 is that you will be sure that the driver is compatible with the X server because you are building your X server and your driver together. The bad thing about Post #1 method of course is it is much more complicated.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libGL is out of sync with DRI - no direct rendering ATI m9 cor67393 Slackware 5 08-21-2005 12:13 PM
Can't get DRI enabled with Savage/IX-MV Arttu Linux - Software 14 02-09-2005 02:36 AM
DRI not working on Savage Trurl Linux - Hardware 2 01-24-2005 09:22 PM
Question about DRI for S3 savage (twister) blubz Linux - Hardware 1 11-19-2004 10:20 AM
XFree86 DRI : glxinfo -> Direct rendering : No Muzzy Linux - Hardware 20 05-24-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration