Skip to content

loader: Warn when we fail to open a device node due to permissions.

Emma Anholt requested to merge anholt/mesa:loader-warn-eaccess into master

This is definitely not the first time I've debugged why I'm getting swrast on a device only to find out I'm not a member of the render node's group.

This does mean that you'll get a warning print even without EGL_LOG_LEVEL set. This may be an issue if we expect people outside of the DRI node's group to actually be using swrast instead of getting their permissions fixed. Right now surfaceless throws a "libEGL warning: No hardware driver found, falling back to software rendering" in that case anyway, so this is just more informative.

Merge request reports