Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X doesn't start with nvidia driver [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Tue Mar 23, 2010 8:43 pm    Post subject: X doesn't start with nvidia driver [SOLVED] Reply with quote

I had to re-install Gentoo after disk troubles and this time I can't get X to start. The subject is a Dell Vostro 1700 with a nvidia GF 8400M GS.

Started with the basic install and then went on to X following the guide, directly followed by the nvidia install. Double checked the kernel settings etc.

It complains with this:
Code:

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r10 x86_64
Current Operating System: Linux dell 2.6.31-gentoo-r10 #3 SMP PREEMPT Tue Mar 23 19:47:13 Local time zone must be set-- x86_64
Build Date: 21 March 2010  04:01:57PM
 
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 23 20:08:28 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/misc/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
   Entry deleted from font path.
(**) FontPath set to:
   
(**) ModulePath set to "/usr/lib64/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0xde0
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 5.0
   X.Org XInput driver : 4.0
   X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0427:1028:0229 nVidia Corporation G86 [GeForce 8400M GS] rev 161, Mem @ 0xfd000000/16777216, 0xf4000000/67108864, 0xfa000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.42  Tue Oct 20 21:19:30 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  190.42  Tue Oct 20 20:42:04 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib64/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Mar 23 20:08:28 NVIDIA(0): Enabling RENDER acceleration
(II) Mar 23 20:08:28 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Mar 23 20:08:28 NVIDIA(0):     enabled.
(II) Mar 23 20:08:29 NVIDIA(0): NVIDIA GPU GeForce 8400M GS (G86M) at PCI:1:0:0 (GPU-0)
(--) Mar 23 20:08:29 NVIDIA(0): Memory: 262144 kBytes
(--) Mar 23 20:08:29 NVIDIA(0): VideoBIOS: 60.86.42.00.35
(II) Mar 23 20:08:29 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Mar 23 20:08:29 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Mar 23 20:08:29 NVIDIA(0): Connected display device(s) on GeForce 8400M GS at PCI:1:0:0:
(--) Mar 23 20:08:29 NVIDIA(0):     AUO (DFP-0)
(--) Mar 23 20:08:29 NVIDIA(0): AUO (DFP-0): 330.0 MHz maximum pixel clock
(--) Mar 23 20:08:29 NVIDIA(0): AUO (DFP-0): Internal Dual Link LVDS
(II) Mar 23 20:08:29 NVIDIA(0): Assigned Display Device: DFP-0
(WW) Mar 23 20:08:29 NVIDIA(0): No valid modes for "1400x900"; removing.
(WW) Mar 23 20:08:29 NVIDIA(0):
(WW) Mar 23 20:08:29 NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) Mar 23 20:08:29 NVIDIA(0):     "nvidia-auto-select".
(WW) Mar 23 20:08:29 NVIDIA(0):
(II) Mar 23 20:08:29 NVIDIA(0): Validated modes:
(II) Mar 23 20:08:29 NVIDIA(0):     "nvidia-auto-select"
(II) Mar 23 20:08:29 NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) Mar 23 20:08:30 NVIDIA(0): DPI set to (98, 99); computed from "UseEdidDpi" X config
(--) Mar 23 20:08:30 NVIDIA(0):     option
(==) Mar 23 20:08:30 NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(II) Mar 23 20:08:30 NVIDIA(0): Initialized GPU GART.
(II) Mar 23 20:08:30 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Mar 23 20:08:30 NVIDIA(0):     may not be running or the "AcpidSocketPath" X
(II) Mar 23 20:08:30 NVIDIA(0):     configuration option may not be set correctly.  When the
(II) Mar 23 20:08:30 NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
(II) Mar 23 20:08:30 NVIDIA(0):     try to use it to receive ACPI event notifications.  For
(II) Mar 23 20:08:30 NVIDIA(0):     details, please see the "ConnectToAcpid" and
(II) Mar 23 20:08:30 NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
(II) Mar 23 20:08:30 NVIDIA(0):     Config Options in the README.
(II) Mar 23 20:08:30 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Mar 23 20:08:30 NVIDIA(0):     enough to receive ACPI display change hotkey events.
(II) Mar 23 20:08:30 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Mar 23 20:08:30 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Mar 23 20:08:30 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 2.3.2
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device AlpsPS/2 ALPS GlidePoint
(II) LoadModule: "synaptics"
(II) Loading /usr/lib64/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
(II) Synaptics touchpad driver version 1.2.1
(**) Option "Device" "/dev/input/event6"
(II) AlpsPS/2 ALPS GlidePoint: x-axis range 0 - 1023
(II) AlpsPS/2 ALPS GlidePoint: y-axis range 0 - 767
(II) AlpsPS/2 ALPS GlidePoint: pressure range 0 - 127
(II) AlpsPS/2 ALPS GlidePoint: finger width range 0 - 0
(II) AlpsPS/2 ALPS GlidePoint: buttons: left right middle
(--) AlpsPS/2 ALPS GlidePoint: touchpad found
(**) AlpsPS/2 ALPS GlidePoint: always reports core events
(II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD)
(**) AlpsPS/2 ALPS GlidePoint: (accel) keeping acceleration scheme 1
(**) AlpsPS/2 ALPS GlidePoint: (accel) filter chain progression: 2.00
(**) AlpsPS/2 ALPS GlidePoint: (accel) filter stage 0: 20.00 ms
(**) AlpsPS/2 ALPS GlidePoint: (accel) set acceleration profile 0
(--) AlpsPS/2 ALPS GlidePoint: touchpad found
(II) config/hal: Adding input device PS/2 Mouse
(**) PS/2 Mouse: always reports core events
(**) PS/2 Mouse: Device: "/dev/input/event5"
(II) PS/2 Mouse: Found 3 mouse buttons
(II) PS/2 Mouse: Found relative axes
(II) PS/2 Mouse: Found x and y relative axes
(II) PS/2 Mouse: Configuring as mouse
(**) PS/2 Mouse: YAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: initialized for relative axes.
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event2"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Video Bus
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event3"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) UnloadModule: "synaptics"
(II) PS/2 Mouse: Close
(II) UnloadModule: "evdev"
(II) Sleep Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"


