Questions tagged [framebuffer]

A framebuffer is a memory buffer that contains a bitmap to be driven to a video display.

Filter by
Sorted by
Tagged with
0 votes
1 answer
134 views

/dev/fb1 not present

Just bought my first RPi. I have my Pi 4 configured with two hdmi monitors using the two hdmi ports. Everything works fine on hdmi0 for doing standard stuff. I want to use hdmi1 for direct pixel ...
quickfoxlmd's user avatar
1 vote
1 answer
196 views

/opt/vc/src/hello_pi missing

I am learning c programming for the Raspberry framebuffer through the book "Raspberry Pi Computer Architecture Essentials" by Andrew Dennis. The Raspbian OS originally provided with my RPi ...
BillR's user avatar
  • 11
2 votes
0 answers
27 views

QPU On Linux Framebuffer Device

I've been trying to use RPI's DPI driver alongside some logic gates to drive an epaper display. I've got it working pretty well on the CPU, essentially how it works is that it copies /dev/fb0 i.e. X ...
ZZT Production DIY and Gaming's user avatar
0 votes
1 answer
645 views

No video output running on QEMU

I have been trying to set up a RPi 3b emulation on QEMU for testing software related to the framebuffer, and have got it working including networking, but not video. Doing ls /dev/, I can't find the ...
rubemnobre's user avatar
4 votes
2 answers
5k views

Problem using vlc without X

After having used OMXPlayer for many years, I am now trying to install vlc for command line on a Raspberry Pi B+ (Buster Lite) without X: sudo apt-get update sudo apt-get upgrade sudo apt-get install ...
Eddy Sorngard's user avatar
3 votes
2 answers
2k views

How can I write an image to the RPI4 framebuffer in Raspbian Lite?

I can manage my own wallpaper on the RPI3 in Raspbian Lite by writing an image directly to the framebuffer with.. convert /path/to/image.jpg -write bgra:/dev/fb0 null: Running fbset I get the ...
deanresin's user avatar
  • 187
0 votes
1 answer
233 views

Raspberry Pi + LED Video Processor and resolution issues

I'm working on trying to get a P6 LED screen (connected via a NovaStar TB2 video processor). I've been playing with various options in config.txt but I can't seem to get it to display properly. This ...
vpetersson's user avatar
0 votes
0 answers
80 views

HDMI output does not fill full 800x480 TFT display

I have a Raspberry Pi running Raspberry Pi OS Lite (CLI only). The Pi is attached over HDMI, via an adapter, to a 7.0 inch 800x480 TFT display from Adafruit. When I boot up the CLI, the console only ...
Ben Zelnick's user avatar
0 votes
1 answer
567 views

How to convert a Python / Kivy program from a Desktop Window to a stand-alone Raspberry Pi Kiosk

I have a Python program using Kivy to generate the GUI running in a window on a Raspberry Pi running the normal Raspberry Pi OS DeskTop & X Server. I want to convert this Python / Kivy program to ...
st2000's user avatar
  • 384
0 votes
0 answers
85 views

Touchscreen on Zero W without X?

I'm designing a Raspberry Pi Zero W project with a touchscreen. I want to use this screen. Would there be a way to use the touchscreen on that without having X? I'll be using /dex/fbX for the display.
kj7rrv's user avatar
  • 1
2 votes
1 answer
374 views

Running framebuffer application over ssh with display on TFT

I've got a RPi 2 running Raspi OS 2020-12-02 with Adafruit 3.5" TFT display - the display is configured correctly and displays console messages and as well can display images, for example when I ...
MLu's user avatar
  • 151
1 vote
1 answer
1k views

raspberry pi 4B: writing to screen buffer / framebuffer

In the old days you could bypass system calls, bios calls, etc. by writing an ASCII character directly to a byte in the "screen buffer". Is there something similar with the raspberry pi 4b?
sashley's user avatar
  • 11
1 vote
1 answer
1k views

Python pygame program won't run through SSH / Remote Desktop

I've been working on my own object recognition program based on the rpi-vision test program pitft_labeled_output.py (from this webpage). It's basically a custom neural network model and a bit modified ...
A6EE's user avatar
  • 73
1 vote
2 answers
619 views

Writing to framebuffer on C is very slow (Raspberry Pi) [closed]

I want to make a very intensive simulation and need the most power the Raspberry Pi gives me. So I flashed Raspberry Pi OS Lite (without Desktop) onto an Micro SD Card and wrote to the framebuffer in ...
Merlin0216's user avatar
2 votes
1 answer
605 views

Pi4 start X server only on one HDMI output

I have coded a program to display a countdown using PySimpleGUI. I want to run it on one HDMI output of the Pi4. The other HDMI output should continue to run a regular frame buffer as I’d like to use ...
Jonathan's user avatar
  • 121
1 vote
0 answers
71 views

display a cross-hair within a picture with python3

I want to add a cross-hair pointing to a position within a picture frame and display it. How could this be done effectively using python3? Which library would be preferable?
peets's user avatar
  • 131
1 vote
1 answer
731 views

Higher resolution framebuffer modes?

I have a raspberry pi plugged into a 3440x1440 monitor. Without setting any explicit framebuffer_* options in /boot/config.txt, it comes up at 1184x624. The display is crisp and legible but individual ...
larsks's user avatar
  • 656
1 vote
1 answer
94 views

Possible to measure time of HDMI output generation based on framebuffer copy?

As the title may not be fully clear, here's a complete description of the problem. I've written a small library for the linux framebuffer usingmmap and some (higher) drawing routines, effectlively ...
elasticman's user avatar
1 vote
1 answer
2k views

Force a 16bit framebuffer when using a DPI display

I have a 16bit (565) display attached to a Pi with the DPI interface. The problem is that the framebuffer that gets set up is still 32bit and it looks like it's just dropping the LSBs to truncate the ...
hardillb's user avatar
  • 196
1 vote
0 answers
24 views

Is raspberry able to retrieve/store some n time prior a trigger with multiple cameras?

I came across a project idea which I think would demand a lot from a raspberry pi and arduino hardware capabilities. From my understanding, a master raspberry could be used to trigger n slaves through ...
J. Bringas's user avatar
1 vote
0 answers
364 views

SPI Display – fbtft connects to wrong frame buffer

Today I installed an SPI display to my pi. I'm using fbtft and follow the wiki. I don't want screen mirroring, but force the SPI display to be a secondary monitor. I discovered, that fbtft connects ...
Julian F. Weinert's user avatar
1 vote
2 answers
2k views

/dev/fb0 is the wrong resolution

I noticed that when I plug my raspberry PI 3B+ into my monitor fbset reports this: mode "1824x984" geometry 1824 984 1824 984 32 timings 0 0 0 0 0 0 0 rgba 8/16,8/8,8/0,8/24 endmode This ...
ktb92677's user avatar
  • 141
0 votes
1 answer
287 views

fbi application frozen and/or raspi frozen?

I'm running an electronic photoframe based on a Pi Zero W running Stretch lite 2018-11-13. The photoframe boots the auto login and starts a script that run "fbi" in loop to display images found in a ...
dom_beau's user avatar
  • 103
0 votes
1 answer
169 views

Develop RPi framebuffer program on Linux laptop

Is there any emulator or some other way to develop a program for my 320x480 Adafruit PiTFT screen (available as /dev/fb1) on my Linux Mint laptop? The program currently gets images from Pi Camera, ...
potom's user avatar
  • 111
1 vote
1 answer
1k views

What is the pixel format for Raspberry Pi framebuffer

Good afternoon, I'm trying to programmatically display an image to a 3.5 inch TFT display mounted on /dev/fb1 using the following code: Using trial and error I determined the pixel width to be 16 ...
Mich's user avatar
  • 131
0 votes
1 answer
2k views

Showing an image on HDMI (DSI, HDMI screens connected)

I have a Raspberry Pi 3B device connected to a LCD '7 (7 inches LCD, its a touch screen I believe that's called DSI not sure) and also a HDMI screen. By default Raspbian considers the LCD as the ...
Behnam Ezazi's user avatar
1 vote
2 answers
1k views

Prevent text console from periodically switching to boot screen

I'm running arch linux (aarch64 kernel 4.16.9) on a Raspberry 3b, and using the text mode console on a monitor attached to the HDMI port. Everything basically works on the device, except for one ...
user3188445's user avatar
0 votes
1 answer
448 views

Is there a way to drive the display via HDMI from a systemd service

When my Raspberry PI starts it will start a process using systemd. At this point the display of the PI will be the standard PIXEL desktop. This process does not run as root. What I am looking for is ...
pinoob's user avatar
  • 101
1 vote
0 answers
923 views

Running pygame without X results in stuck black screen

I'm trying to run a Pygame app without using X. I have a Raspberry Pi 3 with raspbian Jessie installed with very few modifications. The script I'm trying to run is the following: #!/home/pi/.env/bin/...
Maldus's user avatar
  • 111
3 votes
1 answer
657 views

Conflicting dtoverlays and framebuffer

I have a RPi3 with latest standard kernel. I am making use of spi1. In config.txt I have the line: dtoverlay=spi1-3cs. I have 2 ADC's connected to spi1 and all seems fine, using an HDMI screen to ...
clive104's user avatar
1 vote
0 answers
621 views

Block Raspberry Pi from quitting fbi fullscreen (HDMI) to command line

I'm developing a parking control system in Python 3 which runs in headless mode at the Raspberry Pi startup and uses one RFID reader, one Barcode reader and many other devices but they really don't ...
Matheus Torquato's user avatar
1 vote
2 answers
2k views

Using ffmpeg to capture whatever is being globally sent to video output (ie: hdmi output)

I have setup a RTSP monitor with a Raspberry Pi 3, using this tutorial: https://community.ubnt.com/t5/UniFi-Video/Tutorial-RTSP-Raspberry-Pi-B-Viewer-6-Cam-4-Cam/td-p/1536448 TLDR: it uses the ...
ephestione's user avatar
1 vote
2 answers
2k views

Why am I unable to use the framebuffer interface?

I am using the rasbperry pi 3. I am working on an embedded project. I wrote some frame buffer initialization code, which seems to work since the color palette rectangle disappears and I get a black ...
Makogan's user avatar
  • 171
1 vote
3 answers
4k views

3,5" Kuman display stops working after update/upgrade

I am experiencing an issue and not sure where to go from here to resolve the problem. I have purchased a Kuman 3,5" TFT screen for my Pi, installed it using the drivers and scripts from https://...
innidael rogue's user avatar
6 votes
1 answer
11k views

gstreamer video output on pi framebuffer without X

I am running the latest Jessie image on my pi2 B. I have gstreamer-1.0 installed with gstreamer omx plugins. gst-inspect confirms the omx plugins are installed. I am not using the X server and need ...
Dan's user avatar
  • 161
3 votes
1 answer
11k views

Has anyone managed to get SDL 2/3 working, without X, in Raspbian?

I have Raspbian Jessie running on my Pi2. I am currently booting into LXDE. I want to disable X and run my SDL code directly on the framebuffer. Can someone point me to where I can find more ...
sparkymat's user avatar
  • 131
3 votes
1 answer
5k views

How to run X server without LXDE?

I would like to run a "naked" X server (using a framebuffer for output) on the Pi. However, startx will also start LXDE, just as startlxde and startlxde-pi do, and I cannot find a way to get around ...
JimmyB's user avatar
  • 141
-3 votes
2 answers
3k views

How to use I2C SSD1306 as Framebuffer [closed]

How does one make an i2c ssd1306 a framebuffer?
Alexander M's user avatar
1 vote
0 answers
210 views

Framebuffer over i2c

Is it possible to output a framebuffer over i2c to a ssd1306 or over ic for a screen under raspbian, for example?
Alexander M's user avatar
6 votes
2 answers
3k views

How to display graphical text without X using C?

Using the Raspberry Pi 2 with the official 7" touchscreen, I want to display some high quality text without using an Xorg server. I'm looking for APIs that provide simple functions such as: ...
Zogger's user avatar
  • 61
4 votes
2 answers
4k views

Enable 2 screens on raspberry pi2

I just got official raspberry pi lcd screen and it work perfectly. However, once the screen connected I cannot run the HDMI screen. I was looking at framebuffer and I thought there will be something ...
Mero's user avatar
  • 298
2 votes
2 answers
823 views

Raspberry pi model b waveshare spotpear 3.2 inch lcd touchscreen is not working

I'm working on a Raspberry Pi portable system and I'm using a waveshare spotpear 3.2 inch TFT LCD touch screen; I have followed the instructions on that page. I get the screen to work but not the ...
Ole Mathias Gullvåg's user avatar
0 votes
1 answer
1k views

fbcp reads wrong primary display resolution (RPi2)

I'm trying to use fbcp to mirror /dev/fb0 (the built in framebuffer) to /dev/fb1 however i just cannot get a picture with the native resolution of /dev/fb1 (320x240). I tried different settings in /...
user1217949's user avatar
1 vote
1 answer
3k views

SSD1306 as a framebuffer with fbtft driver on a raspberry pi 2

I am facing an issue when trying to use my oled screen as a standard and simple linux framebuffer. I followed these instructions for the wiring https://learn.adafruit.com/ssd1306-oled-displays-with-...
thisisnotadisplayname's user avatar
1 vote
2 answers
670 views

Controlling kernel interface 4DPi-32 display

I bought a a SPI controlled display 4DPi-32 [1] and compiled a kernel patched with the driver source [2] provided by the vendor (because the provided deb does not work with RPi2). I had to adapt the ...
user1217949's user avatar
4 votes
2 answers
3k views

Recover Console Text Output after Using fbi App to display image on /dev/fb0

I am not using X and I'm using fbi to display an image on the /dev/fb0 framebuffer device. When I boot up my Pi, I see all the usual text and it boots up to where I can log in on the console. After I ...
PhilBot's user avatar
  • 371
3 votes
1 answer
2k views

Watterott RPi-Display TFT no output

since a few days I'm a proud owner of a RPi Model B+ and a 2,8" RPi-Display from Watterott. HDMI output works fine, I am using a preinstalled Raspbian that boots into desktop. I followed this ...
Ti Hausmann's user avatar
3 votes
2 answers
3k views

Disable bcm2708_fb, the HDMI framebuffer device

I need to disable the framebuffer running on /dev/fb0 via the bcm2708_fb kernel module (reason: some tool I use must run on /dev/fb0 and I need my small TFT to be just that - fb0). Disabling ...
Christian's user avatar
  • 161
7 votes
1 answer
9k views

How can I refresh image displayed by fbi without black screen transition?

I'm using framebuffer image viewer fbi to display an image on a TV. Everything works fine for one image, if I don't refresh it. But when I need to refresh it, there is ~2 seconds of black screen (I ...
Sergey's user avatar
  • 211
3 votes
1 answer
796 views

Show higher resolution on small screen (scale down)

I am using the PiTFT by Adafruit (see product page). It connects as a framebuffer device with 320x240px. I do not need to say that this is a bit low to display full web pages. Is there a way to ...
SiLeX's user avatar
  • 31