1

I'm active on UBUNTU 20.10
I get the following error: pygame.error: No available video device.

I ran :

docker run -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix\
 --device /dev/snd\
 --device /dev/dri \
-it --name video minhnd/firer /bin/bash

I tried to connect my video driver in UBUNTU 22.10 or connect to local from docker.

I have already tried:

import os
os.environ["SDL_VIDEODRIVER"] = "dummy"

Or the read many status. I've also read an article about connecting local, but I didn't understand all of it.

The_spider
  • 1,202
  • 1
  • 8
  • 18
BobNG
  • 11
  • 2

0 Answers0