Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

11
votes
2answers
14k views

Rotate console on startup (Debian)

I want to rotate my console (not X Server) by 90 degrees (clockwise). The following seems to work for me: echo 1 > /sys/class/graphics/fbcon/rotate; however, I'd prefer to use a kernel option in ...
2
votes
0answers
37 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 ...
3
votes
0answers
1k views

When would I use FBDEV vs DRM vs DSS?

I'm interested in developing a graphics driver. I see that Linux supports three methods for writing graphics to the display device FBDEV DRM DSS2 When would I use one versus the other?
27
votes
4answers
46k views

Can GRUB font size be customised?

I would like to reduce the size of the font of GRUB boot loader. Is it possible and so how?
13
votes
1answer
8k views

How can I add an additional framebuffer device in Linux?

I'm running a Ubuntu 12.04 LTS as a home NAS server, without X. Recently I got into tuning it to serve as a video playing media device too. It might've been easier at this point to install X, but I ...
1
vote
0answers
27 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
22 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
28 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() ...
2
votes
0answers
111 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 ...
0
votes
0answers
36 views

Centos 7 console scrollback

Is it possible to view all messeges printed by kernel during boot? I tried "log_buf_len=4M" in /etc/default/grub, but no luck. I'm able to scroll back only a few lines.
12
votes
2answers
20k views

Is it possible to access to the framebuffer in order to put a pixel on the screen from the command line?

I am not sure if it is the only possible way, but I read that in order to put a single pixel onto the screen at a location of your choice one has to write something into a place called framebuffer. So ...
1
vote
2answers
1k views

change linux text console scrolling speed - without rebooting

Is there any way to change to the text console scrolling speed without rebooting? Currently using Fedora, but non-distribution-specific answers appreciated. https://www.kernel.org/doc/Documentation/...
2
votes
1answer
2k views

How to redirect and use the framebuffer?

I need to work on the framebuffer to record what is being rendered. Now, I figure out how to convert the framebuffer in an image, I'm currently unable to obtain a constant stream of data from the fb ...
23
votes
5answers
59k views

How to use /dev/fb0 as a console from userspace, or output text to it

So I have a Palm Pre (original P100EWW) model that I enabled developer mode on, and installed a Debian Squeeze chroot. Works great. I have plans to use this for ANYTHING (bittorrent peer, web server)...
1
vote
0answers
32 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 (...
3
votes
1answer
812 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
60 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 ...
1
vote
1answer
228 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 ...
5
votes
1answer
835 views

Setting the video output for the framebuffer device

I'm working with Broadcom's 97356 device, which contains an HDMI and an analog video output device. I'd like to be able to draw stuff to one of those two devices (or both at the same time!) using a ...
3
votes
3answers
3k views

Creating a boot splash screen

I've been designing a Linux distro and trying to incorporate a nice user experience into it in the form of pleasing art and an interface that won't confuse or overwhelm first-time Linux users. The ...
0
votes
0answers
99 views

How does one go about making a DRM driver for custom graphics hardware?

For example, a partial driver is already available for a usb2vga device, currently capable of displaying static images, so support for desktop/window management is still missing: https://github.com/...
0
votes
0answers
204 views

Setting framebuffer with xrandr breaks desktop

I am currently trying to find a solution to make my HiDPI Laptop screen work with an ultrawide non-HiDPI as an external monitor on GNOME. I have read a lot and what I understand about the basic ...
0
votes
1answer
138 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 ...
0
votes
2answers
2k 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 ...
4
votes
1answer
417 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 ...
2
votes
1answer
491 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
131 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 ...
2
votes
1answer
854 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 ...
0
votes
0answers
64 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 ...
6
votes
1answer
3k 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, ...
1
vote
0answers
173 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 ...
3
votes
1answer
255 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 ...
5
votes
1answer
2k views

What happened to `vga=ask` in newer kernels?

I used to activate framebuffer mode in the "older" kernels with vga=ask, and later setting it to a value, once I've figured out which one works best for me. Now, this option seems to be gone, the 3....
3
votes
1answer
1k 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 ...
3
votes
0answers
644 views

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

I am currently fiddling around with a RaspberryPi and a TFT hat. The TFT screen itself is working and I see the normal Linux console on it. I fetched a quick pygame example and ran it successfully ...
1
vote
1answer
4k 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
242 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
0answers
70 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 ...
2
votes
1answer
2k views

Best practice for hiding virtual console while rendering video to framebuffer

I'm currently rendering video in Linux directly to the framebuffer using GStreamer. I was wondering how I would go about hiding the virtual console while rendering. I can stop the cursor from ...
2
votes
2answers
501 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, ...
1
vote
1answer
2k 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
823 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
537 views

How does JavaFX takes control of the Raspberry Pi?

I'm interested in doing the same as JavaFX does but using another language. I want to crate a simple interface on a system without X server installed. (I know that doing anything meaningful with it ...
0
votes
1answer
266 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
179 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 ...
3
votes
2answers
2k 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 ...
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 ...
4
votes
0answers
311 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 ...
3
votes
2answers
790 views

How can I force the console to output to something other than the framebuffer?

I recently recompiled my kernel to support the vesa framebuffer for some Directfb fun but now my console outputs text very slowly. It's almost as if turning on the framebuffer caused my console to ...
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 ...