How To: SIS 671 working in Debian Jessie

Share your own howto's etc. Not for support questions!

How To: SIS 671 working in Debian Jessie

Postby clasan » 2016-01-05 00:49

I'm using Debian 8.2 with the natives packages of Xorg.

1 - Install packages to compile the driver
Code: Select all
$ sudo apt-get install git xorg-dev mesa-common-dev libdrm-dev libtool build-essential xutils-dev automake autoconf autotools-dev libdmx-dev p7zip-full p7zip

2 - Download the source to compile
sis-mirage3.tar.gz

3 - Extract the files
Code: Select all
$ tar -vzxf sis-mirage3.tar.gz

4 - Compile
Code: Select all
$ cd sis-mirage3
$ autoreconf -vi
$ ./configure --prefix=/usr --disable-static
$ make
$ sudo make install (or checkinstall to create a .deb)

5 - Download the xorg.conf file
xorg.conf

6 - Install the xorg.conf
Code: Select all
$ sudo cp xorg.conf /etc/X11/xorg.conf

7 - Reboot the computer

I found this solution at: http://info.wsouza.com.br/2015/01/novid ... buntu.html
clasan
 
Posts: 24
Joined: 2015-08-26 06:30

Re: How To: SIS 671 working in Debian Jessie

Postby clasan » 2016-05-09 10:59

To compile the Sis Control Panel, which you'll can change resolutions, follow:

1- Download the source
sisctrl.tar.gz

2- Extract sisctrl.tar.gz
Code: Select all
$ tar xvzf sisctrl.tar.gz
$ cd sisctrl
$ ls -C1
icons
man
sisctrl-0.0.20051202.tar.gz
sisctrl.desktop


3- Extract sisctrl-0.0.20051202.tar.gz
Code: Select all
$ tar xvzf sisctrl-0.0.20051202.tar.gz
$ cd  sisctrl-0.0.20051202
$ ./configure

Maybe, when running “./configure” you'll get some messages like this
checking for libXv.so or libXv.a location... not found in /usr/X11R6/lib

Using the find command, I located /usr/lib/i386-linux-gnu/libXv.so (if you're at 32 bits machine) -- if you're at 64 bits machine it'll be /usr/lib/x86_64-linux-gnu/libXv.so.
So, to fix libXv.so, I did
Code: Select all
$ sudo mkdir -p /usr/X11R6/lib
$ sudo ln -s /usr/lib/i386-linux-gnu/libXv.so /usr/X11R6/lib/libXv.so

I also had to install
Code: Select all
$ sudo apt-get install libglib2.0-dev libgtk2.0-dev


In Debian 8.4 64 bits I needed to change the “Makefile”, adding at “LIBS=” line the option “-lm”:
Code: Select all
LIBS= -lm


After this observations, “./configure” run OK. Then,
Code: Select all
$ make
$ sudo make install


4- Optional
Code: Select all
$ sudo cp -R man/* /usr/share/man/ && sudo chmod 755 -R /usr/share/man/*
$ sudo cp -R icons/* /usr/share/icons/Tango/ && sudo chmod 755 -R /usr/share/icons/*
$ cp sisctrl.desktop ~/.local/share/applications/
clasan
 
Posts: 24
Joined: 2015-08-26 06:30


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable