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

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 ...
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() ...
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.
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 (...
2
votes
0answers
112 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
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 ...
0
votes
1answer
62 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
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
139 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
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 ...
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 ...
1
vote
0answers
175 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 ...
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 ...
3
votes
0answers
646 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
246 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
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 ...
2
votes
1answer
494 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
132 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
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
858 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
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
504 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, ...
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 ...
0
votes
1answer
268 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 ...
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, ...
2
votes
1answer
814 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
824 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
312 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
124 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 ...
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 ...
4
votes
0answers
726 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
182 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
14k 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
82 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 ...
1
vote
0answers
163 views

Load NVIDIA module for X and load nouveau module for framebuffer: automatically

NVIDIA driver doesn't have support for framebuffer console. I want Linux kernel to automatically load NVIDIA for X window system, and nouveau for framebuffer console. There should be a method to ...
1
vote
0answers
25 views

The window would like the X- represents at the same time in two frame buffers

I'm using the two frame buffer. /dev/fb0: 1024x768 (LCD) /dev/fb1: 1920x1080 (HDMI) I want to be the same content simultaneously on two frame buffer output. Is there any way ?
1
vote
0answers
605 views

Why does fbset -i report a different resolution?

I'm exploring the linux frame buffer, /dev/fb0, and when I run sudo fbset -i from a virtual console in Gnome 3 (using Terminator) on Fedora 23, it reports the dimensions of the frame buffer as ...
1
vote
1answer
538 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
0answers
1k views

linux red-hat 7.1 + increase the ring buffer

My target is to increase the ring buffer ( I have Linux red-hat 7.1 ) , but I get the following: ethtool -G eth1 rx 8192 Cannot set device ring parameters: Invalid argument so how to enable this ...
3
votes
0answers
1k views

Why I need a framebuffer size larger then monitor size when transform destination area is smaller

I tried to remove 100px left & right the top of a 1366x768 screen (as below) using xrandr transformation. But I got an error about not enough framebuffer size. $ xrandr --output LVDS1 --fb ...
2
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 ...
2
votes
2answers
461 views

How does bash print to the screen if not with a framebuffer? [duplicate]

I noticed that a framebuffer doesn't always exist on some systems. In these cases, how does bash print to the screen (assuming it ever uses fb devices at all)? Since there's no framebuffer device, ...
3
votes
0answers
257 views

Is there some way of simulating a framebuffer device?

I'm starting to write a small software that I intend to run on embedded linux, and I want to draw the GUI using a framebuffer device. However, since I want to be able to test the software on my ...