From owner-freebsd-x11@freebsd.org Mon Mar 20 18:07:36 2017 Return-Path: Delivered-To: freebsd-x11@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 C253BD1405C for ; Mon, 20 Mar 2017 18:07:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C46BE4A for ; Mon, 20 Mar 2017 18:07:36 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [IPv6:2605:e000:1313:b3:223:24ff:fea8:4fb5] (2605:e000:1313:b3:223:24ff:fea8:4fb5 [IPv6:2605:e000:1313:b3:223:24ff:fea8:4fb5]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 0ae2156f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 20 Mar 2017 11:07:34 -0700 (PDT) Subject: Re: Xorg fails w/scfb: Cannot run in framebuffer mode. Please specify busIDs To: Bob Willcox , freebsd-x11@freebsd.org References: <20170320180426.GA73014@rancor.immure.com> From: Pete Wright Message-ID: <216cdbb4-9280-1104-1c2f-83668beffaf0@nomadlogic.org> Date: Mon, 20 Mar 2017 11:07:15 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170320180426.GA73014@rancor.immure.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 18:07:36 -0000 On 03/20/17 11:04, Bob Willcox wrote: > I had to reboot my system this morning (power outage over the weekend forced > it) and now X won't start, failing with these error msgs from the Xorg.log: > > [ 143.327] (EE) open /dev/dri/card0: No such file or directory > [ 143.327] (WW) Falling back to old probe method for modesetting > [ 143.327] (EE) open /dev/dri/card0: No such file or directory > [ 143.327] (WW) Falling back to old probe method for scfb > [ 143.327] scfb trace: probe start > [ 143.327] (II) scfb(1): using default device > [ 143.327] scfb trace: probe done > [ 143.327] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > [ 143.327] (EE) Screen 0 deleted because of no matching config section. > [ 143.327] (II) UnloadModule: "modesetting" > [ 143.327] (EE) > > Fatal server error: > [ 143.327] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices > [ 143.328] (EE) > [ 143.328] (EE) > > This is on an Intel NUC system with a i7-5557U (Broadwell) CPU. The uname -a > output is: > > FreeBSD tavion.austin.ibm.com 10.3-STABLE FreeBSD 10.3-STABLE #3 r315638: Mon Mar 20 11:44:00 CDT 2017 root@tavion.austin.ibm.com:/usr/obj/usr/src/sys/TAVION amd64 > > This system has been running with the scfb frame buffer driver for a couple of > years now with X running fine (if a bit slow). > > I just updated my ports 3/14 to revision 436172. Hadn't rebooted till today. > > I updated the system this morning hoping that would help, but no such luck as > I still get the same failure. > > Note that I am loading the i915kms.ko module as instructed in the > /usr/ports/UPDATING file (have been doing that all along) so it would seem > that I've run into something else. > > Also, reading the FreeBSD wiki for SCFB I added this file in > /usr/local/bin/etc/xorg.conf.d/driver-scfb.conf: > > Section "Device" > Identifier "Card0" > Driver "scfb" > EndSection > > Without any descernable change. On my i7 skylake system I have inserted this like in my xorg.conf: BusID "PCI:0:2:0" This has allowed me to use modesetting, intel and scfb Xorg drivers without issue. I am not sure why X isn't able to autodetect the appropriate BusID though... hope this helps, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA