Bug 21301

Summary: Got a black screen with >= 1.6.0
Product: xorg Reporter: nicolas <nicolyon>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: highest CC: nicolyon
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Script for compiling Xorg
none
Xorg config generated by xorg -configure
none
trace file
none
trace file none

Description nicolas 2009-04-20 08:39:21 UTC
When i start X with the version >= 1.6.0 i got a blank screen with no cursor as if the monitor was in sleep mode.
I try some drivers ( vesa, fbdev, nv ).

I try to connect to the X server from antother computer by using export DISPLAY it crash.

[17:26:09 root@nico ~]# gdb --args /usr/X11R7/bin/X -config /root/xorg.conf.new :2
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...
(gdb) run
Starting program: /usr/X11R7/bin/X -config /root/xorg.conf.new :2
[Thread debugging using libthread_db enabled]

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29.1-atl-smp x86_64 
Current Operating System: Linux nico.intra-links.dev 2.6.29.1-atl-smp #1 SMP Thu Apr 16 20:26:42 CEST 2009 x86_64
Build Date: 20 April 2009  04:52:27PM
 
        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.2.log", Time: Mon Apr 20 17:26:25 2009
(++) Using config file: "/root/xorg.conf.new"
[New Thread 0x7ff84a9146f0 (LWP 20597)]
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
syntax error: line 1 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Error interpreting include file "pc"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ff84a9146f0 (LWP 20597)]
0x00000000005a0f14 in damageRemoveDamage (pPrev=0x7365747562, pDamage=0x98f780) at damage.c:1697
1697        while (*pPrev)
(gdb) quit
The program is running.  Exit anyway? (y or n) y


X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29.1-atl-smp x86_64 
Current Operating System: Linux nico.intra-links.dev 2.6.29.1-atl-smp #1 SMP Thu Apr 16 20:26:42 CEST 2009 x86_64
Build Date: 20 April 2009  04:52:27PM
 
        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.2.log", Time: Mon Apr 20 17:27:21 2009
(++) Using config file: "/root/xorg.conf.new"
syntax error: line 1 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Error interpreting include file "pc"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

Backtrace:
0: X(xorg_backtrace+0x2d) [0x52f265]
1: X(xf86SigHandler+0x8d) [0x498b6b]
2: /lib/libc.so.6 [0x7f6850c9aab0]
3: X [0x5a0f14]
4: X(DamageUnregister+0x97) [0x5a1883]
5: /usr/X11R7/lib/xorg/modules//libshadow.so(shadowRemove+0x52) [0x7f684f74d907]
6: /usr/X11R7/lib/xorg/modules//libshadow.so [0x7f684f74d557]
7: X [0x504d00]
8: X [0x512851]
9: X [0x51a87e]
10: X [0x4ba583]
11: /usr/X11R7/lib/xorg/modules/drivers//vesa_drv.so [0x7f684fd94441]
12: X [0x494621]
13: X [0x56e201]
14: X [0x4b5c20]
15: X [0x4b37e5]
16: X [0x54b790]
17: X [0x597e3a]
18: X [0x5434b9]
19: /usr/X11R7/lib/xorg/modules/extensions//libglx.so [0x7f684ffe3576]
20: X(main+0x60b) [0x42c920]
21: /lib/libc.so.6(__libc_start_main+0xe3) [0x7f6850c8711f]
22: X [0x42c259]

Fatal server error:
Caught signal 11.  Server aborting
Comment 1 nicolas 2009-04-20 08:48:54 UTC
Created attachment 24966 [details]
Script for compiling Xorg

