CVSROOT:        /cvs
Module name:    xenocara
Changes by:     j...@cvs.openbsd.org    2022/09/13 04:04:23

Modified files:
        lib/mesa/src/gallium/drivers/iris: iris_screen.c 

Log message:
iris: check i915 features after hw gen

when running recent Mesa on i855 (gen 2) without amber drivers:
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.

libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: iris
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.

libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: iris

move the i915 feature check to after the hardware generation check
which results in:
MESA: warning: Driver does not support the 0x3582 PCI ID.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: iris
MESA: warning: Driver does not support the 0x3582 PCI ID.
libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: iris

Reply via email to