Levono all-in-one Intel Alderlake X problems.

I got an Levono All-in-one for free and I want FreeBSD on it for the shop. All was good until working with X. On the advice of a few on irc, I advanced to -CURRENT to get drm 6.1

Some details:

[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

Note that with DRM 515 on 14-R, it would lock up loading drm, so this is progress.

The hardware says this from 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

X -configure generated a fairly generic xorg.conf, which I put in /usr/local/etc/X11/xorg.conf.d and I try to launch X.

The error I get is:

[ 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)

Which is amusing ... the memory must be more than 8M while also being less than 4M.

Xorg.0.log at https://termbin.com/mwgi
dmesg.boot at https://termbin.com/gbqe

Help?
 
I'm currently running a lenovo laptop with the Raptor lake P.
The best compromise I found was to move to current to access the drm 6.1
which works in a decent way with my configuration.
Hope it works for you.

 
DRM 6.1 should be available on a recent 14-STABLE now.

Code:
.if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500008 || ( ${OSVERSION} >= 1400508 && ${OSVERSION} < 1500000 ))
IGNORE=		not supported on older than 14-STABLE 1400508, no kernel support
.endif
 
Back
Top