| View previous topic :: View next topic |
| Author |
Message |
Malik222 n00b

Joined: 15 Aug 2012 Posts: 12
|
Posted: Thu Aug 16, 2012 4:06 am Post subject: nvidia-driver problem loading, launching X |
|
|
I reinstalled Gentoo after 2 years off the distrib and back at it, I'm having issues starting X. I've had the problem in the past with a different laptop. At the time, it was the BusID that was wrong. This time 1:0:0 for my Nvidia card doesn't work.
I'm using the nvidia-drivers and not the Nouveau. My nvidia card is a Quadro K2000m with 2gb on-board.
I tried nvidia-xconfig to generate the xorg.conf. I've been looking around for hours and nah, I can't find the solution.
Now, I'm stuck with the nvidia-drivers as you'll see down below... Also, has anyone tried the Cuda drivers too?
This is my lspci output:
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation Panther Point KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation Device 0ffb (rev ff)
02:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 05)
02:00.3 FireWire (IEEE 1394): Ricoh Co Ltd FireWire Host Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
04:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
My Kernel configuration:
http://pastebin.com/BdeU6vRr
Emerge -info
http://pastebin.com/QS6Sbb8D
Xorg.conf
http://pastebin.com/0cLaCK0p
Thank you, |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Thu Aug 16, 2012 4:35 am Post subject: |
|
|
Malik222,
Did you install a window manager The error message 'no screens found' usually indicate the absence of a window manager.
Try to emerge twm and xterm to check/test X. _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
Malik222 n00b

Joined: 15 Aug 2012 Posts: 12
|
Posted: Thu Aug 16, 2012 5:00 am Post subject: Still same issue |
|
|
I tried with only xterm and twm and same error.
I also had gdm since I emerged gnome and xdm too that came with hummmpf (can't recall!).... |
|
| Back to top |
|
 |
jburns l33t

Joined: 18 Jan 2007 Posts: 733 Location: Massachusetts USA
|
Posted: Thu Aug 16, 2012 5:28 am Post subject: |
|
|
| You need the 304.37 nvidia driver which added support for the Quadro K2000M card, this driver has just been released and is not in the portage tree yet. You also should use x11-base/xorg-server-1.12.99.904. |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Thu Aug 16, 2012 5:29 am Post subject: |
|
|
Malik222.
Not sure about this, but should CONFIG_FB_UVESA be set for nvidia
Also make sure you're in the video group, opengl is set to nvidia and VIDEO_CARDS="nvidia" is set in make.conf. _________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2553 Location: Slovenia
|
Posted: Thu Aug 16, 2012 7:53 am Post subject: |
|
|
| Optimus? |
|
| Back to top |
|
 |
Malik222 n00b

Joined: 15 Aug 2012 Posts: 12
|
Posted: Thu Aug 16, 2012 1:08 pm Post subject: Xorg-server & Nvidia latest driver |
|
|
I installed the latest drivers from NVIDIA: 304.37 which has the support for Nvidia K1000m and Nvidia K2000m
I also installed xorg-server-1.12.99.904.
Still get same error...
and I'll check whether it's caused by Optimus...
Last edited by Malik222 on Thu Aug 16, 2012 1:25 pm; edited 1 time in total |
|
| Back to top |
|
 |
Malik222 n00b

Joined: 15 Aug 2012 Posts: 12
|
Posted: Thu Aug 16, 2012 1:12 pm Post subject: Seems like Optimus |
|
|
Yes. I've got 2 graphic cards on a W530. Intel graphic card and Nvidia K2000m
I actually switched to Discreet mode in my Bios for the display. It deactivates the Intel Graphics.
Now I can startx with only a black screen but it's moving forward! Thank you all for your help...
As I'm reading this:
http://en.gentoo-wiki.com/wiki/X.Org/nVidia_Optimus |
|
| Back to top |
|
 |
albright Veteran


Joined: 16 Nov 2003 Posts: 1898 Location: Near Toronto
|
Posted: Wed Aug 22, 2012 11:40 am Post subject: |
|
|
sorry that this is off topic, but it seems relvant
I have nvidia-304.37-r1 installed but when I try to update
xorg-server, I get this message:
| Code: |
(x11-base/xorg-server-1.12.99.904::gentoo, ebuild scheduled for merge) conflicts with
<x11-base/xorg-server-1.12.99 required by (x11-drivers/nvidia-drivers-304.37-r1::gentoo, installed)
|
is that normal? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2553 Location: Slovenia
|
Posted: Wed Aug 22, 2012 11:56 am Post subject: |
|
|
| 304.37 is supposed to support xorg-server-1.13. In theory at least, I don't know about practice. So, going by the theory, the nvidia-drivers ebuild shouldn't contain <x11-base/xorg-server-1.12.99 |
|
| Back to top |
|
 |
NuMPTy Tux's lil' helper

Joined: 04 Mar 2012 Posts: 75
|
Posted: Wed Aug 22, 2012 4:14 pm Post subject: |
|
|
You also get that message if you're xorg config is broken/messed up.
Try running 'nvidia-xconfig' and see what happens (backup your existing config first obviously) _________________ ACCEPT_KEYWORDS="~amd64" |
|
| Back to top |
|
 |
jburns l33t

Joined: 18 Jan 2007 Posts: 733 Location: Massachusetts USA
|
|
| Back to top |
|
 |
NuMPTy Tux's lil' helper

Joined: 04 Mar 2012 Posts: 75
|
Posted: Wed Aug 22, 2012 6:31 pm Post subject: |
|
|
I don't think that's an issue anymore ->
| Code: | $ eix -e nvidia-drivers && eix -e xorg-server
[I] x11-drivers/nvidia-drivers
Available versions: 96.43.20^s 173.14.35^s 295.59^s 295.59-r1^s 295.71^s (~)302.17-r1^s (~)304.37-r1^s {{+X acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib (+)tools}}
Installed versions: 304.37-r1^s(12:05:04 08/22/12)(X acpi kernel_linux multilib tools -kernel_FreeBSD)
Homepage: http://www.nvidia.com/
Description: NVIDIA X11 driver and GLX libraries
[U] x11-base/xorg-server
Available versions: 1.9.5-r1 1.10.6-r1 1.11.4-r1 1.12.2 (~)1.12.3 (~)1.12.99.904 {{dmx doc ipv6 kdrive minimal nptl selinux static-libs tslib +udev xnest xorg xvfb}}
Installed versions: 1.12.3(00:10:42 08/07/12)(ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -selinux -static-libs -tslib -xnest -xvfb)
Homepage: http://xorg.freedesktop.org/
Description: X.Org X servers
|
_________________ ACCEPT_KEYWORDS="~amd64" |
|
| Back to top |
|
 |
albright Veteran


Joined: 16 Nov 2003 Posts: 1898 Location: Near Toronto
|
Posted: Wed Aug 22, 2012 10:40 pm Post subject: |
|
|
@numpty - you seem to have xorg-server-1.12.3 installed;
why do you think there is no problem with -1.12.99.904? _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
| Back to top |
|
 |
NuMPTy Tux's lil' helper

Joined: 04 Mar 2012 Posts: 75
|
Posted: Wed Aug 22, 2012 10:56 pm Post subject: |
|
|
| albright wrote: | @numpty - you seem to have xorg-server-1.12.3 installed;
why do you think there is no problem with -1.12.99.904? |
I was commenting @ Gusar, showing him that you can get 304.37 installed without using 1.12.99 _________________ ACCEPT_KEYWORDS="~amd64" |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2553 Location: Slovenia
|
Posted: Wed Aug 22, 2012 11:29 pm Post subject: |
|
|
| NuMPTy wrote: | | I was commenting @ Gusar, showing him that you can get 304.37 installed without using 1.12.99 |
If course you can, that was never the issue. The issue is the exact opposite, getting it installed with 1.12.99. |
|
| Back to top |
|
 |
NuMPTy Tux's lil' helper

Joined: 04 Mar 2012 Posts: 75
|
Posted: Wed Aug 22, 2012 11:35 pm Post subject: |
|
|
| Gusar wrote: | | NuMPTy wrote: | | I was commenting @ Gusar, showing him that you can get 304.37 installed without using 1.12.99 |
If course you can, that was never the issue. The issue is the exact opposite, getting it installed with 1.12.99. |
I'm going to pull the "I've got a newborn" card...that's two dumb posts out of me within 24 hours...I'll be back after(hopefully soon) I get more than an hour of sleep...
Just ignore anything/everything I say  _________________ ACCEPT_KEYWORDS="~amd64" |
|
| Back to top |
|
 |
OldTango Guru


Joined: 21 Feb 2004 Posts: 448
|
Posted: Tue Aug 28, 2012 6:49 pm Post subject: Re: nvidia-driver problem loading, launching X |
|
|
| Malik222 wrote: | I reinstalled Gentoo after 2 years off the distrib and back at it, I'm having issues starting X. I've had the problem in the past with a different laptop. At the time, it was the BusID that was wrong. This time 1:0:0 for my Nvidia card doesn't work.
I'm using the nvidia-drivers and not the Nouveau. My nvidia card is a Quadro K2000m with 2gb on-board.
I tried nvidia-xconfig to generate the xorg.conf. I've been looking around for hours and nah, I can't find the solution.
Now, I'm stuck with the nvidia-drivers as you'll see down below... Also, has anyone tried the Cuda drivers too? |
Did you get this fixed or not. If not it is best to start from scratch and take it one sept at a time.
When using the x11-drivers/nvidia-drivers package you must have a minimal xorg.config file in /etc/X11/xorg.config
Heres Mine | Code: | Section "Module"
Load "record"
Load "glx"
Load "dbe"
Load "extmod"
Disable "dri"
Disable "dri2"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "LG Electronics"
ModelName "M2762D"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "MSI GeForce GTX 460"
VideoRam 1048576
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
EndSubsection
EndSection |
Whats important is the "Device" Section. X won't start without it.
Next is to make sure the nvidia module is loaded | Code: | lsmod
Module Size Used by
vboxnetadp 17142 0
vboxnetflt 12957 0
vboxdrv 1754972 2 vboxnetadp,vboxnetflt
nvidia 12289782 30 |
If not, load with
If it is loaded you can also unload it | Code: | rmmod nvidia <-----------to unload it
modprobe nvidia <---------------to reload it
startx <------------to attempt to start X, If it fails to start
dmesg | tail <------------------and check for errors when the nvidia module is loaded. |
Then check /var/log/Xorg.0.log and report back with any demesg or [EE] error messages. |
|
| Back to top |
|
 |
|