当前位置: 技术问答>linux和unix
i845G集成的显卡装完驱动,分辨率仍只有640*480??
来源: 互联网 发布时间:2015-02-05
本文导语: 我的系统是redhat 8.0 我的显卡是intel845G主板集成的显卡,去intel网站下载了845G显卡的驱动. 并安装.但安装后把"菜单"->"系统设置"->"显示" 的分辨率设成了800*600. 但仍只有640*480.请问如何把分辨率改为800*600? 我曾试...
我的系统是redhat 8.0
我的显卡是intel845G主板集成的显卡,去intel网站下载了845G显卡的驱动.
并安装.但安装后把"菜单"->"系统设置"->"显示" 的分辨率设成了800*600.
但仍只有640*480.请问如何把分辨率改为800*600?
我曾试着把/etc/X11/XF86Config文件中 Section "Screen" 段的分辨率改为单一的800*600,但也是没有效果.
以下是/etc/X11/XF86Config文件修改中的内容:
# File generated by anaconda.
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# 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.
RgbPath "/usr/X11R6/lib/X11/rgb"
# 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.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# 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"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-71
VertRefresh 50-160
Option "dpms"
EndSection
Section "Device"
# no known options
Identifier "Intel 845"
Driver "i810"
VendorName "Intel 845"
BoardName "Intel 845"
VideoRam 16384
#BusID
EndSection
Section "Screen"
Identifier "Screen0"
Device "Intel 845"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
我的显卡是intel845G主板集成的显卡,去intel网站下载了845G显卡的驱动.
并安装.但安装后把"菜单"->"系统设置"->"显示" 的分辨率设成了800*600.
但仍只有640*480.请问如何把分辨率改为800*600?
我曾试着把/etc/X11/XF86Config文件中 Section "Screen" 段的分辨率改为单一的800*600,但也是没有效果.
以下是/etc/X11/XF86Config文件修改中的内容:
# File generated by anaconda.
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# 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.
RgbPath "/usr/X11R6/lib/X11/rgb"
# 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.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "dri"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# 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"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" ""
#Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-71
VertRefresh 50-160
Option "dpms"
EndSection
Section "Device"
# no known options
Identifier "Intel 845"
Driver "i810"
VendorName "Intel 845"
BoardName "Intel 845"
VideoRam 16384
#BusID
EndSection
Section "Screen"
Identifier "Screen0"
Device "Intel 845"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
|
在终端执行xvidtune,调好后按“show”,然后编辑/etc/X11/XF86Config文件,在Section "Monitor"中加入刚才“show”出的文字试试。
|
我昨天刚刚装这个驱动,一步步的按照readme做的,确实不错,而且有一步:配置的事情都可以不做,只要能进x,把display里面的自动检测的i810还是i845改成i830,然后就可以有1024×768和24bit了。关键是编译显卡驱动以及添加到内核里面时保证x-window没有运行。
试试看?
试试看?
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。