LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-11-2011, 12:36 PM   #1
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Rep: Reputation: Disabled
Xorg nouveau installation issues


I have recently downgraded my video card to a GeForce 6600 GT after my 8700 burned out. I installed the nouveau driver both times. I got the 6600 to work with the nouveau driver at one point, but I couldn't get 3D acceleration, which I hear is all I can expect with that card and that driver.

So, I decided to try installing the proprietary nVidia driver. After I wasted too much time trying, I decided to reinstall the nouveau driver and now that doesn't work either.

I recompiled the kernel with the nouveau driver, swapped in the nouveau driver in both the xorg.config and make.config, ran emerge -aDNv world, and ran modules-rebuild rebuild.

Currently, /var/log/Xorg.0.log doesn't report any errors with nouveau. In fact, it even correctly identifies my video card and monitors. Though when running glxinfo, it returns an error saying it can't find the display. However I can run startx with twm and xterm and it works fine.

Any help is greatly appreciated. Thank you.
 
Old 07-11-2011, 02:23 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
ls -l /usr/lib(64)/libGL* would be interesting.

is libGL.so.? pointing at libGL.so.1.2 or thereabouts or is it pointing at libGL.so.nvidia.version? If the latter, the nvidia driver does take a --uninstall option.
 
Old 07-11-2011, 09:34 PM   #3
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.

libGL.so is pointing to libGL.so.1.2.
 
Old 07-12-2011, 02:41 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
And you're not seeing any linGL*.so.nvidia-version being referenced? good, that means you have the hardest part right. Now get the nvidia module out of your xorg.copnf.d
 
Old 07-12-2011, 08:33 AM   #5
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
No, I don't see any reference to the nvidia version of libGL. I already replaced the nvidia driver with the nouveau driver in /etc/X11/xorg.conf.

As I said, Xorg appears to be loading the nouveau driver correctly. One question I have about the Xorg log is the last two lines:

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) NOUVEAU(0): NVLeaveVT is called.

I'm not sure what they do, but they aren't reported as errors. Does you log give you the same messages?
 
Old 07-12-2011, 10:51 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I never used nouveau. I'm on ATI now but I used the binary blob for my old nvidia card.
 
Old 07-13-2011, 03:23 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Did you run eselect opengl set xorg-x11? What does "eselect mesa list" report?

Can you post the whole X log file to a pastebin and link us to it?
 
Old 07-13-2011, 01:42 PM   #8
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
I ran: eselect opengl set xorg-x11

eselect mesa list:

i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
[1] classic
[2] gallium *

Here is my Xorg.0.log
 
Old 07-14-2011, 04:38 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I don't see a nouveau mesa driver in that list. Can you post the output for emerge -pv mesa?
 
Old 07-14-2011, 02:26 PM   #10
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
emerge -pv mesa

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-7.10.2  USE="classic gallium nptl -debug -gles -hardened -llvm -motif -pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
 
Old 07-15-2011, 03:05 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
And, please:

Code:
ls /usr/lib/mesa
Code:
equery f mesa|grep dri
It seems strange to me that mesa is compiled with nouveau support but eselect doesn't list a proper mesa driver for nouveau. You only have the software renderer, so that you get a pitiful performance is not strange at all... But admittedly, I haven't ever used the nouveau driver, maybe there's no such renderer yet. I am not aware of the current status of the project. If nothing else works, you might want to test the latest stuff from the x11 overlay (mesa, libdrm and xf86-video-nouveau).

Last edited by i92guboj; 07-15-2011 at 03:06 AM.
 
Old 07-15-2011, 07:33 AM   #12
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
Code:
# ls /usr/lib/mesa/
nouveau_dri.so  nouveau_vieux_dri.so  swrast_dri.so  swrastg_dri.so
Code:
# equery f mesa | grep dri
/usr/include/GL/internal/dri_interface.h
/usr/lib/dri
/usr/lib/dri/.keep_media-libs_mesa-0
/usr/lib/dri/nouveau_dri.so
/usr/lib/dri/nouveau_vieux_dri.so
/usr/lib/dri/swrastg_dri.so
/usr/lib/egl/egl_dri2.so
/usr/lib/mesa/nouveau_dri.so
/usr/lib/mesa/nouveau_vieux_dri.so
/usr/lib/mesa/swrast_dri.so
/usr/lib/mesa/swrastg_dri.so
/usr/lib/pkgconfig/dri.pc
 
Old 07-15-2011, 07:59 AM   #13
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It seems ok, but eselect doesn't list it. I am not sure it has something to do, but can you tell us what eselect version are you using? Maybe it's worth a shot upgrading it and seeing what does it list. An up to date version of eselect list the mesa stuff like this:

Code:
# eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
32bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic
  [2]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
But, admittedly, I am using ~amd64.
 
Old 07-15-2011, 08:25 AM   #14
Defaul
LQ Newbie
 
Registered: Jul 2011
Distribution: Gentoo, Fedora
Posts: 12

Original Poster
Rep: Reputation: Disabled
I am using eselect version 1.2.15, which is the most recent stable version.
 
Old 07-15-2011, 08:45 AM   #15
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by Defaul View Post
I have recently downgraded my video card to a GeForce 6600 GT after my 8700 burned out. I installed the nouveau driver both times. I got the 6600 to work with the nouveau driver at one point, but I couldn't get 3D acceleration, which I hear is all I can expect with that card and that driver.

So, I decided to try installing the proprietary nVidia driver. After I wasted too much time trying, I decided to reinstall the nouveau driver and now that doesn't work either.

I recompiled the kernel with the nouveau driver, swapped in the nouveau driver in both the xorg.config and make.config, ran emerge -aDNv world, and ran modules-rebuild rebuild.

Currently, /var/log/Xorg.0.log doesn't report any errors with nouveau. In fact, it even correctly identifies my video card and monitors. Though when running glxinfo, it returns an error saying it can't find the display. However I can run startx with twm and xterm and it works fine.

Any help is greatly appreciated. Thank you.
Re-reading the thread, I have another couple of questions.

First, what symptoms (besides glxinfo refusing to work) can you see?

Second, when you installed the nvidia binary blob, did you install it by hand? If you did so, then more than probably your problem could be caused by leftovers.
 
  


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
[SOLVED] Xorg resituates after initiation to the wrong position... nouveau driver... pauline123 Linux - Desktop 1 10-24-2010 01:02 AM
xorg 6.9 issues.... detpenguin Slackware 10 05-31-2006 10:29 PM
Mouse / Xorg Issues - Please Help!!! kkempter Linux - Hardware 1 04-23-2005 02:17 PM
FreeBSD and issues with Xorg bshearer *BSD 16 04-20-2005 12:57 PM
XORG 6.8 install issues hypnoticSpectre Linux - Software 0 11-04-2004 04:41 PM

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

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