All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 110318] Disabling ARB_fragment_shader causes implementation errors
@ 2019-04-03 16:22 bugzilla-daemon
  2019-09-18 19:41 ` bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2019-04-03 16:22 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 110318
           Summary: Disabling ARB_fragment_shader causes implementation
                    errors
           Product: Mesa
           Version: 19.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: astrosnail@protonmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 143856
  --> https://bugs.freedesktop.org/attachment.cgi?id=143856&action=edit
Full glxinfo output

When I disable ARB_fragment_shader support, various applications error with
"Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support."
Deleting ~/.drirc recovers from the error.

Steps to reproduce:
1) Run driconf
2) Uncheck "Enable limited ARB_fragment_shader support on 915/945."

Actual results:
  driconf will error.
  glxinfo will segfault when it reaches OpenGL ES info, with a null version
string.
  mpv with --opengl-es=yes will error with a null version string.
  Many others probably apply.
All of them print the following:
Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa

Expected results:
The applications shouldn't be allowed to use OpenGL ES 2.0, given the disabled
fragment shader support.

Versions etc:
Arch Linux x86_64
  mesa 19.0.1-2
  driconf 0.9.1-14
  mesa-demos 8.4.0-1

Small amounts of text:
$ driconf
Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
Traceback (most recent call last):
  File "/usr/bin/driconf", line 28, in <module>
    driconf.main()
  File "/usr/lib/driconf/driconf.py", line 52, in main
    commonui.dpy = dri.DisplayInfo ()
  File "/usr/lib/driconf/dri.py", line 396, in __init__
    self.getScreen (i)
  File "/usr/lib/driconf/dri.py", line 411, in getScreen
    screen = ScreenInfo (i, self.dpy)
  File "/usr/lib/driconf/dri.py", line 380, in __init__
    self.glxInfo = GLXInfo (screen, dpy)
  File "/usr/lib/driconf/dri.py", line 349, in __init__
    raise DRIError ("glxinfo killed by signal " + signal + ".")
TypeError: cannot concatenate 'str' and 'int' objects

$ glxinfo
(***see attached for full output***)
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa

OpenGL ES profile version string: (null)
Segmentation fault (core dumped)

$ mpv --vo=gpu --gpu-api=opengl --opengl-es=yes /the/file/doesnt/matter.mkv
Playing: /the/file/doesnt/matter.mkv
 (+) Video --vid=1 (*) (h264 1920x1080 60.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
[vo/gpu/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required.
Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa
[vo/gpu/opengl] glGetString(GL_VERSION) returned NULL.
[vo/gpu/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required.
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video


Exiting... (Errors when loading file)

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

[-- Attachment #1.2: Type: text/html, Size: 5500 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] 2+ messages in thread

* [Bug 110318] Disabling ARB_fragment_shader causes implementation errors
  2019-04-03 16:22 [Bug 110318] Disabling ARB_fragment_shader causes implementation errors bugzilla-daemon
@ 2019-09-18 19:41 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:41 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #1 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/792.

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

[-- Attachment #1.2: Type: text/html, Size: 2470 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 16:22 [Bug 110318] Disabling ARB_fragment_shader causes implementation errors bugzilla-daemon
2019-09-18 19:41 ` 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.