Created attachment 96469 [details] Proposed patch (git format-patch) The DRI loader allows to specify multiple search paths for the drivers, either using LIBGL_DRIVERS_PATH or using the corresponding ./configure option. If one of the attempts fail, an error message is printed on stderr: ErrorMessageF("dlopen %s failed (%s)\n", realDriverName, dlerror()); , even when the next attempt may succeed. When all pathes have been tried, an error message is printed, so the log level for the transient error should be lowered.
A partial patch been pushed to master. commit 0406f59eebb77e537b50f5cac3a20355686d2a4d Author: Courtney Goeltzenleuchter <courtney@LunarG.com> Date: Wed Feb 26 14:27:08 2014 -0700 mesa: glx: Reduce error log level The code that parses LIBGL_DRIVERS_PATH was printing an error for every attempted dlopen. It's not an error to have to check multiple items in the path, only an error if no suitable library is found. Reduced the load error to a warning to match behavior of dynamic linker. Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Imho with it enough to get things to a more comprehensive level, yet feel free to send a patch to the mailing list (mesa-dev@...) if you think the rest of the patch should be included :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.