|
我在我的IBM ThinkPad T22上新装的Gentoo,kernel用的是加上了mmPatch的2.6.10-nitro4。
本本上的显卡是S3 Savage/IX-MV 8M的显卡。
已经在kernel里打开了framebuffer和vesa的选项,用的是vesafb-tng的驱动。
我在grub里用了video=vesafb:1024x768-16@60,可是每次启动分辨率都只有800x600。
如果加了vga=317,分辨率倒是1024x768,但是只显示在屏幕当中800x600的区域。
我在linuxsir和google上搜了半天了……
---------------------------------------------------------------------------------------
my grub.conf:
...
kernel /kernel-2.6.10-nitro4-mm ro root=/dev/hda3 video=vesafb:mtrr,ywrap,pmipal,1024x768-16@60 splash=silent
...
---------------------------------------------------------------------------------------
确定ywrap已经启用,console里可以用Shift+PgUp/PgDn卷屏。
---------------------------------------------------------------------------------------
dmesg:
...
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
...
mtrr: v2.0 (20020519)
...
savagefb: mapped io at d0880000
savagefb: probed videoram: 8192k
savagefb: Detected current MCLK value of 83045 kHz
savagefb: 1024x768 TFT LCD panel detected and active
savagefb: Limiting video mode to 1024x768
savagefb: mapped framebuffer at d0980000, pbase == f0000000
savagefb v0.4.0_2.6: 8064kB VRAM, using 800x600, 37.878kHz, 60Hz
Console: switching to colour frame buffer device 100x37
fbsplash: console 0 using theme 'default'
fb: S3 Savage/IX-MV frame buffer device
vesafb: S3 Incorporated., VBE 2.0, Rev 1.1 (OEM: S3 Incorporated. M7 BIOS)
vesafb: VBE version: 2.0
vesafb: protected mode interface info at c000:882d
vesafb: pmi: set display start = c00c888d, set palette = c00c88d6
vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=1536
vesafb: cannot reserve video memory at 0xf0000000
vesafb: framebuffer at 0xf0000000, mapped to 0xd1200000, using 3072k, total 8192k
fb1: VESA VGA frame buffer device
...
---------------------------------------------------------------------------------------
我哪里都没设置过800x600呀……郁闷……
---------------------------------------------------------------------------------------
cat /usr/src/linux/.config | grep _FB:
CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
...
CONFIG_FB_VESA=y
...
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE="1024x768-16@60"
...
CONFIG_FB_SAVAGE=y
CONFIG_FB_SAVAGE_I2C=y
CONFIG_FB_SAVAGE_ACCEL=y
...
CONFIG_FB_SPLASH=y
---------------------------------------------------------------------------------------
不知道为什么,我的fb设备是fb1,没有fb0
---------------------------------------------------------------------------------------
cat /proc/fb1/vbe_info:
Version: 2.0
Vendor: S3 Incorporated.
Product: VBE 2.0
OEM rev: Rev 1.1
OEM string: S3 Incorporated. M7 BIOS
---------------------------------------------------------------------------------------
我的VBE是2.0的,不知道是不是显卡的fb驱动不支持VBE 3.0啊……
---------------------------------------------------------------------------------------
cat /proc/fb1/modes:
...
1024x768-16
1024x768-32
...
---------------------------------------------------------------------------------------
用vbetest可以通过所有的1024x768的测试
现在不知道该怎么办了,我的液晶屏用800x600的分辨率显示字体实在太ugly啦……
以前在fedora core 2上用vga=317显示的很正常的啊……
那位大哥救救我啊,我在线等!
:help :help :help :help :help :help :help |
|