Open aplatypus opened 9 months ago
I ran across some relevant documentation:
It seems that the dri2
mentioned is a fallback if DRI3 can't be found (I think). The driver is supposed to work for X11, Android and Wayland.
Is this something that can be configured ito improve usage by the RLTK ?
I ran across some relevant documentation:
It seems that the dri2
mentioned is a fallback if DRI3 can't be found (I think). The driver is supposed to work for X11, Android and Wayland.
Is this something that can be configured ito improve usage by the RLTK ?
The root cause appears to lie within libEGL
itself, see:
Update ...
The next stage of the tutorial: "2.4. Field of View" fails with said error: "libEGL warning: egl: failed to create dri2 screen
".
I'm guessing progress on the tutorial is blocked until I find a workaround or perhpas a way to avoid using EGL temorarily. Full transcript:
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.08s
Running `target/debug/rogue-two`
libEGL warning: egl: failed to create dri2 screen
Initialized OpenGL with: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1, Shader Language Version: 4.50
Error sending request: Resource temporarily unavailable
Keywords:
EGL, DIR2, Mesa, OpenGL, error, graphics, Ubuntu, NVIDIA
Recently I've found that the eglinfo -B
core dump has become now, another example of the original problem:
:
Surfaceless platform:
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
:
Also, it seems that this issue is a problem with NVIDIA graphics.
Personally, for a text-box demo example having the Rendering fail is still a FAIL; better if there were some kind of cut-out or an opt-out config option/setting (imho).
Background
I have encountered a problem just ran the early stages of the Roguelike tutorial, specifically the two initial map examples.
To be sure, I've downloaded the source from the github example:
Problem
Error
Set-up
The tutorial version was using earlier builds of the
rltk
andspecs
. I reconfigured the toml file, rancargo update
to test with the newer versions (see below), same problem.Cargo.toml
LSB
The error seems to be with the Mesa 3D graphics using Wayland on Kubuntu 23.10.
Summary
libEGL warning: egl: failed to create dri2 screen
problem?Suggestions welcome.