教你设置SiS741的显示驱动

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
Bavon
帖子: 61
注册时间: 2005-06-11 11:29
送出感谢: 0
接收感谢: 0
联系:

教你设置SiS741的显示驱动

#1

帖子 Bavon » 2005-09-10 15:46

下面内容来自http://www.linuxquestions.org/hcl/showproduct.php?product=2810


############################################################
Date: 06-25-2005 Compatible? yes | Price paid: Not Indicated | Linux Compatibility: 6



Kernel

(uname -r): 2.6.10-5

Distribution: ubuntu hoary





it is a economic mATX mother board with everything onboard. Ethernet would work w/o problems. The onboard SI7012 sound chip is not working well in hoary. It may work well in other linux distros.





In JUN05, my Si7012:

- have sound in alsa output, although the sound is skipping sometimes

- have sound in oss output, no skipping but volume is at 0% or 100%





It come with a asrock mother board with intergrated 2D/3D video support. It work but it is buggy.

1) you may see the screen scroll off for awhile

2) in xv output, once in a while, a video frame may fry off to another location. you may also see strange color in that frame as well.

3) the default xv contrast is too high, you can reset it to 0 in xorg.conf

4) there are no hardware 3d accelation in linux yet. So it is extremely slow, let's say that my old AMD850+TNT2 would outperform this new machine at least 5 times in video performance.





In xorg.conf, it is recommended to use these options in the section of display card:

Section "Device"

Identifier "bla bla bla"

Driver "sis"

Option "UseSSE" "yes"

Option "XvDefaultContrast" "0"

Option "XvDefaultBrightness" "0"

Option "XvDefaultHue" "0"

Option "XvDefaultSaturation" "0"

EndSection

###############################################################

根据这篇文章,我的操作如下:
cd /usr/X11R6/lib/modules/drivers/
dir
sudo cp sis_drv.o.diverted sis_drv.o
sudo gedit /etc/X11/xorg.conf

寻找
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
将这个Section用#注释掉,然后加入下面这一段
Section "Device"
Identifier "Generic Video Card"
Driver "sis"
Option "UseSSE" "yes"
Option "XvDefaultContrast" "0"
Option "XvDefaultBrightness" "0"
Option "XvDefaultHue" "0"
Option "XvDefaultSaturation" "0"
BusID "PCI:1:0:0"
EndSection
到此设置完毕,重启就行了。
如果重启之后进不了X,请将刚刚注释掉的内容反注释,而把自己加的内容注释掉,重启,恢复到原来的驱动。

注意,此Section中的Identifier可以设置成你所要的,例如"SiS Video Card",但是要和该配置文件后面的Section "Screen"中的Device相配对。也就是说,相应也要改成
Section "Screen"
Identifier "Default Screen"
Device "SiS Video Card" #important
……
EndSection
回复

回到 “办公、图像、机械电子设计等”