Use the fbset command of linux to set the scene frame buffer
In this article, let's take a look at setting the frame buffer using linux's fbset command. There is a certain reference value, friends in need can refer to, hope to help you.
Fbset command is the abbreviation of "framebuffer set". This command can be used to set the size of the frame buffer, adjust the resolution, position, width, color depth of the picture, and decide whether to start the hardware features of the card.
Syntax format: fbset [parameters] [display mode]
Common parameters:
-a change the display mode of all virtual terminals using the device-db specifies the display mode information file, the preset value file name is fb.modes, stored in the / etc directory-fb designated as the output frame buffer outside the device, preset to "/ dev/fd0"-n immediately change the display mode
Reference example
Set the screen resolution and desktop resolution:
[root@linuxcool] # fbset-g 800 688 1024 768
Start hardware text acceleration:
[root@linuxcool ~] # fbset-accel true
Start the broadcast function:
[root@linuxcool ~] # fbset-bcast true
View picture resolution:
[root@linuxcool ~] # fbset
Mode "1366x768-60"
# D: 73.078 MHz, H: 47.639 kHz, V: 59.999 Hz
Geometry 1366 768 1408 768 16
Timings 13684 104 32 18 3 32 5
Hsync high
Vsync high
Rgba 5/11,6/5,5/0,0/0
Endmode
View help:
[root@linuxcool] # fbset-- help
Linux Frame Buffer Device Configuration Version 2. 1 (23 / 06 / 1999)
(C) Copyright 1995-1999 by Geert Uytterhoeven above is a brief introduction to setting the frame buffer using linux's fbset command. Of course, the differences in the detailed use of the above have to be understood only after you have used them. If you want to know more, welcome to follow the industry information channel!