LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Xorg fails to start (http://www.linuxquestions.org/questions/debian-26/xorg-fails-to-start-905578/)

freeindy 09-29-2011 06:00 AM

Xorg fails to start
 
Hi,

I have newly fresh installed Debian 6 on a machine that contains intel integrated gm45 chipset. The screen is Elo ET1925L (which is causing problems with the intel driver).

I have been trying various settings and testing from the web but have not been successful success. Any info or help would be appreciated.

Thanks,
Indy

The lpci gives following info on the chipset:
Code:

00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: f0500000-f05fffff
        Prefetchable memory behind bridge: 0000000040000000-00000000401fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
        Subsystem: EKF Elektronik GmbH CCM-BOOGIE
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
        Subsystem: EKF Elektronik GmbH CCM-BOOGIE
        Flags: bus master, fast devsel, latency 0
        Memory at f0400000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>


The xorg.conf is as following:
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
#      FontPath    "/usr/share/fonts/X11/cyrillic"
        FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/100dpi"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath    "built-ins"
EndSection

Section "Module"
        Load  "dri2"
        Load  "dbe"
        Load  "record"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        # 60 Hz
        Modeline "640x480"  25.20  640 656 752 800  480 490 492 525
        Modeline "800x600"  40.00  800 840 968 1056  600 601 605 628
        Modeline "1024x768"  65.00  1024 1048 1184 1344  768 771 777 806
        Modeline "1152x864"  81.58  1152 1216 1336 1520  864 865 868 895
        Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066
        #70 Hz ?
#      Modeline "720x400"  28.32  720 738 846 900  400 412 414 449
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "AccelMethod"              # [<str>]
        #Option    "DRI"
[        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"            # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"          # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"          # [<bool>]
        #Option    "DebugFlushBatches"        # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName  "Mobile 4 Series Chipset Integrated Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth    16
        SubSection "Display"
          Viewport  0 0
            Depth    16
            Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndsubSection
        SubSection "Display"
          Viewport  0 0
            Depth    24
            Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        EndsubSection
        # 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

And the output I get from the Xorg log is:
Code:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.29-dsa-ia32 i686 Debian
Current Operating System: Linux BOOGIE 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=b3203405-efa8-4103-aee0-44e9b6bc2a25 ro
Build Date: 19 February 2011  02:37:36PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.16.4
        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 Sep 29 12:39:49 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |  |-->Monitor "Monitor0"
(**) |  |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
        Entry deleted from font path.
(**) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        built-ins,
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        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 Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x81ecca0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(--) using VT number 9

(--) PCI:*(0:0:2:0) 8086:2a42:e4bf:cc4d Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf00
00000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2a43:e4bf:cc4d Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf04
00000/1048576
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.7, 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: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.7.7, 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"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(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: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 2.13.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge
(II) Primary Device is: PCI 00@00:02:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(**) intel(0): Depth 16, (--) framebuffer bpp 16
(==) intel(0): RGB weight 565
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) GM45
(--) intel(0): Chipset: "GM45"
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): video overlay key set to 0x83e
(II) intel(0): Output VGA1 using monitor section Monitor0
(II) intel(0): Output DVI1 has no monitor section
(II) intel(0): Output DVI2 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output DVI1
(II) intel(0): EDID for output DVI2
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output DVI1 disconnected
(II) intel(0): Output DVI2 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output DVI1 disconnected
(II) intel(0): Output DVI2 disconnected
(WW) intel(0): Unable to find initial modes
(II) intel(0): Kernel page flipping support detected, enabling
(EE) intel(0): No modes.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found


cynwulf 09-29-2011 06:45 AM

Remove that xorg.conf, you shouldn't need it at all and it may be the source of the problem. Then reboot and repost your Xorg.0.log as follows:

Code:

grep WW /var/log/Xorg.0.log
Code:

grep EE /var/log/Xorg.0.log

freeindy 09-29-2011 07:18 AM

Hi Caravel,

That's what I had in the beginning and it was giving pretty much the same. Anyhow, I removed the file and the warning and errors are:

Code:

