Bug#982661: mame: Crash on startup
Celelibi
celelibi at gmail.com
Thu Mar 25 04:56:48 GMT 2021
Hello,
After some debugging, here are some informations:
- I use the r300 mesa driver.
- Hardware accelerated programs like glxgears tend to work, but crash
when they exit.
- They crash with the same backtrace.
- The driver r300 doesn't implement the function set_shader_buffers.
- Setting LIBGL_DEBUG=verbose isn't very informative, see below [1].
- Actually, in the function cso_destroy_context [2], we can see it would
be expected that the value of maxssbo to be 0. Instead I get 16.
- This bug has been fixed upstream [3].
- The fix has been backported to the release 21.0.0.
So I guess this bug report should be reassigned to the package
libgl1-mesa-dri, retitled accordingly and marked as fixed upstream. And
probably be closed as soon as the release 21.0.0 reach debian sid.
Best regards,
Celelibi
[1]
libGL: using driver radeon for 5
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/celelibi/.drirc: No such file or directory.
libGL: pci id for fd 5: 1002:791f, driver r300
libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/r300_dri.so)
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/celelibi/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/celelibi/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/celelibi/.drirc: No such file or directory.
libGL: Using DRI2 for screen 0
[2]
int maxssbo = scr->get_shader_param(scr, sh,
PIPE_SHADER_CAP_MAX_SHADER_BUFFERS);
...
if (maxssbo > 0) {
ctx->pipe->set_shader_buffers(ctx->pipe, sh, 0, maxssbo, ssbos, 0);
}
[3] https://gitlab.freedesktop.org/mesa/mesa/-/commit/58e43594fc457eaaf1b1e01e48948959a82080bc
More information about the Pkg-games-devel
mailing list