xorg.conf looks like this:
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "extmod"
              # Load "dri"
   Load  "record"
   Load  "dbe"
              #  Load "dri2"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option        "XkbLayout" "be"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "G86 [GeForce 8400M GS]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 16
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes   "1400x900"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1400x900"
   EndSubSection
EndSection


I changed the "driver" section in /etc/X11/xorg.conf to "nvidia" as it was "nv" and removed the lines of Subsection "Display" that didn't had a depth greater then 16. Also commented out Load "dri" (and later "dri2") but this makes no difference. Same if I removed those lines completely. I added the "modes" lines in the screen section but that changed nothing.

What I don't understand is that first the log says its using /etc/X11/xorg.conf, then that it is going to load "dri" and "dri2" by default and then that it errors because it can't find those modules. But the xorg.conf tell not to load them (as in the documentation).

Also the nvidia module is loaded according to lsmod. And when I start with "X -config /root/xorg.conf.new" I get a flash of the nvidia logo.
_________________
Expert in non-working solutions


Last edited by Spanik on Thu Mar 25, 2010 6:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Tue Mar 23, 2010 9:42 pm    Post subject: Reply with quote

Those dri messages in the log are normal and harmless for nvidia, because nvidia uses it's own dri stuff.

Do you have some sort of window manager installed, at least TWM and Xterm?

Are hald and dbus in the default runlevel and started?

Does eselect opengl list = nvidia ?

Were all the X11-drivers rebuilt after emerging xorg-server?

Try it without an xorg.conf file too, it should work.

If it still fails post the output of:
    emerge --info
    rc-status
    egrep '^[^#].*(AGP|DRM|FB|NVIDIA|SYSVIPC|EVDEV)' /usr/src/linux/.config
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Wed Mar 24, 2010 8:33 pm    Post subject: Reply with quote

Quote:
Those dri messages in the log are normal and harmless for nvidia, because nvidia uses it's own dri stuff.


OK, barking up the wront tree then. I took that as logical as those were the only errors in the log.

Quote:
Do you have some sort of window manager installed, at least TWM and Xterm?


No. Do I have to? With all previous installs, I first made sure X worked before installing anything else. Normally I got then a "grey" screen with a large cross that became a "desktop" with a few windows (a couple of terminals and a clock). Enought to make sure the display, mouse and keyboard work.

Quote:
Are hald and dbus in the default runlevel and started?


Yes I see them both passing on the screen at startup and when I try to run them once started I get the message they are already running.

Quote:
Does eselect opengl list = nvidia ?


output is:
[1] nvidia *
[2] xorg-X11

I did ran the "eselect opengl set nvidia" as it is in the doc.

Quote:
Were all the X11-drivers rebuilt after emerging xorg-server?


