SiS

From ArchWiki
Revision as of 18:31, 11 February 2009 by Harvie (Talk | contribs) (page created)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page describes how to get SiS chipset graphical adapters working on Arch Linux:

packages

You will need main xf86-video-sis package with driver and it's good idea to install sisctrl (gui tool for setting video modes) also:

$ pacman -Qs sis
...
local/sisctrl 0.0.20051202-3
   SiSCtrl is Display Control Panel for XFree86/X.org SiS driver
local/xf86-video-sis 0.10.1-1 (xorg-video-drivers)
   X.org SiS video driver

So you can install those packages easily with pacman:

# pacman -Sy xf86-video-sis sisctrl

lspci

Output of lspci should look like this (depends on present model):

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter

modules & rc.conf

There are couple of modules related to SiS video cards:

$ modprobe -l | grep -i sis
/lib/modules/2.6.28-ARCH/kernel/drivers/usb/misc/sisusbvga/sisusbvga.ko
/lib/modules/2.6.28-ARCH/kernel/drivers/video/sis/sisfb.ko
/lib/modules/2.6.28-ARCH/kernel/drivers/char/agp/sis-agp.ko
/lib/modules/2.6.28-ARCH/kernel/drivers/gpu/drm/sis/sis.ko

You will probably need to load only sisfb (it will probably load the other sis modules as required by your hardware) as first and then the other modules. So the beginning of MODULES array in your /etc/rc.conf should look like this:

MODULES=( sisfb ... )

xorg.conf

Here are few most important sections from /etc/X11/xorg.conf

  1. Load some modules:
Section "Module"
  Load  "dbe"
  Load  "i2c"
  Load  "bitmap"
  Load  "ddc"
  Load  "dri"
  Load  "extmod"
  Load  "freetype"
  Load  "glx"
  Load  "int10"
  Load  "vbe"
EndSection
  1. Device specification:
Section "Device"
  Identifier "Card0"
  Driver "sis"
  Card        "** SiS (generic)     [sis]"
  BusID "PCI:1:0:0"
  Option "UseFBDev" "true"
  Option "EnableSisCtrl" "yes"
  Option "ForceCRT1Type" "LCD"
  Option "ForceCRT2Type" "NONE"
  Option "CRT1Gamma" "on"
  Option "CRT2Gamma" "on"
  Option "Brightness" "0.000 0.000 0.000"
  Option "Contrast" "0.000 0.000 0.000"
  Option "CRT1Saturation" "0"
  Option "XvOnCRT2" "yes"
  Option "XvDefaultContrast" "2"
  Option "XvDefaultBrightness" "10"
  Option "XvDefaultHue" "0"
  Option "XvDefaultSaturation" "0"
  Option "XvDefaultDisableGfxLR" "no"
  Option "XvGamma" "off"
EndSection
  1. Enable Direct RenderIng:
Section "DRI"
  Mode         0666
EndSection