New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED Shader not supported by HW #385
Comments
Here is full output when run with --debug flag: $ glscopeclient --debug Detecting OpenCL devices... Connecting to SCPI oscilloscope at 192.168.1.39:5025 |
Here is output of clinfo on my system: $ clinfo Platform Name AMD Accelerated Parallel Processing NULL platform behavior |
This is not an OpenCL issue, this is OpenGL compute shader related. glscopeclient's renderer uses shader storage buffer objects for displaying waveforms. Can you post glxinfo output? |
Thank you for the quick response. |
I think I see the cause. Is there any way to make it use the ES profile? |
The amd-gpu-pro driver reports GL_ARB_shader_storage_buffer_object under core profile, and also reports OpenGL 4.6 (this extension is required in core since... 4.3 I think). Are you using the most recent version of amd-gpu-pro for your card? Does it provide any features mainline does not that you need? I'm mostly an nvidia shop so not that familiar with AMD's drivers. |
Yes, this was tested on latest 20.30 version of amdgpu-pro driver. Any ideas? Issue seems to be common to amd's closed-source opengl driver on both windows and linux side. C:\Users\xxx\Desktop\glscopeclient>glscopeclient.exe --debug
OpenCL support: not present at compile time. GPU acceleration disabled. Context: OpenGL 4.2 compatibility profile |
Can you post the list of OpenGL extensions on the Windows system? I know there's third party utilities for this, not sure if AMD's software can do it natively. Also, you can run |
Attached foo.txt Attached output of glview utility. |
I am facing a similar issue on a windows laptop with a AMD Ryzen 7 5800H processor. |
Interesting. The log @ncicek posted looks similar to yours, and his glview dump confirms that GL_ARB_compute_shader is supported. Going to have to do some more digging... |
No activity for almost a year, and the affected code path doesn't exist in ngscopeclient. Closing. |
Repro steps:
Install AMD PRO gpu drivers on ubuntu 20 (needed for OpenCL)
Launch glscopeclient and connect to demo driver.
Program crashes and following error appears:
$ glscopeclient
ERROR: Link of shader progam failed:
Compute shader(s) failed to link.
Compute link error: HW_UNSUPPORTED.
ERROR: Internal compile error, error code: E_SC_NOTSUPPORTED
Shader not supported by HW
INTERNAL ERROR: failed to link histogram waveform shader program, aborting
This indicates a bug in the program, please file a report via Github
Aborted (core dumped)
Doesn't seem to matter which AMD GPU I try: old radeon r9 200 series, or newer rx 6800.
Googling for keyword "E_SC_NOTSUPPORTED" shows references to SSBO (Shader Storage Buffer Object). Is this something that is used in the shader code?
How can I help debug further?
The text was updated successfully, but these errors were encountered: