From owner-freebsd-x11@freebsd.org Wed Mar 14 21:59:35 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7DFCF4CB2F for ; Wed, 14 Mar 2018 21:59:35 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (108-84-10-9.lightspeed.austtx.sbcglobal.net [108.84.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darth.immure.com", Issuer "darth.immure.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6506D78F8E for ; Wed, 14 Mar 2018 21:59:35 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.15.2/8.15.2) with ESMTPS id w2ELxQlD041204 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 14 Mar 2018 16:59:26 -0500 (CDT) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.15.2/8.15.2/Submit) id w2ELxQOY041203; Wed, 14 Mar 2018 16:59:26 -0500 (CDT) (envelope-from bob) Date: Wed, 14 Mar 2018 16:59:26 -0500 From: Bob Willcox To: Johannes Lundberg Cc: freebsd-x11@freebsd.org Subject: Re: No devices detected when running startx Message-ID: <20180314215926.GB39982@rancor.immure.com> Reply-To: Bob Willcox References: <20180313215858.GA36851@rancor.immure.com> <86d107tygk.fsf@gmail.com> <20180314030936.GH71303@rancor.immure.com> <20180314145951.GA39982@rancor.immure.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180314145951.GA39982@rancor.immure.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 21:59:36 -0000 Hmm, I did notice this in my Xorg.0.log: (EE) intel(0): Failed to submit rendering commands (Bad address), disabling acceleration. Should I be worried? Looks like I may not be running with GPU acceleration enabled. Thanks, Bob On Wed, Mar 14, 2018 at 09:59:51AM -0500, Bob Willcox wrote: > Ok, simply placing the module_path specification into my /boot/loader.conf > file didn't work. The /boot/kernel versions of drm and i915kms were what was > loaded. Howerver placing this in my rc.conf file: > > kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" > > did work so I'm back up with X again...thanks! > > Bob > > On Tue, Mar 13, 2018 at 10:09:36PM -0500, Bob Willcox wrote: > > Thanks Johannes, I will try this out tomorrow when I get into the office. > > > > Bob > > > > On Tue, Mar 13, 2018 at 10:14:35PM +0000, Johannes Lundberg wrote: > > > > > > Bob Willcox writes: > > > > > > > I have updated my 12.0 current system to 330866 today and am trying to get X > > > > to run again. I had been running the drm-next version for sometime now and > > > > since the drm-next-kmod port had been merged into the ports tree and it had > > > > been almost a year since I last updated this system I thought it would be wise > > > > to update. > > > > > > > > Unfortunately it's not been going well so far. I rebuilt and installed the > > > > latest kernel, updated all the ports, and installed the graphics/drm-next-kmod > > > > port but still no joy. > > > > > > > > > > Hi > > > > > > Sorry to hear that. We do need to improve the documentation and > > > instructions. > > > > > > What does 'kldstat -v' say? The kernel modules from ports are installed to > > > /boot/modules and it is common that the old version that comes with the > > > kernel in /boot/kernel is loaded instead. > > > > > > There are several ways to make sure that the correct modules are > > > loaded. I put this in my /boot/loader.conf: > > > > > > module_path="/boot/modules;/boot/dtb;/boot/overlays" > > > > > > This will make sure that modules are loaded from /boot/modules first, > > > and then /boot/kernel if they are not found in the first locations. > > > > > > To load modules automatically, put in /etc/rc.conf > > > > > > kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" > > > > > > or simply > > > > > > kld_list="i915kms" > > > > > > if you specified module_path. > > > > > > > > > > > > > > My system is an Intel NUC with this hardware configuration: > > > > > > > > CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (3092.91-MHz K8-class CPU) > > > > Origin="GenuineIntel" Id=0x306d4 Family=0x6 Model=0x3d Stepping=4 > > > > Features=0xbfebfbff > > > > Features2=0x7ffafbbf > > > > AMD Features=0x2c000800 > > > > AMD Features2=0x121 > > > > Structured Extended Features=0x21c27ab > > > > XSAVE Features=0x1 > > > > VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID > > > > TSC: P-state invariant, performance statistics > > > > real memory = 17179869184 (16384 MB) > > > > avail memory = 16482922496 (15719 MB) > > > > > > > > > > > > Here's what I get in the Xorg.0.log file when I run startx: > > > > > > > > [ 49.100] (EE) No devices detected. > > > > [ 49.101] (EE) > > > > Fatal server error: > > > > [ 49.101] (EE) no screens found(EE) > > > > [ 49.101] (EE) > > > > Please consult the The X.Org Foundation support > > > > at http://wiki.x.org > > > > for help. > > > > [ 49.101] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. > > > > [ 49.101] (EE) > > > > [ 49.101] (EE) Server terminated with error (1). Closing log file. > > > > > > > > > > > > My devices section in /etc/X11/xorg.conf is this: > > > > > > > > Section "Device" > > > > Identifier "Card0" > > > > Driver "intel" > > > > BusID "PCI:0:2:0" > > > > EndSection > > > > > > > > and the 'pciconf -lv' ouput for the graphics adapter is: > > > > > > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x20578086 chip=0x162b8086 rev=0x09 hdr=0x00 > > > > vendor = 'Intel Corporation' > > > > device = 'Iris Graphics 6100' > > > > class = display > > > > subclass = VGA > > > > > > > > My 'uname -a' output: > > > > > > > > FreeBSD tavion.austin.ibm.com 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r330866: Tue Mar 13 15:26:12 CDT 2018 bob@tavion.austin.ibm.com:/usr/obj/usr/src/amd64.amd64/sys/TAVION amd64 > > > > > > > > Any help would be greatly appreciated as this is my workstation in the office > > > > and I really need X Windows to work. > > > > > > > > Thanks, > > > > Bob > > > > -- > > Bob Willcox | The amount of flak received on any subject is inversely > > bob@immure.com | proportional to the subject's true value. > > Austin, TX | > > -- > Bob Willcox | The amount of flak received on any subject is inversely > bob@immure.com | proportional to the subject's true value. > Austin, TX | > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Bob Willcox | The amount of flak received on any subject is inversely bob@immure.com | proportional to the subject's true value. Austin, TX |