All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
@ 2017-10-20  9:34 bugzilla-daemon
  2018-02-22 10:35 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-10-20  9:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 5703 bytes --]

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

            Bug ID: 103371
           Summary: glxinfo -l shows GL_INVALID_ENUM
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: marvin24@gmx.de
        QA Contact: dri-devel@lists.freedesktop.org

glxinfo -l gives GL_INVALID_ENUM for GL_MAX_GEOMETRY_UNIFORM_BLOCKS,
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS, GL_MAX_VERTEX_OUTPUT_COMPONENTS,
and GL_MAX_FRAGMENT_INPUT_COMPONENTS; see output below. HW is RS880. Maybe
uncritcal but ugly.

OpenGL limits:
    GL_MAX_ATTRIB_STACK_DEPTH = 16
    GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 16
    GL_MAX_CLIP_PLANES = 8
    GL_MAX_ELEMENTS_VERTICES = 3000
    GL_MAX_ELEMENTS_INDICES = 3000
    GL_MAX_EVAL_ORDER = 30
    GL_MAX_LIGHTS = 8
    GL_MAX_LIST_NESTING = 64
    GL_MAX_MODELVIEW_STACK_DEPTH = 32
    GL_MAX_NAME_STACK_DEPTH = 64
    GL_MAX_PIXEL_MAP_TABLE = 256
    GL_MAX_PROJECTION_STACK_DEPTH = 32
    GL_MAX_TEXTURE_STACK_DEPTH = 10
    GL_MAX_TEXTURE_SIZE = 8192
    GL_MAX_3D_TEXTURE_SIZE = 2048
    GL_MAX_ARRAY_TEXTURE_LAYERS = 2048
    GL_MAX_VIEWPORT_DIMS = 8192, 8192
    GL_ALIASED_LINE_WIDTH_RANGE = 1, 8192
    GL_SMOOTH_LINE_WIDTH_RANGE = 1, 8192
    GL_ALIASED_POINT_SIZE_RANGE = 1, 8192
    GL_SMOOTH_POINT_SIZE_RANGE = 0, 8192
    GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 8192
    GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 8192
    GL_MAX_TEXTURE_UNITS_ARB = 8
    GL_MAX_TEXTURE_LOD_BIAS_EXT = 16
    GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 16
    GL_MAX_DRAW_BUFFERS_ARB = 8
    GL_MAX_DUAL_SOURCE_DRAW_BUFFERS = 1
    GL_MAX_RENDERBUFFER_SIZE = 8192
    GL_MAX_COLOR_ATTACHMENTS = 8
    GL_MAX_SAMPLES = 8
    GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 4
    GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 128
    GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 4
    GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 128
    GL_MAX_COLOR_TEXTURE_SAMPLES = 8
    GL_MAX_DEPTH_TEXTURE_SAMPLES = 8
    GL_MAX_INTEGER_SAMPLES = 1
    GL_MAX_VERTEX_UNIFORM_BLOCKS = 12
    GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 12
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_GEOMETRY_UNIFORM_BLOCKS)
    GL_MAX_COMBINED_UNIFORM_BLOCKS = 48
    GL_MAX_UNIFORM_BUFFER_BINDINGS = 48
    GL_MAX_UNIFORM_BLOCK_SIZE = 65536
    GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 212992
    GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 212992
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS)
    GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 256
    GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 2047
    GL_MAX_VERTEX_ATTRIB_BINDINGS = 16
    GL_NUM_COMPRESSED_TEXTURE_FORMATS = 10
        GL_COMPRESSED_RGB_S3TC_DXT1_EXT
        GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
        GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
        GL_COMPRESSED_RGB8_ETC2
        GL_COMPRESSED_RGBA8_ETC2_EAC
        GL_COMPRESSED_R11_EAC
        GL_COMPRESSED_RG11_EAC
        GL_COMPRESSED_SIGNED_R11_EAC
        GL_COMPRESSED_SIGNED_RG11_EAC
        GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
    GL_VERTEX_PROGRAM_ARB:
        GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_TEMPORARIES_ARB = 256
        GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 256
        GL_MAX_PROGRAM_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_ATTRIBS_ARB = 16
        GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 16
        GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 1
        GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 1
        GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 256
    GL_FRAGMENT_PROGRAM_ARB:
        GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_TEMPORARIES_ARB = 256
        GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 256
        GL_MAX_PROGRAM_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_ATTRIBS_ARB = 32
        GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 32
        GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0
        GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0
        GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 4096
        GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 256
        GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 16384
        GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 16384
        GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 16384
    GL_VERTEX_SHADER_ARB:
        GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 16384
        GL_MAX_VARYING_FLOATS_ARB = 128
        GL_MAX_VERTEX_ATTRIBS_ARB = 16
        GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 16
        GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 16
        GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 48
        GL_MAX_TEXTURE_COORDS_ARB = 8
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_VERTEX_OUTPUT_COMPONENTS)
    GL_FRAGMENT_SHADER_ARB:
        GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 16384
        GL_MAX_TEXTURE_COORDS_ARB = 8
        GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 16
Mesa: User error: GL_INVALID_ENUM in
glGetIntegerv(pname=GL_MAX_FRAGMENT_INPUT_COMPONENTS)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 7060 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
@ 2018-02-22 10:35 ` bugzilla-daemon
  2018-02-22 10:45 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 10:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

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

--- Comment #1 from Marc Dietrich <marvin24@gmx.de> ---
additional info: this only happens on meson builds.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
  2018-02-22 10:35 ` bugzilla-daemon
@ 2018-02-22 10:45 ` bugzilla-daemon
  2018-02-22 10:54 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 10:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 747 bytes --]

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

Emil Velikov <emil.l.velikov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baker.dylan.c@gmail.com

--- Comment #2 from Emil Velikov <emil.l.velikov@gmail.com> ---
glGetIntegerv throwing an GL_INVALID_ENUM indicates a more serious problem
lurking in the shadows.

Did you set the texture-float toggle appropriately? It that doesn't help,
please provide a complete configure line (both autotools and meson) so that
people can investigate easier.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2035 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
  2018-02-22 10:35 ` bugzilla-daemon
  2018-02-22 10:45 ` bugzilla-daemon
@ 2018-02-22 10:54 ` bugzilla-daemon
  2018-02-22 12:46 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 10:54 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 718 bytes --]

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

--- Comment #3 from Marc Dietrich <marvin24@gmx.de> ---
what do you mean by texture-float flag? in the meson configuration? I set
"-Dtexture-float=true" at least. driconf isn't working anymore for me. meson
config: 

    --buildtype=debug \
    -Db_ndebug=false \
    -Dgallium-drivers=r600,swrast \
    -Dplatforms=drm,x11,wayland \
    -Dvulkan-drivers= \
    -Dtexture-float=true \
    -Dgles1=true -Dgles2=true \
    -Dgallium-nine=true \
    -Dglvnd=true \
    -Ddri-drivers= \
    -Dosmesa=gallium \
    -Dshared-glapi=true \

hw is rs880 (ati hd2000 series).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-02-22 10:54 ` bugzilla-daemon
@ 2018-02-22 12:46 ` bugzilla-daemon
  2018-02-22 13:49 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 12:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

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

--- Comment #4 from Marc Dietrich <marvin24@gmx.de> ---
happens only in compat context - digging deeper ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-02-22 12:46 ` bugzilla-daemon
@ 2018-02-22 13:49 ` bugzilla-daemon
  2018-02-22 14:36 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 13:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 673 bytes --]

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

Marc Dietrich <marvin24@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #5 from Marc Dietrich <marvin24@gmx.de> ---
ok, seems to be a false alarm. The (likely) valid error is only produces in
debug builds (either meson or autotools). maybe glxinfo should not ask for
these limits in compat context.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2122 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-02-22 13:49 ` bugzilla-daemon
@ 2018-02-22 14:36 ` bugzilla-daemon
  2018-02-23  9:20 ` bugzilla-daemon
  2019-09-18 19:24 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-22 14:36 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 305 bytes --]

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

--- Comment #6 from Marc Dietrich <marvin24@gmx.de> ---
... or mesa should not expose ARB_uniform_buffer_object in compat (GL 3.0)
context. I'm not an expert on this...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1107 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-02-22 14:36 ` bugzilla-daemon
@ 2018-02-23  9:20 ` bugzilla-daemon
  2019-09-18 19:24 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-02-23  9:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 558 bytes --]

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

Marc Dietrich <marvin24@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTABUG                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #7 from Marc Dietrich <marvin24@gmx.de> ---
still looks fishy to be - reopened until some expert can comment on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1962 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 103371] glxinfo -l shows GL_INVALID_ENUM
  2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-02-23  9:20 ` bugzilla-daemon
@ 2019-09-18 19:24 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #8 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/614.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2397 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-18 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20  9:34 [Bug 103371] glxinfo -l shows GL_INVALID_ENUM bugzilla-daemon
2018-02-22 10:35 ` bugzilla-daemon
2018-02-22 10:45 ` bugzilla-daemon
2018-02-22 10:54 ` bugzilla-daemon
2018-02-22 12:46 ` bugzilla-daemon
2018-02-22 13:49 ` bugzilla-daemon
2018-02-22 14:36 ` bugzilla-daemon
2018-02-23  9:20 ` bugzilla-daemon
2019-09-18 19:24 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.