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

Joined: 22 Mar 2005 Posts: 59 Location: Pennsylvania
|
Posted: Thu Jul 30, 2009 2:48 pm Post subject: [SOLVED] xorg/nvidia => black screen |
|
|
I have a fairly new ~x86 install on a Dell Latitude D830 (Centrino Duo) laptop:
Code: | bits ~ # uname -a
Linux bits 2.6.29-gentoo-r5 #4 SMP Wed Jul 29 20:12:07 EDT 2009 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
|
X11 was working fine for several weeks till booting up this morning. During boot today, it got to the "Starting xdm", the screen went black & I was expecting the nvidia logo...and then nothing. The machine can't be used locally since it doesn't respond to the keyboard.
Code: | bits ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j3"
GENTOO_MIRRORS="\
ftp://mirrors.tera-byte.com/pub/gentoo \
ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ \
http://gentoo.osuosl.org/ \
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ \
ftp://ftp.ussg.iu.edu/pub/linux/gentoo \
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ \
http://open-systems.ufl.edu/mirrors/gentoo\
"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="alsa cdr cdrw dbus dvd ffmpeg flac gtk -ipv6 java kde hal jpeg jpeg2k mp3 \
nptl ogg opengl png qt3support sdl smp sndfile sse2 svg tiff timidity truetype \
vorbis X"
INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="nvidia vesa fbdev"
|
Also, here are the X start up messages:
Code: | bits ~ # cat /var/log/Xorg.0.log
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.6.2.901 (1.6.3 RC 1)
Release Date: 2009-7-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux bits 2.6.29-gentoo-r5 #4 SMP Wed Jul 29 20:12:07 EDT 2009 i686
Build Date: 30 July 2009 08:55:59AM
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: Thu Jul 30 09:04:22 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x3aa0
(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
(WW) xf86OpenConsole: setpgid failed: Operation not permitted
(WW) xf86OpenConsole: setsid failed: Operation not permitted
(--) PCI:*(0:1:0:0) 10de:0429:1028:01fe nVidia Corporation Quadro NVS 140M rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf2000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(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) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.2.901, 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: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.2.901, 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: "glx"
(II) Loading /usr/lib/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 185.18.29 Thu Jul 23 05:48:22 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.2.901, 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: "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"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.2.901, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/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 185.18.29 Thu Jul 23 05:17:55 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/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.6.2.901, 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/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.6.2.901, 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 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU Quadro NVS 140M (G86) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 524288 kBytes
(--) NVIDIA(0): VideoBIOS: 60.86.68.00.17
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on Quadro NVS 140M at PCI:1:0:0:
(--) NVIDIA(0): LPL (DFP-0)
(--) NVIDIA(0): LPL (DFP-0): 330.0 MHz maximum pixel clock
(--) NVIDIA(0): LPL (DFP-0): Internal Dual Link LVDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(==) NVIDIA(0):
(==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) NVIDIA(0): will be used as the requested mode.
(==) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1920 x 1200
(--) NVIDIA(0): DPI set to (147, 145); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(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) NVIDIA(0): Initialized GPU GART.
bits ~ #
|
The xorg.conf is the unmodified file created by nvidia-xconfig:
Code: | # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder57) Thu Jul 23 05:53:56 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
and is used with this graphics card:
Code: | bits ~ # lspci | grep -i nvidia
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
bits ~ # emerge -pv nvidia-drivers
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-185.18.29 USE="gtk acpi -custom-cflags (-multilib)" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
|
I can log in remotely with no problem or boot into run level 2 to use locally, but I'd like X back. :-) Any ideas?
Thanks very much!
Mike
Last edited by ab3ap on Thu Jul 30, 2009 8:39 pm; edited 1 time in total |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 3:09 pm Post subject: |
|
|
Did you build and install a new kernel recently since you last rebooted? |
|
Back to top |
|
 |
ab3ap n00b

Joined: 22 Mar 2005 Posts: 59 Location: Pennsylvania
|
Posted: Thu Jul 30, 2009 3:15 pm Post subject: |
|
|
No, I didn't. Last time my kernel .config was updated:
Code: | bits mm # ls -l /boot/config-2.6.29-r5
-rw-r--r-- 1 root root 54588 Jul 10 18:45 /boot/config-2.6.29-r5
|
I did use that config to recompile and reinstall the kernel just in case & followed that by re-emerging nvidia-drivers.
Also, I did a revdep-rebuild but it only rebuilt mikmod. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 3:49 pm Post subject: |
|
|
This part is weird because the nvidia-drivers should be handling it Code: | (WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0) |
Did you recently upgrade xorg-server, x11-libs, etc... ? |
|
Back to top |
|
 |
ab3ap n00b

Joined: 22 Mar 2005 Posts: 59 Location: Pennsylvania
|
Posted: Thu Jul 30, 2009 7:47 pm Post subject: |
|
|
When I last booted successfully, my updates from /usr/portage/distfiles after running emerge that day were:
Code: | -rw-rw-r-- 1 portage portage 14125083 Jul 25 20:37 NVIDIA-Linux-x86-185.18.14-pkg0.run
-rw-rw-r-- 1 portage portage 1790400 Jul 25 20:37 shadow-4.1.4.2.tar.bz2
-rw-rw-r-- 1 portage portage 760967 Jul 25 20:37 libmikmod-3.2.0-beta2.tar.gz
-rw-rw-r-- 1 portage portage 5567 Jul 25 20:37 bash40-028
-rw-rw-r-- 1 portage portage 1433 Jul 25 20:37 bash40-026
-rw-rw-r-- 1 portage portage 2010 Jul 25 20:37 bash40-027
-rw-rw-r-- 1 portage portage 3435 Jul 25 20:37 bash40-025
-rw-rw-r-- 1 portage portage 9119 Jul 25 20:37 gentoo-headers-2.6.30-2.tar.lzma
-rw-rw-r-- 1 portage portage 179697 Jul 25 20:37 tzdata2009k.tar.gz
-rw-rw-r-- 1 portage portage 190353 Jul 25 20:36 tzcode2009k.tar.gz
|
I'll try backing down a version of nvidia-drivers and see what that might do. Today, when I remotely ran an emerge, xorg-server did update as well:
Code: | mm@bits ~ $ X -version
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.6.2.901 (1.6.3 RC 1)
Release Date: 2009-7-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-gentoo-r5 i686
Current Operating System: Linux bits 2.6.29-gentoo-r5 #4 SMP Wed Jul 29 20:12:07 EDT 2009 i686
Build Date: 30 July 2009 08:55:59AM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
|
When I'm back at my machine, I'll see if old nvidia drivers helps and will report back.
Mike |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 7:59 pm Post subject: |
|
|
Please also poet your emerge --info if you still require assistance.  |
|
Back to top |
|
 |
ab3ap n00b

Joined: 22 Mar 2005 Posts: 59 Location: Pennsylvania
|
Posted: Thu Jul 30, 2009 8:39 pm Post subject: |
|
|
It was the nvidia driver! After adding the following line to /etc/portage/package.mask
Code: | =x11-drivers/nvidia-drivers-185.18.29
|
I re-emerged nvidia-drivers and am back in business. I naively assumed anything released by Nvidia didn't need to be doubted.
One weird thing is why in the world does xorg-server set AllowEmptyInput by default. I had to turn it off in xorg.conf ServerLayout after discovering my mouse cursor was frozen and keyboard input ignored:
Code: | Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowEmptyInput" "false"
EndSection
|
But all is well again. Thanks, Mike, for your help. In my 20/20 hindsight, it should have occurred to me right away to try old video driver.
Mike |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Jul 30, 2009 8:46 pm Post subject: |
|
|
I needed that Option "AllowEmptyInput" "false" also until I changed this line in make.conf Code: | INPUT_DEVICES="evdev" |
At any rate, even with such little annoyances, nVidia is still by far the best video for linux IMHO.
Jolly good your box is okay now.  |
|
Back to top |
|
 |
jasn Guru


Joined: 05 May 2005 Posts: 439 Location: Maryland, US
|
Posted: Sun Aug 02, 2009 8:26 pm Post subject: |
|
|
This bug/problem is actually not solved, and it's a frustrating issue, because after updating the nvidia driver, you reboot your system and the X server hangs, (apparently), at the point where the nvidia driver is setting the screen resolution, (see the Gentoo bug report below). In order to downgrade the driver you need to reboot without loading the X server, and get to the console, to reemerge the 185.18.14 driver. That's the latest version of the nVidia driver that works on my system, (and others posting on this problem elsewhere). If you are masking packages to avoid this problem you will currently either need to mask anything above 185.18.14, or explicitly mask 185.18.29 and 185.18.31.
Gentoo Bugzilla entry
nVidia Forums Post on this bug with the 185.18.29 driver
nVidia Forums Post on this bug with the 185.18.31 driver
Edit: I can confirm what others on the forum are now reporting. Unmasking the latest nvidia drivers in portage, 190.18, work in my setup. Whereas 185.18.29 and 185.18.31 did not. |
|
Back to top |
|
 |
|
|
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
|
|