Raspberry Pi 3B+: No available video device
See original GitHub issueVersions
- Python: 3.5.3
- OS: Raspbian Stretch Lite
- Kivy: 1.11.0.dev0
- Kivy installation method: sudo pip3 install git+https://github.com/kivy/kivy.git@master
Description
Just installed Kivy on the latest Raspbian Stretch Lite using this command:
sudo pip3 install Cython
sudo pip3 install git+https://github.com/kivy/kivy.git@master
And got this error:
Kivy info:
NOTE: I have been installing Kivy on several RPi’s for over 3 months. It has been working well, but suddenly stopped working today.
Any idea?
P.S. I had to set KIVY_GL_BACKEND
environment variable to gl
to get it working before.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
SDL2 error: No available video device - Raspberry Pi Forums
Hi, I am attempting to run a Kivy application on my pi 3. I had a Wheezy image for pi 2 ... sdl2...
Read more >Raspberry Pi 3 B+: Many video devices are showing
Why it is showing multiple video devices? What is the meaning of video10 etc? While working, using video0 and video2 , camera get...
Read more >7 Causes for a Raspberry Pi That Won't Boot (And How to Fix ...
6. No Video Output on Your Raspberry Pi? ... Your Raspberry Pi cannot display any video without a bootable SD card present and...
Read more >SDL2 on Raspberry Pi 4: SDL Initialization failed No available ...
When initializing SDL. I am not sure what video system is being used because the configuration command disables mir wayland x11 and opengl....
Read more >Setting up your Raspberry Pi
To connect to a power socket, all Raspberry Pi models have a USB port (the same found on many mobile phones): either USB-C...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was having similar issues. The problem seems to be that for some reason
sdl2_image
is unable to load these images - I think thesdl2_image
version is too old.The solution is to install pillow. I’ll add that to the docs.
@matham, thanks for responding. I checked my pip3 list, and I see Pillow (6.0.0) is already installed, but I will pull the latest and rebuild.
I did get kivy to get a window by changing the raspberry pi GL driver using raspi-config (I had to choose the legacy “G3” non-gl desktop driver so graphics are really slow).
My env settings where kivy can get a window with my current git clone are :
shell env:
KIVY_GL_BACKEND=gl and KIVY_WINDOW=egl_rpi
As soon as I change back to the main driver, kivy can’t get a window:
When trying KIVY_WINDOW=sdl2, I also get the Unable to get a Window.