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

GlobalShaderCache-GLSL_150.bin is missing when running with -opengl3 #3610

Open
Stephanehk opened this issue Nov 20, 2020 · 10 comments
Open
Assignees
Labels
question stale Issue has not had recent activity

Comments

@Stephanehk
Copy link

I am attempting to install Carla 0.9.10.1 on Linux. When running "swr CarlaUE4.sh -opengl3", I get the following error:

"LogShaders: Error: The global shader cache file Carla_Sim/Engine/GlobalShaderCache-GLSL_150.bin is missing

Your application is built to load COOKED content No COOKED content was found this usually means you did not cook content for this build."

Upon inspecting the Engine folder, the file really is missing, however, there is a file named " GlobalShaderCache-GLSL_430.bin". Is there some other version of Carla that needs to be compiled in order to use opengl3? I am not quite sure what is causing this error.

@qhaas
Copy link
Contributor

qhaas commented Nov 24, 2020

I could be wrong, but I think it only supports opengl 4. CARLA 0.9.9+ is based on UnrealEngine 4.24, which appears to have dropped opengl 3.x:
GL 3.3+ have been removed for in 4.23.

I also only see OpenGL 4 and Vulkan in the list of APIs to 'cook' for.

@KunanonxGithub
Copy link

@qhaas Hello, could you help me throught this question pls? I am so curious about how physic in CARLA actually work because I want to use CARLA and PID control to develop Adaptive Cruise Control and I think it need information such as vehicle mass (which is known in document) but b, air coefficient drag force, espicially relationship between throttle and velocity of CARLA car. #3625 is unknown

@Stephanehk
Copy link
Author

@qhaas I tried using CARLA 0.9.5 and had the same error. Was OpenGL 3 support removed from all versions?

@qhaas
Copy link
Contributor

qhaas commented Nov 26, 2020

Clarification, I'm not affiliated with CARLA; I'm just a user.

Looks like using -opengl will trigger using opengl 4.3 instead of vulkan for newer versions of CARLA.

CARLA 0.9.5 uses UnrealEngine 4.21 and appears to target only OpenGL 4.3. Looking at the UnrealEngine 4.21 source, it doesn't seem to list OpenGL 3 as a 'TargetedRHIs'.

@corkyw10
Copy link
Contributor

corkyw10 commented Mar 4, 2021

@Axel1092 could you follow up on this please?

@Axel1092
Copy link
Contributor

Hi all, just to clarify things a little, as @qhaas said OpenGL 3 has been deprecated for some time in unreal engine and therefore you won't get it to work with it. As newer versions come up older render API are being deprecated. CARLA 0.9.11 is probably the last version to support OpenGL 4, making vulkan the only render API available for Linux systems as Unreal has deprecated OpenGL entirely in the latest versions.

@stale
Copy link

stale bot commented Jul 21, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not had recent activity label Jul 21, 2021
@sxppro
Copy link

sxppro commented Nov 17, 2022

I am current using the latest version (0.9.13), however, when I launch CARLA without any options I encounter a similar error (except the file is called GlobalShaderCache-GLSL_150_ES31.bin). In the directory I actually have a file called GlobalShaderCache-SF_VULKAN_SM5.bin. Why is CARLA referring to a different global shader cache?

@stale stale bot removed the stale Issue has not had recent activity label Nov 17, 2022
@sxppro
Copy link

sxppro commented Nov 17, 2022

I am current using the latest version (0.9.13), however, when I launch CARLA without any options I encounter a similar error (except the file is called GlobalShaderCache-GLSL_150_ES31.bin). In the directory I actually have a file called GlobalShaderCache-SF_VULKAN_SM5.bin. Why is CARLA referring to a different global shader cache?

Never mind I solved my issue - it was because I hadn't installed vulkan-utils

@stale
Copy link

stale bot commented Jun 1, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not had recent activity label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question stale Issue has not had recent activity
6 participants