Carla: [ERROR] carla compiled version 0.9.3

Created on 15 Feb 2019  路  9Comments  路  Source: carla-simulator/carla

After I started the simulator, I got the following error:

LogShaders: Error: The global shader cache file data/carla_093-compiled/Engine/GlobalShaderCache-GLSL_150.bin is missing
xxxxxxx
Your application is built to load COOKED content No COOKED content was found his usually means you did not cook content for this build.
xxxxxxx
Exiting abnormally (error code: 1)

It seems that the content files is not in the correct directory, but after I put the content files in Content/carla, it can not work yet.
My system version is Ubuntu 16.04 in a docker container. The 0.9.1 compiled version can be successfully started in the container.

@nsubiron

stale

Most helpful comment

run with opengl4

All 9 comments

Following the installation instructions at Running in a Docker and doing

docker pull carlasim/carla:0.9.3
docker run -p 2000-2001:2000-2001 --runtime=nvidia carlasim/carla:0.9.3

works for me

@nsubiron I extracted the CARLA_0.9.4.tar.gz file and ran the sh file directly on a Google Cloud Ubuntu 18.04 machine(no Docker) with Tesla K80 and OpenGL 3, like this:

./CarlaUE4.sh -opengl3

But it gives below error:

[2019.03.12-02.37.21:730][  0]LogShaders: Error: The global shader cache file '/content/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.
It also may indicate missing cooked data for a shader platform(e.g., OpenGL under Windows): Make sure your platform's packaging settings include this Targeted RHI.

Alternatively build and run the UNCOOKED version instead.

On checking the files, there indeed is no such file as GlobalShaderCache-GLSL_150.bin anywhere.

Here's the full log:
log.txt

Any help is appreciated!

I find that the cache file /Engine/GlobalShaderCache-GLSL_150.bin is missing, but there is a cache file named "/Engine/GlobalShaderCache-GLSL_430.bin". Is this bug related to the OpenGL version? My OpenGL version is 3.0, does the 0.9.4 version require OpenGL 4.3 ?
@nsubiron

I tried run the carla 0.9.4 compiled version on my local pc with OpenGL version 4.3, it works.
So I guess this bug is because the 0.9.4 compiled version is compiled under OpenGL 4.3 ?
Maybe you should try compiled the code under OpenGL 3.0?

I tried run the carla 0.9.4 compiled version on my local pc with OpenGL version 4.3, it works.
So I guess this bug is because the 0.9.4 compiled version is compiled under OpenGL 4.3 ?
Maybe you should try compiled the code under OpenGL 3.0?

Hey I read the build instructions but don't know where to pass the -opengl3 flag, it is not mentioned in the instructions: How to build on Linux.
I don't want to launch the project in Unreal editor, just want the binaries generated by "make package" command but where do I say its for -opengl3?

Edit: Getting error after executing make command for UE4. Will make a new request as an issue to see if someone has compiled with opengl3.

May be it is not related to OpenGL version only.
I've build Carla from master-release on Windows 10. The error (with the cache file GlobalShaderCache-PCD3D_SM5.bin) appears with "Shipping" and "Development" configurations. Though it runs fine with "Development editor" or "Debug-editor configuration.

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.

run with opengl4

I am also seeing this issue when running with the -opengl3 flag, in a Linux VM/Mac OS host (I cannot run OpenGL 4 in this configuration), using the tar.gz bundle, release 0.9.9.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

metaluga145 picture metaluga145  路  4Comments

UndeadBlow picture UndeadBlow  路  4Comments

chankim picture chankim  路  3Comments

syinari0123 picture syinari0123  路  3Comments

syinari0123 picture syinari0123  路  4Comments