From owner-freebsd-x11@freebsd.org Sat Oct 28 18:32: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 6FD2EE4A106 for ; Sat, 28 Oct 2017 18:32:36 +0000 (UTC) (envelope-from tom.b.rushworth@gmail.com) Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com [IPv6:2607:f8b0:400e:c00::22b]) (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 3DC8E7C3C2 for ; Sat, 28 Oct 2017 18:32:36 +0000 (UTC) (envelope-from tom.b.rushworth@gmail.com) Received: by mail-pf0-x22b.google.com with SMTP id z11so7398898pfk.4 for ; Sat, 28 Oct 2017 11:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:subject:references:to:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=sOdfff8LvikxIH0eaGWlHlaSZGWG1z3BEKAZVMxHNcM=; b=kGNSDfVgL/iQDBf9yqqRYHvpjf6JwHc0EK2eam9udZG2FaBl6Sr72KsOCaLz9l98Zf lt6JLq+5bMKPU+fLLZ12V2mfwaRx6o8QOsu4LKt39noAki8w9r3ZgCkyOjxKBdjUFfmm NrfNyG+LkSNcu7zY22/GSUW0PyxdmflgIRtQRn/PR4C0gyvjOeIowpQE1nfH9m3GHFT8 6ZQ3qvVTUsg/0kBdfN8DR5ToQ3V5LojDIEFgyPXyd8igFanB/Y+vx0QS8tLGw+PIY6np l2uYA2G89G0GgwbGE//NncJ1mByg1OqwyFLkkNDOYpBdQON1mQEJNAeec0svJIL5Lyui +lzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:references:to:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=sOdfff8LvikxIH0eaGWlHlaSZGWG1z3BEKAZVMxHNcM=; b=hpsv+RmjpgVX/OjfHgDzEFvTi/GMDkzXCHRFnhdlCUKnT4rmYSJeLJc44z8XbG/9Xp MEEQ4496sKQoGWslyYe8Ft2UB089qq1gYkrKUn7fMRvZwFg6GZDJtDJAesJFp+BilJ6k njBrKxLQfdsotAGop5tTJSB0w8EKsqngSkw5IRunwlyVAepsmhdDE1663u9J32dNd6mi ir3HxBrIxQ8/hCDjESbNiC8C0bV1q1m2akjZe5ZlbGvJdyCmnuib2ekTz40PQQejPsGT xkb6RT/UxMkr9vxqHU/67CDWL1ygnxQTvX74tXhXDMbuq9hrnYg7Aa0+dR/r9GC/yMd+ oKUg== X-Gm-Message-State: AMCzsaURpoZIkfXhvdq40lfWy0VmW/KHE9LoD8eKQGebvMvzMdOT8mNy 1EbU1gv85JK3Wz+s2ApFw5yCSA== X-Google-Smtp-Source: ABhQp+Q7g814ZTG/vH2NNb92GO0GDW4AR21LBqCvSfVpu9f1G3ZdmXa+L213MqUk90WYbMy0pCivlQ== X-Received: by 10.101.86.136 with SMTP id v8mr3627045pgs.412.1509215555462; Sat, 28 Oct 2017 11:32:35 -0700 (PDT) Received: from kelvin.mannynkapy.net ([207.102.139.9]) by smtp.gmail.com with ESMTPSA id s83sm21872861pfg.104.2017.10.28.11.32.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Oct 2017 11:32:34 -0700 (PDT) Reply-To: tbr@acm.org Subject: Success: Re: Iris Pro P6300 intel X11 driver (was Re: intro) References: <696fb5ea-e1bf-d7c2-004a-eb4eb2af43d7@nomadlogic.org> <201710230617.v9N6HgIW013185@sdf.org> To: freebsd-x11@freebsd.org From: Tom Rushworth Message-ID: Date: Sat, 28 Oct 2017 11:32:34 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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: Sat, 28 Oct 2017 18:32:36 -0000 Hi All, On 23/10/2017 02:40, Greg V via freebsd-x11 wrote: > On 10/23/2017 09:17, Scott Bennett wrote: > >> Tom Rushworth wrote: >> >>> Problem summary: new machine with Intel Iris Pro P6300 graphics, FreeBSD >>> 11 runs in console mode but I can't get an X server running. >>> [snip] >>> The good news is that there is a working intel driver for the Iris Pro >>> P6300. >>> >>> Thanks for the help and suggestions - I'll update again if I figure out >>> the plain FreeBSD-12 setup. > > The new graphics drivers (drm-next) are available as a port now, instead > of the fork: > https://github.com/FreeBSDDesktop/kms-drm > https://www.freshports.org/graphics/drm-next-kmod > > Just install graphics/drm-next-kmod, configure rc.conf to load it like > the post-install message says, and reboot. > In Xorg, you can try both intel (SNA) and modesetting (Glamor) drivers. > modesetting tends to have hard-to-defeat screen tearing, but it's fast, > lightweight and reliable. This does the job. The X server now drives all 3 grapics outputs without any problems that I've noticed. For the record, the hardware is a CompuLab AirTop with an Intel Iris Pro P6300 grapics chip (i.e i915). I updated the kernel to: uname -a --> FreeBSD maxwell.mannynkapy.net 12.0-CURRENT FreeBSD 12.0-CURRENT #1 r324944: Mon Oct 23 20:52:58 PDT 2017 root@maxwell.mannynkapy.net:/usr/obj/usr/src/sys/GENERIC amd64 and fetched an up to date /usr/ports, where: root@maxwell:/usr/ports/graphics/drm-next-kmod # cat distinfo TIMESTAMP = 1507314617 SHA256 (FreeBSDDesktop-kms-drm-g20171006-63426fd_GH0.tar.gz) = 4ccc9237dde238d28a2a5fc57d62531b994d1c8f0ac1e5a07976636b1923927f SIZE (FreeBSDDesktop-kms-drm-g20171006-63426fd_GH0.tar.gz) = 6677599 Then I did a 'make install' and followed the directions about rc.conf and /etc/group, and the X server came up in working order with the default configuration. I notice that TrueOS has a config file for the X server, but the only difference from the default built in one seems to be that the default loads a few extra drivers, then sees they aren't needed and unloads them. Thanks everyone for a pleasant, instructive, and successful experience! If anyone has further questions about the hardware or configuration I'm using, feel free to ask. Regards, -- Tom Rushworth