Not sure about that. I only emerged "xorg-server" straight after installing a running kernel. It were about 189 packages, so I went to sleep while that took care of itself. There were no config files to be "etc-update"-ed.

Quote:
Try it without an xorg.conf file too, it should work.


When I just run "X" I get the nvidia logo screen and then it turns black. If I remove /etc/X11/xorg.conf and then run "X" I get a "fatal server error: no screens found". When I run "startx" (with the /etc/X11/xorg.conf in place) I get also the nvidia logo screen and return to the terminal shorly after with as only errors the "dri" and "dri2" modules that could not be found like in the log.

Below the output you asked for. Would you mind explaining a bit what you're looking for?
emerge -info:
Code:
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 22 Mar 2010 18:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dvb dvd dvdr dvr eds emboss encode evo exif fam ffmpeg fftw firefox flac fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv iee1394 imagemagick ipv6 jack jpeg kde ladspa lash ldap libnotify libsamplerate mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nas ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png posix ppds pppd python qt3support qt4 quicktime raw readline reflection scanner sdl session shorten sndfile sox spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vorbis x264 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


rc-status:
Quote:
Runlevel: default
hald [ started ]
local [ started ]
net.eth0 [ started ]
netmount [ started ]
syslog-ng [ started ]
udev-postmount [ started ]


egrep:
Quote:
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_INPUT_EVDEV=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_DRM=m
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
titanofold
Developer
Developer


Joined: 30 Dec 2003
Posts: 235
Location: Bryson City, NC USA

PostPosted: Wed Mar 24, 2010 9:24 pm    Post subject: Reply with quote

X.Org no longer has TWM installed by default.
_________________
The best things in life are free.
Guy-1: Surely, you will fold with me...
Guy-2: Alright, but don't call me Shirley
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 24, 2010 10:42 pm    Post subject: Reply with quote

If you add x11-apps/xinit -minimal to /etc/portage/package.use then twm, xterm, xclock and xsm will be pulled in as dependencies by running:
Code:
emerge -aDNuv world


Also rebuild all the x11-drivers after emerging xorg-server like this:
  • emerge app-portage/portage-utils (if you don't already have it)
  • emerge -1av $(qlist -IC x11-drivers)


Also add consolekit and dbus to the default runlevel and start them:
Code:
eselect rc add consolekit default
eselect rc add dbus default
rc


Also you might need to disable CONFIG_DRM=m in the kernel. Either rebuild and reinstall the kernel and modules, or blacklist drm in /etc/modprobe.d/blacklist.conf and run:
Code:
lsmod
rmmod drm


If you do redo the kernel, remember to mount the /boot partition (if any) before copying the new kernel over, and reboot.

Try X again.
Back to top
View user's profile Send private message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 423
Location: Tokyo

PostPosted: Thu Mar 25, 2010 12:01 am    Post subject: Reply with quote

Obvious: Did you re-emerge your kernel after the drivers were installed?

Not-so-obvious: Might want to try starting w/ startx instead of a login manager. Might get more info in stdout. That log file seems quite ambiguous.
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 963
Location: Belgium

PostPosted: Thu Mar 25, 2010 6:21 pm    Post subject: Reply with quote

Quote:
X.Org no longer has TWM installed by default.


That might be the reason to get a black screen... Guess I missed this:
Quote:
If you haven't yet installed a window manager, all you'll see is a black screen. Since this can also be a sign that something's wrong, you may want to emerge twm and xterm only to test X.


Quote:
Also rebuild all the x11-drivers after emerging xorg-server like this:
emerge app-portage/portage-utils (if you don't already have it)
emerge -1av $(qlist -IC x11-drivers)


I ran that, it rebuild the nvidia driver , keyboard and mouse. However I did rebuild the nvidia once.

Quote:
If you do redo the kernel, remember to mount the /boot partition


8O LOL

Quote:
Obvious: Did you re-emerge your kernel after the drivers were installed?


No, but I did re-emerge the drivers after the first fail.

Thanks for all the pointers. I'll install twm first and let you know how that ends. But it looks like another pebkac....

EDIT: after emerging twm and xterm I got the usual simple windows after running startx. Thanks all.
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 31, 2010 2:28 pm    Post subject: Reply with quote

kiss-o-matic wrote:
Obvious: Did you re-emerge your kernel after the drivers were installed?


It's actually the other way around:
    re-emerge nvidia-drivers after building and installing a new kernel. :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum