Questions tagged [framebuffer]

related to Linux `fbdev` abstraction (a.k.a. Linux framebuffer), as well as to accessing the framebuffer (a part of video memory) in general

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

NVidia proprietary driver, two cards - get a second framebuffer or move framebuffer to a different card?

A machine has two NVidia cards and needs to use the proprietary driver (because one of the cards is used for CUDA). Only one framebuffer device /dev/fb0 is visible and it maps to one card, but we ...
-1
votes
3answers
61 views

How to access and use Linux Frame Buffer without GTK?

I'd like to use /dev/fb0 or whichever other files are provided by the linux. This in a system specific way as low as possible how to read/write/interpret those device files for GUI frame-buffer non-...
0
votes
0answers
21 views

Can gstreamer fbdevsink output to Xvfb virtual framebuffer? Which device to use?

I learned recently how to use Xvfb virtual Linux framebuffer: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=261264 I want gstreamer fbdevsink output into a virtual framebuffer, but that ...
2
votes
1answer
46 views

Displaying a picture on the framebuffer while running a script created with dialog

I have setup scripts that use the dialog command. They are used to prepare embedded servers. I'd like to display a picture on a edge while a dialog script is running. The problem is, that dialog by ...
2
votes
0answers
101 views

Xfbdev not found after including X (tinyx/kdrive) in Buildroot

I'm trying to add Xorg to an evaluation board for which I've already been provided with a working linux kernel. The evaluation board has an LCD display and I can confirm hardware & drivers are ...
1
vote
1answer
197 views

How do I get fb0 scanline length?

I am accessing /dev/fb0, the screen's frame buffer, in console mode, Debian 10, using a HP Envy Touchsmart laptop, using fwrite standard C function. I read this page: https://techoverflow.net/2015/06/...
3
votes
0answers
73 views

How can I display graphics on the screen from the kernel over the top of my X11/Wayland session?

I want to draw simple (2D bitmapped) graphics onto my screen (in response to (simple) external inputs) with the lowest latency possible (the order of tens of milliseconds) so I can empirically test ...
3
votes
1answer
131 views

How can I prevent a TTY (e.g. /dev/tty1) from writing to the framebuffer (/dev/fb0)?

I'm running a Raspbian Buster server with no Xserver. I want to display wallpaper on a connected television but /dev/tty1 keeps over writing /dev/fb0 either with a blinking cursor or just refreshing ...
0
votes
1answer
60 views

How to prevent a particular terminal (e.g. /dev/tty1) from writing the cursor to framebuffer (e.g. /dev/fb0)

I'm running Raspbian Buster with no Xserver but attached to a television. I have a script that writes an image to the framebuffer from a timed systemd service. The problem is /dev/tty1 is writing ...
0
votes
0answers
48 views

How to set a large stty size?(default 80x24)

I'm really not sure where is the problem, so I'm putting all message i think helpful here. dmesg | grep drm [ 0.316388] fb0: switching to cirrusdrmfb from EFI VGA [ 0.316769] [drm] fb mappable ...
1
vote
0answers
260 views

Struggling with display KMS options on Lenovo D330-10igm

I'm trying to replace the default Windows 10 installation with Linux on this hybrid tablet. What I tried First I tried with Ubuntu 18.04, blank screen, I thought about starting modifying the KMS ...
0
votes
0answers
67 views

Accessing the full screen in console mode

I have a newly installed version Rockchip Debian running on a Libre Computer Renegade that I use solely in console mode. I am trying to get text to take up the entire screen and have managed to ...
2
votes
0answers
49 views

Redirect all keyboard input to a detached screen session

I'm trying to build a headless system using a Raspberry Pi; I have two programs runnning on it, one to catch all the input from a barcode reader (a simple keyboard emulation device) and one to display ...
1
vote
0answers
96 views

How do I vsync in bash (or the Linux framebuffer)?

