From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110318] Disabling ARB_fragment_shader causes implementation errors Date: Wed, 03 Apr 2019 16:22:35 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1318006724==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DB2E6E885 for ; Wed, 3 Apr 2019 16:22:35 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1318006724== Content-Type: multipart/alternative; boundary="15543085550.6Bafc5A5.19764" Content-Transfer-Encoding: 7bit --15543085550.6Bafc5A5.19764 Date: Wed, 3 Apr 2019 16:22:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110318 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=3D143856&action=3Dedit 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=3Dyes 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=3DMesa Expected results: The applications shouldn't be allowed to use OpenGL ES 2.0, given the disab= led 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=3DMesa Traceback (most recent call last): File "/usr/bin/driconf", line 28, in driconf.main() File "/usr/lib/driconf/driconf.py", line 52, in main commonui.dpy =3D 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 =3D ScreenInfo (i, self.dpy) File "/usr/lib/driconf/dri.py", line 380, in __init__ self.glxInfo =3D 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_arra= ys Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support. Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=3DMesa OpenGL ES profile version string: (null) Segmentation fault (core dumped) $ mpv --vo=3Dgpu --gpu-api=3Dopengl --opengl-es=3Dyes /the/file/doesnt/matt= er.mkv Playing: /the/file/doesnt/matter.mkv (+) Video --vid=3D1 (*) (h264 1920x1080 60.000fps) (+) Audio --aid=3D1 --alang=3Deng (*) (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=3DMesa [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) --=20 You are receiving this mail because: You are the assignee for the bug.= --15543085550.6Bafc5A5.19764 Date: Wed, 3 Apr 2019 16:22:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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 [details]
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.&q=
uot;
Deleting ~/.drirc recovers from the error.

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

Actual results:
  driconf will error.
  glxinfo will segfault when it reaches OpenGL ES info, with a null version
string.
  mpv with --opengl-es=3Dyes 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=3DMesa

Expected results:
The applications shouldn't be allowed to use OpenGL ES 2.0, given the disab=
led
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=3DMesa
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 =3D 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 =3D ScreenInfo (i, self.dpy)
  File "/usr/lib/driconf/dri.py", line 380, in __init__
    self.glxInfo =3D 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_arra=
ys
Mesa 19.0.1 implementation error: Incomplete OpenGL ES 2.0 support.
Please report at https://bugs.freedesktop.org/enter_bug.cgi?product=3DMesa

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

$ mpv --vo=3Dgpu --gpu-api=3Dopengl --opengl-es=3Dyes /the/file/doesnt/matt=
er.mkv
Playing: /the/file/doesnt/matter.mkv
 (+) Video --vid=3D1 (*) (h264 1920x1080 60.000fps)
 (+) Audio --aid=3D1 --alang=3Deng (*) (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=3DMesa
[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.
= --15543085550.6Bafc5A5.19764-- --===============1318006724== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1318006724==--