LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: mario007

笔记本显示分辩率的设置办法

[复制链接]
发表于 2003-10-4 20:05:16 | 显示全部楼层
把/etc/X11/XF86Config文件帖上来看一下
发表于 2003-10-4 20:25:45 | 显示全部楼层
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
        Identifier     "Default Layout"
        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            "XkbRules" "xfree86"
        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" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "未探测过的显示器"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "SIS650"
        Driver      "sis"
        VendorName  "Videocard vendor"
        BoardName   "sis"
EndSection

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

Section "DRI"
        Group        0
        Mode         0666
EndSection

The file has been edited. Thank you master!
发表于 2003-10-4 20:47:00 | 显示全部楼层
把下面的一段,改成红色字的那段仔细对照。改的时候不要忘记备份文件

#cp /etc/X11/XF86Config  /etc/X11/XF86ConfigBAK

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

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


Section "Screen"
        Identifier "Screen0"
        Device     "SIS650"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
发表于 2003-10-4 21:27:19 | 显示全部楼层

我的问题已经解决了

后来我又仔细检查了一下自己的设置,发现自己的显示器一项自动适配的是GENERIC,我改成LAPTOP SCREEN 1024x768 问题就解决了。
不过现在又有新的问题了,在X下退出时,屏幕就会一片煞白什么也看不见,我只能看硬盘灯还有没有在闪来确定是不是已经LOGOUT了,在什么也看不见的情况下我打用户名和密码再登录再STARTX,X又可以正常工作,好古怪啊。而且LINUX下别人都有电源管理,我的就没有,在哪里设笔记本的电源管理啊?我用的是GNOME,过一阵做完ISP的作业我再重新装KDE。:thank

管理员脾气好好哦,我乱喜欢的说:%
发表于 2003-10-4 21:31:03 | 显示全部楼层

回复: 我的问题已经解决了

最初由 ranazq 发表
后来我又仔细检查了一下自己的设置,发现自己的显示器一项自动适配的是GENERIC,我改成LAPTOP SCREEN 1024x768 问题就解决了。
不过现在又有新的问题了,在X下退出时,屏幕就会一片煞白什么也看不见,我只能看硬盘灯还有没有在闪来确定是不是已经LOGOUT了,在什么也看不见的情况下我打用户名和密码再登录再STARTX,X又可以正常工作,好古怪啊。而且LINUX下别人都有电源管理,我的就没有,在哪里设笔记本的电源管理啊?我用的是GNOME,过一阵做完ISP的作业我再重新装KDE。:thank

管理员脾气好好哦,我乱喜欢的说:%


我想还是应该从驱动下手

电源管理方面的,对笔记本来说,都是一个问题,兄弟不妨看一下这里。

http://www.linuxsir.cn/bbs/showthread.php?s=&postid=232242
发表于 2003-10-4 21:52:58 | 显示全部楼层
感谢版主,我的问题也解决了。在看了另一位兄弟的贴子后真是一语惊醒梦中人,我不管三七二十一把显示器的设置改成了DELL的的笔记本的1024x768后,再重启就好了,而且没有出现刚才那位兄弟的花屏问题(他也可以试试我的选择)。最后说说版主最后的那个修改。我试试了,可是启动X-windows失败了,我又顺手把那个16改回成24,然后再照上面的说法一试,成了!谢谢各位的帮忙,版主真是好人啊!
发表于 2003-10-4 21:59:55 | 显示全部楼层
最初由 北南南北 发表
把下面的一段,改成红色字的那段仔细对照。改的时候不要忘记备份文件

#cp /etc/X11/XF86Config  /etc/X11/XF86ConfigBAK

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

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


Section "Screen"
        Identifier "Screen0"
        Device     "SIS650"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


就是这个
Depth     16
被我又改回了24
发表于 2003-10-4 22:02:47 | 显示全部楼层

回复: 求助!!!我的笔记本显卡

最初由 ranazq 发表
大家好我的机器是联想昭阳E100,说明书上说显卡是集成的SIS650的显示芯片,装了REDHAT9,显示只能到800*600.然后我就按照这里的帖子自己安装了SIS650的驱动,完了以后还是不能上1024*768,我想请教一下可能是出了什么问题.
:help

问ranazq兄弟一声,你知道联想用的液晶屏是哪个公司的产品啊?
联想是肯定不会自己做的吧!知道告诉我一声。
发表于 2003-10-5 07:27:50 | 显示全部楼层
显示器选通用的1024X768@60就可以了
显卡驱动压根没必要装,直接改DRIVER为sis就可以了
发表于 2003-10-5 16:53:28 | 显示全部楼层
同意楼上的说法,我又试了一下,确实可以。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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