From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Graunke Subject: Re: [PATCH 0/2 xf86-video-intel] Two DRI3/Present bug fixes for UXA Date: Fri, 12 Sep 2014 12:13:34 -0700 Message-ID: <14277694.1dBmA8vKT4@vakarian> References: <1410383349-27678-1-git-send-email-keithp@keithp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0403138881==" Return-path: In-Reply-To: <1410383349-27678-1-git-send-email-keithp@keithp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: xorg-devel@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0403138881== Content-Type: multipart/signed; boundary="nextPart1566268.knhMNxjGbi"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart1566268.knhMNxjGbi Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday, September 10, 2014 02:09:07 PM Keith Packard wrote: > Here are a couple of small bug fixes which make DRI3/Present work > better with UXA. > > [PATCH 1/2] Do not clear pending kernel events on mode switch > > This patch prevents GL-based compositing managers from wedging when > performing video mode setting. The problem was that DIX was never > receiving notification about page flips being completed when one was > pending across a mode switch. > > [PATCH 2/2] Correct BO allocation alignment > > This patch makes UXA and Mesa agree about how buffers are allocated > for images. Without this, UXA was requiring larger padding, which > meant that converting some textures into pixmaps using DRI3 would > fail. > > -keith > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx Both are: Tested-by: Kenneth Graunke I tested them using DRI3/Present + UXA and DRI3/Present + Glamor on Haswell GT3e. 1. Plug external 2560x1440 DisplayPort monitor into laptop. 2. echo 'exec startkde' > ~/.xinitrc 3. startx 4. xrandr --output DP1 --auto This used to result in DP1 switching to 2560x1440, but KWin getting stuck waiting on a buffer idle event that never came, so you'd only see a 1920x1080 screen in the top left corner of the display, with either black or white bars in the other area. Other than the mouse cursor, nothing worked. With these patches, X works as expected. Thanks for the fixes, Keith! --nextPart1566268.knhMNxjGbi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJUE0XeAAoJEFtb2gcdScw4CLIP/1+XsJRbAwUAQSrsiVLKSut4 xzPQ8Zd16DFAvZApfoEuw6j5VhqFXCTaIM0o97ibaiU/uRezUrG9R81ph8n5Kg46 bvYl3X8eu24ihTCZSSgNswQlkJysjAZrC4KnldkJFJ//79/nmyjGyw5hA6oBUgtv NC0fzxQsnrFCIuwC4lt2RMq8B330yRKIzX5GJhrOblhhxEb3aFYIKlxMUelHZUT9 P0jUW6mX6Stj/40/yz2JuqbM26WiyFXdry8YYfTABeCly3KNnf/R+SDHj0WkXhLn ZmLiylumnE8QUPOhZQ3b3HVB19uCDmhbHM2uD+4Q0LBBzAguC72N9hdy40hAfqN9 5yt5SG6G0NRZcXfufsZd+Aufflf783/g+oNek+EgmSKW29W+pUsX/5ncQEWZgNqN Qjq7GPjQ5Pwidq/eSGW8ueSvpIjVRqh8NEcNtCRR9zGv7NDgpjyOib3X+DVn+TQi rbWYtcCd6TBdaTNHQh18ssXp4/ucmodFHa/1mTuooAW5TnLvCgGVjkXiJ2hFcqRF kdvDDG+Yyvp8KM7Qmqq1wtofZSmbJwxH4aZZw3OcxMxoG+K+m6crCoxkgEkHAFSj epJsno6rOyIGpUpUYEt6r6vhvYF5HrzCsFynOgQD2Np9VAHb+lPT9xZO1IUb8Sqx 3hgIuuq8ksG9SuBzfkLh =CwQF -----END PGP SIGNATURE----- --nextPart1566268.knhMNxjGbi-- --===============0403138881== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0403138881==--