export PACK_VERSION=7.4 &&
export MESA_VERSION=7.4 &&
tar jxf MesaLib-${MESA_VERSION}.tar.bz2 &&
tar jxf MesaGLUT-${MESA_VERSION}.tar.bz2 &&
tar jxf MesaDemos-${MESA_VERSION}.tar.bz2 &&
cd Mesa-${MESA_VERSION} &&
sed -i configs/linux-dri* -e "s@/usr/X11R6@/usr/X11R7@g" -e "s/-DHAVE_ALIAS/& -DGLX_USE_TLS/" &&
sed -i 's@X11R6/lib/modules@X11R7/lib/xorg/modules@' configs/default &&
sed -i 's@X11R6/lib/modules@X11R7/lib/xorg/modules@' src/glx/x11/dri_glx.c &&
cd .. &&
export CONFFLAGS='--sysconfdir=/etc --datadir=/usr/share --mandir=/usr/X11R7/man --localstatedir=/var --with-cursorpath="\~/.cursors:/usr/share/cursors" --with-mapdir=/usr/share/fonts/util --with-fontdir=/usr/share/fonts
 --with-top-fontdir=/usr/share/fonts --with-encodingsdir=/usr/share/fonts/encodings' &&
export xorg_server='--enable-nptl --enable-glx-tls --enable-ipv6 --enable-dri --enable-dmx --enable-xvfb --enable-xnest --enable-composite --enable-xcsecurity --enable-xorg --enable-xtrap --enable-xevie --disable-xprint --with-dri-driver-path=/usr/X11R7/lib/dri' &&
/src/scripts/build-X11R7 -m $PWD/Mesa-${MESA_VERSION} -lzma /usr/X11R7
Comment 2 nicolas 2009-04-20 08:49:33 UTC
Created attachment 24967 [details]
Xorg config generated by xorg -configure
Comment 3 nicolas 2009-04-20 08:57:12 UTC
Created attachment 24968 [details]
trace file

The screen stay black a the line 17048 of the strace file and after this line i try to launch a program on the display from another computer.
Comment 4 nicolas 2009-04-20 09:04:44 UTC
Created attachment 24969 [details]
trace file

The screen stay black a the line 18565 of the trace file after this line i try to launch some program on the display from another computer
Comment 5 debguy 2014-11-28 01:19:19 UTC
every Xorg i've tried does that if you don't use open/fail as seen below.  why don't ask me (there is no fail in the logs)

00000000000000000000000

welcome to why you should be running telnet so you can get it back !

sometimes blind typeing gets it back

alt-leftarrow (linux key) change to prev virt term
ctrl-alt-backpace (xorg - but changed recently?) close down Xorg

after you do the above you may be at virtual terminal and not see plain text.  if that is so blind type:

$chvt 1
$vbetool vbemode set 3
$vbetool dpms on

if that didn't work and your telnet'ed in.  keep trying you'll most likely get it back.

---------------------

every Xorg i've tried does that if you don't use open/fail as seen below.  why don't ask me (there is no fail in the logs)

that's right.  your logs say mouse ok, you get black screen, but mouse is ok, but when you allow mouseopen fail: you see the bright shiny login

Section "ServerFlags"
        # use ctrl-alt-div to grab keyboard back
        Option "AllowDeactivateGrabs" "on"
        Option "AllowClosedownGrabs" "on"
        Option "AllowMouseOpenFail" "on"
        Option "AllowEmptyInput" "off"
EndSection

------------------------------
be careful to be sure you have right /usr/share/X11/xkb/

if your no X wiz kid, you need to install an X login suite such as xdm-options, kdm, gdm, (others).  which set file perms, start services, so that X login is running

that's right: if you try to run X as root without stuff setup: expect a black screen

-----------------------------
really this isn't a bug posting.  you didn't show your logs, your version, machine your running, anything you've gone through to resolve

there are many linux forums to ask new questions

leave bug tracking system for real repeatable bugs, ones that are not simply due to lack of reading and or participating in online discussions
Comment 6 debguy 2014-11-28 01:24:59 UTC
if your compiling then

1) at runtime it needs a T symbol (see nm(1) ) and crashes without a coherent message


2) you linked but some .o were out of date.  or you installed into a 1/2 and 1/2 old and new directory.  (ie, mv /usr/local /usr/local.old ; # now install all )

3) you have an off-brand video card (likely not reason why) try 'vesa' driver see if that works

after that it , in Xorg.0.log you should see keyboard and mouse

if you have no keyboard mouse after video driver, i'd guess it crashed upon opening, which tells you nearly what is missing.
Comment 7 Adam Jackson 2018-06-12 16:52:53 UTC
Please file a new bug if you still see issues with 1.20.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.