Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Xorg: black screen on startup [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

Xorg: black screen on startup [SOLVED]

  • Quote

Post by XrateR » Sun Sep 03, 2006 8:44 pm

I have xorg-x11-7.0-r1 and have just installed nvidia-drivers-1.0.8774
and when I trie to start X my monitor turnes off. I know that I have the right settings
in my xorg.conf when it is about my monitor becouse if I run X with vesa drivers
my X starts perfekt. So what can be the problem with the nVidia drivers?

P.S I followed this guide: http://www.gentoo.org/doc/en/nvidia-guide.xml

Edit: I just read in this howto that if the monitor options worked with vesa drivers
they maybe not working with nvidia so I run a livecd and simply copy the HorizSync and
VertRefresh from it to my own. But it didn't worke either. :(
Link: http://gentoo-wiki.com/HOWTO_nVidia_Drivers

My #startx output:

Code: Select all

zerox ~ # startx
xauth:  creating new authority file /root/.serverauth.9290


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 i686
Current Operating System: Linux zerox 2.6.17-gentoo-r7 #8 SMP Sun Sep 3 21:05:47 CEST 2006 i686
Build Date: 03 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: Mon Sep  4 00:41:24 2006
(==) Using config file: "/etc/X11/xorg.conf"
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

waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).
zerox ~ #
Some lines from my xorg.conf:

Code: Select all

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "nvidia"      # with "vesa" it workes.
    VideoRam    262144
EndSection
Last edited by XrateR on Tue Sep 05, 2006 7:57 pm, edited 1 time in total.
Top
mgmartin
n00b
n00b
Posts: 17
Joined: Sun Dec 05, 2004 2:22 am

  • Quote

Post by mgmartin » Mon Sep 04, 2006 5:14 am

read the /var/log/Xorg.0.log to see what's happening. A lot to dig through, but might help. You may also want to try running "X -configure" as root, which will produce a bare-bones probed config file into /home/root. You can run with this file and compare to your current xorg.conf file. Make a backup of you last known xorg.conf file just to be safe while you trouble shoot so you have something to go back to.
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Mon Sep 04, 2006 2:36 pm

I have tried to compare /etc/X11/xorg.conf with /root/xorg.conf.new and made
my own xorg.conf and now I trie to use it insted of the other one but it don't
worke neither.

Here can you look at my xorg.conf as it is right now:
http://xrater.undeadcorp.org/stuff/text ... g.conf.txt
And my /var/log/Xorg.0.log
http://xrater.undeadcorp.org/stuff/text ... .0.log.txt
Top
mgmartin
n00b
n00b
Posts: 17
Joined: Sun Dec 05, 2004 2:22 am

  • Quote

Post by mgmartin » Mon Sep 04, 2006 5:06 pm

nothing glaring stands out. do any errors get put in your ~/.xsession-errors? If X doesn't exit with an error, then it seems to be a monitor sync issue. Check to make sure your xorg.conf monitor settings are correct. You can also try commenting out the horizontal and vertical values to see if it probes a sync that works. You may want to try the nvidia xconfig program. http://www.nvidia.com/object/linux_disp ... -8774.html and see what that generates for an xorg.conf. Also, you can try to remove some modes or set the default mode to 1024x768 and see if you can get a 1024x768 up and going.
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Mon Sep 04, 2006 6:13 pm

I have now tried to copy the settings from a livecd but it didn't worke neither.
I also tried with marking the lines with horizontal and vertical but with out any
progress.

But now have I find some other thread with the same problem so now I started
to wounder if there is some thing with Xorg 7.0 and newer versions of grafik drivers.
Becouse people with ATI also have this problem after emerge Xorg 7.0.

And now I start to wounder about the keybord error.

Code: Select all

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 
Top
aualin
n00b
n00b
Posts: 27
Joined: Fri Sep 01, 2006 9:19 pm

  • Quote

Post by aualin » Mon Sep 04, 2006 7:05 pm

ive had this problem before, on suse...
i called it Black Screen of Death ...
But does your monitor, just says
Error no input or something like that?
I got into failsafe (failsafe is good)
and run SaX2 and the it worked (sorry for talking suse...)

Hope its useful!
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Mon Sep 04, 2006 7:10 pm

When I run #startx my monitor just turns off.

Edit: I have now fixed so that I'm not get any error messages
then I startx but it want worke for that. So nog I got a xorg with no
error outputs but that still is black.

:(

Edit_nr2: Now have I find some thing I think.

Code: Select all

zerox ~ # cat /var/log/Xorg.0.log | grep NVIDIA
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0):     "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 640 x 480
zerox ~ #
Whay can't it run 1280x1024?
Top
mgmartin
n00b
n00b
Posts: 17
Joined: Sun Dec 05, 2004 2:22 am

  • Quote

Post by mgmartin » Mon Sep 04, 2006 8:08 pm

