LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 902|回复: 8

FC4启动画面分辨率问题[已解决]

[复制链接]
发表于 2006-9-7 19:16:30 | 显示全部楼层 |阅读模式
启动分辨率达到1280*1024,进系统后才恢复1024*768
请问在那里修改启动时候的分辨率??谢谢.
发表于 2006-9-8 11:39:28 | 显示全部楼层
在 grub里改,/boot/grub/grub.conf文件中内核的末尾加上vga=0x317是1204、768的分辨率吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 19:39:01 | 显示全部楼层
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,7)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=1
splashimage=(hd0,7)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2142_FC4)
        root (hd0,7)
        kernel /vmlinuz-2.6.17-1.2142_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.17-1.2142_FC4.img
title Fedora Core (2.6.11-1.1369_FC4)
        root (hd0,7)
        kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.11-1.1369_FC4.img
title Other
        rootnoverify (hd0,0)
        chainloader +1



修改img后面的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-8 20:02:34 | 显示全部楼层
是不是这里出问题了?

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 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      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "HD770II"
        DisplaySize  320        240
        HorizSync    30.0 - 73.0
        VertRefresh  50.0 - 130.0
        Option            "dpms"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
        VendorName  "Videocard vendor"
        BoardName   "VESA driver (generic)"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option            "DesktopSetup" "horizontal"
        Option            "OverlayOnCRTC2" "1"
        Option            "ForceMonitors" "crt1,notv"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1600x1200" "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
回复 支持 反对

使用道具 举报

发表于 2006-9-8 20:04:33 | 显示全部楼层
Post by thecool
启动分辨率达到1280*1024,进系统后才恢复1024*768
请问在那里修改启动时候的分辨率??谢谢.

修改/etc/X11/xorg.conf
  1. Section "Screen"
  2.         Identifier "Screen0"
  3.         Device     "Card0"
  4.         Monitor    "Monitor0"
  5.         DefaultDepth     24
  6.         SubSection "Display"
  7.                 Viewport   0 0
  8.                 Depth     1
  9.         EndSubSection
  10.         SubSection "Display"
  11.                 Viewport   0 0
  12.                 Depth     4
  13.         EndSubSection
  14.         SubSection "Display"
  15.                 Viewport   0 0
  16.                 Depth     8
  17.         EndSubSection
  18.         SubSection "Display"
  19.                 Viewport   0 0
  20.                 Depth     15
  21.         EndSubSection
  22.         SubSection "Display"
  23.                 Viewport   0 0
  24.                 Depth     16
  25.         EndSubSection
  26.         SubSection "Display"
  27.                 Viewport   0 0
  28.                 Depth     24
  29.                 Modes    "1024x768" "800x600" "640x480"
  30.         EndSubSection
  31. EndSection

  32. Section "Screen"
  33.         Identifier "aticonfig-Screen[0]"
  34.         Device     "aticonfig-Device[0]"
  35.         Monitor    "Monitor0"
  36.         DefaultDepth     24
  37.         SubSection "Display"
  38.                 Viewport   0 0
  39.                 Depth     24
  40.                 Modes    "1024x768" "800x600" "640x480"
  41.         EndSubSection
  42. EndSection
复制代码


上面那个人在教你用framebuffer,用心学.呵呵.
回复 支持 反对

使用道具 举报

发表于 2006-9-8 20:05:39 | 显示全部楼层
......
我比楼上那位先生的贴慢了两分钟.
回复 支持 反对

使用道具 举报

发表于 2006-9-8 20:26:00 | 显示全部楼层
修改/etc/X11/xorg.conf这个是改变进入系统后的分辨率,而二楼说的是改变GRUB画面的分辨率,楼主如果不知道具体怎样改的话,可以用论坛的搜索功能找找看。
回复 支持 反对

使用道具 举报

发表于 2006-9-8 20:50:40 | 显示全部楼层
Post by aloki
二楼说的是改变GRUB画面的分辨率


...............................................
是framebuffer
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-9 01:11:41 | 显示全部楼层
多谢楼上各位~搞定了~我小结一下~
FC4启动过程分两部分
在 grub里改,/boot/grub/grub.conf文件中内核的末尾(就是img上面那行结尾)加上vga=792是1204、768的分辨率,这里修改的是字符界面的分辨率(选择登陆系统后的那个启动界面),FC4字符启动界面就是这个控制的。
而修改/etc/X11/xorg.conf这个是当系统由grub转到linux后的分辨率,启动过程中的FC4图形启动界面的分辨率就是这个控制的。
偶小白一个,说得不对还请指证。
回复 支持 反对

使用道具 举报

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

本版积分规则

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