solaris中如何設置分辨率?在solaris中設置分辨率的方法教程

2020-07-11 16:42:56 來源:互聯(lián)網(wǎng)作者:佚名 人氣: 次閱讀 7 條評論

如何在solaris中設置分辨率?下面小編將為大家?guī)淼氖窃趕olaris中設置分辨率的方法!希望對大家會有幫助,感興趣的朋友一起去看看吧...

如何在solaris中設置分辨率?下面小編將為大家?guī)淼氖窃趕olaris中設置分辨率的方法!希望對大家會有幫助,感興趣的朋友一起去看看吧。

在X86,sparc 下的命令不同:

X86   用kdmconfig

sparc   用fbconfig

我的機子無法 在圖形界面設置分辨率,所以就搜了一下,以下是sparc 機子上如何命令行里設置分辨率;

在Solaris下更改分辨率是比較麻煩的  但大概的步驟可以如下:

常用的命令有:

ffbconfig,fbconfig,m64config

確定系統(tǒng)顯卡類型:

# cd /dev/fbs; ls –l

確定系統(tǒng)有多少塊顯卡

# fbconfig -list

  Device-Filename              Specific Config Program

  ---------------              -----------------------

  /dev/fbs/m640                SUNWm64_config

   /dev/fbs/ifb0                SUNWifb_config

確定系統(tǒng)顯卡支持的分辨率

# fbconfig -dev /dev/fbs/ifb0 -res \?

Valid values for -res option are:

        NONE

        1024x768x60

        1024x768x70

        1024x768x75

        1024x768x77

        1024x800x84 [1]

……………………

確定現(xiàn)顯卡的分辨率

# fbconfig -dev /dev/fbs/ifb0 -prconf

--- Hardware Configuration for /dev/fbs/ifb0 ---

Type: Expert3D-Lite

PROM Information: @(#)ifblite.fth 1.14 00/10/23 SMI

EDID Data: Available - EDID version 1 revision 1

Monitor type: Sun P/N 365-1396 S/N 9925KW1260

Monitor possible resolutions: 1024x768x60, 1024x768x70, 1024x768x75,

1024x768x77, 1152x900x66, 1152x900x76, 640x480x60

Current resolution setting: 800x600x75

Slave Mode: Disabled

Video Memory Total: 33554432

Video Memory Used: 7782400

Texture Memory Total: 16777216

Texture Memory Used: 0

Display List Memory Total: 8388608

更改分辨率

bash-3.00# fbconfig -dev /dev/fbs/ifb0 -res 640x480x60

注:更改分辨率后不必要重啟,只要重新 logout/login 就行了。

bash-3.00# fbconfig -dev /dev/fbs/ifb0 -prconf

--- Hardware Configuration for /dev/fb/ifb0 ---

Type: Expert3D-Lite

PROM Information: @(#)ifblite.fth 1.14 00/10/23 SMI

EDID Data: Available - EDID version 1 revision 1

Monitor type: Sun P/N 365-1396 S/N 9925KW1260

Monitor possible resolutions: 1024x768x60, 1024x768x70, 1024x768x75,

1024x768x77, 1152x900x66, 1152x900x76, 640x480x60

Current resolution setting: 640x480x60