From owner-freebsd-x11@freebsd.org Mon Dec 7 13:34:14 2015 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 C5D3B9A01E2 for ; Mon, 7 Dec 2015 13:34:14 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (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 34A2413A4 for ; Mon, 7 Dec 2015 13:34:13 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.4.17]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0LfSYr-1acYvl32Nt-00p3QY for ; Mon, 07 Dec 2015 14:34:04 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a5vvX-000JOW-Sm for freebsd-x11@freebsd.org; Mon, 07 Dec 2015 14:34:03 +0100 Date: Mon, 7 Dec 2015 14:34:03 +0100 From: Bertram Scharpf To: freebsd-x11@freebsd.org Subject: Trying to run Broadwell Message-ID: <20151207133403.GB73105@becker.bs.l> Mail-Followup-To: freebsd-x11@freebsd.org References: <20151203174008.GA98937@becker.bs.l> <20151203222137.GA1111@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:uRIsROC/J323aodTk/GBorG7L1/ei863yxPN83O4ELyENbhVSb/ Q/GMoQAPvxR47Qa54gS8aWB7iVVxynb2QjMo+QueGw98du4iRBXjmQL+an899RgZRGWm0KT Ikk4+01rDzNwALp2PCm9y367OeZuQfRxgXVu6j6gyD56KMPE0dwXUp4eW8TYyCahUH7tACF IK4ieffpppE9jDAA5Vnxg== X-UI-Out-Filterresults: notjunk:1;V01:K0:PqjKffvBAYg=:f3CKlK/GElcqzsViIreFCx BUYvpg4k9e3OwcI6iFNkKI3DA67YWlQlYqWBJp11MNUucyt1OwvOWQQM0SYE7a8VfoiWdhwqs hHCURdep7aoAuN1lmMdEcJAsf+zuHUhWBvAjonV3DupGL1Mv+0ow0CTu/776cpsZ6/e0ylWMj IOz2KfXGjrEKcpBFS6CpfPB+3zJbtgGbVtf1U9zJq9D8sYPUIpNE7eqdSJ0c022Z2Y6DhTpYc OFgIa+Ovm3NN1ltSeZVW1VMR/m9zgmhzrjA15kOcpJHRsaOxxiP+6lTzHAU++9UADGM6SEJoD T3+gFWAR/QLH+s8O55P1xKlfuN4ybOiqEH3PRcu11E7UabrCpKyfciRG45Lg9MFYCvhCzQ2aX s7SMGhh6yTnj7wMP4nWiOPME00/ShlGGX8zCMdOiiPeqJRZo4y7wr257evI6i78sJAmqQB2DQ GoDwFnDqaNtvBoL3beNQinpWcSRAJmcTkSHYIprwPwhXQiTIrMUo/L8epfLp4UOe+m04VKEcu kVyGK9kupFMuAvqg/lGGXYA297yTozyIU60eCvI4YUutDkqdtX1l/1BUZh/Md7MsG1T6LgcSm 9eRzL4vsHsGVIIHPhbDU6A6yvXIYq/0OZiIMLjKo1P92opyn4GwM/fwBRFUJyuL5ovtwDolNg PH3PKoAZsPzuT4DVB74AHs6I4RvTRWt0oqw5s04t+NoimwayTAdtXXxs//mYa4LVk7Eo= X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 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, 07 Dec 2015 13:34:15 -0000 Hi, this is from freebsd-questions: On Thursday, 03. Dec 2015, 16:31:05 -0600, Adam Vande More wrote: > On Thu, Dec 3, 2015 at 4:21 PM, Bertram Scharpf wrote: > > On Thursday, 03. Dec 2015, 13:42:25 -0700, Warren Block wrote: > > > On Thu, 3 Dec 2015, Bertram Scharpf wrote: > > > > > > > > Section "Device" > > > > Identifier "Card0" > > > > Driver "intel" > > > > BusID "PCI:0:2:0" > > > > EndSection > > > > > > > > # 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. > > > > > > Broadwell is not yet supported by the intel driver version in FreeBSD. > > > At present, vesa must be used. > > > > What does "not yet"/"at present" mean? Is there currently > > work on it? I would not mind to contribute, not least > > because I now own an excellent testing environment. > > I believe broadwell is covered in the 3.8 update. > https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux%203.8 # kldload i915kms kldload: can't load i915kms: No such file or directory Kernel messages from dmesg: info: [drm] Initialized drm 1.1.0 20060810 link_elf: symbol mchdev_lock undefined sysctl_unregister_oid: failed to unregister sysctl I cannot find the symbol "mchdev_lock" in any file but "i915kms.ko". There is no definition of the variable in the source tree. I have a running Gentoo Linux 4.1.12 here. There, in the kernel sources I find a definition of "mchdev_lock". Could that be easily copied into the FreeBSD kernel module source file? At the moment I'm fetching the 3.8 sources. I'm planning to first compare the two kernel versions, then to compare one of them to the above source tree. Is this approach okay? Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de