dspnet 发表于 2006-2-26 18:22:42

我的RedHat9,只能工作在640x480下。

最近安装的RedHat9,不能正确认出我的显卡,是主板(Asus p4v533-mx)集成的S3 ProSavage8.只能 工作在640x480下,调高了就黑屏呀。在网上怎么也找不到相关的驱动。怎么办啊?

jozhu 发表于 2006-2-26 22:19:06

RH9老的够可以,你试试修改/etc/X11/xf86.conf文件看看

dspnet 发表于 2006-2-27 08:09:58

老兄,如何改啊?

老兄,如何改這個文件啊?能否講得詳細點?我是初學者... :lol:

jozhu 发表于 2006-2-27 08:52:41

你用GEDIT打开这个文件,然后把内容贴出来,我先看看再说

dspnet 发表于 2006-2-27 20:02:14

没想到这么快就回复了,谢谢啊!以下是我的xf86config

另外。我以前安装redflaglinux 4.1都没问题的,我在想是不是可以从redflaglinux4.1中把它的显卡驱动复制过来,以解决问题?还望赐教!

以下是我的 xf86config

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
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"Protocol" "IMPS/2"
Option"Device" "/dev/psaux"
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"Protocol" "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 - 100.
VertRefresh 50.0 - 100.0
Option"dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "savage"
VendorName "Videocard vendor"
BoardName "S3 ProSavage KM133"
EndSection

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

Section "DRI"
Group 0
Mode 0666
EndSection

jozhu 发表于 2006-2-27 22:14:18

把screen section里的
Depth 24
Modes "640x480"
这一段改成
Depth 24
Modes “1024×7682”后你再试试。

这个问题,你如果搜索精华贴,可以找到答案的。

dspnet 发表于 2006-2-28 09:12:30

老兄啊,我早试过改这个文件啦。连800x600都上不了,何谈1024x768?不过,我昨晚上还是按你说的改成1024x768,显示器连"超频保护"都不显示了,直接黑屏哦。
我还试过安装类似的s3驱动fro linux的,(因为我实在找不到合适我电脑的fro linux驱动),也不可以,还试过升级内核,不过没成功,还想过更新xfree86,可是我去那个www.xfree86.org下载xfree86 4.5.0的,好像有600-700MB,(没下载完)。不知道是不是下载错了,不可能有那么大吧?有没有其它方法啊。谢谢了。

jozhu 发表于 2006-2-28 09:22:09

HorizSync 31.5 - 100.
VertRefresh 50.0 - 100.0
如果是液晶显示器,这两行注释掉。如果不是,看看你的显示器说明,把值改了,我肯定你的值有问题。
Driver "savage"
这个改成vesa

真不明白你为什么要在RH9这么老的版本上费工夫

dspnet 发表于 2006-2-28 09:27:34

是CRT ,acer 706s 的。 上面兩行是按照顯示器說明書上設置的。應該不會有問題。至於那個driver沒改。我再試試。
比redhat9更新的版本是什麼,支持中文嗎?謝謝。因為手頭上暫時只有這個版本的(是正版).


哦,对了,是不是刷新率的问题。我好像记得以前在windows下,把显示器设置成1024x768,而刷新率没有改,还是以前800x600模式下的85赫兹。导致显示器不能以1024x768模式工作在85下而黑屏?可是在redhat中好像找不到限制刷新率的地方,我在xf86config中设置的显示器的场频与行频都是按照显示器说明书上设置的,应该不会错。

jozhu 发表于 2006-2-28 09:55:43

HorizSync 31.5 - 100.
VertRefresh 50.0 - 100.0
这两行直接决定了你的屏幕刷新率啊,搞低些看看。

比RH9新的发行版太多了啊,就说红帽的产品,RH9之后也更新了快5代了.而且,最新的版本,中文支持比RH9不知道要好多少倍。不过我个人推荐你用SUSE10.可以从网上免费下载。

最后,LINUX无所谓正,盗版。因为所有的LINUX发行版本来就是免费发放的,任何人只要想,都可以自己从网上下载后卖钱。

dspnet 发表于 2006-2-28 11:17:43

老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:
老兄,拜你為師行不行? :wink:

jozhu 发表于 2006-2-28 11:44:15

搞定了?!
有问题你尽管提,但别什么拜师不拜师的,我水平还没到那境界。

dspnet 发表于 2006-2-28 12:53:56

沒有呢,下班回家再試。

沒有呢,不知道,下班回家才能試。thanks! :lol:

dspnet 发表于 2006-3-1 08:07:21

老兄,看来我的预感是对的。晚上回去按照你说的改了Driver的值为vesa后,就可以上1024x768啦 !。虽然后来屏幕有点闪,不过还可以接受. :lol::lol::lol: 以后还需多多指教哦!
:lol: 谢谢啊! :P
:lol: 谢谢啊! :P
:lol: 谢谢啊! :P
:lol: 谢谢啊! :P
:lol: 谢谢啊! :P
:lol: 谢谢啊! :P

jozhu 发表于 2006-3-1 08:21:31

...没想到XFREE86的驱动那么糟糕的。再次建议你使用更高版本的LINUX。
页: [1] 2
查看完整版本: 我的RedHat9,只能工作在640x480下。