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

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/...
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
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 ...
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 ...
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 ...
1
vote
1answer
211 views

How to paint on linux graphical console?

I need to display QR codes on graphical console on Linux. I am using qemu. Can you give me a sample code of painting something on graphical console or a hint how to do that?
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 ...
6
votes
0answers
2k views

Setting the EFI Framebuffer's Resolution during boot

I've got a MSI WD-60 laptop running Gentoo. It has one of those 3840x2160 screens so I've had to setup Gnome/Firefox/IntellJ to double their DPI for anything to be readable. It all works fine except ...
5
votes
0answers
505 views

Setting Framebuffer splash resolution when exiting X

I installed a copy of BackTrack 5 R2 (Ubuntu 10.04) to my HDD and dual-booted with Windows 7. After a bit of tweaking I set about updating the native Intel drivers because it was only allowing me to ...
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 ...
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 ...
4
votes
0answers
4k views

How to create the framebuffer file node?

I'm working with a limited embedded device - Linux environment - that uses a custom DirectFB implementation to draw a user interface in its video output. I would like to exchange this method by a raw ...
4
votes
0answers
807 views

add monitor to linux tty framebuffer

Whenever I use my laptop at my desk, I usually connect it to an external display on DP-1. To switch the window manager output to this display, I can just use xrandr --output DP-1 ... However, ...
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 ...
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 ...
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
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 ...
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 ...
3
votes
0answers
549 views

redirecting output of /dev/fb0 to /dev/fb2

I am using IMX6 Saberauto board on Linux OS. I have 2 displays primary is HDMI and secondary is LVDS. I want to run 2 applications. One QT on primary display, which I am able to do. Second ...
3
votes
0answers
1k views

modetest.c from libdrm tests lists no framebuffers

I wanted to play with KMS since it seems to be the preferred low-level graphics library on Linux. However, after compiling the appropriate modetest.c version (2.4.32, since that's the version of ...
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?
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 ...
2
votes
0answers
327 views

Specify Virtual Size using DRM with Frambuffer Emulation

I am attempting make use of double buffering on an AM335x processor. We have an example running on a demo image that was not created by us. I am working on putting together our own image using ...
2
votes
0answers
95 views

Does all applications which show graphics without an X server has to use the frame buffer device on linux?

I am using limelight embedded on my raspberry pi 2. The application streams games from your Windows PC. It is not an X application because no X server is running. So does this application has to ...
2
votes
0answers
875 views

Why reading from and writing to framebuffer shows no effect ?

I read a very short description of how to make a Screenshot by making use of the file which represents the framebuffer /dev/fb0. in order to write the screen content: cat /dev/fb0 > file in ...
2
votes
0answers
1k views

Setting fbcon to use a specfic frame buffer device

I am trying to display the output from and SDL based application on to a framebuffer device /dev/fb1. Fb1 is associated with a SM750 based card. When I run my application, the output always appears ...
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/...
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 (...
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 ...
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 ...
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 ...
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
0answers
697 views

How to inform Xorg about a resolution I have already set?

I'm trying to get my Banana Pi Pro to switch between 1920x1080 and 1280x720 resolutions on an HDMI screen. Both resolutions work fine if I set them in uEnv.txt: disp.screen0_output_mode=1280x720p60 ...
1
vote
0answers
366 views

Tegra Mesa GLES without X

I am trying to setup a Tegra 3 (Toradex Apalis T30) based system that will have an OpenGL ES based user interface on a touch screen. Unfortunately the standard Linux4Tegra kernel is seriously outdated ...
1
vote
0answers
123 views

re-initialize the framebuffer when program crashes

I'm using SDL to display images on a monitor, without X installed. When my program ends successfully, the monitor goes back to the login prompt (as expected). But when my program crashes, the last ...
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.
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
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 ...
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 ...
0
votes
0answers
5k views

How can I enable framebuffer in Debian

How can I enable framebuffer in Debian console? This is what I've already tried: Add the following lines to the "/etc/default/grub" file: GRUB_GFXMODE=1024x768 GRUB_GFXPAYLOAD_LINUX=1024x768 The ...