From owner-freebsd-x11@freebsd.org Tue Mar 13 22:14:40 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 BBC08F553AA for ; Tue, 13 Mar 2018 22:14:40 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C39B78FC2 for ; Tue, 13 Mar 2018 22:14:40 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi0-x233.google.com with SMTP id c12so1069247oic.7 for ; Tue, 13 Mar 2018 15:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=nkm5F/nu0IazcR19DdIEvwStfsNPZTsdVIILfUncAlU=; b=MzdDXyrw9RPNNbf1qMgC5ar+cg4PaSTrYaLhqQqEI9uqwUTu0ZVIcZx0RyWsW5AYIU 2iYgpQqX8xBtHwqj0NfG4HNrLTspfqBgkuc4XULc+CYn6DBv/x+OJojZMih1ZbvgVfG+ AvNfDweuxZ/7d3ZtbbRyxaK5PhW/oRmoJcoqUqUx3r4SWfjCFdskn6vsiQnOpwcgC31K b97PPOfCnmcIVPrLA8s5ND0RP560x37oB75cyZIr3QpPter2iTW3c1l7H8vCi8vsewx9 07rfXgvzsesLIpPwrBhPA8ZYaDmDb4L6XvkER04qqFvgF6PezCCw4u+I6/C2k9wYrU8j fihg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=nkm5F/nu0IazcR19DdIEvwStfsNPZTsdVIILfUncAlU=; b=aftSDKX6S4GHS/a/bD3z2OeMkfKBXPc8dvjChb+xTnDS95amhRNKWcmM0HOE/4uPZZ s7lXVDjMPFbcYHsdwaJONdi03c8lVTJfMkZs8Mn+ix49Bn8zZOTKve4j8g9AD7Ctsv/U /mZZflf8VfRh8Mv3OOvzLQeYMzr7Nt3dywWQ0KAxc3SLPJMR7BFqwT3Z3Oz8WJgddFmG Q31VU4G8ubmjAjYBXgDx4LwPrsaNbXRC+F22BtBAnEXYbkxUBk1QNyn/zBwnclh6r45U Ef4Gt5YHHcbx2KGUOCkUYOcLkqY+UAG5573V58fqaO9VDt4otCZF0JjkKsm6Y+04RKXN kmOg== X-Gm-Message-State: AElRT7GeirpHi3izUiPaDP5JgcHXcZmHruUR5iw4boi8DdEfwbjb2knI zr6BGJQUq2tqtJ5b+NYF1Wk26w== X-Google-Smtp-Source: AG47ELvHnu3slsCSRjYa0czgcoOdseAYBgYI+hkoRNCpsD11Zak09o46QME14n/EAWJkragX7hBWwg== X-Received: by 10.202.76.136 with SMTP id z130mr30144oia.144.1520979279175; Tue, 13 Mar 2018 15:14:39 -0700 (PDT) Received: from jd.gmail.com ([81.174.250.12]) by smtp.gmail.com with ESMTPSA id i83sm729640oih.53.2018.03.13.15.14.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Mar 2018 15:14:38 -0700 (PDT) References: <20180313215858.GA36851@rancor.immure.com> User-agent: mu4e 1.0; emacs 25.3.1 From: Johannes Lundberg To: Bob Willcox Cc: freebsd-x11@freebsd.org Subject: Re: No devices detected when running startx In-reply-to: <20180313215858.GA36851@rancor.immure.com> Date: Tue, 13 Mar 2018 22:14:35 +0000 Message-ID: <86d107tygk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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: Tue, 13 Mar 2018 22:14:41 -0000 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