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

          Priority: medium
            Bug ID: 76694
          Assignee: mesa-dev@lists.freedesktop.org
           Summary: Inconsistent behaviour of LIBGL_DEBUG
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: stefan.bru...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to