LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-19-2012, 01:54 PM   #1
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Can't enable direct rending on Slackware 13.32 with Nvidia GeForce 9400GT


Hi everyone,
I'm trying to enable the direct rendering. I've installed the originale drivers(downloaded by the nvidia site), recompiled Mesa, fixed the xorg.conf but nothing seems to work. Here is my glxinfo:

http://pastebin.com/SH03T6yV

This is my xorg.conf and my xorg.conf-vesa

xorg.conf
http://pastebin.com/vmS2MExj

xorg.conf-vesa
http://pastebin.com/7T7PMyyB

this is the x.org server log (from /var/log)

http://pastebin.com/NZMxrJPi

Regard,
Francexi
 
Old 04-19-2012, 02:06 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Code:
client glx vendor string: Mesa Project and SGI
You're using the libGL.so file from Mesa, not the one provided by the nvidia driver. I'm also confused as to why you recompiled mesa. The nvidia drivers are stand-alone, and don't require any specific version of Mesa. It's very possible that if you recompiled and installed a newer version of Mesa, you likely overwrote the libGL.so file from the nvidia driver. I suggest reinstalling the driver and trying again.

Adam
 
1 members found this post helpful.
Old 04-20-2012, 08:18 AM   #3
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply, first. I've just retried, but the results are the same. The glxinfo is the same as before.
 
Old 04-20-2012, 08:22 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
What is the output of:

Code:
ldd /usr/bin/glxinfo
How about the output of:

Code:
find /usr/lib* -iname "libGL.so.1"
Adam
 
Old 04-20-2012, 08:26 AM   #5
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Code:
ldd: /usr/bin/glxinfo: No such file or directory
trying ldd `which glxinfo`

Code:
linux-gate.so.1 =>  (0xffffe000)
        libGL.so.1 => /usr/local/lib/libGL.so.1 (0xb77c8000)
        libglapi.so.0 => /usr/local/lib/libglapi.so.0 (0xb77b2000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb77af000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb77aa000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb77a7000)
        libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb7797000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7792000)
        libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0xb7788000)
        librt.so.1 => /lib/librt.so.1 (0xb777f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7766000)
        libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0xb7713000)
        libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0xb76a6000)
        libOSMesa.so.8 => /usr/local/lib/libOSMesa.so.8 (0xb7348000)
        libm.so.6 => /lib/libm.so.6 (0xb7322000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7314000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb71f7000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb71de000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb71db000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb71d6000)
        libdl.so.2 => /lib/libdl.so.2 (0xb71d2000)
        libc.so.6 => /lib/libc.so.6 (0xb706f000)
        /lib/ld-linux.so.2 (0xb7839000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7058000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb704b000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6f62000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6f46000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb6ef5000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6eed000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb6ee9000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6ed2000)
find

Code:
/usr/lib/libGL.so.1
find in /usr/local/lib

Code:
/usr/local/lib/libGL.so.1
 
Old 04-20-2012, 08:43 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You've managed to create quite a mess on your system by recompiling mesa... The version you build by hand exists under /usr/local/, and that libGL.so.1 file is being used first, likely because /usr/local/lib exists before /usr/lib in /etc/ld.so.conf. You will probably want to remove that version of mesa, but for the moment check in /etc/ld.so.conf and comment out the line that starts with /etc/ld.so.conf and then run 'ldconfig' (as root or with sudo).

Adam
 
1 members found this post helpful.
Old 04-20-2012, 08:59 AM   #7
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
content of ld.so.conf

Code:
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/seamonkey
/usr/lib
 
Old 04-21-2012, 03:49 AM   #8
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
You need to remove the Mesa libs you've installed in /usr/local/*

As had been stated nvidia comes with it's own OpenGL library which will overwrite Slackware's library when it is installed.
You have then added another OpenGL library in /usr/local/lib which is now causing a conflict and must be removed.
 
1 members found this post helpful.
Old 04-21-2012, 07:55 AM   #9
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
solved deleting the library from /usr/local/lib. Thanks everyone
 
  


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
GeForce 9400GT PCI-e x16 mlangdn Linux - Hardware 4 09-28-2009 11:59 AM
Debian 5 (lenny) - GeForce 9400GT jchambers Linux - Hardware 15 04-04-2009 04:50 PM
No Direct rendering with Nvidia Geforce 2 valkarin Linux - Hardware 16 10-05-2007 10:40 AM
NVIDIA geforce 5500- direct rendering slow cjae Linux - Hardware 2 09-04-2006 04:02 PM
Direct Rending Error canuck_barlow Linux - Hardware 4 12-23-2004 01:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:41 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