<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Disabling ARB_fragment_shader causes implementation errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110318">110318</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Disabling ARB_fragment_shader causes implementation errors
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>19.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i915
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>astrosnail@protonmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=143856" name="attach_143856" title="Full glxinfo output">attachment 143856</a> <a href="attachment.cgi?id=143856&action=edit" title="Full glxinfo output">[details]</a></span>
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 <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>
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 <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>
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 <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>
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 <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>
[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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>