免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1419 | 回复: 0
打印 上一主题 下一主题

sis显卡驱动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-21 12:54 |只看该作者 |倒序浏览

2008.3.14
最近换了台机器,显卡是sis661的,在Linux下显卡默认驱动不行,搞的屏幕乱闪,看的头晕。在网上搜索了一下,发现Linux下sis系列的显卡驱动太难找了,找到的也都是很旧的,下了sis sg86c225的和sis620的,驱动文件上的更新日期还是1999年(汗)感觉上应该还是驱动不了,不过还是试试看。
进入linux系统(ps:刚开始选错了显卡驱动,结果启动不了桌面系统了,这里可以通过command行修改/etc/x11/xorg.config,如果有备份,则可以直接选择恢复成原先备份的配置/etc/x11/xorg.config.bakeup就可以启动桌面界面了),可以有几种方式来查看和修改显示模式和驱动。
1、利用图形界面的显示选项,可以图形化配置显示的参数。
2、命令行形式,主要是利用xvidtune和xrandr命令,其中可以直接通过xrandr -s 1 -r 85来设置,我机子上这样配置以后是显示1024*768和85Hz。
3、/etc/x11/xorg.config的修改,好像这个才是问题的关键,其他方法也都会修改这个文件,不过没有仔细看。试了下sis sg86c225驱动,没有效果,sis 620驱动,可以用哦(虽然老点,能用就好),屏幕不闪了,驱动成功。配置后的xorg.config文件还是贴出来吧,虽然不是太清楚每句含义,不过大概可以查看到显示器和显卡的型号以及驱动等信息……
# 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      "kbd"
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    "LXB-HF769A"
DisplaySize  320 240
HorizSync    30.0 - 70.0
VertRefresh  50.0 - 160.0
Option     "dpms"
EndSection
Section "Device"
Identifier  "Videocard0"
Driver      "sis"
VendorName  "Videocard vendor"
BoardName   "SiS 620"
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    "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group        0
Mode         0666
EndSection


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/47986/showart_1732138.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP