LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-24-2004, 06:08 PM   #1
thec
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
GL goes without DRI after Mandrake 10.0 update


Hi everybody.

I had a normal Mandrake Official 10.0 installation with the NVIDIA drivers (4496) and my regular coding apps. Then today I decided to update all my software (126 packages!) in one go, but afterwards, the fps of my graphics code has dropped significally, and I noticed the following in glxinfo:

-----------------------------------------------------------------------------------------------------------------------
[thec@h22n2fls33o977 setuptest]$ glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample
client glx vendor string: SGI
-----------------------------------------------------------------------------------------------------------------------

It looks like I don't have direct rendering, and no DRI support either (same thing?). I suppose many people have experienced this, I have looked around for a quick solution, but plese, if someone knows another thread which has already discussed how to deal with the problem please link it to me.

It looks in some point like I have a new NVIDIA driver, but I can't install the old one on top of it for some reason.

Any help appreciated.
Albert "thec" Sandberg
 
Old 09-25-2004, 02:13 PM   #2
thec
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Alright. I managed to fix this subject on (mostly) my own during the day that passed so I figured since so many people experienced these kind of problems, I might as well write a few lines.

Continuing from where I left off from the previous post, I first thought I should have a go at the thing many people here recommended, the XF86Config-4 -file in /etc/X11 .. I added (in the device section) :
Option "NvAGP" "1"

And when I restarted X glxinfo said I at least had DRI. glxgears still ran in about 20fps and my other gl apps ran slow, and even the demos I tested.

Btw version 61.11 of the NVIDIA driver was installed, uninstalling (NVIDIA-x.x.x..run --uninstall) and reinstalling solved this problem for a friend of mine!!!

I tried numerous things which I don't think were of any good at all, including looking around in the kernel config to see if something was missing.

A friend of mine with the same problem pointed out that a demo of ours (Outbreak, a demo group) worked perfectly although the rest of GL apps were lacking. The demo was "autumn dreams" and I knew we didn't infact use SDL there but raw x and gl calls without wrappers. So here I started to get a good feeling, perhaps it was SDL which was outdated, but I thought I had at least a reasonable good version.

It turned out I had some version from like 6 months ago, I changed the cd medias in the media manager (welcome icon on your desktop->configure tools->enter password for root->software->media manager). CD1-3 are the ones which comes with your dist, change them into:

CD1:
ftp://mirrors.secsup.org/pub/linux/m.../Mandrake/RPMS
../base/hdlist.cz

CD2:
ftp://mirrors.secsup.org/pub/linux/m...Mandrake/RPMS2
../base/hdlist2.cz

CD3:
ftp://mirrors.secsup.org/pub/linux/m...Mandrake/RPMS3
../base/hdlist3.cz

Make sure you EDIT the cd 1-3, not add new resources. These ftp directories represent the same files you have on your CD's that came with the distro, only updated.

Go back one step to the "software" category, choose install option and wait a while while it reads the packages, search for sdl and select the package which I recall was named something like "sdl-devel-x.x.x.x" .. sdl-devel is the important part. Install that package and hopefully your sdl apps will run like a charm

At least glxgear did go from 20fps to 2500fps on my system, so I know I'm on the right track now :-)

I don't know if I solved that nvidia driver causes kde to crash but if not I still think I have enough info on nvidia's developer forums to solve that one (nvidia.com -> download/drivers -> left side of the page is a forum).

Good luck with your system and please write if I helped you with anything!
Cheers
Albert "thec" Sandberg

Last edited by thec; 09-25-2004 at 02:14 PM.
 
  


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
Mandrake 10 and dri JJV Linux - Newbie 4 10-04-2004 12:49 PM
DRI on Mandrake 10.0 folavo Mandriva 1 04-11-2004 08:34 PM
dri/opengl radeon 9500 (non-pro) on mandrake - been trying forevah gte269 Linux - Hardware 11 11-03-2003 05:41 PM
Mandrake 9 - Mandrake Update/urpmi XavierP Linux - Newbie 1 02-15-2003 12:24 PM
Mandrake Update trusouthrnplaya Linux - General 3 04-22-2002 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:07 PM.

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