Open Skallwar opened 4 years ago
No problem here on Mageia Cauldron with:
$ glxinfo | grep -i opengl
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
"Intel" vendor means Iris, which is also the default driver since Mesa 20.0 IIRC.
Interestingly, when I try to force either i965
or iris
with MESA_LOADER_DRIVER_OVERRIDE
, I get super weird errors which don't make any sense:
$ MESA_LOADER_DRIVER_OVERRIDE=iris godot
Godot Engine v3.2.3.stable.mageia - https://godotengine.org
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
...
$ MESA_LOADER_DRIVER_OVERRIDE=i965 godot
Godot Engine v3.2.3.stable.mageia - https://godotengine.org
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) HD Graphics 630 (KBL GT2)
My kernel is 5.8.10 so the error is completing off.
Interestingly, when I try to force either i965 or iris with MESA_LOADER_DRIVER_OVERRIDE, I get super weird errors which don't make any sense:
These errors come from detect_prime.cpp
@hpvb. Running with DRI_PRIME=0
fixes it:
$ MESA_LOADER_DRIVER_OVERRIDE=iris DRI_PRIME=0 godot
Godot Engine v3.2.3.stable.mageia - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
...
$ MESA_LOADER_DRIVER_OVERRIDE=i965 DRI_PRIME=0 godot
Godot Engine v3.2.3.stable.mageia - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) HD Graphics 630 (KBL GT2)
@Skallwar Do you still get the crash if you set DRI_PRIME=0
?
@Skallwar Do you still get the crash if you set
DRI_PRIME=0
?
@akien-mga Yes
@akien-mga ping ?
I suggest trying to upgrade to the latest Mesa version, and if that doesn't solve it, report a bug upstream to Mesa: https://gitlab.freedesktop.org/mesa/mesa/
Godot version: 3.2.3
OS/device including version: Linux 5.4.0-48-generic Ubuntu SMP x86_64 GNU/Linux
Issue description:
Steps to reproduce: Install Ubuntu
godot3
package or compile Godot from source and launch it.Things I've tried
--video-driver
MESA_LOADER_DRIVER_OVERRIDE=i965
environment variable make it work but I don't know is this is a good solution