All Questions
Tagged with framebuffer raspberry-pi
29
questions
2
votes
1
answer
569
views
Copying frames from camera (/dev/video0) to framebuffer (/dev/fb0) gives unexpected result
I have been trying to show frame from raspberry camera to screen with near best performance, and after research I found that the best way could be to use V4L2 library to directly communicate to ...
0
votes
0
answers
28
views
Setting MMAL_ENCODER to RGBA or BGRA gives same color output
I am trying to take frame from camera and copy it to framebuffer to show it to the screen. But, my output seems to mix R and B color... Here is code for setting output format:
format = video_port->...
0
votes
0
answers
95
views
QT app flickers after psplash-systemd finishes
I have a linux system created in Yocto running on Raspberry Pi CM4 and I am using psplash utility for splashscreen. During early stage of boot I also launch my qt app (before psplash-systemd is ...
1
vote
0
answers
218
views
Can't read frame buffer colormap information using ioctl on raspberry pi
I am working on Raspberry Pi 4, with raspios bullseye-arm-64-lite (version 11).
I want to configure the frame buffer to 8-bits per pixel and use a custom colormap.
I configured the frame buffer to 8-...
-1
votes
1
answer
239
views
`fbcon/cursor_blink` permissions reset at reboot [closed]
Context
I need to stop the cursor from blinking on an external screen of my raspberry-pi in order to display a home-made interface on /dev/fb0.
For this purpose I created a group cursor_blink in which ...
5
votes
2
answers
1k
views
pygame.display.init() fails for non-root user
Tl;dr
I need to use pygame but it can't initialize the screen as a normal user because of the permissions for the framebuffer driver. root can do pygame.display.init() but not the user. User is in the ...
1
vote
0
answers
355
views
Bare Metal Raspberry Pi Framebuffer not working
I have been working on writing a bare metal program for a raspberry pi 3B 1.2
I have written a start function in assembler which is able to call a rust function. I am currently trying to initialize ...
0
votes
0
answers
310
views
Pointing PyGame to framebuffer on Raspberry Pi OS Lite [duplicate]
I am writing a Python app using Pygame that will output an interface to a TFT display connected (via an adapter) to my Raspberry Pi Zero W's HDMI port.
Here is a simplified version of my code:
import ...
2
votes
0
answers
2k
views
Why is the framebuffer depth different for Raspberry Pi 3 and Pi 4? How to successfully map on to a 4k framebuffer using Raspberry Pi 4?
I have a graphic application running from a Raspberry PI 3 currently. I'm using an LG B9 4k tv (3840x2160) and Pi maps it to 1920x1080 to project my application on the tv. This works fine but the ...
3
votes
2
answers
3k
views
Writing into framebuffer with a C program is very slow (Raspberry Pi)
I want to make a very intensive simulation. I need as much power as possible from a Raspberry Pi. To make it, I flashed the card with OS Lite (without Desktop) onto a Micro SD Card and wrote to the ...
0
votes
1
answer
2k
views
Using OMXIV, OMXPLAYER and writing to framebuffer in the same program
In my program I am writing menus direct to the framebuffer on a Raspberry Pi. This program can play videos with omxplayer and call another program to display jpeg-pictures with omxiv. If omxplayer ...
4
votes
2
answers
4k
views
How to show an image direct from memory on RPI?
I want to create an image in PILLOW and show it on the display on a Raspberry Pi. Until now I have saved the image and have used omxiv to show the image. This is rather time consuming.
from PIL import ...
2
votes
1
answer
842
views
Problem Mapping Framebuffer Device Memory using C#/Mono on Raspberry PI
I am trying to directly access video memory for a framebuffer video device on a Raspberry Pi using C# code running via Mono. I have a C program that works fine, but when I port it to C# it ...
0
votes
0
answers
6k
views
Displaying images using fbi
I've been trying to display images from a simple Go app using the following code:
output, err := exec.Command("fbi", "-a", "-noverbose", "-norandom", "-T 1", "-t 8", files).CombinedOutput()
if err != ...
1
vote
1
answer
585
views
Raspberry pi bootsplash logo modification
I wish to replace the Raspbian kernel boot logos (4 raspberries) with something else. In this case, a single logo of dimensions 320 pixels by 80 pixels that I wish to place in the center of the screen....