LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-16-2014, 11:56 PM   #1
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Distribution: Slackware
Posts: 253

Rep: Reputation: Disabled
Slackware & SiS 771/671 drivers SlackBuild


Not sure if anyone will find this relevant but what the heck. As I ended up with a Optiplex 160 sporting fancy onboard SiS 671 graphics, I found out that the xf86-video-sis-imedia driver works for this card. Using the patches and source tarball from the Arch repository (these seem to be the most up-to-date,) this can be built and ran on Slackware. I've found this to work with Slackware64-14.1 (xorg-server-1.14.3) and Slackware64-current (xorg-server-1.15.2). One caveat, as I didn't want the package to overwrite the native xf86-video-sis package driver, the driver is renamed to sisimedia breaking the automated xorgsetup file creation (sorry!)

Slackbuild: https://docs.google.com/file/d/0B_ca...Ew0YWlCc1h1NW8
Source: ftp://ftp.archlinux.org/other/xf86-v...091203.tar.bz2

Demo xorg.conf:
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/local"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/CID"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
        Load  "glx"
        Load "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "Emulate3Buttons" "no"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"   
        Driver      "sisimedia"
        BusID       "PCI:1:0:0" 
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24  
                Modes "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
 
Old 07-17-2014, 12:20 AM   #2
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 541

Rep: Reputation: 147Reputation: 147
Nice work. Brings back memories of wrestling with SIS budget chipsets what back.
 
Old 07-18-2014, 07:27 AM   #3
fsalk
LQ Newbie
 
Registered: Jan 2014
Location: Split, Croatia
Distribution: slackware
Posts: 18

Rep: Reputation: Disabled
hello, i have SiS graphic card, and with my xorg.conf i have resolutin 1280x768.
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/X11/misc"
   FontPath     "/usr/share/fonts/X11/cyrillic"
   FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/Type1"
   FontPath     "/usr/share/fonts/X11/100dpi"
   FontPath     "/usr/share/fonts/X11/75dpi"
   FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load  "extmod"
#   Load  "dri2"
   Load  "dbe"
#   Load  "glx"
   Load  "record"
#   Load  "dri"
   Load  "synaptics"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   HorizSync    30-107
   VertRefresh  50-185
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        Option     "ShadowFB" "false"             # [<bool>]
        #Option     "DefaultRefresh"        # [<bool>]
        #Option     "ModeSetClearScreen"    # [<bool>]
   Identifier  "Card0"
   Driver      "vesa"
   VendorName  "Silicon Integrated Systems [SiS]"
   BoardName   "771/671 PCIE VGA Display Adapter"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth      24
      Modes     "1280x800"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes	"1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes	"1024x768"
   EndSubSection
EndSection
There's little hack how to acquire 1280x800_60 using xrandr and I'll put it here when i find it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian (not Ubuntu) solution for SiS 771/671 video chipset Changes Linux - Software 3 05-15-2012 08:04 PM
Sis 671 linman321 Slackware 1 04-18-2012 08:52 AM
Asus X58C - Video 771/671 - resolution problems on slackware linux 12.2. lordbone Linux - Laptop and Netbook 2 08-31-2009 06:32 PM
[SOLVED] SIS 771/671 PCIE VGA display adapter problem in mandriva 2009 spring tuxindo Mandriva 2 08-26-2009 09:12 PM
How to get a sis 671 card to work ubuntu studio amd64 Peet_Nel Linux - Newbie 1 03-04-2009 09:39 AM


All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration