Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 18:40:08 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   X won't start
Message-ID:  <20151203174008.GA98937@becker.bs.l>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

on my new notebook I am not able to start X. This is really
annoying.

First I tried to generate an xorg.conf file. This ended in
an error message:

  # X -configure
  [...]
  (++) Using config file: "/root/xorg.conf.new"
  (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
  Number of created screens does not match number of detected devices.
    Configuration failed.
  (EE) Server terminated with error (2). Closing log file.

The file "xorg.conf.new" was still written. It contains a
section:

  Section "Device"
      Identifier  "Card0"
      Driver      "intel"
      BusID       "PCI:0:2:0"
  EndSection

I compare that with the output of this command:

  # pciconf -lv | grep -A 4 vga
  vgapci0@pci0:0:2:0:     class=0x030000 card=0x803a103c chip=0x16068086 rev=0x08 hdr=0x00
      vendor     = 'Intel Corporation'
      device     = 'Broadwell-U Integrated Graphics'
      class      = display
      subclass   = VGA

Looks good, doesn't it? Besides that, Linux on the same
machine uses the "intel" driver successfully.

When I start X using the newly generated configuration file,
I get another error message:

  # X -config /root/xorg.conf.new
  [...]
  (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  3 17:45:00 2015
  (++) Using config file: "/root/xorg.conf.new"
  (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
  (EE)
  Fatal server error:
  (EE) no screens found(EE)
  (EE)
  Please consult the The X.Org Foundation support
           at http://wiki.x.org
   for help.
  (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
  (EE)
  (EE) Server terminated with error (1). Closing log file.


But when I start X without a config file, I starts up but
is not very usable.

  # X
  [...]
  (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  3 17:49:55 2015
  (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
  failed to set mtrr: Invalid argument

Neither keyboard nor mouse (touchpad) work. When I ssh into
the machine in a second window, programs like "xterm" start.
The graphics get updated as I can see by starting "xclock".

In the window I started X from I cannot end it using
Ctrl-C. Neither can I kill it from the other ssh with a TERM
signal. Only "kill -s KILL" works. Besides that, I cannot
switch back to the console using Ctrl-Alt-F1, altough
"kern.vty=vt" is set in "/boot/loader.conf".

/var/log/Xorg.0.log has >700 lines with serveral EE. One
line says:

  (II) LoadModule: "vesa"

What is going on here and what can I do to run X some day?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20151203174008.GA98937>