intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Can't start X headless
@ 2012-07-16  8:18 Chris
  2012-07-16  8:23 ` Chris Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Chris @ 2012-07-16  8:18 UTC (permalink / raw)
  To: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

Hi All,

I am trying desperately to find a working X config that would allow me
to leverage the intel driver without a monitor being plugged in
(Headless). We need to do some opengl rendering which are later saved
on the disk as images and the jobs are executed on servers which by
nature are headless.

For reference, the server has an intel HD 2000 IGPU and I am using
Ubuntu 12.04 LTS with the latest intel driver (2.19.0).
I have tried everything I could think of without success.
Always end up with:

[3661641.967] (EE) No devices detected.
[3661641.967] Fatal server error: no screens found

I used to have an nvidia card and their driver had an option to bypass
any probing of the monitor in the case of headless usage. Ati has
something similar as well. From the list of options for the intel
driver, it does not look like it actually exist or it's not documented.

As anyone been able to run the intel driver without any monitor ?
I have attached both my xorg conf and the associated xorg.log

Thanks in advance for your help !

[-- Attachment #2: xorg.log --]
[-- Type: application/octet-stream, Size: 11453 bytes --]

X.Org X Server 1.11.3
Release Date: 2011-12-16
[3661641.850] X Protocol Version 11, Revision 0
[3661641.850] Build Operating System: Linux 2.6.42-26-generic x86_64 Ubuntu
[3661641.850] Current Operating System: Linux dev.magelo.com 3.2.13-grsec-xxxx-grs-ipv6-64 #1 SMP Thu Mar 29 09:48:59 UTC 2012 x86_64
[3661641.851] Kernel command line: BOOT_IMAGE=/boot/bzImage-3.2.13-xxxx-grs-ipv6-64 root=/dev/md1 ro text nomodeset
[3661641.851] Build Date: 09 July 2012  11:30:07PM
[3661641.851] xorg-server 2:1.11.4-0ubuntu10.5 (For technical support please see http://www.ubuntu.com/support)
[3661641.851] Current version of pixman: 0.24.4
[3661641.851]   Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[3661641.851] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[3661641.853] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 16 05:18:54 2012
[3661641.854] (++) Using config file: "./xorg.conf"
[3661641.854] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[3661641.854] (==) ServerLayout "X.org Configured"
[3661641.854] (**) |-->Screen "Default Screen" (0)
[3661641.854] (**) |   |-->Monitor "Headless"
[3661641.854] (**) |   |-->Device "IGPU"
[3661641.854] (**) Option "AutoAddDevices" "false"
[3661641.854] (**) Option "AutoEnableDevices" "false"
[3661641.854] (**) Not automatically adding devices
[3661641.854] (**) Not automatically enabling devices
[3661641.854] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[3661641.854]   Entry deleted from font path.
[3661641.854] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[3661641.854] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[3661641.854] (==) |-->Input Device "Mouse0"
[3661641.854] (==) |-->Input Device "Keyboard0"
[3661641.854] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the first mouse device.
[3661641.854] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the first keyboard device.
[3661641.854] (II) Loader magic: 0x7fa9bc9b5b00
[3661641.854] (II) Module ABI versions:
[3661641.854]   X.Org ANSI C Emulation: 0.4
[3661641.854]   X.Org Video Driver: 11.0
[3661641.854]   X.Org XInput driver : 16.0
[3661641.854]   X.Org Server Extension : 6.0
[3661641.855] (--) PCI:*(0:0:2:0) 8086:0102:8086:2002 rev 9, Mem @ 0xfe000000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[3661641.866] (II) Open ACPI successful (/var/run/acpid.socket)
[3661641.866] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[3661641.866] (II) LoadModule: "glx"
[3661641.866] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[3661641.866] (II) Module glx: vendor="X.Org Foundation"
[3661641.866]   compiled for 1.11.3, module version = 1.0.0
[3661641.866]   ABI class: X.Org Server Extension, version 6.0
[3661641.866] (==) AIGLX enabled
[3661641.866] (II) Loading extension GLX
[3661641.866] (II) LoadModule: "dri2"
[3661641.866] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[3661641.866] (II) Module dri2: vendor="X.Org Foundation"
[3661641.866]   compiled for 1.11.3, module version = 1.2.0
[3661641.866]   ABI class: X.Org Server Extension, version 6.0
[3661641.866] (II) Loading extension DRI2
[3661641.866] (II) LoadModule: "extmod"
[3661641.867] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[3661641.867] (II) Module extmod: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 1.0.0
[3661641.867]   Module class: X.Org Server Extension
[3661641.867]   ABI class: X.Org Server Extension, version 6.0
[3661641.867] (II) Loading extension MIT-SCREEN-SAVER
[3661641.867] (II) Loading extension XFree86-VidModeExtension
[3661641.867] (II) Loading extension XFree86-DGA
[3661641.867] (II) Loading extension DPMS
[3661641.867] (II) Loading extension XVideo
[3661641.867] (II) Loading extension XVideo-MotionCompensation
[3661641.867] (II) Loading extension X-Resource
[3661641.867] (II) LoadModule: "dri"
[3661641.867] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[3661641.867] (II) Module dri: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 1.0.0
[3661641.867]   ABI class: X.Org Server Extension, version 6.0
[3661641.867] (II) Loading extension XFree86-DRI
[3661641.867] (II) LoadModule: "dbe"
[3661641.867] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[3661641.867] (II) Module dbe: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 1.0.0
[3661641.867]   Module class: X.Org Server Extension
[3661641.867]   ABI class: X.Org Server Extension, version 6.0
[3661641.867] (II) Loading extension DOUBLE-BUFFER
[3661641.867] (II) LoadModule: "record"
[3661641.867] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[3661641.867] (II) Module record: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 1.13.0
[3661641.867]   Module class: X.Org Server Extension
[3661641.867]   ABI class: X.Org Server Extension, version 6.0
[3661641.867] (II) Loading extension RECORD
[3661641.867] (II) LoadModule: "intel"
[3661641.867] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[3661641.867] (II) Module intel: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 2.19.0
[3661641.867]   Module class: X.Org Video Driver
[3661641.867]   ABI class: X.Org Video Driver, version 11.0
[3661641.867] (II) LoadModule: "mouse"
[3661641.867] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[3661641.867] (II) Module mouse: vendor="X.Org Foundation"
[3661641.867]   compiled for 1.11.3, module version = 1.7.1
[3661641.867]   Module class: X.Org XInput Driver
[3661641.867]   ABI class: X.Org XInput driver, version 16.0
[3661641.867] (II) LoadModule: "kbd"
[3661641.885] (WW) Warning, couldn't open module kbd
[3661641.888] (II) UnloadModule: "kbd"
[3661641.888] (II) Unloading kbd
[3661641.888] (EE) Failed to load module "kbd" (module does not exist, 0)

[3661641.888] (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 Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2)
[3661641.891] (--) using VT number 8

[3661641.966] (EE) No devices detected.
[3661641.966] (==) Matched intel as autoconfigured driver 0
[3661641.966] (==) Matched vesa as autoconfigured driver 1
[3661641.966] (==) Matched fbdev as autoconfigured driver 2
[3661641.966] (==) Assigned the driver to the xf86ConfigLayout
[3661641.966] (II) LoadModule: "intel"
[3661641.966] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[3661641.966] (II) Module intel: vendor="X.Org Foundation"
[3661641.966]   compiled for 1.11.3, module version = 2.19.0
[3661641.966]   Module class: X.Org Video Driver
[3661641.966]   ABI class: X.Org Video Driver, version 11.0
[3661641.966] (II) UnloadModule: "intel"
[3661641.966] (II) Unloading intel
[3661641.966] (II) Failed to load module "intel" (already loaded, 32681)
[3661641.966] (II) LoadModule: "vesa"
[3661641.966] (WW) Warning, couldn't open module vesa
[3661641.966] (II) UnloadModule: "vesa"
[3661641.966] (II) Unloading vesa
[3661641.966] (EE) Failed to load module "vesa" (module does not exist, 0)
[3661641.966] (II) LoadModule: "fbdev"
[3661641.967] (WW) Warning, couldn't open module fbdev
[3661641.967] (II) UnloadModule: "fbdev"
[3661641.967] (II) Unloading fbdev
[3661641.967] (EE) Failed to load module "fbdev" (module does not exist, 0)
[3661641.967] (II) LoadModule: "mouse"

[3661641.967] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[3661641.967] (II) Module mouse: vendor="X.Org Foundation"
[3661641.967]   compiled for 1.11.3, module version = 1.7.1
[3661641.967]   Module class: X.Org XInput Driver
[3661641.967]   ABI class: X.Org XInput driver, version 16.0
[3661641.967] (II) LoadModule: "kbd"
[3661641.967] (WW) Warning, couldn't open module kbd
[3661641.967] (II) UnloadModule: "kbd"
[3661641.967] (II) Unloading kbd
[3661641.967] (EE) Failed to load module "kbd" (module does not exist, 0)
[3661641.967] (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 Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2)
[3661641.967] (++) using VT number 8

[3661641.967] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[3661641.967] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[3661641.967] (EE) No devices detected.
[3661641.967]
Fatal server error:
[3661641.967] no screens found
[3661641.967]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.

[-- Attachment #3: xorg.conf --]
[-- Type: application/octet-stream, Size: 2850 bytes --]

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Default Screen"
        Option "AllowEmptyInput" "true"
        Option "AutoAddDevices" "false"
        Option "AutoEnableDevices" "false"
EndSection

#Section "Files"
#       ModulePath   "/usr/lib/xorg/modules"
#       FontPath     "built-ins"
#EndSection

Section "Module"
        Load  "glx"
        Load  "dri2"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
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   "Headless"
        Option "IgnoreEDID"
        HorizSync       30.0 - 72.0
        VertRefresh     50.0 - 160.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "DRI"                       # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "Shadow"                    # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "RelaxedFencing"            # [<bool>]
        #Option     "BufferCache"               # [<bool>]

        Identifier  "IGPU"
        Driver      "intel"
        BusID       "PCI:0:2:0"

        Option "DDC" "false"
        Option "FallbackDebug" "true"
        #Option "monitor-VGA" "Headless"
        Option "HotPlug"  "false"

EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "IGPU"
        Monitor    "Headless"
        Option "UseEDID" "FALSE"
        DefaultDepth  24
        SubSection "Display"
                Depth     24
                Modes   "800x600@60"
        EndSubSection
EndSection

[-- Attachment #4: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't start X headless
  2012-07-16  8:18 Can't start X headless Chris
@ 2012-07-16  8:23 ` Chris Wilson
  2012-07-16 19:51   ` Adam Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2012-07-16  8:23 UTC (permalink / raw)
  To: Chris, intel-gfx

On Mon, 16 Jul 2012 16:18:19 +0800, Chris <tlvenn@gmail.com> wrote:
> Hi All,
> 
> I am trying desperately to find a working X config that would allow me
> to leverage the intel driver without a monitor being plugged in
> (Headless). We need to do some opengl rendering which are later saved
> on the disk as images and the jobs are executed on servers which by
> nature are headless.
> 
> For reference, the server has an intel HD 2000 IGPU and I am using
> Ubuntu 12.04 LTS with the latest intel driver (2.19.0).
> I have tried everything I could think of without success.
> Always end up with:
> 
> [3661641.967] (EE) No devices detected.
> [3661641.967] Fatal server error: no screens found

This implies that it wasn't able to detect the Intel GPU at all. Can you
please attach your dmesg and lspci? You may need to tweak your BIOS in
case it is hiding the iGPU.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't start X headless
  2012-07-16  8:23 ` Chris Wilson
