Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
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?
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.
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)
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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.