QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2397|回复: 12

宽屏笔记本使用fc2的分辨率问题

[复制链接]
发表于 2004-10-5 10:26:28 | 显示全部楼层 |阅读模式
我在COMPAQ Presario V2009AP上安装了FC2,显卡自动监测为intel 852,不知如何选择显示器类型,才能使用本子的宽屏分辨率1280×768,我现在只能在1024×768的分辨率下看着变形的显示器。请高手赐教。
发表于 2004-10-5 10:32:41 | 显示全部楼层
看howto文档里应该有讲怎么改的吧
回复

使用道具 举报

发表于 2004-10-5 10:35:15 | 显示全部楼层
改 /etc/X11/xorg.conf 里的 Section "Screen", Modes "1024x768" .... -> Modes "1280x768"
回复

使用道具 举报

 楼主| 发表于 2004-10-5 11:31:18 | 显示全部楼层
[quote:a05fe33083="dannycat"]改 /etc/X11/xorg.conf 里的 Section "Screen", Modes "1024x768" .... -> Modes "1280x768"[/quote]

显示器选择什么?我改了重启以后,分辨率并未有变化。显示使用的是i810的驱动,是否有关。
回复

使用道具 举报

发表于 2004-10-5 11:50:36 | 显示全部楼层
哦,忘了说了:)
显示器最好查一下你的说明书,手工输入频率范围。给你个例子[code:1]Section "Monitor"
        Identifier   "LCD Monitor"
        HorizSync    20-90
        VertRefresh  50-100
        Option            "dpms"
        DisplaySize  230 138
        Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection[/code:1]

你的显卡也许需要一个补丁,1280patch.c
回复

使用道具 举报

 楼主| 发表于 2004-10-5 13:00:09 | 显示全部楼层
首先感谢dannycat兄的及时回复,我不明白如何给显卡打上1280patch.c补丁。
回复

使用道具 举报

发表于 2004-10-5 14:15:07 | 显示全部楼层
下载那个源文件,然后编译[code:1]$ gcc -o 1280patch 1280patch.c
chmod +x 1280patch[/code:1]
然后su 到 root 用户,执行之[code:1]./1280patch[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-10-5 15:14:11 | 显示全部楼层

错误提示

运行有错误[code:1][root@sinopec install]# ./1280patch
Chipset: 855GM
BIOS Configuration area offset: 0x0b50 bytes
BIOS Version: 33
段错误
[root@sinopec install]#
[/code:1]
回复

使用道具 举报

发表于 2004-10-5 15:39:37 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2004-10-5 17:56:23 | 显示全部楼层
在字符下安装没有什么提示,重启动后没有解决问题
第二个连接是e文,没能看明白.

我现在的xorg.conf
[code:1]# 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
        VertRefresh  60.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

[/code:1]
回复

使用道具 举报

发表于 2004-10-5 18:48:53 | 显示全部楼层
这个 patch 只是调整内存里的信息,重启后就会消失。如下操作:

步骤1:编译 patch [code:1]# gcc -o 1280patch 1280patch-845g-855gm-865g.c [/code:1]
步骤2:把生成的1280patch(或者你自己指定的名字)加上可执行属性并复制到 /usr/sbin 下[code:1]# chmod +x 1280patch
# cp 1280patch /usr/sbin[/code:1]
步骤3:在你的 /etc/rc.local 的最后加一行[code:1] /usr/sbin/1280patch 52 1280 768
“52”本来是800x600的分辨率所占的位置,我们把它改成1280x768的[/code:1]
步骤4:修改 /etc/X11/xorg.conf,一定要加上 1280x768 的 ModeLine[code:1] Section "Monitor"
Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "LCD Panel 1280x768"
   HorizSync    31.5 - 90.0
   VertRefresh  60.0 - 60.0
   Option       "dpms"
   #下面这一行一定要加,不然显卡驱动不认识这个分辨率。具体的值要根据你的显示器调整
   ModeLine  "1280x768"  80.14  1280 1344 1480 1680  768 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[/code:1]

一般来说就可以了。没有在你这么新的BIOS的显卡上试过,不过应该不会有什么问题。
回复

使用道具 举报

 楼主| 发表于 2004-10-5 20:57:24 | 显示全部楼层
顺利搞定,感激之情如滔滔江水,
回复

使用道具 举报

 楼主| 发表于 2004-10-5 21:00:56 | 显示全部楼层
"系统设置""显示"中并没有此分辨率,"首选项""屏幕分辨率"确显示1280*768, :-)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-12 22:00 , Processed in 0.184401 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表