maintainer-feedback requested: [Bug 277437] x11-drivers/xf86-video-intel GT2 Iris graphics on an Alderlake apu impossible not-to-fail.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Mar 2024 22:34:11 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 277437: x11-drivers/xf86-video-intel GT2 Iris graphics on an Alderlake apu
impossible not-to-fail.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277437



--- Description ---
I have a Levono all-in-one that is Alderlake based. It was free. Anyways, I
upgraded to -CURRENT because I needed drm 6.1.	After doing so, the following
error occurred:

[ 2832.541] (II) Initializing extension DRI2
[ 2832.542] (EE) intel(0): intel_uxa_set_pixmap_bo: size of buffer object does
not match constraints: size=8388608, must be greater than 8294400, but less
than 4194304
[ 2832.542] (EE)
Fatal server error:
[ 2832.542] (EE) failed to create screen resources(EE) 

... so I need this buffer to be simultaneously more than 8 meg and less than 4
meg.

The system recognises the video as follows:

[drm] Got Intel graphics stolen memory base 0x4b800000, size 0x4000000
drmn0: <drmn> on vgapci0
drmn0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[drm] Initialized i915 1.6.0 20201103 for drmn0 on minor 0
VT: Replacing driver "efifb" with new "drmfb".
VT: Replacing driver "efifb" with new "drmfb".
start FB_INFO:
height=1080 width=1920 depth=32
pbase=0x4000200000 vbase=0xfffffe014d830000
name=drmn0 id=i915drmfb flags=0x0 stride=7680
end FB_INFO 

The pciconf -lv:

hostb0@pci0:0:0:0: class=0x060000 rev=0x02 hdr=0x00 vendor=0x8086 device=0x4621
subvendor=0x17aa subdevice=0x375a
vendor = 'Intel Corporation'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:0:2:0: class=0x030000 rev=0x0c hdr=0x00 vendor=0x8086
device=0x46a6 subvendor=0x17aa subdevice=0x375a
vendor = 'Intel Corporation'
device = 'Alder Lake-P GT2 [Iris Xe Graphics]'
class = display
subclass = VGA

and...

FreeBSD strike.daveg.ca 15.0-CURRENT FreeBSD 15.0-CURRENT #4
main-n268303-3733d82c4deb: Thu Feb 15 00:57:53 EST 2024    
root@strike.daveg.ca:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

I've attached an xorg.0.log for the moment when I got it working.