From owner-freebsd-x11@freebsd.org Thu Feb 9 18:36:59 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 EB775CD446D for ; Thu, 9 Feb 2017 18:36:59 +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 BAB28A75 for ; Thu, 9 Feb 2017 18:36:59 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [10.44.139.220] (nat-192-187-90-115.nat.tribpub.com [192.187.90.115]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id a1ecf30e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO for ; Thu, 9 Feb 2017 10:36:58 -0800 (PST) Subject: Re: CFT upgrade to xorg 1.18.4 and newer intel/ati DDX To: freebsd-x11@freebsd.org References: <20170123235516.o5lvu3sfwq5r5tsq@ivaldir.etoilebsd.net> <2B5DEE7F-6775-4966-94BC-9B56D3C8CDF9@FreeBSD.org> <070ea259-45d6-0e13-bffa-e014129f5a81@gmail.com> From: Pete Wright Message-ID: <50db5a48-bccc-ccc3-1445-de0ff39ece27@nomadlogic.org> Date: Thu, 9 Feb 2017 10:36:57 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <070ea259-45d6-0e13-bffa-e014129f5a81@gmail.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: Thu, 09 Feb 2017 18:37:00 -0000 On 02/09/2017 10:29, Theron wrote: > On 02/08/17 20:25, Jonathan Anderson wrote: >> On 23 Jan 2017, at 20:25, Baptiste Daroussin wrote: >> >>> Do not expect newer gpu supported as this is not the kernel part. >>> >>> If you experience any issue with intel or radeon driver please try >>> to use the >>> new modesetting driver provided by xorg directly (note that fedora >>> and debian >>> recommands to use that new driver instead of the ati/intel one) >> This is working well for me together with the drm-next changes from >> https://github.com/FreeBSDDesktop/freebsd-base-graphics. In fact, >> with recent drm-next bits, I can even suspend and resume with my >> Skylake notebook, something that has rarely worked before, and >> applications that used to crash deterministically (e.g., Thunderbird >> when opening an OAuth window) are now working fine. Overall, this is >> a very nice experience! >> >> Thank you! >> >> >> Jon >> -- >> Jonathan Anderson >> jonathan@FreeBSD.org > I am using this same configuration on a notebook with Intel Skylake > and it is working similarly well. With the -video-intel, my system > would reliably freeze up upon any operation seeming to involve lots of > screen updates, such as window resizing and video. With modesetting > these issues are gone. My system now runs reliably without image > corruption, freezes, or panics. Suspend and resume are also working. > The only two things that are missing are backlight control and GLX. > The error is > (II) AIGLX: Screen 0 is not DRI2 capable > (EE) AIGLX: reverting to software rendering > So I suspect I made a mistake somewhere in building the ports and need > to redo this. > I have working DRI accel using modesetting+glamor using the patches in this CFT. here is my working poudriere ports list i build against if it helps: x11/xorg x11/dri3proto x11-servers/xorg-server x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11-drivers/xf86-video-intel emulators/virtualbox-ose-additions emulators/virtualbox-ose-kmod graphics/libdrm graphics/mesa-demos www/chromium interestingly enough - chromium now works with this setup as well - where before i was having lots of crashes and rendering issues with that pkg. IIRC the issue you are seeing was due to my libdrm not being built against the updated xorg. Cheers, -pete