sync problems, or unable to to get into a higher resolution mode, are usually tied to your HorizSync and VertRefresh settings. Specify your monitor's correct values by looking at the monitors specifications. http://gentoo-wiki.com/HOWTO_nVidia_Drivers mentions the black screen and other trouble shooting techniques for nvidia cards.
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Mon Sep 04, 2006 8:16 pm

Now I think I have fixed that too. But my xorg is still black.

Code: Select all

zerox ~ # cat /var/log/Xorg.0.log | grep NVIDIA
(II) Module glx: vendor="NVIDIA Corporation"
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA dlloader X Driver  1.0-8774  Tue Aug  1 20:55:35 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(==) 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
(WW) NVIDIA(0): Unable to read EDID for display device CRT-1
(II) NVIDIA(0): NVIDIA GPU GeForce 7800 GT at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.70.02.13.00
(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 GeForce 7800 GT at PCI:1:0:0:
(--) NVIDIA(0):     CRT-1
(--) NVIDIA(0):     Samsung SyncMaster (DFP-0)
(--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(--) NVIDIA(0): Samsung SyncMaster (DFP-0): 310.0 MHz maximum pixel clock
(--) NVIDIA(0): Samsung SyncMaster (DFP-0): Internal Dual Link TMDS
(II) NVIDIA(0): Assigned Display Device: CRT-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(WW) NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) NVIDIA(0):     from EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
(II) NVIDIA(0): Setting mode "1280x1024"
(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
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
zerox ~ #
#startx output:

Code: Select all

zerox ~ # startx
xauth:  creating new authority file /root/.serverauth.8608

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 i686
Current Operating System: Linux zerox 2.6.17-gentoo-r7 #8 SMP Sun Sep 3 21:05:47 CEST 2006 i686
Build Date: 03 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: Tue Sep  5 00:15:48 2006
(==) Using config file: "/etc/X11/xorg.conf"


waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).
zerox ~ # FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.


xinit:  unexpected signal 2.

zerox ~ #
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Tue Sep 05, 2006 8:30 am

Okey now have I tried all things I can think on and now I don't get
any errors when starting X but my screen is still black.
So now I don't know what to do more.

Can it be something in my -u world that needs to be updated?
Because I don't want to update my whole -u world when
I don't know whats everything does. I meen that I'm don't want
to take any risks to screw up my system.

Code: Select all

Calculating world dependencies... done!
[blocks B     ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)
[ebuild     U ] app-crypt/hashalot-0.3-r2 [0.3-r1]
[ebuild     U ] sys-libs/ncurses-5.5-r2 [5.4-r6]
[ebuild     U ] sys-devel/libperl-5.8.8-r1 [5.8.7]
[ebuild     U ] dev-lang/perl-5.8.8-r2 [5.8.7-r3]
[ebuild  N    ] perl-core/Test-Harness-2.56
[ebuild     U ] app-admin/perl-cleaner-1.04.3 [1.01]
[ebuild  N    ] perl-core/PodParser-1.32
[ebuild     U ] sys-libs/com_err-1.39 [1.38]
[ebuild     U ] sys-libs/ss-1.39 [1.38]
[ebuild     U ] sys-fs/e2fsprogs-1.39 [1.38]
[ebuild     U ] sys-apps/util-linux-2.12r-r3 [2.12r-r1]
[ebuild     U ] sys-apps/kbd-1.12-r6 [1.12-r5]
[ebuild     U ] sys-apps/busybox-1.1.3 [1.00-r4]
[ebuild     U ] sys-process/procps-3.2.6 [3.2.5-r1]
[ebuild     U ] sys-libs/readline-5.1_p4 [5.0-r2]
[ebuild     U ] dev-libs/openssl-0.9.7j [0.9.7e-r2]
[ebuild     U ] dev-lang/python-2.4.3-r1 [2.4.2] USE="-tk%"
[ebuild     U ] sys-devel/flex-2.5.33-r1 [2.5.4a-r6] USE="nls%"
[ebuild     U ] sys-libs/cracklib-2.8.9 [2.8.5]
[ebuild     U ] sys-apps/gawk-3.1.5-r2 [3.1.4-r4]
[ebuild     U ] sys-apps/shadow-4.0.15-r2 [4.0.7-r4]
[ebuild     U ] sys-apps/sed-4.1.4-r1 [4.1.4]
[ebuild     U ] sys-process/psmisc-22.2 [21.9] USE="X%"
[ebuild     U ] sys-devel/m4-1.4.4 [1.4.3]
[ebuild     U ] sys-devel/gnuconfig-20060227 [20051223]
[ebuild     U ] sys-devel/bison-2.1 [1.875d]
[ebuild     U ] sys-apps/module-init-tools-3.2.2-r1 [3.2.1] USE="-no-old-linux%"
[ebuild     U ] sys-apps/file-4.17-r1 [4.13]
[ebuild     U ] sys-devel/autoconf-wrapper-3.2 [3-r1]
[ebuild     U ] net-misc/rsync-2.6.8-r2 [2.6.0-r6] USE="ipv6%"
[ebuild     U ] sys-apps/hdparm-6.3 [5.9]
[ebuild     U ] net-misc/openssh-4.3_p2-r1 [4.2_p1-r1]
[ebuild     U ] sys-fs/udev-087-r1 [079-r1]
[ebuild     U ] sys-apps/less-394 [385_p4-r2]
[ebuild     U ] sys-devel/gcc-config-1.3.13-r3 [1.3.12-r6]
[ebuild  N    ] dev-libs/gmp-4.2.1  USE="-doc -nocxx"
[ebuild  N    ] dev-libs/mpfr-2.2.0_p10
[ebuild  NS   ] sys-devel/gcc-4.1.1  USE="fortran nls -bootstrap -build -doc -gcj -gtk -hardened -ip28 -ip32r10k -mudflap -multislot -nocxx -objc -objc++ -objc-gc -test -vanilla"
[ebuild  N    ] sys-libs/timezone-data-2006g
[ebuild     U ] sys-libs/glibc-2.4-r3 [2.3.5-r2]
Top
avnielknight
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Sat Aug 26, 2006 6:21 pm
Location: USA
Contact:
Contact avnielknight
Website

  • Quote

Post by avnielknight » Tue Sep 05, 2006 1:05 pm

Here is a wild guess...

In reguards to the nvidia drivers alone, the last 2 new copies have had some trouble with EDID and calculating the Horiz and Vert syncs. Fortunatly there are some extra options they have provided to simply ignore some checks that often cause these problems. I had this happen to my Alienware Laptop before...

Try adding this to your xorg.conf

Code: Select all

Option "ModeValidation" "NoMaxPClkCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoEdidMaxPClkCheck"
You can read more about nvidia's modevalidation options here:
Nvidia X Config
Regards,
-Mark Austin
http://www.avnielknight.org
http://www.myspace.com/avnielknight
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Tue Sep 05, 2006 2:40 pm

I have now tried with the line you wrote and some more from
the link you gived me. But with out any progress.

:(

Here is some more output:

Code: Select all

zerox ~ # cat /var/log/Xorg.0.log | grep NVIDIA
(II) Module glx: vendor="NVIDIA Corporation"
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA dlloader X Driver  1.0-8774  Tue Aug  1 20:55:35 PDT 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(==) 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): Option "UseEDID" "FALSE"
(**) NVIDIA(0): Option "ModeValidation" "NoMaxPClkCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoEdidMaxPClkCheck"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Ignoring EDIDs
(II) NVIDIA(0): Not probing EDID on CRT-1.
(II) NVIDIA(0): Not probing EDID on DFP-0.
(II) NVIDIA(0): NVIDIA GPU GeForce 7800 GT at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.70.02.13.00
(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 GeForce 7800 GT at PCI:1:0:0:
(--) NVIDIA(0):     CRT-1
(--) NVIDIA(0):     DFP-0
(--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: 310.0 MHz maximum pixel clock
(--) NVIDIA(0): DFP-0: Internal Dual Link TMDS
(II) NVIDIA(0): Mode Validation Overrides for CRT-1:
(II) NVIDIA(0):     NoMaxPClkCheck
(II) NVIDIA(0):     NoEdidMaxPClkCheck
(II) NVIDIA(0):     NoHorizSyncCheck
(II) NVIDIA(0):     NoVertRefreshCheck
(II) NVIDIA(0): Assigned Display Device: CRT-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(WW) NVIDIA(0): Unable to get display device CRT-1's EDID; cannot compute DPI
(WW) NVIDIA(0):     from EDID.
(**) NVIDIA(0): DPI set to (85, 86); computed from "DisplaySize" Monitor section option
(II) NVIDIA(0): Setting mode "1280x1024"
(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
(**) NVIDIA(0): DPMS enabled
(WW) NVIDIA(0): Option "MonitorLayout" is not used
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
zerox ~ #
Top
XrateR
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Fri Nov 18, 2005 7:10 pm
Location: Sweden
Contact:
Contact XrateR
Website

  • Quote

Post by XrateR » Tue Sep 05, 2006 7:56 pm

Now have I solved it!

It was not the drivers...
And not the xorg.conf...

I simply tried with only 1 monitor in my computer
and then it worked. (I have hade 2 monitors in windows)
Top
avnielknight
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Sat Aug 26, 2006 6:21 pm
Location: USA
Contact:
Contact avnielknight
Website

  • Quote

Post by avnielknight » Tue Sep 05, 2006 9:26 pm

Very good.
Regards,
-Mark Austin
http://www.avnielknight.org
http://www.myspace.com/avnielknight
Top
Post Reply

14 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic