LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-09-2005, 01:01 PM   #1
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Can't get DRI enabled with Savage/IX-MV


The problem is that everything else works except DRI. Currently if I run glxgears with a window size of about 1200x800, I get 9 FPS. "glxinfo | grep-i direct\ rendering" returns: "direct rendering: No"

I'm running Slackware current on IBM Thinkpad T22 with Savage/IX-MV rev 19. I'm using Xorg X Window System version 6.8.1 (17 Sept. 2004). I have installed the newest snapshots of core and savage/dri stuff from freedesktop.org /~fxkuehl/snapshots/. I also tried couple of older versions - they behave identically.

I have the following modules loaded (succesfully according to dmesg):
savage
agpgart

I am running in 1280x1024x16bit, as resolutions higher than that make the savage driver to state that I don't have enough video memory for 3D.

My xorg.conf contains the following definitions (among others):
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "glx"
Load "dri"

Load "type1"
Load "freetype"
Load "speedo"
EndSection

Section "DRI"
Mode 0666
EndSection

X loads the modules OK and reports the hardware correctly, but says in /var/log/Xorg.0.log:
(II) SAVAGE(0): [drm] Sarea 2200+872: 3072
(WW) SAVAGE(0): Direct rendering has been disabled.
(EE) SAVAGE(0): [drm] DRIScreenInit failed. Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled

...why DRI isn't enabled? What can I do to fix this?

Thank you VERY MUCH in advance!
 
Old 01-09-2005, 03:09 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
A Savage IX-MV getting 9 FPS...
I hate to say it but for that card this may be an alltime record speed
heh...
Anyway... um...

You can't load glx and dri at the same time for starters...
 
Old 01-09-2005, 03:11 PM   #3
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
http://www.hotti.ch/doc/linux_on_t22.html
 
Old 01-10-2005, 08:48 AM   #4
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you for your suggestions, but ...

1. Removing glx causes additional errors:
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!

2. The page which you gave a link to contains a XF86Config-4 in which both dri and glx are loaded.

Also, all OpenGL applications stopped working because of a missing GLX extension.

Last edited by Arttu; 01-10-2005 at 08:58 AM.
 
Old 01-10-2005, 07:07 PM   #5
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Oh well. I just saw that page with someone having it working. Slackware may be at fault, have you tried any other distro's yet?
 
Old 01-11-2005, 01:20 AM   #6
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
On that page the author states that "DRI is (unfortunately) not supported".

Fortunately that is no longer true according to DRI wiki.

Changing distro is out of the question (and if I did change the disto and the card worked, I wouldn't really know what fixed it...I wouldn't learn anything)
 
Old 01-12-2005, 10:56 AM   #7
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Oops... I musta pasted the wrong link for ya. I had three windows open with different sites and that wasn't the one I wanted to give you. Lol...

Great... now that I've cleared the history and cache and redone the internet settings and upgraded.... how do I find that right page again.
 
Old 01-12-2005, 12:17 PM   #8
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Savage/IX-MV DRI **working**

Downloading and installing latest (DRI-enabled) X.org snapshots solved the problem.

DRI is now enabled and I get almost 100 times the FPS I did before.
 
Old 01-25-2005, 09:23 AM   #9
bodymind
LQ Newbie
 
Registered: Dec 2004
Distribution: gentoo 2.6
Posts: 28

Rep: Reputation: 15
hi! i have this problem... equal as you... how did you solve? where did you get the lastest snapshot?

thanks for your help
 
Old 01-25-2005, 12:42 PM   #10
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Snapshots are available here -> http://dri.freedesktop.org/snapshots/

Instructions are available here -> http://dri.freedesktop.org/wiki/Download


PS. I just noticed today that gradients don't work with my Savage card when using DRI - if you have similar card and get it working, please post a message here.
 
Old 02-07-2005, 12:52 AM   #11
MistaED
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Hey,

I have a Savage IX 8MB video chip in this IBM Thinkpad T21 aswell, and I'm also having problems with 3D acceleration & DRI.

Quake 3 is like 1fps and I think it's due to no DRI. I run Slackware 10.0 now upgraded to Slackware Current just yesterday.

I've downloaded both the common & savage snapshots from the site Arttu supplied and installed witht the install scripts in order common to savage, to seeing no difference.

I'm guessing I didn't do something, because "glxinfo | grep -i direct\ rendering" gave me a no

(II) SAVAGE(0): [drm] Sarea 2200+284: 2484
(WW) SAVAGE(0): Direct rendering has been disabled.
(EE) SAVAGE(0): [drm] DRIScreenInit failed. Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled

That's also in my log file.

I hope you can help me, thanks!

-MistaED
 
Old 02-07-2005, 05:00 AM   #12
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Installing Savage and Common drivers is not enough - currently you have all the drivers in place but your Xorg is not DRI enabled.

You must install new (DRI enabled) Xorg and modules. They can be found from the extras -location if I remember correctly.

Snapshots were updated just couple of days ago (fixes flat shading and segfault issues with savage drivers) - when you get the stuff working, everything should work very well.
 
Old 02-08-2005, 06:35 AM   #13
MistaED
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
BlankScreen X

Hey thanks Arttu, I didn't realise that the X.org patch was required because I have the latest 6.8.1. I also compiled a 2.6.10 kernel in which also helped.

I put the modules and Xorg in the spots it wanted and now DRI works which the log file says, but X ceases to show up, just sits there as a blank screen. And the X.org log says there's no error

This sucks, have you got any suggestions?

Thanks again.

-MistaED
 
Old 02-08-2005, 09:31 AM   #14
Arttu
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Do "modprobe savage" always before you "startx".

Xorg will hang up just like you described if you don't have the savage module loaded before you start X. I encountered the same problem, too.
 
Old 02-09-2005, 02:36 AM   #15
MistaED
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
Thank you once again Arttu! X boots perfectly and Quake 3 is going off at like 60fps with 512x384 res! Very happy

-MistaED
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Direct Rendering Infrastructure DRI on VIA\S3 Savage /bin/bash Linux - Hardware 145 09-04-2006 09:37 AM
DRI enabled, but not used, even though card supports it. Gold Yo Linux - Hardware 4 07-30-2005 11:59 PM
DRI not working on Savage Trurl Linux - Hardware 2 01-24-2005 09:22 PM
libGL hates my S3 Savage MX with DRI enabled surosec Linux - Hardware 1 12-17-2004 04:26 PM
Question about DRI for S3 savage (twister) blubz Linux - Hardware 1 11-19-2004 10:20 AM


All times are GMT -5. The time now is 09:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration