Skip to content
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

glslangValidator error in CodeServer #45

Open
chiaravalle opened this issue Jan 8, 2022 · 3 comments
Open

glslangValidator error in CodeServer #45

chiaravalle opened this issue Jan 8, 2022 · 3 comments
Labels
future future development, not yet help wanted

Comments

@chiaravalle
Copy link

Hello everyone.
Here is my setup:
CodeServer 3.12.0, onto
Linux Debian Stable, onto
Termux from F-Droid, onto
Android Q, onto a
SM-G950F device.
I successfully built glslangValidator, here is the output for --version:

Glslang Version: 10:11.7.0
ESSL Version: OpenGL ES GLSL 3.20 glslang Khronos. 11.7.0
GLSL Version: 4.60 glslang Khronos. 11.7.0
SPIR-V Version 0x00010500, Revision 4
GLSL.std.450 Version 100, Revision 1
Khronos Tool ID 8
SPIR-V Generator Version 10
GL_KHR_vulkan_glsl version 100
ARB_GL_gl_spirv version 100

My path to the binary file is:
/root/glsl/glslang/Test

I'm using the 1.5.1 extension version.

I'm getting this error:

GLSL Lint: Failed to spawn 'glslangValidator' binary. 
Error: spawn /root/glsl/glslang/Test/glslangValidator ENOENT

What should I do?

Thanks for any help

@hsimpson
Copy link
Owner

hsimpson commented Jan 8, 2022

Hm looks like an exotic development setup ;-)
For whatever reason the extension can not spawn the glslangValidator binary. Maybe the VSCode in CodeServer runs under a different user which has not the needed rights?
Anyway the version 1.5.1 is a bit old (reason version is 1.7.1) but this would probably not help.

So can you check if the path to the glslangValidator binary is correct, have you configured it within the extension settings or via $PATH?

@chiaravalle
Copy link
Author

chiaravalle commented Jan 8, 2022

I've set it up in the extension settings.
I don't know if code-server runs as a different user, but I guess it doesn't, also because I only have root, AFAIK.
I'm not 101% sure about this, tough.
The path is correct, because I can run the program from the CLI, but it's not in the PATH variable.

By the way, I also tried with a Windows 10 PC - the extension version is more recent - and it works.

I also saw, with the Win setup, the extension I'm using in Termux is deprecated, but it doesn't show the latest one (in code-server)
Maybe I should manually download and install it?

P.S.: I manually downloaded and installed latest .vsix, no luck

@hsimpson hsimpson added future future development, not yet help wanted labels Feb 2, 2022
@hsimpson
Copy link
Owner

hsimpson commented Feb 2, 2022

How can I reproduce this? I have no experience with code-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future future development, not yet help wanted
Projects
None yet
Development

No branches or pull requests

2 participants