SiS671显卡安装ubuntu的驱动问题

| 笔记, linux

今天下午又重新折腾了下家里的几台老设备。iPhone 4 降级4.3.3试了一下,由于home键不好用了,进DFU各种费事,其他按照LUOBO iphone4无SHSH降级教程做的,基本很顺利,和教程差不多照着做就行了。然而4.3.3没有AssistiveTouch即那个小圆点,home键又不好用,有点呵呵。。。不过用起来真是流畅啊!!iOS4的界面也很经典。

然后我又开始给家里的老笔记本,Haier A60x 装Linux。以前高二时试过kali、ubuntu、kylin什么的,这次试下lubuntu。嗯,终于不再像以前那样一锅端的不管分区直接安了。。看了这个双系统的教程,总算是有了能用的双系统。想当年各种grub的救援模式,呵呵。。

lubuntu 果然十分流畅。我又得寸进尺想装显卡驱动。这个SiS671应该是一个著名的老旧显卡,性能十分低下,但网上关于它的驱动的帖子还是不少的,当然都是出各种问题的。看了这个链接,从这里下载了驱动。之后按照刚才那个网页说的,先解压(嗯,可以试试unar,可以一个命令解压很多格式),然后进入解压后的文件夹,执行下面的:

sudo cp sis671_drv.la sis671_drv.so /usr/lib/xorg/modules/drivers/
sudo cp xorg.conf /etc/X11/

然后重启。

然而并不行。。。于是再去搜,发现这个帖子里的大神的/etc/X11/xorg.conf的代码:

Section "Monitor"
    Identifier    "Configured Monitor"
    Vendorname    "Generic LCD Display"
    Modelname    "LCD Panel 1280x800"
    HorizSync 20-107
        VertRefresh 50-185
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
  modeline  "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
  modeline  "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
    Gamma    1.0
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    Defaultdepth    24
    SubSection "Display"
        Depth    24
        Virtual    1280    768
        Modes        "1280x768@60"    "1280x720@60"    "800x600@60"    "1280x800@60"    "800x600@56"
    EndSubSection
EndSection

Section "Module"
    Load "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "GLcore"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "int10"
    Load "vbe"
    Load "speedo"
    Load "record"
EndSection

Section "DRI"
        Mode 0666
EndSection

然后重启。。登陆界面就已经变成高分辨率的了!遗憾的是还是有些虚,而且进分辨率设置发现是1280*768,感觉应该1280*800才对。。不过这样已经很好了,比windows流畅多了。。而且这样能干的事比windows还多多了。就是输入法还不大好用,否则这篇就直接在上面写了。这个1GB内存,有着等于没有的显卡的笔记本在windows下简直无法使用。

嗯。。应该有图片什么的。。然而我还没搞明白图床什么的。。还有评论系统,等到暑假里吧。


另外我吐槽一下著名网盘百度云,它对于用户可谓循循善诱。下午下了两个iOS固件,都是不到800M,一个荣幸试用了百度云“超级会员”,速度达到3、4M/s,在试用的300秒内就能下完。然而另一个下载则无幸试用百度云“超级会员”,结果现在仍然在继续下载,几十K每秒。哈哈,我在这浪费时间,注定无法成为“超级会员”。。。。呃,前段时间各大网盘厂商“转型”,说明确实无法盈利。呵呵啊,确实,要是每个人几个T的硬盘,再加上运维费用,不收费用户费用,有没有其他合适的商业模式,的确难以维持。不过,这百度云的限速,也足以称为臭名昭著了。


Update 2019.7.7

一份1280*800的配置文件:

Section "Device"
  Identifier "Generic Video Card"
    VendorName  "Silicon Integrated Systems [SiS]"
        BoardName   "771/671 PCIE VGA Display Adapter"
    Busid "PCI:1:0:0"
#    Driver "vesa"
	Driver "sis671"
    Screen 0
        Option "UseFBDev" "true"
        Option "DPMS"
        Option "ShadowFB"
        Option "MaxXFBMem"
        VideoRam 262016
        Option "RenderAccel" "true"
        Option "AllowGLXWithComposite" "true"
        Option "backingstore" "true"
        Option "AddARGBGLXVisuals" "True"

EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
    Vendorname    "Generic LCD Display"
    Modelname    "LCD Panel 1280x800"
    HorizSync 20-107
        VertRefresh 50-185
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
#  modeline  "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
# modeline  "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
#  modeline  "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
  modeline "1280x800@60"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
    Gamma    1.0
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    Defaultdepth    24
    SubSection "Display"
        Depth    24
        Virtual    1280    800
        Modes        "1280x800@60"    "1280x720@60"    "800x600@60"    "1280x800@60"    "800x600@56"
    EndSubSection
EndSection

Section "Module"
    Load "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "GLcore"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "int10"
    Load "vbe"
    Load "speedo"
    Load "record"
EndSection

Section "DRI"
        Mode 0666
EndSection

GitHub 上关于显卡驱动的源码