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

Framebuffer is a part of video memory where (current) video frame is stored, pixel by pixel.

In Linux kernel, fbdev is a graphic abstraction layer for accessing that memory. Different video hardware needs different drivers, that may be loaded as kernel modules, but user-space software uses unified API writing to it. See http://tldp.org/HOWTO/Framebuffer-HOWTO/ for details.

142 questions
64
votes
5 answers

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?
neydroydrec
  • 3,777
  • 8
  • 32
  • 42
31
votes
5 answers

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) but a phone. I noticed if I do a cat…
LawrenceC
  • 10,884
  • 4
  • 33
  • 45
31
votes
2 answers

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 I became curious, if it is possible to enter…
Abdul Al Hazred
  • 25,760
  • 23
  • 64
  • 88
29
votes
2 answers

Kernel Mode Setting vs. Framebuffer?

With KMS, the graphics drivers are moved into the kernel. Since the framebuffer was already in the kernel, I wouldn't expect this to affect framebuffer operation. Yet, I read that KMS supercedes the fb, augments the fb, requires the fb, and requires…
user5184
  • 685
  • 2
  • 6
  • 11
26
votes
4 answers

No framebuffer device: how to enable it?

I'm trying to make a PCMCIA tuner card work in my headless home server, running Debian Squeeze. Now, as I have very big troubles finding the correct command line to capture, transcode end stream the video to the network using VLC, I decided to go…
Federico
  • 473
  • 1
  • 4
  • 7
23
votes
1 answer

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 decided to try mplayer with framebuffer playback.…
GolDDranks
  • 725
  • 1
  • 6
  • 11
17
votes
4 answers

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 Grub, rather than including the above in the…
BMiner
  • 441
  • 1
  • 3
  • 10
10
votes
2 answers

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.11 kernel tells me it ignores this legacy…
polemon
  • 11,133
  • 11
  • 69
  • 111
10
votes
2 answers

How can I get the number bytes to write per row for FrameBuffer?

Goal: I'm writing a very simple image viewer for framebuffer /dev/fb0 (something like fbi). Current state: My software takes the pixel resolution from /sys/class/graphics/fb0/virtual_size (such as 1920,1080). And then (for each row) it will write 4…
Garid Z.
  • 500
  • 2
  • 12
10
votes
1 answer

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, rescue system etc.) Both modes fail to work with…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
10
votes
1 answer

What is the kernel frame buffer?

I was reading the "mplayer" man pages trying to play video using just the console, (I don't have or don't want to install X11). It mentions that I can use the kernel frame buffer device which is fbdev2. It works, but I don't know much about what the…
manofsteelx
  • 103
  • 1
  • 5
8
votes
3 answers

cannot run in framebuffer mode. Please specify busIDs

from my previous question empty screen after booting from live persistent usb, I am able after boot to access all files and folders, but the X-server is unable to load (so I get only to tty1). From the previous question I was able to get to…
milanHrabos
  • 371
  • 1
  • 4
  • 12
8
votes
1 answer

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 to afflict mainly TVs using HDMI input. My kernel…
acker9
  • 201
  • 2
  • 6
7
votes
2 answers

Debian10: No such file or directory: /dev/dri/card0

I'm installing Debian 10 but I cannot startx nor have a GUI. I think the problem is about some driver. Here are the errors I've got in /var/log/Xorg.0.log : [drm] Failed to open DRM device for pci:0000:01:00.0 - 19 open /dev/dri/card0: No such file…
7
votes
1 answer

Embedded linux LCD not calibrated

I have attached a new LCD to my embedded Linux device and when I run the system I found that it is shifted to the right. (the display starts from the middle of the LCD) I found 2 frame buffer drivers under Linux kernel driver and modify in following…
gsk
  • 83
  • 4
1
2 3
9 10