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

Can't use on headless machine #257

Open
Lyy-iiis opened this issue Nov 24, 2024 · 4 comments
Open

Can't use on headless machine #257

Lyy-iiis opened this issue Nov 24, 2024 · 4 comments

Comments

@Lyy-iiis
Copy link

Hello, when I config RLBench on a headless server, I try to use nvidia-xconfig -a --use-display-device=None --virtual=1280x1024 as you say in README.md. However I find bash: nvidia-xconfig: command not found. I'm sure I can use nvcc -V and nvidia-smi on my machine. Can you give me some advice on fixing the problem. Thank you !

@ZeyuPing
Copy link

I met the same problem T-T

@Lyy-iiis
Copy link
Author

Lyy-iiis commented Dec 8, 2024

Do you solve the problem? It seems I need to reinstall the driver

@PaulPruenster
Copy link
Contributor

Hi, had the same problem, the workaround we found was to define a virtual framebuffer with Xvfb, for example:

Xvfb :77 -screen 0 1024x768x16 &

And then run your program using this screen by setting a environment variable:

DISPLAY=:77 python program.py

Of course you could also export the variable first. Cheers

@Lyy-iiis
Copy link
Author

Thank you for your advices, now I can run without segmentation fault. However, similar issue as #259 happens, is it the problem of installation ? Thanks for any reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants