From owner-freebsd-questions@freebsd.org Thu Dec 3 17:40:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12D26A4026A for ; Thu, 3 Dec 2015 17:40:18 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDEF197D for ; Thu, 3 Dec 2015 17:40:16 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.6.128]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MBZzS-1ZxM3K47fy-00AUM9 for ; Thu, 03 Dec 2015 18:40:09 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4XrU-000PnU-AD for freebsd-questions@freebsd.org; Thu, 03 Dec 2015 18:40:08 +0100 Date: Thu, 3 Dec 2015 18:40:08 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: X won't start Message-ID: <20151203174008.GA98937@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:SZsgghz4y0Efqt4CmIE+uExaDjEtJMrX5+TwhOrQ9q88J938+ap OvBsASxMk9+FgROYxLXwU4I6gZpa/0z/6TvGwlrVnf+kmAbsdG0Sy4SOzx+Acat0Ah0iA6L FopKZdp78knrTXRCILo76V07TqV5jlsQsz/svHr1rmAGbYpL6OC9oCDTPdPSIUBZVqy73wX DfTigI78avRh5yC72UTBg== X-UI-Out-Filterresults: notjunk:1;V01:K0:YsLqHOrj+14=:wugh5hX7AnQlx+dKVW1SgH elk5qiHmuj7Bb96aWD4QHYD9AH3LWP0Mt9M+skxKqMfNI6CQ4jO4sCRMmrtf3KlsBegOHGIrM /oF87pgEGDf6H8jV1AZek373ziDcnJQVX7ViwEBRvPti9WXZr38b6Sfh92c5ZlyrT4YaQs+J+ DrGcAKeCNjO7dLeuMxwScPDUpnrnxAmxKjF2K5rTr5nWB6wYlUuaVn9XCFRCMvosAANiscsKv ofhD/dkdGvCUsymS5VEzKyn74ARq2F7HUA8zjtoXDtqnvgDMDaCDz2GKSKKpqF58XoY8rogET 16wUKCWDiHkHqb2pdO5m6Py0KbshWERbm4lX0kyLQHNPjhUaiZmLWoidB0WftDMygCirQGuVz aRzhYk7T4JXDm1GEElATVt5Vips/8t1nOsiGoIv7eGsLidNdSzAkjlrIcZkCxXSIA6WXlFYq8 0XBmCPUuheC80XQ3WI8XacRDXE4hFU8gdxVbXLP5WKnhHTF401FN2pqrPBkCLwp5FWATMRcVx AxReh5ag6dzt5VI0h8WoPbMsc1k/t7qawfhiWQu6Uxie6mgMt/YCNjeexO7ws2tcSlO6QMQas /XE9BC9U8+0HJYcw0kfKI3PPm6fpa6vE8E2Egqx2vrV1pVW/LuNg0wGTsxJHiRk9v4TKc2rD0 btAT9fG8+QmVmXgN9K0S2UBZoPGQaf8G/sOYHNrpn8f7y+2OuKvvYgZwL6HTHHjXJWqA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 17:40:18 -0000 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