View previous topic :: View next topic |
Author |
Message |
ham_se17 Tux's lil' helper
Joined: 20 Jul 2005 Posts: 131
|
Posted: Thu Sep 07, 2006 5:49 pm Post subject: black screen of death? |
|
|
Hi, I just can't get X up on my new machine.
I have configured gentoo on 5-6 machines, but this one is a pain in the ass, i just can't get te X up.
I have followed all of the usual guides, but with no luck.
I have a xorg.conf, and if I type Code: | X -config xorg.conf.new | I can see the nvidia logo, and the gray background (X), and i can move the mouse. So the config should work. BUT, when I use the same config, and try to start xdm, gdm or startx, I just get a black screen, and i can't get out of it again. The only solution is to reboot (cant use alt-ctrl-F1 either).
I really hope somebody can help me out...
Setup:
AMD 64 X2
nVidia 7900 GT
x86_64 Gentoo 2006.1
GCC 4.1.1
X -config xorg.conf.new
Code: |
X Window System Version 7.0.0 Release Date: 21 December 2005 X
Protocol Version 11, Revision 0, Release 7.0 Build Operating Sys-
tem:Linux 2.6.17-gentoo-r7 x86_64 Current Operating System: Linux
thunderbolt 2.6.17-gentoo-r7 #1 SMP Thu Sep 7 09:16:32 CEST 2006
x86_64 Build Date: 04 September 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version. Module
Loader present Markers: (--) probed, (**) from config file, (==)
default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) un-
known. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 7
19:39:22 2006 (++) Using config file: "xorg.conf.new" FreeFont-
Path: FPE "/usr/share/fonts/misc" refcount is 2, should be 1;
fixing.
|
startx
Code: |
xauth: creating new authority file /root/.serverauth.11944
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-gentoo-r7 x86_64
Current Operating System: Linux thunderbolt 2.6.17-gentoo-r7 #1 SMP Thu Sep 7 09:16:32 CEST 2006 x86_64
Build Date: 04 September 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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 Sep 7 19:38:43 2006
(==) Using config file: "/root/xorg.conf"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No Input driver matching `evdev'
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
No core pointer
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
|
less /var/log/xdm.log
Code: |
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-gentoo-r7 x86_64
Current Operating System: Linux thunderbolt 2.6.17-gentoo-r7 #1 SMP Thu Sep 7 09:16:32 CEST 2006 x86_64
Build Date: 04 September 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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 Sep 7 19:40:00 2006
(==) Using config file: "/root/xorg.conf"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No Input driver matching `evdev'
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
No core pointer
Fatal server error:
failed to initialize core devices
xdm error (pid 12222): IO Error in XOpenDisplay
xdm error (pid 12216): Server for display :0 terminated unexpectedly: 1
xdm error (pid 12216): Display :0 cannot be opened
|
tail -n 50 /var/log/Xorg.0.log
Code: |
[58] 0 0 0xfcfe03b0 - 0xfcfe03bb (0xc) IS[B]
[59] 0 0 0xfcfe03c0 - 0xfcfe03df (0x20) IS[B]
(II) NVIDIA(0): Setting mode "1600x1200"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(--) RandR disabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(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 built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "dk"
(**) Keyboard0: XkbLayout: "dk"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(EE) No Input driver matching `evdev'
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
No core pointer
Fatal server error:
failed to initialize core devices
|
cat xorg.conf
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
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 "Unknown Board"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
|
|
|
Back to top |
|
|
Big Jim Slade Apprentice
Joined: 04 May 2005 Posts: 197 Location: Washington State
|
Posted: Thu Sep 07, 2006 6:22 pm Post subject: |
|
|
It looks to me as if X is not using the xorg.conf you posted, but a different one. The startx output is reporting this:
Quote: | ...
(==) Using config file: "/root/xorg.conf"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No Input driver matching `evdev'
...
Fatal server error:
failed to initialize core devices |
But, your posted xorg.conf file has no mention of "evdev" anywhere. Is that xorg.conf file located in /root or in /etc/X11 or somewhere else? And, when you execute startx, are you running as root or as a regular user? What happens when you run as a regular user? |
|
Back to top |
|
|
ham_se17 Tux's lil' helper
Joined: 20 Jul 2005 Posts: 131
|
Posted: Thu Sep 07, 2006 6:51 pm Post subject: |
|
|
YES, i was using the wrong xorg.conf when i triggered startx as root. So i tried it as a normal user, and X started up nice (nvidia driver, not nv). BUT, i still have the black screen (of death) when i use a login manager (xdm og gdm). Any solutions? |
|
Back to top |
|
|
Big Jim Slade Apprentice
Joined: 04 May 2005 Posts: 197 Location: Washington State
|
Posted: Thu Sep 07, 2006 7:01 pm Post subject: |
|
|
I would say renaming the xorg.conf file in /root to xorg.conf.old or something so there's no chance it'll get loaded instead will fix your issue. It would appear that xdm is loading the one from /root and not from /etc/X11 which is why they're producing different results.
If that doesn't fix it, post your full Xorg.0.log here and we'll see what the problem is. |
|
Back to top |
|
|
ham_se17 Tux's lil' helper
Joined: 20 Jul 2005 Posts: 131
|
Posted: Thu Sep 07, 2006 7:09 pm Post subject: |
|
|
And again, true
xdm works now! Just bcause of the rename, i thought xdm always was looking in /etc/X11/...
thanks. |
|
Back to top |
|
|
Big Jim Slade Apprentice
Joined: 04 May 2005 Posts: 197 Location: Washington State
|
Posted: Thu Sep 07, 2006 7:43 pm Post subject: |
|
|
I thought so to until a week or so ago. On one of my latest Gentoo installs I noticed X reading from /root instead of /etc/X11 ... if not for that, I'm not sure I'd have been able to help. |
|
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
|
|