X windows won't produce any displays on my Dell Latitude E6500

Sean McClain sean.mcclain.dc3.sw at gmail.com
Wed Mar 10 14:17:40 PST 2010


Hello,

I'm a long time lfs user who recently compiled CLFS, and was working
through cblfs.

Most of the advice I got on how to configure my kernel, video card,
etc. came from the Gentoo instructions for my hardware, which can be
found here

en.gentoo.wiki.com/wiki/Dell_Latitude_E6x00

When I actually got everything working, and tried to run X windows,
everything was going seemingly smoothly, but I got a blank screen.
It wasn't hard locked and I could ctrl+alt+f1 and kill xorg, but it
was still dissappointing.

I did some homework and believe the problem is related to kernel
modesetting. I have modesetting enabled by default for the i915 driver
in the kernel.

My pastebin is here
http://pastebin.com/t5p4sx3v

and has my Xorg.0.log, kernel config file, the outpout of Xorg
-configure, the output of lspci, and the drivers I have installed

One of the biggest reasons for my switching to this kernel, is that it
finally supports a lot of my hardware natively, including my wireless
driver. Not having to use ndiswrapper with my broadcom modem is
wonderful, and while I still can't run in master mode yet, it's nice
having
the possibility on the horizon. More directly related to X-windows,
when I used kernel 2.6.22.19, and didn't set 'Options "NoAccel"
"True"'
X windows would completely hard-lock my computer as soon as anything
tried to use acceleration.

I still have my old OS, with X windows on it, so an acceptable
solution would be to tell me where to look if I wanted to set up Xvfb
and a VNC.
That, of course, means getting Xvfb working; it won't and gives me the
following error

Fatal server error:
no screens found

I've done everything I can think of and have reached the limit of what
I know to look for (which wasn't very much to begin with). I have no
idea
how to track down and solve this problem.

Here are all the configure flags I passed to all the xorg packages;
I'm just going to cut and paste directly from my build script so
please
ignore the env vars etc

    XTRA_OPTS=""
    case $dir in
      install-check)
        mv $XORG_PREFIX/{share,lib}/pkgconfig/xorg-macros.pc
        ;; # install-check
      libXau)
        mv $XORG_PREFIX/{share,lib}/pkgconfig/xtrans.pc
        ;; # libXau

      x11proto)
        export ACLOCAL="aclocal -I $XORG_PREFIX/share/aclocal"
        ;; # x11proto

      libX11)
        XTRA_OPTS="--with-xcb"
        XTRA_OPTS+=" --enable-secure-rpc"
        XTRA_OPTS+=" --enable-loadable-i18n"
        XTRA_OPTS+=" --enable-xlocaledir"
        ;; # libX11

      libFS|libICE|libSM|libXmu)
        XTRA_OPTS="--enable-tcp-transport"
        XTRA_OPTS+=" --enable-IPv6"
        ;; # libFS

      libXpm-3.5.7)
        XTRA_OPTS="--enable-stat-zfile"
        ;; # libXpm

      libXfont-1.4.0)
        XTRA_OPTS="--enable-type1"
        XTRA_OPTS+="--enable-tcp-transport"
        XTRA_OPTS+="--enable-IPv6"
        ;; # libXfont

      drm)
        export LD_LIBRARY_PATH=$XORG_PREFIX/lib:$LD_LIBRARY_PATH
        export LD_RUN_PATH=$XORG_PREFIX/lib:$LD_RUN_PATH
        export CFLAGS=-march=i686
        XTRA_OPTS="--enable-intel"
        ;; # drm

      mesa)
        export X11_INCLUDES=$(pkg-config --cflags-only-I x11)
        export CFLAGS=${X11_INCLUDES}
        export CPPFLAGS=${CFLAGS}
        export EXTRA_LIB_PATH=$(pkg-config --libs-only-L x11)
        export LDFLAGS=${EXTRA_LIB_PATH}
        export DRI_DRIVER_INSTALL_DIR=${XORG_PREFIX}/lib/xorg/modules/dri
        export LIB_DIR=lib
        export DRI_DIRS=swrast
        XTRA_OPTS="--enable-glx-tls"
        XTRA_OPTS+=" --enable-xcb"
        XTRA_OPTS+=" --enable-gallium-intel"
        XTRA_OPTS+=" --with-x"
        XTRA_OPTS+=" --with-expat"
        XTRA_OPTS+=" --with-egl-displays=kms,x11"
        XTRA_OPTS+=" --x-includes=${CFLAGS}"
        XTRA_OPTS+=" --x-libraries=${EXTRA_LIB_PATH}"
        ;; # mesa

      xserver)
        MESA_SOURCE="$BUILD_ROOT/lib/mesa"
        XTRA_OPTS="--enable-xorg"
        XTRA_OPTS+=" --enable-dmx"
        XTRA_OPTS+=" --enable-xvfb"
        XTRA_OPTS+=" --disable-xnest"
        XTRA_OPTS+=" --disable-xwin"
        XTRA_OPTS+=" --disable-xprint"
        XTRA_OPTS+=" --disable-xorgcfg"
        XTRA_OPTS+=" --enable-builddocs"
        XTRA_OPTS+=" --enable-glx-tls"
        XTRA_OPTS+=" --with-doxygen"
        XTRA_OPTS+=" --with-mesa-source=$MESA_SOURCE"
        ;; #xserver
    esac



More information about the xorg mailing list