在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