-
Notifications
You must be signed in to change notification settings - Fork 50
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
carla can't run on GPU #42
Comments
Hi! Maybe you can find more information at https://github.com/carla-simulator/carla/issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm using two terminals to run carla and evaluation code separately.
I installed carla in a conda environment on a remote server, installed openGL in a docker container, and used ssh to remotely connect to Mabaxterm and configure X11-forwarding for visualization.
Execute the following command to run carla: CUDA_VISIBLE_DEVICES=0 . /carla/CarlaUE4.sh -prefernvidia -opengl -carla-server -benchmark -fps=5 -nosound --world-port=15302
![image](https://private-user-images.githubusercontent.com/44572048/319616989-b7344146-1d43-48c2-96dd-2df847a2fcef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMjkxNzAsIm5iZiI6MTcyMTEyODg3MCwicGF0aCI6Ii80NDU3MjA0OC8zMTk2MTY5ODktYjczNDQxNDYtMWQ0My00OGMyLTk2ZGQtMmRmODQ3YTJmY2VmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDExMjExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMyMzU3ZDgwYzIwMzZmMWQ3ZDU0NzBjZDlmMDU2NmVmMWQ2M2RjY2E2MWUwZGU2NDVmMDA5MDc5N2FjYmMxNDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.C-_e0wkg-qiNYlB8Rrkn1p8bgGF9a1QLMamREwnspgg)
But carla runs without GPU, resulting in rendering no environment.
![image](https://private-user-images.githubusercontent.com/44572048/319614981-d229a9a7-a2f7-40f9-afc0-a2a723d9c8d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMjkxNzAsIm5iZiI6MTcyMTEyODg3MCwicGF0aCI6Ii80NDU3MjA0OC8zMTk2MTQ5ODEtZDIyOWE5YTctYTJmNy00MGY5LWFmYzAtYTJhNzIzZDljOGQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDExMjExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2YTkzMDQ2ZTA1MzNmMjU3MDVlOWRhZTA5OTE5M2E1YjAyYTVjMDRlYzYxYjg5OTUwMGM1MDA0NGVlNTJhZDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Od6gdKPi9SxOLGWliJd8hYaDua5kvmP2e6p_MNTobFc)
Can you please tell me how to solve this problem?
The text was updated successfully, but these errors were encountered: