Hi,
I've revamped the patch (it didn't apply on xorg-server 2:21.1.7-3+deb12u8), built xorg-server, built linux-image 6.12.3 + debian-installer from git and can confirm that this patch helped and now graphical installer works fine.
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 3d8b92e..9c30f00 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.c +++ b/hw/xfree86/fbdevhw/fbdevhw.c @@ -335,9 +335,9 @@ fbdev_open(int scrnIndex, const char *dev, char **namep) char *sysfs_path = NULL; char *node = strrchr(dev, '/') + 1; - if (asprintf(&sysfs_path, "/sys/class/graphics/%s", node) < 0 || + if (asprintf(&sysfs_path, "/sys/class/graphics/%s/device/subsystem", node) < 0 || readlink(sysfs_path, buf, sizeof(buf) - 1) < 0 || - strstr(buf, "devices/pci")) { + strstr(buf, "bus/pci")) { free(sysfs_path); close(fd); return -1;