宽屏笔记本使用fc2的分辨率问题
我在COMPAQ Presario V2009AP上安装了FC2,显卡自动监测为intel 852,不知如何选择显示器类型,才能使用本子的宽屏分辨率1280×768,我现在只能在1024×768的分辨率下看着变形的显示器。请高手赐教。 看howto文档里应该有讲怎么改的吧 改 /etc/X11/xorg.conf 里的 Section "Screen", Modes "1024x768" .... -> Modes "1280x768" 改 /etc/X11/xorg.conf 里的 Section "Screen", Modes "1024x768" .... -> Modes "1280x768"显示器选择什么?我改了重启以后,分辨率并未有变化。显示使用的是i810的驱动,是否有关。 哦,忘了说了:)
显示器最好查一下你的说明书,手工输入频率范围。给你个例子Section "Monitor"
Identifier "LCD Monitor"
HorizSync 20-90
VertRefresh50-100
Option "dpms"
DisplaySize230 138
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection
你的显卡也许需要一个补丁,1280patch.c 首先感谢dannycat兄的及时回复,我不明白如何给显卡打上1280patch.c补丁。 下载那个源文件,然后编译$ gcc -o 1280patch 1280patch.c
chmod +x 1280patch
然后su 到 root 用户,执行之./1280patch
错误提示
运行有错误[root@sinopec install]# ./1280patchChipset: 855GM
BIOS Configuration area offset: 0x0b50 bytes
BIOS Version: 33
段错误
[root@sinopec install]#
试试这个:http://www.naobsd.org/1280patch-845g-855gm-865g.c
并请参考:http://www.leog.net/fujp_forum/topic.asp?TOPIC_ID=5371 在字符下安装没有什么提示,重启动后没有解决问题
第二个连接是e文,没能看明白.
我现在的xorg.conf
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database.Note, this is the name of the
# file minus the extension (like ".txt" or ".db").There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load"dbe"
Load"extmod"
Load"fbdevhw"
Load"glx"
Load"record"
Load"freetype"
Load"type1"
Load"dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier"Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier"Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x768"
HorizSync 31.5 - 90.0
VertRefresh60.0 - 60.0
Option "dpms"
EndSection
Section "Device"
Identifier"Videocard0"
Driver "i810"
VendorName"Videocard vendor"
BoardName "Intel 852"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 32
Modes "1280x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x768"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
这个 patch 只是调整内存里的信息,重启后就会消失。如下操作:
步骤1:编译 patch # gcc -o 1280patch 1280patch-845g-855gm-865g.c
步骤2:把生成的1280patch(或者你自己指定的名字)加上可执行属性并复制到 /usr/sbin 下# chmod +x 1280patch
# cp 1280patch /usr/sbin
步骤3:在你的 /etc/rc.local 的最后加一行 /usr/sbin/1280patch 52 1280 768
“52”本来是800x600的分辨率所占的位置,我们把它改成1280x768的
步骤4:修改 /etc/X11/xorg.conf,一定要加上 1280x768 的 ModeLine Section "Monitor"
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x768"
HorizSync 31.5 - 90.0
VertRefresh60.0 - 60.0
Option "dpms"
#下面这一行一定要加,不然显卡驱动不认识这个分辨率。具体的值要根据你的显示器调整
ModeLine"1280x768"80.141280 1344 1480 1680768 769 772 795
#如果报 DRI 有问题,试试使用下面的选项
#Option "DRI" "No"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
# 加上 "1280x768",你已经做了。再加一个 “1024x768”以备不时之需
Modes "1280x768" "1024x768"
EndSubSection
EndSection
一般来说就可以了。没有在你这么新的BIOS的显卡上试过,不过应该不会有什么问题。 顺利搞定,感激之情如滔滔江水, :-D "系统设置""显示"中并没有此分辨率,"首选项""屏幕分辨率"确显示1280*768, :-)
页:
[1]