@ 2012-07-16 19:51   ` Adam Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Jackson @ 2012-07-16 19:51 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1581 bytes --]

On Mon, 2012-07-16 at 09:23 +0100, Chris Wilson wrote:
> On Mon, 16 Jul 2012 16:18:19 +0800, Chris <tlvenn@gmail.com> wrote:
> > Hi All,
> > 
> > I am trying desperately to find a working X config that would allow me
> > to leverage the intel driver without a monitor being plugged in
> > (Headless). We need to do some opengl rendering which are later saved
> > on the disk as images and the jobs are executed on servers which by
> > nature are headless.
> > 
> > For reference, the server has an intel HD 2000 IGPU and I am using
> > Ubuntu 12.04 LTS with the latest intel driver (2.19.0).
> > I have tried everything I could think of without success.
> > Always end up with:
> > 
> > [3661641.967] (EE) No devices detected.
> > [3661641.967] Fatal server error: no screens found
> 
> This implies that it wasn't able to detect the Intel GPU at all. Can you
> please attach your dmesg and lspci? You may need to tweak your BIOS in
> case it is hiding the iGPU.

Well, no, the intel driver didn't bind because the OP booted into a
configuration that can't possibly work:

> [3661641.851] Kernel command line: BOOT_IMAGE=/boot/bzImage-3.2.13-xxxx-grs-ipv6-64 root=/dev/md1 ro text nomodeset

'nomodeset' -> no kms -> no intel driver.

Once you've fixed that, if things still don't work, refer to the static
multihead configuration guide here:

http://intellinuxgraphics.org/dualhead.html

and just pick an output to enable; or, force it one on the kernel
command line by saying "video=VGA-1:e" to force it to be considered
"enabled".

- ajax

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-16 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-16  8:18 Can't start X headless Chris
2012-07-16  8:23 ` Chris Wilson
2012-07-16 19:51   ` Adam Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).