(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(WW) intel(0): No outputs definitely connected, trying again...
(WW) intel(0): Unable to find initial modes
(EE) open /dev/fb0: No such file or directory
(EE) intel(0): No modes.
(EE) Screen(s) found, but none have a usable configuration.


cynwulf 09-29-2011 07:48 AM

It doesn't look like it's being detected at all. How is the monitor connected, by DVI or VGA? Is it directly connected, i.e. is a KVM switch used?

You may need a manual configuration but first you need to know the monitor's horizontal and vertical sync ranges.

jdkaye 09-29-2011 07:48 AM

Can you post the output of this command:
Code:

lspci -k |grep -A3 VGA
ciao,
jdk

freeindy 09-29-2011 08:03 AM

Caravel:
Yeah, that's my dilemma. It's not being detected at all. If I boot it with a dell screen, it works. And if I then connect to my Elo screen. it works as well. But If I then reboot it, same problem occures.
The connection is DVI, directly i.e. NO KVM in between.
The vsync and hsync values I got by using another machine with nouveau driver. That's why I had the xorg.conf added to /etc/X11/.

jdkaye:
Hi, here is the output:
Code:

$ lspci -k |grep -A3 VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
        Subsystem: EKF Elektronik GmbH CCM-BOOGIE
        Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


jdkaye 09-29-2011 08:46 AM

Thanks. As Caravel says, it seems to be a monitor issue.
jdk

cynwulf 09-29-2011 10:06 AM

I don't see horizsync and vertrefresh parameters in the monitor section of the xorg.conf file you posted in your first post?

//edit: Just out of interest, what is the model of the PC?

freeindy 09-30-2011 03:05 AM

jdkaye: thanks for trying

Caravel:
The hardware info is: http://www.ekf.de/c/ccpu/ccm/ccm_e.html but modified to Intel(R) Celeron(R) CPU 723 @ 1.20GHz processor.
I added the hsync and vfresh as to following:

Code:

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31 - 80
        VertRefresh  56 - 75

        # 60 Hz                                                               
        Modeline "640x480"  25.20  640 656 752 800  480 490 492 525
        Modeline "800x600"  40.00  800 840 968 1056  600 601 605 628
        Modeline "1024x768"  65.00  1024 1048 1184 1344  768 771 777 806
        Modeline "1152x864"  81.58  1152 1216 1336 1520  864 865 868 895
        Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066
        #70 Hz ?                                                               
#      Modeline "720x400"  28.32  720 738 846 900  400 412 414 449           
EndSection

running startx gives the output:
Code:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) intel(0): No outputs definitely connected, trying again...
(WW) intel(0): Unable to find initial modes
(EE) intel(0): No modes.
(EE) Screen(s) found, but none have a usable configuration.

To me, there is no change is there. My confusion is why does it work with another PC with nouveau driver but not with intel. It points more to intel driver yet I can't find any info on this.

cynwulf 09-30-2011 05:19 AM

It does point to the intel driver. The fact that it still goes no further than this lot is quite telling:

Code:

(WW) intel(0): No outputs definitely connected, trying again...
(WW) intel(0): Unable to find initial modes
(EE) intel(0): No modes.
(EE) Screen(s) found, but none have a usable configuration.

I would suggest that you add the backports repo, install the 2.6.39 kernel and all of the xorg packages (in particular xserver-xorg-video-intel and xserver-xorg-core, which should pull in the rest of it anyway) from there.

You should then, once again get rid of the xorg.conf file, reboot, start x and post up Xorg.0.log again.

freeindy 09-30-2011 09:06 AM

Thanks for your help Caravel,

I just gave up :-(. I have another screen (touchscreen) that I can use so I'm using that now. I can't be bothered anymore I'm afraid.

Once again, thanks.
Indy

cynwulf 09-30-2011 10:10 AM

No problem, if you feel like giving it another go, try install what I suggested from backports, if you get exactly the same problem then I would suspect the cable. Some of the cable pinouts on those touchscreens can be unusual as well.


All times are GMT -5. The time now is 02:50 AM.