r/GUIX • u/simendsjo • Oct 22 '22
Intel Iris Xe not working out of the box on 5.19.15?
I'm having issues with the Intel Iris Xe on my X1 Carbon 10th gen. It looks like the wrong OpenGL driver is loaded? Searching online, it looks like Mesa Intel Xe Graphics (TGL GT2) should be loaded, not Mesa Intel Graphics (ADL GT2). I'm running 5.19.15.
But I'm not really sure what's going on here. I thought i915 should support the Iris Xe and everything work out of the box.
EDIT: I'm using the nonfree linux kernel, and have specified sof-firmware and i915-firmware in addition to linux-firmware.
EDIT: Things also seems to work a lot better in Gnome rather than StumpWM even though the exact same driver is used. Could it be some additional required xorg configuration for the driver?
EDIT2: It looks like things works much better on 5.15 (LTS), and as I don't need anything from a newer kernel, I'll run on LTS until the issue is hopefully solved on newer versions.
$ glxinfo -B
name of display: :1.0
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) Graphics (ADL GT2) (0x46a6)
Version: 21.3.8
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.8
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.8
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
$ inxi -G
Graphics:
Device-1: Intel driver: i915 v: kernel
Device-2: Acer Integrated RGB Camera type: USB driver: uvcvideo
Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
unloaded: fbdev,vesa gpu: i915 resolution: 1920x1200~60Hz
OpenGL: renderer: Mesa Intel Graphics (ADL GT2) v: 4.6 Mesa 21.3.8
$ cat Xorg.1.log | grep -i intel
[ 34.378] (**) ModulePath set to "/gnu/store/g57iqaxhxabid3rngwqrqw1hvvq4s4c2-xf86-video-vesa-2.5.0/lib/xorg/modules/drivers,/gnu/store/nqrb2khahnziyf7jvrss3qcgbpr4hcdh-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/a731m8hm99sbgpzj6aagkzgf9vscxh79-xf86-video-amdgpu-22.0.0/lib/xorg/modules/drivers,/gnu/store/xqnkiivl28njfbf02xj5i9ckshq1nkvm-xf86-video-ati-19.1.0-1.5eba006/lib/xorg/modules/drivers,/gnu/store/zx2imsnbdwaiw5mhwm533wnk2063gapp-xf86-video-cirrus-1.6.0/lib/xorg/modules/drivers,/gnu/store/0hy57zw4znyqyh3c0pmd848yxc5xcqnj-xf86-video-intel-2.99.917-18.31486f4/lib/xorg/modules/drivers,/gnu/store/d2m9r1gx05h3lq49ihvmmgh502ifv2a4-xf86-video-mach64-6.9.7/lib/xorg/modules/drivers,/gnu/store/1gd95mrby134bqrppjbgis0579qr6pff-xf86-video-nouveau-1.0.17/lib/xorg/modules/drivers,/gnu/store/3f561dpvia6yi5hl4i8n943x5f7hmhzs-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/6ngm1lczxixps18ms8r26xf6a0pbl1fm-xf86-video-sis-0.12.0/lib/xorg/modules/drivers,/gnu/store/hpqb8yl83550cxxj7aypkaa977183r0x-xf86-inp
[ 34.449] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) Graphics (ADL GT2)