[Mesa-dev] [Bug 76694] New: Inconsistent behaviour of LIBGL_DEBUG

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 27 08:21:40 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76694

          Priority: medium
            Bug ID: 76694
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Inconsistent behaviour of LIBGL_DEBUG
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: stefan.bruens at rwth-aachen.de
          Hardware: Other
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

Mesa documentation states the following:

./docs/libGL.txt:stderr if the LIBGL_DEBUG environment variable is defined.
./docs/envvars.html:<li>LIBGL_DEBUG - If defined debug information will be
printed to stderr.

i.e. the corresponding codes check "if (getenv("LIBGL_DEBUG")) ...".

On the other hand, the loader code in src/glx/dri_common.c has a default log
level of "_LOADER_WARNING", i.e. messages with log level WARNING and FATAL will
be logged.

To lower the log level, LIBGL_DEBUG=quiet can be used for the loader, which in
turn increases the log level for the rest of the library.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140327/515d2b09/attachment-0001.html>


More information about the mesa-dev mailing list