AndrewFromMelbourne / raspi2png

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file
MIT License
213 stars 78 forks source link

raspi2png fails when using "GL (Full KMS) OpenGL driver" #20

Closed martinohanlon closed 4 years ago

martinohanlon commented 6 years ago

raspi2png fails with the error:

raspi2png: unable to open display 0

when using the GL (Full KMS) OpenGL driver, enabled using

sudo raspi-config

Advanced Options > GL Driver
AndrewFromMelbourne commented 6 years ago

Sorry that I never replied to this. The raspi2png program is very simple and relies on a feature of the GPU. As far as I know the feature I use to capture the screen is not compatible with the new OpenGL driver.

bradisbell commented 6 years ago

@AndrewFromMelbourne Do you know if there are alternative methods for capturing the output of the GPU when using OpenGL on the Pi? (Even if not implemented by your code.)

AndrewFromMelbourne commented 6 years ago

Sorry, no I don't.