Carla: can't run server 0.9.6 (extension "NV-GLX" missing on display ":1".)

Created on 28 Oct 2019  路  3Comments  路  Source: carla-simulator/carla

I can at least run carla 0.9.5 on my ubuntu 16.04. I upgraded it to carla 0.9.6 (leaving the 0.9.5 copy instact). But when I start 0.9.6, I have this error message.
I have an alias 'scs096' (start carla server 0.9.6) below.
alias scs096='carla096; SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./Dist/CARLA_Shipping_0.9.6-28-g714f8c4/LinuxNoEditor/CarlaUE4.sh -ResX=800 -ResY=600 -nosound -windowed&'
When I run scs096, it gives me this error message.

ckim@chan-ubuntu:\~/CARLA/carla-0.9.6$ scs096
[1] 5225
ckim@chan-ubuntu:\~/CARLA/carla-0.9.6$ 4.22.1-0+++UE4+Release-4.22 517 0
Disabling core dumps.
Xlib: extension "NV-GLX" missing on display ":1".
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=98832 LargeMemoryPoolOffset=229968
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=98832 LargeMemoryPoolOffset=229968
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.

[1]+ Exit 1 SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./Dist/CARLA_Shipping_0.9.6-28-g714f8c4/LinuxNoEditor/CarlaUE4.sh -ResX=800 -ResY=600 -nosound -windowed

What can be wrong? (0.9.5 still works ok.)

Most helpful comment

I found after adding -opengl it works ok!
so the server command was
SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./Dist/CARLA_Shipping_0.9.6-28-g714f8c4/LinuxNoEditor/CarlaUE4.sh -ResX=800 -ResY=600 -nosound -windowed -opengl

All 3 comments

I found on the console (without using VNC), this simple command works.
./Dist/CARLA_Shipping_0.9.6-28-g714f8c4/LinuxNoEditor/CarlaUE4.sh
It gives me the town view in an window.(looks like the windowed is now default).
The option -ResX=800 -ResY=600 works, but when I try bigger window size, it crashes.

I tried upgrading from nvidia-410 (installed by apt-get install) to nvidia-430 (from nvidia site., .run file). But now I see below errors (no NV-GLX missing error though..)
Disabling core dumps.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=102240 LargeMemoryPoolOffset=233376
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=102240 LargeMemoryPoolOffset=233376
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=89744 LargeMemoryPoolOffset=220880
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

I found after adding -opengl it works ok!
so the server command was
SDL_VIDEODRIVER=offscreen SDL_HINT_CUDA_DEVICE=0 ./Dist/CARLA_Shipping_0.9.6-28-g714f8c4/LinuxNoEditor/CarlaUE4.sh -ResX=800 -ResY=600 -nosound -windowed -opengl

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tgrel picture tgrel  路  3Comments

AftermathK picture AftermathK  路  3Comments

NYJiaxing picture NYJiaxing  路  3Comments

UndeadBlow picture UndeadBlow  路  4Comments

cstamatiadis picture cstamatiadis  路  3Comments