Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the fbset command of linux to set the scene frame buffer

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report