Chinaunix首页 | 论坛 | 博客
  • 博客访问: 810695
  • 博文数量: 167
  • 博客积分: 7173
  • 博客等级: 少将
  • 技术积分: 1671
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-04 23:07
文章分类

全部博文(167)

文章存档

2018年(1)

2017年(11)

2012年(2)

2011年(27)

2010年(88)

2009年(38)

分类:

2009-08-06 16:57:16

在Solaris下更改分辨率是比较麻烦的  但大概的步骤可以如下:


常用的命令有:

ffbconfig,fbconfig,m64config

 

确定系统显卡类型:

# cd /dev/fbs; ls –l

 

确定系统有多少块显卡

# fbconfig -list

  Device-Filename              Specific Config Program

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

  /dev/fbs/m640                SUNWm64_config

  /dev/fbs/ifb0                SUNWifb_config


确定系统显卡支持的分辨率

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

Valid values for -res option are:

        NONE

        1024x768x60

        1024x768x70

        1024x768x75

        1024x768x77

        1024x800x84 [1]

……………………


确定现显卡的分辨率

# 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



如何设置深度下次再写了  

阅读(2298) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~