I was trying to see how fast I could fill/swap on /dev/fb0 with something to the effect of: while :; do head -c $SIZE /dev/erg > /dev/fb0; head -c $SIZE /dev/zero > /dev/fb0; done (Where /dev/...
0
votes
0answers
92 views

USB framebuffer device not working because of xorg driver

While my framebuffer device, connected via USB, seems to work just fine, I cannot start an XServer using the fbdev driver. I debugged the piece of xorg that opens the framebuffer device (hw/xfree86/...
0
votes
0answers
102 views

Start PyGame on /dev/tty1 from a SSH session (can't access the framebuffer via SSH)

I have a small touchscreen attached to a Raspberry Pi, and when I start a Python script via an attached keyboard, directly on /dev/tty1, this script is able to execute pygame.display.init() ...
1
vote
0answers
47 views

Display blacking out on boot (Macbook Linux)

(Please note that I am breaking this out as a separate question from this one I asked earlier: How exactly do the Linux display device files work?) I have a Linux From Scratch system that I've built (...
2
votes
0answers
138 views

How exactly do the Linux display device files work? [closed]

I don't really understand how the Linux display device files work and interact together. What files in the /dev tree need to go where and where do they need to connect/point to, in order to show a ...
1
vote
1answer
365 views

mapping linux /dev/fb0 to DDR for displaying

I want to write a linux driver which maps my specified memory address space to /dev/fb0. the driver should be specified by what part of linux? drm or frame buffer or server X or somthing else? Which ...
0
votes
1answer
103 views

Two screens/monitors in Linux console (FB not Xorg)

I try to 'mirror' a Linux console (not Xserver) from a Dell laptop to an external monitor connected with HDMI cable. The graphic card is Intel UHD 620. What's the best approach? Initial net search ...
0
votes
1answer
212 views

Kernel Feature needed to change framebuffer colors?

I'm trying to change the colors in the virtual terminal. So far I've tried: echo -en "\e]PXYYYYYY"-style escapes writing to /sys/module/vt/parameters/default{red,grn,blu} the PIO_CMAP ioctl At this ...
4
votes
1answer
825 views

How to display an X11 screen from a remote machine? (Alternative to ssh -X)

I am locally on a machine without root rights. X forwarding is disabled. Remotely I am running a process on a machine without a screen, using the Xvfb virtual framebuffer which simulates an X server ...
0
votes
0answers
98 views

Modify start up routine of LXDE using startx command

I have built lxde and fbtft driver for Raspberry Pi using Yocto. In order to correctly start X11 session and dbus, I need to stop the existing one and execute something like: FRAMEBUFFER=/dev/fb1 ...
1
vote
0answers
225 views

Embedded linux - USB framebuffer device mounting

I have a embedded system which consists of a usb framebuffer display, and a customized embedded linux (3.10.59) box running Busybox (1.21.1). There is software running a application which utilizes ...
1
vote
2answers
3k views

How to send commands to fbi over SSH?

I'm using fbi to display some images. fbi has some keyboard controls, like +, -, Page Up, Page Down, etc. to control the images. Instead of using keyboard, I want to send these control commands over ...
5
votes
0answers
916 views

How can I run (start) a framebuffer application via SSH?

I am currently fiddling around with a RaspberryPi and a TFT hat. It is connected to the RPi GPIO pins. The TFT screen itself is working and I see the normal Linux console on it. I fetched a quick ...
1
vote
1answer
6k views

How can I get my framebuffer console working?

I have an Apple MacBook that is running a Linux From Scratch system that I have built. It is a minimal system, just booting into a bash prompt, with no X Window System installed. The graphics chip is ...
1
vote
1answer
357 views

Do I need a framebuffer driver for a minimal CLI system without X?

I've recently built a Linux From Scratch system on my Apple Macbook laptop; however, I've been struggling to understand the graphics hardware and what kernel driver options I need to enable. The LFS ...
3
votes
1answer
2k views

Is there a way to add margin, border, offset or padding to the Linux frame buffer text console to compensate for HDMI overscan?

I have a newly bought cheap 8 inch TFT LCD display that is "cutting the edges off" on all sides (i.e., not showing all the pixels). I've come to understand that this is due to "overscan" which seems ...
2
votes
1answer
694 views

How do i set framebuffer console font > 32x16?

I need a to set a font larger than 32x16 for my framebuffer console. As far as i know 32 is the maximum you can do. Is there a workaround? I'm fine with starting an alternate framebuffer terminal (...
1
vote
1answer
217 views

Linux framebuffer not reverting to text console when netsurf crashes

On an older computer running Linux (using vesafb, musl libc, busybox), Netsurf will occasionally segfault in low memory situations. When it does so, the last image stays visible on the display, and ...
3
votes
0answers
94 views

Detecting intervals of inactivity in the tty? (to simulate setterm --blank in fbterm)

setterm --blank n allows me to configure the virtual terminal to automatically shut the display off after n minutes of inactivity. Unfortunately, I spend all my time in fbterm, where setterm does not ...
3
votes
2answers
1k views

Enabling /dev/fb0 on a CentOS 7 virtual machines?

Recently ran into a situation where I need to install headless TeamViewer on a CentOS 7 server on Linode. This requires /dev/fb0 in order to function. So far it has not been clear on how to enable ...
1
vote
1answer
3k views

Display a png image file on a framebuffer: png-fb source

I want do display a png image on a framebuffer on an embedded Linux. I already found the manpage of png-fb: man fb-png But I could not find a source for that. Does anybody know the source for that ...
1
vote
2answers
708 views

Linux Console prints the letter 'q' randomly

I'm trying to set up my Linux console - the bare TTY terminal without X. I tried to capture this problem with asciinema but interestingly, it didn't show up there, So I captured it with my own camera, ...
4
votes
1answer
296 views

Switching between two framebuffer programs

I have two programs (mplayer and a custom java application) which both present GUI using framebuffers. They run in separate processes. I want to be able to switch from one program to the other without ...
0
votes
2answers
329 views

i915 as secondary and dpms problem on primary

I do have a Supermicro X11SBA-LN4F running Debian stretch RC2. This board has an AST2400 BMC and an N3700 processor. So, the board got two video cards - one via ast and one via i915. This results ...
3
votes
0answers
220 views

Minimalistic Framebuffer showing text and progress only

I have an embedded linux system with framebuffer only. Normally a Qt Application is running. During update situation the application is stoped and I would like to use the framebuffer device to show ...
6
votes
1answer
4k views

Disable framebuffer in QEMU guests

The QEMU options -display curses and -nographic -device sga (the serial graphics adapter) are very convenient for running QEMU outside of a graphical environment. (think: remote ssh connection, ...
3
votes
1answer
1k views

How to get tty to display on another monitor (using nvidia drivers)

I am trying to have the tty (at boot) to display on a secondary monitor than what it currently starts on, or even better - to have multiple tty's running at once on different displays, as is described ...
0
votes
1answer
2k views

mplayer -vo caca with geometry

This -geometry 256x144+1095+600 work to show video in rigth bottom: mplayer -ontop -noborder -geometry 256x144+1095+600 -loop 0 -idle -fixed-vo -msglevel all=-1 2>/dev/null video.mp4 But this one ...
1
vote
2answers
1k views

Solarized colorscheme in fbterm?

I have fbterm installed and I'm attempting to use it with the solarized color scheme. I have not been able to find any information about this. The colors are already added to my .Xresources and ...
1
vote
1answer
1k views

what is the difference between (linux) framebuffer and GPU's memory?

what is the difference between a Linux or software-controlled framebuffer and a GPU memory? Is there any good pictorial guide to explain how Linux framebuffer works? On an embedded board with GPU, do ...
4
votes
0answers
379 views

How do I use the color palette (FBIOPUTCMAP)?

I am trying to track down the following issue in Debian Jessie on PowerPC. Per bogl-bterm package maintainer the issue is simply that bterm makes uses of FBIOPUTCMAP, see ref here. So before even ...
1
vote
0answers
131 views

How to set framebuffer's output?

I'm using linux (4.4) and Nvidia proprietary driver (361). A also have two monitors (one VGA, one HDMI). By default (during BIOS stage of booting) the image is displayed only on VGA output. After BIOS ...
4
votes
2answers
3k views

Changing Xvfb frame buffer resolution while it's running

I run Xvfb with command: Xvfb :1 -screen 0 100x100x16 -fbdir /tmp And it's working fine. I can connect via VNC, and now under /tmp directory I have Xvfb_screen0 binary file. I thought it will act ...
4
votes
0answers
823 views

Can I change the X rotate the xf86-video-fbdev during execution?

Below is my /etc/X11/xorg.conf.d/1-fbdev.conf. /etc/X11/xorg.conf.d/1-fbdev.conf Section "Device" Identifier "LCD" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "Rotate" "UD" EndSection I ...
1
vote
0answers
209 views

How to have better transition between Splash Screen and Program in Frame buffer?

I am currently using Yocto Embedded Linux with frame buffer. When the machine is boot up, there is a splash screen. After the the splash screen, I will run rc.local to autostart my program. The ...
6
votes
1answer
15k views

Extension “RANDR” missing on xvfb

My system: $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty Xvfb: $ dpkg -s xvfb Package: xvfb ...
1
vote
0answers
92 views

Check if laptop is asleep

Does anyone know to check via SSH or bash script whether or not my laptop has "fallen asleep". For some reason whenever my laptop falls asleep my drawings (on /dev/fb0) are over ridden by the ...