Bug 41231 - GL_INVALID_ENUM when using glxinfo -l
Summary: GL_INVALID_ENUM when using glxinfo -l
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 07:10 UTC by Stefano Teso
Modified: 2012-08-08 21:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stefano Teso 2011-09-26 07:10:24 UTC
Hi,

using git 455a19b1b3d7ca0a40c65d89e45209dbd8ac7b35, and running:

$ glxinfo -l > /dev/null

makes mesa sad:

Mesa: User error: GL_INVALID_ENUM in glGetIntegerv(pname=GL_MAX_COLOR_MATRIX_STACK_DEPTH)
Mesa: User error: GL_INVALID_ENUM in glGetConvolutionParameteriv

This doesn't happen with stock mesa 7.11, nor when using LIBGL_ALWAYS_SOFTWARE=1. The driver is r600g, the device is:

01:00.0 VGA compatible controller: ATI Technologies Inc Robson CE [AMD Radeon HD 6300 Series]

I'm using debian unstable FWIW.
Comment 1 Michel Dänzer 2011-09-29 02:58:40 UTC
(In reply to comment #1)
> This doesn't happen with stock mesa 7.11, [...]

Actually, I can reproduce this with a checkout of the mesa-7.11 Git tag as well. Presumably the 'stock' 7.11 you're referring to just doesn't have this error reporting (which BTW usually indicates an application bug) enabled.
Comment 2 Stefano Teso 2011-09-29 06:58:55 UTC
(In reply to comment #1)
> (In reply to comment #1)
> > This doesn't happen with stock mesa 7.11, [...]
> 
> Actually, I can reproduce this with a checkout of the mesa-7.11 Git tag as
> well. Presumably the 'stock' 7.11 you're referring to just doesn't have this
> error reporting (which BTW usually indicates an application bug) enabled.

I can confirm your findings, git mesa and mesa 7.11 do exhibit the warning, while the debian package does not. There's no difference when using llvmpipe, although I was sure of the exact opposite yesterday. You can close this bug, sorry for the spam.
Comment 3 Andreas Boll 2012-08-08 21:14:10 UTC
(In reply to comment #2)
> I can confirm your findings, git mesa and mesa 7.11 do exhibit the warning,
> while the debian package does not. There's no difference when using llvmpipe,
> although I was sure of the exact opposite yesterday. You can close this bug,
> sorry for the spam.

As mentioned above, I'm closing this bug.


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.