Bug 251588

Summary: x11-drivers/xf86-video-intel: switch to iris by default (like modesetting)
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed FIXED    
Severity: Affects Only Me CC: manu, shuriku, zeising
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: manu: maintainer-feedback+
zeising: maintainer-feedback+
Hardware: Any   
OS: Any   
Bug Depends on: 250307    
Bug Blocks:    
Description Flags
v1 none

Description Jan Beich freebsd_committer 2020-12-04 21:56:10 UTC
Created attachment 220264 [details]

Tested on Skylake via Firefox:
- UXA + DRI2 (default)
- UXA + DRI3
- SNA + DRI2
- SNA + DRI3

$ diff /var/log/Xorg.0.log{.old,}
--- Xorg.0.log.old
+++ Xorg.0.log
@@ -115,7 +115,7 @@ X Protocol Version 11, Revision 0
  (==) intel(0): DPMS enabled
  (==) intel(0): Display hotplug detection enabled
  (II) intel(0): [DRI2] Setup complete
- (II) intel(0): [DRI2]   DRI driver: i965
+ (II) intel(0): [DRI2]   DRI driver: iris
  (II) intel(0): [DRI2]   VDPAU driver: va_gl
  (II) intel(0): direct rendering: DRI2 DRI3 enabled
  (II) intel(0): hardware support for Present enabled
@@ -144,7 +144,7 @@ X Protocol Version 11, Revision 0
  (II) Initializing extension XVideo
  (II) Initializing extension XVideo-MotionCompensation
  (II) Initializing extension GLX
- (II) AIGLX: Loaded and initialized i965
+ (II) AIGLX: Loaded and initialized iris
  (II) GLX: Initialized DRI2 GL provider for screen 0
  (II) Initializing extension XFree86-VidModeExtension
  (II) Initializing extension XFree86-DGA
Comment 1 Emmanuel Vadot freebsd_committer 2020-12-04 22:02:59 UTC
Comment 2 Niclas Zeising freebsd_committer 2020-12-05 11:28:16 UTC
Comment 3 Oleksandr Kryvulia 2020-12-07 08:51:59 UTC
Works well for me (SNA + DRI3).
Comment 4 commit-hook freebsd_committer 2020-12-10 00:42:55 UTC
A commit references this bug:

Author: jbeich
Date: Thu Dec 10 00:42:01 UTC 2020
New revision: 557402
URL: https://svnweb.freebsd.org/changeset/ports/557402

  x11-drivers/xf86-video-intel: switch to iris by default

  modesetting(4x) uses iris on Brodwell and newer, so do the same.

  PR:		251588
  Approved by:	manu, zeising
  Tested by:	Oleksandr Kryvulia

Comment 5 Niclas Zeising freebsd_committer 2020-12-23 19:27:46 UTC
Can this be closed?
Comment 6 Jan Beich freebsd_committer 2020-12-23 20:15:26 UTC
Sure. I waited a bit expecting unique regressions but bug 251836 also affects modesetting.