Go to advanced search

by Desoya
Sat Nov 16, 2019 6:37 pm
Forum: Graphics, sound and multimedia
Topic: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen
Replies: 10
Views: 1731

Re: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen

I'm getting back to this much later than I wanted to but I'd like to acknowledge the feedback I had on this topic: @tcornall thanks for your feedback! @wolfer649 thanks for your feedback, I'll have a look at the adafruit forums and see if the results of this topics may help. @jdonald thanks for the ...
by Desoya
Mon Mar 04, 2019 4:58 pm
Forum: Graphics, sound and multimedia
Topic: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen
Replies: 10
Views: 1731

Re: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen

I have been fiddling around that for far too many hours now, but at least I have found what I'd call a decent workaround, if not a solution. Here is a copy paste of my last post on stack overflow : TL;DR I've kept using pygame for building my graphics/GUI, and switched to evdev for handling the TFT ...
by Desoya
Wed Feb 20, 2019 3:08 pm
Forum: Python
Topic: pygame and tft lcd
Replies: 3
Views: 627

Re: pygame and tft lcd

Hello, what about getting all the users accessing your device with:

Code: Select all

sudo chmod a+rw /dev/fb1
Then if it solves your issue, feel free to find a more elegant and secure solution using ad-hoc linux groups for video devices.
by Desoya
Wed Feb 20, 2019 3:03 pm
Forum: Graphics, sound and multimedia
Topic: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen
Replies: 10
Views: 1731

Re: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen

Thanks for your feedback @Andyroo Have you seen https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=234065 - here the SUDO command is the issue BUT the output is going to the smaller screen. I've tried both with and without sudo , making sure the device /dev/fb1 is accessible by my user (pi): su...
by Desoya
Wed Feb 20, 2019 10:46 am
Forum: Graphics, sound and multimedia
Topic: Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen
Replies: 10
Views: 1731

Issue using Python3/pygame to output to /dev/fb1 targetting a 2.8" TFT screen

Hello, I've posted this on StackOverflow until I realised this would rather fit this community, here we go: TL;DR I am fiddling with a Raspberry Pi 2 and a 2.8" TFT touch screen attached to the Pi's GPIO. The Pi is also connected to a HDMI monitor. My issue is that my Python3 pygame script is not ab...

Go to advanced search