00:03YuGiOhJCJ: hello, I am on a Dell Latitude 3140 and lspci told me that the graphics card is an Intel 46d0: https://dgpu-docs.intel.com/devices/hardware-table.html can you tell me which mesa DRI module is supposed to be loaded for this GPU please?
00:09Kayden: >> git grep 46d0 include/
00:09Kayden: include/pci_ids/iris_pci_ids.h:CHIPSET(0x46d0, adl_n, "ADL-N", "Intel(R) Graphics")
00:09Kayden: looks like that's a Gen12 Alderlake system that should use iris_dri.so
00:18YuGiOhJCJ: thanks but if I try to force in xorg.conf.d: Driver "iris", it is not found but it seems that this is not a driver but an option like here: https://wiki.archlinux.org/title/Intel_graphics but when I set: Driver "intel" then: Option "DRI" "iris", I get an error "failed to submit rendering commands" then "could not open default font"...
00:20Kayden: The xf86-video-intel 2D driver doesn't support that GPU AFAIK.
00:20Kayden: You'll want to be using the "modesetting" xorg driver
00:20Kayden: which is included with the X server
00:21Kayden: modesetting uses glamor (OpenGL) for acceleration, which should load libEGL.so and use the EGL_MESA_query_driver extension to ask the EGL implementation which DRI driver to load. if your libEGL.so is pointing at Mesa, it should respond with iris and load it automatically
00:22Kayden: that should also work out of the box without any xorg.conf...
00:24YuGiOhJCJ: when I try with: Driver "modesetting", I get the following error in the Xorg.0.log file: "[ 2622.305] (EE) modeset(0): [DRI2] No driver mapping found for PCI device 0x8086 / 0x46d0"
00:27Kayden: that's odd. does eglinfo | grep driver show "EGL driver name: iris" and "EGL_MESA_query_driver"?
00:29YuGiOhJCJ: "eglinfo" is not available on my system
00:29Kayden: ah, it's from the mesa-utils package if you're on arch
00:30Kayden: (just guessing since you cited the arch wiki)
00:30YuGiOhJCJ: I am on Slackware
00:30Kayden: ah
00:30YuGiOhJCJ: but yeah ok it is supposed to be part of Mesa
00:31Kayden: it's built from the mesa demos repo actually
00:32YuGiOhJCJ: ok
00:32YuGiOhJCJ: I'll try to get it
00:33Kayden: I guess another question would be, do you have libEGL.so from glvnd and libEGL_mesa.so from Mesa?
00:33YuGiOhJCJ: I only took glxinfo and glxgears last time I built the package from source, that's why
00:33Kayden: I don't think it should hit that driver map path unless egl is not working.
00:34Kayden: (we never added anything iris or crocus to the xserver...it just asks libEGL)
00:39YuGiOhJCJ: /usr/lib64/libEGL.so and /usr/lib64/libEGL_mesa.so are present indeed, part of mesa-23.0.3 package
00:40Kayden: hmm :(
00:47YuGiOhJCJ: ok I ran "eglinfo" and I see a lot of lines
00:47YuGiOhJCJ: wait I have to grep it
00:48YuGiOhJCJ: wow I see some permission denied, should I run it as root?
00:48YuGiOhJCJ: "libEGL warning: failed to open /dev/dri/card0: Permission denied"
00:48Kayden: what are the permissions on /dev/dri/* ?
00:49YuGiOhJCJ: maybe I should be member of the group video
00:49Kayden: on arch you need to be in the video and render groups
00:49Kayden: not sure about slack
00:49Kayden: but yeah, probably just missing a group
00:49YuGiOhJCJ: "crw-rw---- 1 root video 226, 0 May 18 2025 /dev/dri/card0"
00:49Kayden: renderD128 would also be used by a lot of things
00:49YuGiOhJCJ: I'll add myself to the "video" group
00:49YuGiOhJCJ: then try again
00:50Kayden: (card0 is usually used by things wanting to own the monitor outputs, renderD128 by programs that want to render things)
00:54YuGiOhJCJ: wait, in fact the permission problem is only seen when I do "eglinfo | grep driver" from ssh, when I do it on the host directly I have no output at all
00:54YuGiOhJCJ: oops
00:55YuGiOhJCJ: no I did not type it correctly on the host
00:55YuGiOhJCJ: that's why
00:55YuGiOhJCJ: ok I see "iris"
00:55YuGiOhJCJ: as expected
00:57YuGiOhJCJ: in fact, if I don't specify anything in xorg.conf.d, it tries to load the old deprecated amber driver: "[ 4637.905] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/i965_dri.so failed (/usr/lib64/xorg/modules/dri/i965_dri.so: cannot open shared object file: No such file or directory)"
00:58YuGiOhJCJ: that's why I prefer to add a conf file to xorg.conf.d
00:59Kayden: odd... it shouldn't
00:59YuGiOhJCJ: I guess it's because my xorg is a bit old
01:00Kayden: I wrote the handling for all of this in 2019 though :/
01:02YuGiOhJCJ: lol and my xorg-server is 1.19.7 from 2019: https://www.x.org/releases/individual/xserver/
01:02Kayden: yikes
01:03YuGiOhJCJ: do you think it is too old to work correctly?
01:04Kayden: I'll admit, this isn't something I've devoted any thinking to
01:06YuGiOhJCJ: if only I could upgrade xorg-server only but I guess I will have to upgrade all its dependencies too :(
01:07YuGiOhJCJ: better to upgrade from slackware 14.2 to 15.0
01:12YuGiOhJCJ: is there not a generic VGA driver that could work during this time?
01:12YuGiOhJCJ: I don't really need big performances
01:24YuGiOhJCJ: is there a reason for the big jump in version numbers between xorg-server-1.20.14 (2021) and xorg-server-21.1.0 (2021)?
01:30Kayden: just changed versioning schemes to be Year . Number instead of incrementing
01:31YuGiOhJCJ: oh ok
01:33YuGiOhJCJ: anyway it's weird xorg-server 21.1.0 and above require "fixesproto >= 6.0" whereas the last one is 5.0: https://www.x.org/releases/individual/proto/
01:33Kayden: they might've gotten combined into xorgproto
01:38YuGiOhJCJ: nice indeed