Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

SiS 771/671 VGA driver in Debian Jessie [hacky solution]

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
day
Posts: 56
Joined: 2015-03-03 00:00

SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#1 Post by day »

Hay folks!

I wanna help all who has the old & unsupported SiS 771/671 chipset vga adapter mostly found in Fujitsu Esprimo laptops.
I've used my esprimo v5535 on Wheezy with an unofficial sisimedia driver, but it can't be compiled for newer Xorg than 12 because of missing XAA. There is a binary solution ( http://zatherz.cba.pl/sis/), and a link to the patched sisimedia driver source which can be compiled for jessie's xorg 1.16. It's work instantly, but got a small annoying bug: on video overlay (mplayer -vo xv) the colors are shifted randomly 9 times of 10 run. I've tried to solve this problem for days, but I've failed. :-/ Then I've decided to use the old xorg with the old working sisimedia_drv.so, because newer x doesn't offer me any advantages with this old hardware...but cannot compile 1.12 xorg for jessie. :-/

I made a bit hacky solution: replace the binary files with 1.12 in jessie's xorg packages and lie to other packages as they are 1.16. Everything is working and the colorshifting bug has gone away! So, here you are the essential fake packages for sis671/771 users. Download from http://flerp.hu/debian/sis671-jessie/ then:

Code: Select all

dpkg -i libaudit0dc_1.7.18-1.2dc_i386.deb sisctrl_0.0.20051202_i386.deb xserver-xorg_7.7+8dc_i386.deb xserver-xorg-core_1.16.4-2dc_i386.deb xserver-xorg-input-evdev_2.9.0-3dc_i386.deb xserver-xorg-input-mouse_1.9.1-2dc_i386.deb xserver-xorg-input-synaptics_1.8.1-2dc_i386.deb xserver-xorg-video-sisimedia_0.8.0dc_i386.deb
(buggy sisctrl program is bonus :-> )

After you install them, hold the packages:

Code: Select all

echo xserver-xorg hold | dpkg --set-selections
echo xserver-xorg-core hold | dpkg --set-selections
echo xserver-xorg-input-evdev hold | dpkg --set-selections
echo xserver-xorg-input-mouse hold | dpkg --set-selections
echo xserver-xorg-input-synaptics hold | dpkg --set-selections
Cya!

growngizmo
Posts: 1
Joined: 2015-03-15 12:14

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#2 Post by growngizmo »

Hello,

i'd like to give my 50 cents.

This patch / howto works with:
debian-jessie-DI-b2-i386-netinst.iso released 2014-10-05

and NOT with:
debian-jessie-DI-rc1-amd64-netinst.iso released 2015-01-09
of course, the packages are "i386"

and NOT with:
debian-jessie-DI-rc1-i386-netinst.iso released 2015-01-09
because there are some changes
i had done after Install

Code: Select all

cd /lib/i386-linux-gnu/
ln -sf libudev.so.1 libudev.so.0
ln -sf libgcrypt.so.20 libgcrypt.so.11
and got an Error

Code: Select all

/usr/bin/startxfce4: Starting X server
/usr/bin/X: /lib/i386-linux-gnu/libcrypt.so.11: version 'GCRYPT_1.2' not found (required by /usr/bin/X)
 xinit: giving up
 xinit: unable to connect to X server: Connection refused
 xinit: server error
Now follows my solution:

I installed the beta2 with the Desktop-xfce-Package.
- without tis package i had no wifi or ethernet support
After the download

Code: Select all

wget http://flerp.hu/debian/sis671-jessie/README
wget http://flerp.hu/debian/sis671-jessie/libaudit0dc_1.7.18-1.2dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/sisctrl_0.0.20051202_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg-core_1.16.4-2dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg-input-evdev_2.9.0-3dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg-input-mouse_1.9.1-2dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg-input-synaptics_1.8.1-2dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg-video-sisimedia_0.8.0dc_i386.deb
wget http://flerp.hu/debian/sis671-jessie/xserver-xorg_7.7+8dc_i386.deb
and installation of the packages

Code: Select all

dpkg -i libaudit0dc_1.7.18-1.2dc_i386.deb sisctrl_0.0.20051202_i386.deb xserver-xorg_7.7+8dc_i386.deb xserver-xorg-core_1.16.4-2dc_i386.deb xserver-xorg-input-evdev_2.9.0-3dc_i386.deb xserver-xorg-input-mouse_1.9.1-2dc_i386.deb xserver-xorg-input-synaptics_1.8.1-2dc_i386.deb xserver-xorg-video-sisimedia_0.8.0dc_i386.deb
echo xserver-xorg hold | dpkg --set-selections
echo xserver-xorg-core hold | dpkg --set-selections
echo xserver-xorg-input-evdev hold | dpkg --set-selections
echo xserver-xorg-input-mouse hold | dpkg --set-selections
echo xserver-xorg-input-synaptics hold | dpkg --set-selections
and a little correction

Code: Select all

cd /lib/i386-linux-gnu/
ln -sf libudev.so.1 libudev.so.0
i had to reboot end entered a bash console.
Now i had to do as root

Code: Select all

cd /etc/X11/
Xorg -configure
which aborts without my interaction.
After this

Code: Select all

cp /root/xorg.conf.new /etc/X11/xorg.conf
and a final reboot XFCE starts up with the nativ resolution 1280x800 "yippee ki-yay".
After hours with upscaled 1024x768 i can't beleave this clear an sharp Display.
Of course this is only my impression.

Regards

elias19r
Posts: 1
Joined: 2015-07-07 21:55

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#3 Post by elias19r »

Did anyone succeed in using this hacky solution on the latest stable version of "jessie"?

I've recently installed from "debian-8.1.0-amd64-i386-netinst.iso" with LXDE on a computer with SiS 771/671.
I followed yours step and failed with the "/usr/bin/X: /lib/i386-linux-gnu/libcrypt.so.11: version 'GCRYPT_1.2' not found (required by /usr/bin/X)" error too.

day
Posts: 56
Joined: 2015-03-03 00:00

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#4 Post by day »

elias19r wrote:Did anyone succeed in using this hacky solution on the latest stable version of "jessie"?

I've recently installed from "debian-8.1.0-amd64-i386-netinst.iso" with LXDE on a computer with SiS 771/671.
I followed yours step and failed with the "/usr/bin/X: /lib/i386-linux-gnu/libcrypt.so.11: version 'GCRYPT_1.2' not found (required by /usr/bin/X)" error too.
I've used this with the latest jessie, now i'm using it with stretch. I've forgot 4 packages which came from wheezy and xorg depends on them. So, now i've uploaded them to this place: http://flerp.hu/debian/sis671-jessie/ .
libudev0_175-7.2_i386.deb
libgcrypt11_1.5.0-5+deb7u3_i386.deb
libaudit0_1.7.18-1.1_i386.deb
libaudit-common_2.4-1_all.deb

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#5 Post by clasan »

Following the day tip, posted in 2015-08-24, I've Jessie working with my sis 671. Thanks!

Kinkf
Posts: 2
Joined: 2015-12-02 07:27

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#6 Post by Kinkf »

All works!
Just take a new driver 0.10.8 from Xorg, compile, install it and move to the correct directory.

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#7 Post by clasan »

Kinkf,
Did you use the hack solution or just take this driver version [0.10.8], in a native Jessie install with Xorg version coming in the official release, and compile it?
---
EDIT: Kinkf, your tip doesn't work with SIS 671. This driver doesn't support this version of SIS.
Last edited by clasan on 2015-12-16 10:17, edited 1 time in total.

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#8 Post by clasan »

I found a solution for Jessie. I'm using Debian 8.2 with the natives packages of Xorg (without the hack solution of day).

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
alternative link

3 - Extract the files

Code: Select all

$ tar -vzxf sis-mirage3.tar.gz
4 - Compile

Code: Select all

$ sudo su
$ cd sis-mirage3
$ autoreconf -vi
$ ./configure --prefix=/usr --disable-static
$ make
$ make install (or checkinstall to create a .deb)
5 - Download the xorg.conf file
xorg.conf
alternative link

6 - Install the xorg.conf

Code: Select all

$ 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
Last edited by clasan on 2016-01-10 18:06, edited 2 times in total.

ma7h3us
Posts: 2
Joined: 2016-01-10 14:52

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#9 Post by ma7h3us »

use this xorg.conf with clasan's solution. https://www.4shared.com/file/U9Ofa2Fgce/xorg.html

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
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     "built-ins"
EndSection

Section "Module"
    	Load "dri"
    	Load "v4l"
    	Load "extmod"
    	Load "type1"
    	Load "freetype"
    	Load "glx"
    	Load "GLcore"
    	Load "i2c"
    	Load "bitmap"
    	Load "ddc"
    	Load "int10"
    	Load "vbe"
    	Load "speedo"
    	Load "record"
    	Load "dri2"
EndSection

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

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

Section "Monitor"
  	Identifier  "Monitor0"
  	Vendorname  "Generic LCD Display"
  	Modelname   "LCD Panel 1280x800"
  	Horizsync   31.5 - 50.0
  	Vertrefresh 56.0 - 65.0
  	modeline    "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  	modeline    "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  	modeline    "1024x768@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 "Server Flags"
    	Option "IgnoreABI"
EndSection

Section "Device"
    Identifier  "Card0"
    VendorName  "Silicon Integrated Systems [SiS]"
    BoardName   "771/671 PCIE VGA Display Adapter"
    Busid  	"PCI:1:0:0"
    Driver 	"sisimedia"
    Screen 0
	Option   "DPMS"
        Option   "ShadowFB"
        Option   "MaxXFBMem"
	Option   "AccelMethod"		  "XAA"
        VideoRam 			  262016
	Option   "PreferredMode"         "1280x800"
	Option   "EnableSiSCtrl"         "true"
	Option   "UseFBDev" 		  "true"
	Option   "DRI"			  "true"
	Option   "TurboQueue"        	  "true"
	Option   "FastVram"          	  "true"
	Option   "UseSSE"                "true"
	Option   "UseTiming1280"         "true"
	Option   "RenderAccel"           "true"
	Option   "XAANoOffscreenPixmaps" "true"
	Option   "AllowGLXWithComposite" "true"
	Option   "AddARGBGLXVisuals"     "true"
	Option   "backingstore"          "true"
EndSection

Section "Screen"
    	Identifier    "Screen0"
    	Monitor       "Card0"
    	Device        "Monitor0"
    	Defaultdepth  24
    	SubSection "Display"
	    Viewport  0 0
            Depth     1
	    Virtual   1280 800
            Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
    	SubSection "Display"
	    Viewport  0 0
            Depth     4
	    Virtual   1280 800
            Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
    	SubSection "Display"
	    Viewport  0 0
            Depth     8
	    Virtual   1280 800
            Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
    	SubSection "Display"
	    Viewport  0 0
            Depth     15
	    Virtual   1280 800
            Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
    	SubSection "Display"
	    Viewport  0 0
            Depth     16
	    Virtual   1280 800
        Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
    	SubSection "Display"
	    Viewport  0 0
            Depth     24
	    Virtual   1280 800
        Modes     "1280x800@60"    "1024x768@60"    "800x600@60"    "640x480@60"
    	EndSubSection
EndSection

Section "DRI"
  	Mode         0666
EndSection
Last edited by ma7h3us on 2016-01-16 16:59, edited 2 times in total.

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#10 Post by clasan »

ma7h3us wrote:use this xorg.conf with clasan's solution. https://www.4shared.com/file/U9Ofa2Fgce/xorg.html
Thanks for your tip. I've using this (and works pretty well, no lags, no fullscreen problems etc):

Code: Select all

Section "Module"
        Disable         "dri"
        Load            "dbe" # Double-Buffering Extension
        Load            "v4l" # Video for Linux
        Load            "extmod"
        Load            "glx"
EndSection
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "Monitor Model"
        Option          "DPMS"
        Gamma           1.0
EndSection
Section "Server Flags"
        Option          "IgnoreABI"             "true"
EndSection
Section "Device"
        Identifier      "Card0"
        Driver          "sisimedia"
        BusID           "PCI:1:0:0"
        Option          "EnableSiSCtrl"         "yes"
        
      # ----------------------------------------------
      # Configuration for TWO monitors
        #Option         "UseTiming1366" "yes"
        #Option         "MergedFB" "auto"
        #Option         "CRT1Position" "RightOf"
        #Option         "CRT2Position" "LeftOf"
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
        #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
        #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
        #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
        #Option         "MergedNonRectangular" "on"

     # ----------------------------------------------
     # Disabling outputs
        #[sisctrl] Set CRT1 device type
        Option          "ForceCRT1Type"         "VGA" #monitor screen on
        #Option         "ForceCRT1Type"         "NONE" #monitor screen off

        #[sisctrl] Set CRT2 device type
        #Option         "ForceCRT2Type"         "NONE" #notebook screen off
        Option          "ForceCRT2Type"         "LCD"  #notebook screen on
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultColorDepth   24
        SubSection "Display"
                Viewport        0 0
                Depth           1
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           4
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           8
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           15
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           16
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           24
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
And in Section "ServerLayout" I add

Code: Select all

        Identifier     "X.org Configured"
        Screen          0                       "Screen0" 0 0

ma7h3us
Posts: 2
Joined: 2016-01-10 14:52

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#11 Post by ma7h3us »

use this after clasan's solution (i recommend you use "sudo make -i" and "sudo make install -i" to ignore some errors and fully install the driver) plus mine xorg.conf (i had update it, check it out), it will boost your glxgears fps and reduce lag. (SiSCTRL is now working http://flerp.hu/debian/sis671-jessie/si ... 2_i386.deb )

Code: Select all

sudo apt-get install mesa-utils mesa-utils-extra libgl1-mesa-dri-dbg libgl1-mesa-dri libgl1-mesa-swx11 libgl1-mesa-swx11-dbg libgl1-mesa-swx11-dev libglw1-mesa libglu1-mesa libglu1-mesa-dev libx11-dev
bugs: you will no longer be able to use steam, because it's use incompatible packages that uninstall this boost solution. webcam doesn't work on gnome-mplayer but on skype preview it's seem normal.

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#12 Post by rienesl »

Hi,
I have Xubuntu and was looking for a solution for the resolution for ages... Finally I found this and for the first time, I'm able to use this notebook (Esprimo 5535) in its native resolution. However, there is one problem:
First of all, I tried clasan's first HowTo and the resolution works. However, I have serious fragments and missing refreshes when working.
Then I tried the hack ma7h3us wrote. The result was a correct resolution as well, but I wasn't able to log in the session. So I reverted back.
Then I used the enhanced xorg.conf clasan had posted. It seems, that this has neither effect to the graphic errors nor any other effect at all
Now I'm considering trying what ma7h3us posted on 18.01.2016, but I'm not sure what he means: Is it the .deb file or installing the additional packages shown in the code box? I'm not using steam, so I don't care that it is not working...

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#13 Post by clasan »

Hi rienesl,
Did you compile the driver, right? Did everything work fine in the compile step?
If yes, then did you try my SECOND xorg.conf? If yes, you will have something like:

Code: Select all

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen          0                       "Screen0" 0 0
EndSection

Section "Module"
        Disable         "dri"
        Load            "dbe" # Double-Buffering Extension
        Load            "v4l" # Video for Linux
        Load            "extmod"
        Load            "glx"
EndSection
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "Monitor Model"
        Option          "DPMS"
        Gamma           1.0
EndSection
Section "Server Flags"
        Option          "IgnoreABI"             "true"
EndSection
Section "Device"
        Identifier      "Card0"
        Driver          "sisimedia"
        BusID           "PCI:1:0:0"
        Option          "EnableSiSCtrl"         "yes"
        
      # ----------------------------------------------
      # Configuration for TWO monitors
        #Option         "UseTiming1366" "yes"
        #Option         "MergedFB" "auto"
        #Option         "CRT1Position" "RightOf"
        #Option         "CRT2Position" "LeftOf"
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
        #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
        #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
        #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
        #Option         "MergedNonRectangular" "on"

     # ----------------------------------------------
     # Disabling outputs
        #[sisctrl] Set CRT1 device type
        Option          "ForceCRT1Type"         "VGA" #monitor screen on
        #Option         "ForceCRT1Type"         "NONE" #monitor screen off

        #[sisctrl] Set CRT2 device type
        #Option         "ForceCRT2Type"         "NONE" #notebook screen off
        Option          "ForceCRT2Type"         "LCD"  #notebook screen on
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultColorDepth   24
        SubSection "Display"
                Viewport        0 0
                Depth           1
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           4
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           8
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           15
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           16
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           24
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
My xorg version is:

Code: Select all

~$ apt-cache show xserver-xorg
Package: xserver-xorg
Source: xorg
Version: 1:7.7+7
What is yours?

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#14 Post by rienesl »

Hi clasan,
yes, I compiled the driver myself and no errors were shown. Currently I'm using your second xorg.conf. The result of apt-cache show xserver-xorg is:

Code: Select all

Package: xserver-xorg
Priority: optional
Section: x11
Installed-Size: 366
Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com>
Original-Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Architecture: i386
Source: xorg
Version: 1:7.7+1ubuntu8.1
Replaces: xorg-renamed-package, xserver-xorg-renamed
Provides: xserver, xserver-xorg-renamed
Depends: xserver-xorg-core (>= 2:1.11), xserver-xorg-video-all (>= 0~) | xorg-driver-video, xserver-xorg-input-all (>= 0~) | xorg-driver-input, xserver-xorg-input-evdev (>= 0~), libc6 (>= 2.7), xkb-data (>= 1.4), x11-xkb-utils
Recommends: libgl1-mesa-dri
Conflicts: xorg-renamed-package, xserver-xorg-renamed
Filename: pool/main/x/xorg/xserver-xorg_7.7+1ubuntu8.1_i386.deb
Thanks for your help!

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#15 Post by clasan »

rienesl,
Let we see your Xorg log file. Post the output of:

Code: Select all

 $cat /var/log/Xorg.0.log

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#16 Post by rienesl »

sorry for the late reply, here is the result of "cat /var/log/Xorg.0.log":

Code: Select all

[    47.577] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[    47.577] X Protocol Version 11, Revision 0
[    47.578] Build Operating System: Linux 3.2.0-75-generic i686 Ubuntu
[    47.578] Current Operating System: Linux V3353 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:59 UTC 2016 i686
[    47.578] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-77-generic root=UUID=5a335bf5-1882-4aeb-936d-7c74ce3fc755 ro quiet splash vt.handoff=7
[    47.578] Build Date: 12 February 2015  02:49:46PM
[    47.578] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
[    47.578] Current version of pixman: 0.30.2
[    47.578] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    47.578] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.578] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  5 06:07:24 2016
[    47.653] (==) Using config file: "/etc/X11/xorg.conf"
[    47.653] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    47.815] (==) ServerLayout "X.org Configured"
[    47.815] (**) |-->Screen "Screen0" (0)
[    47.815] (**) |   |-->Monitor "Monitor0"
[    47.844] (**) |   |-->Device "Card0"
[    47.844] (**) Option "IgnoreABI" "true"
[    47.844] (**) Ignoring ABI Version
[    47.844] (==) Automatically adding devices
[    47.844] (==) Automatically enabling devices
[    47.844] (==) Automatically adding GPU devices
[    47.941] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.941] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.941] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    47.941] 	Entry deleted from font path.
[    47.954] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    47.954] 	Entry deleted from font path.
[    47.954] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    47.954] 	Entry deleted from font path.
[    47.954] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    47.954] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    47.954] (**) Extension "XVideo" is disabled
[    47.954] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    47.954] (II) Loader magic: 0xb776c6c0
[    47.954] (II) Module ABI versions:
[    47.954] 	X.Org ANSI C Emulation: 0.4
[    47.954] 	X.Org Video Driver: 15.0
[    47.954] 	X.Org XInput driver : 20.0
[    47.954] 	X.Org Server Extension : 8.0
[    47.955] (--) PCI:*(0:1:0:0) 1039:6351:1734:1125 rev 16, Mem @ 0xc0000000/268435456, 0xd4000000/131072, I/O @ 0x00009000/128
[    47.971] Initializing built-in extension Generic Event Extension
[    47.971] Initializing built-in extension SHAPE
[    47.971] Initializing built-in extension MIT-SHM
[    47.971] Initializing built-in extension XInputExtension
[    47.971] Initializing built-in extension XTEST
[    47.971] Initializing built-in extension BIG-REQUESTS
[    47.971] Initializing built-in extension SYNC
[    47.971] Initializing built-in extension XKEYBOARD
[    47.971] Initializing built-in extension XC-MISC
[    47.971] Initializing built-in extension SECURITY
[    47.971] Initializing built-in extension XINERAMA
[    47.971] Initializing built-in extension XFIXES
[    47.971] Initializing built-in extension RENDER
[    47.971] Initializing built-in extension RANDR
[    47.971] Initializing built-in extension COMPOSITE
[    47.971] Initializing built-in extension DAMAGE
[    47.971] Initializing built-in extension MIT-SCREEN-SAVER
[    47.971] Initializing built-in extension DOUBLE-BUFFER
[    47.971] Initializing built-in extension RECORD
[    47.971] Initializing built-in extension DPMS
[    47.971] Initializing built-in extension Present
[    47.971] Initializing built-in extension DRI3
[    47.971] Initializing built-in extension X-Resource
[    47.971] Initializing built-in extension XVideo
[    47.972] Initializing built-in extension XVideo-MotionCompensation
[    47.972] Initializing built-in extension SELinux
[    47.972] Initializing built-in extension XFree86-VidModeExtension
[    47.972] Initializing built-in extension XFree86-DGA
[    47.972] Initializing built-in extension XFree86-DRI
[    47.972] Initializing built-in extension DRI2
[    47.972] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    47.972] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    47.972] (WW) "xmir" is not to be loaded by default. Skipping.
[    47.972] (II) LoadModule: "dbe"
[    47.972] (II) Module "dbe" already built-in
[    47.972] (II) LoadModule: "v4l"
[    48.123] (WW) Warning, couldn't open module v4l
[    48.123] (II) UnloadModule: "v4l"
[    48.123] (II) Unloading v4l
[    48.123] (EE) Failed to load module "v4l" (module does not exist, 0)
[    48.123] (II) LoadModule: "extmod"
[    48.123] (II) Module "extmod" already built-in
[    48.123] (II) LoadModule: "glx"
[    48.123] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    48.487] (II) Module glx: vendor="X.Org Foundation"
[    48.488] 	compiled for 1.15.1, module version = 1.0.0
[    48.488] 	ABI class: X.Org Server Extension, version 8.0
[    48.488] (==) AIGLX enabled
[    48.488] Loading extension GLX
[    48.488] (II) LoadModule: "sisimedia"
[    48.488] (II) Loading /usr/lib/xorg/modules/drivers/sisimedia_drv.so
[    48.559] (II) Module sisimedia: vendor="X.Org Foundation"
[    48.559] 	compiled for 1.15.1, module version = 0.8.0
[    48.559] 	Module class: X.Org Video Driver
[    48.559] 	ABI class: X.Org Video Driver, version 15.0
[    48.559] (II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
	SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
	SIS315PRO/E, SIS550, SIS650/M650/651/740,
	SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS330(Xabre),
	SIS340, [M]670/[M]770[GX], [M]671/[M]771[GX]
[    48.559] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
	Volari V3XT/V5/V8/Duo (XG40/XG42)
[    48.560] (++) using VT number 7

[    48.560] (II) SIS_pci_probe - begin, entity_num=0
[    48.560] (II)                        vendor_id=0x1039
[    48.560] (II)                        device_id=0x6351
[    48.560] (II)                        bus=1
[    48.560] (II)                        dev=0
[    48.560] (II)                        func=0
[    48.560] (II) SIS_pci_probe - ConfigPciEntity found
[    48.560] (II) SIS(0): SIS_pci_probe - GetEntityInfo chipset is 0x6351
[    48.560] (II) SIS(0): SIS_pci_probe - end
[    48.560] (II) SIS(0): SiS driver (2006/10/17-1, compiled for X.org 1.15.1.0)
[    48.560] (II) SIS(0): Copyright (C) 2001-2005 Thomas Winischhofer <thomas@winischhofer.net> and others
[    48.560] (II) SIS(0): *** See http://www.winischhofer.at/linuxsisvga.shtml
[    48.560] (II) SIS(0): *** for documentation, updates and a Premium Version.
[    48.560] (II) SIS(0): RandR rotation support not available in this version.
[    48.560] (II) SIS(0): Dynamic modelist support not available in this version.
[    48.560] (II) SIS(0): Screen growing support not available in this version.
[    48.560] (II) SIS(0): Advanced Xv video blitter not available in this version.
[    48.560] (II) SIS(0): Advanced MergedFB support not available in this version.
[    48.572] (--) SIS(0): sisfb not found
[    48.572] (--) SIS(0): Relocated I/O registers at 0x9000
[    48.586] (II) Loading sub module "ramdac"
[    48.586] (II) LoadModule: "ramdac"
[    48.586] (II) Module "ramdac" already built-in
[    48.586] (**) SIS(0): Depth 24, (--) framebuffer bpp 32
[    48.586] (==) SIS(0): RGB weight 888
[    48.586] (==) SIS(0): Default visual is TrueColor
[    48.586] (WW) SIS(0): Could not find/read video BIOS
[    48.586] (**) SIS(0): Option "EnableSiSCtrl" "yes"
[    48.586] (**) SIS(0): Option "ForceCRT1Type" "VGA"
[    48.586] (**) SIS(0): Option "ForceCRT2Type" "LCD"
[    48.586] (==) SIS(0): Color HW cursor is enabled
[    48.586] (II) SIS(0): Using VRAM command queue, size 512k
[    48.586] (==) SIS(0): Hotkey display switching is enabled
[    48.586] (**) SIS(0): CRT2 type shall be LCD
[    48.586] (**) SIS(0): SiSCtrl utility interface is enabled
[    48.586] (==) SIS(0): X server will not keep DPI constant for all screen sizes
[    48.586] (==) SIS(0): DRI enabled
[    48.587] (--) SIS(0): 65536K shared video RAM (UMA)
[    48.587] (--) SIS(0): DRAM type: DDR SDRAM
[    48.587] (--) SIS(0): Memory clock: 596.582 MHz
[    48.587] (--) SIS(0): DRAM bus width: 64 bit
[    48.587] (--) SIS(0): Linear framebuffer at 0xC0000000
[    48.587] (--) SIS(0): MMIO registers at 0xD4000000 (size 64K)
[    48.587] (--) SIS(0): VideoRAM: 65536 KB
[    48.587] (II) SIS(0): Using 16384K of framebuffer memory at offset 0K
[    48.587] (II) Loading sub module "ddc"
[    48.587] (II) LoadModule: "ddc"
[    48.587] (II) Module "ddc" already built-in
[    48.587] (--) SIS(0): Detected SiS307LV video bridge (Charter/UMC-1, ID 7; Rev 0xe1)
[    50.483] (--) SIS(0): No CRT1/VGA detected
[    50.484] (--) SIS(0): Detected LCD/plasma panel (1280x800, 11, non-exp., RGB18 [ec2305])
[    50.484] (**) SIS(0): Using gamma correction (1.0, 1.0, 1.0)
[    50.484] (II) SIS(0): CRT1 gamma correction is enabled
[    50.484] (II) SIS(0): Separate Xv gamma correction for CRT1 is disabled
[    50.484] (II) SIS(0): CRT2 gamma correction is enabled
[    50.484] (--) SIS(0): Memory bandwidth at 32 bpp is 1193.16 MHz
[    50.484] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT2)
[    50.484] (--) SIS(0): Detected LCD PanelDelayCompensation 0x00 (for LCD=CRT1)
[    50.484] (--) SIS(0): 302LV/302ELV: Using EMI 0x6a0d7038 (LCD)
[    50.484] (--) SIS(0): CRT2 DDC probing failed
[    50.484] (==) SIS(0): Min pixel clock is 10 MHz
[    50.484] (--) SIS(0): Max pixel clock is 340 MHz
[    50.484] (II) SIS(0): Replaced entire mode list with built-in modes
[    50.484] (II) SIS(0): Correcting missing CRT2 monitor HSync range
[    50.484] (II) SIS(0): Correcting missing CRT2 monitor VRefresh range
[    50.484] (II) SIS(0): "Unknown reason" in the following list means that the mode
[    50.484] (II) SIS(0): is not supported on the chipset/bridge/current output device.
[    50.484] (II) SIS(0): Monitor0: Using hsync range of 30.00-80.00 kHz
[    50.484] (II) SIS(0): Monitor0: Using vrefresh range of 59.00-61.00 Hz
[    50.484] (II) SIS(0): Monitor0: Using vrefresh value of 71.00 Hz
[    50.484] (II) SIS(0): Clock range:  10.00 to 340.00 MHz
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "800x600" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "640x480" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (vrefresh out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1024x768" (hsync out of range)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1280x1024" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1600x1200" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.484] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
[    50.485] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1400x1050" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1280x800" (vrefresh out of range)
[    50.485] (II) SIS(0): Not using default mode "1280x800" (hsync out of range)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1440x900" (unknown reason)
[    50.485] (II) SIS(0): Not using default mode "1366x768" (unknown reason)
[    50.485] (--) SIS(0): Virtual size is 1280x800 (pitch 1280)
[    50.485] (**) SIS(0): *Default mode "1280x800" (1280x800) (For CRT device: 107.9 MHz, 63.9 kHz, 59.9 Hz)
[    50.485] (**) SIS(0): *Default mode "1024x768" (1024x768) (For CRT device: 65.1 MHz, 48.5 kHz, 60.1 Hz)
[    50.485] (**) SIS(0): *Default mode "800x600" (800x600) (For CRT device: 40.0 MHz, 37.9 kHz, 60.3 Hz)
[    50.485] (**) SIS(0): *Default mode "640x480" (640x480) (For CRT device: 25.1 MHz, 31.3 kHz, 59.7 Hz)
[    50.485] (==) SIS(0): DPI set to (96, 96)
[    50.485] (II) Loading sub module "fb"
[    50.485] (II) LoadModule: "fb"
[    50.485] (II) Loading /usr/lib/xorg/modules/libfb.so
[    50.500] (II) Module fb: vendor="X.Org Foundation"
[    50.500] 	compiled for 1.15.1, module version = 1.0.0
[    50.500] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    50.500] (II) Loading sub module "exa"
[    50.500] (II) LoadModule: "exa"
[    50.500] (II) Loading /usr/lib/xorg/modules/libexa.so
[    50.515] (II) Module exa: vendor="X.Org Foundation"
[    50.515] 	compiled for 1.15.1, module version = 2.6.0
[    50.515] 	ABI class: X.Org Video Driver, version 15.0
[    50.515] (--) Depth 24 pixmap format is 32 bpp
[    50.515] (II) Loading sub module "vbe"
[    50.515] (II) LoadModule: "vbe"
[    50.515] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    50.527] (II) Module vbe: vendor="X.Org Foundation"
[    50.527] 	compiled for 1.15.1, module version = 1.1.0
[    50.527] 	ABI class: X.Org Video Driver, version 15.0
[    50.527] (II) Loading sub module "int10"
[    50.527] (II) LoadModule: "int10"
[    50.528] (II) Loading /usr/lib/xorg/modules/libint10.so
[    50.542] (II) Module int10: vendor="X.Org Foundation"
[    50.542] 	compiled for 1.15.1, module version = 1.0.0
[    50.542] 	ABI class: X.Org Video Driver, version 15.0
[    50.542] (II) SIS(0): initializing int10
[    50.567] (II) SIS(0): Primary V_BIOS segment is: 0xc000
[    50.569] (II) SIS(0): VESA BIOS detected
[    50.569] (II) SIS(0): VESA VBE Version 3.0
[    50.569] (II) SIS(0): VESA VBE Total Mem: 65536 kB
[    50.569] (II) SIS(0): VESA VBE OEM: SiS
[    50.569] (II) SIS(0): VESA VBE OEM Software Rev: 1.0
[    50.569] (II) SIS(0): VESA VBE OEM Vendor: Silicon Integrated Systems Corp.
[    50.569] (II) SIS(0): VESA VBE OEM Product: 6330
[    50.569] (II) SIS(0): VESA VBE OEM Product Rev: 3.74.10A
[    50.575] (II) SIS(0): Setting standard mode 0x16
[    51.748] drmOpenDevice: node name is /dev/dri/card0
[    51.753] drmOpenDevice: node name is /dev/dri/card0
[    51.883] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[    51.884] drmOpenDevice: node name is /dev/dri/card0
[    51.884] drmOpenDevice: open result is 10, (OK)
[    51.884] drmOpenByBusid: drmOpenMinor returns 10
[    51.884] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[    51.884] (II) [drm] loaded kernel module for "sis" driver.
[    51.884] (II) [drm] DRM interface version 1.4
[    51.884] (II) [drm] DRM open master succeeded.
[    51.884] (II) SIS(0): [drm] Using the DRM lock SAREA also for drawables.
[    51.884] (II) SIS(0): [drm] framebuffer handle = 0xc0000000
[    51.884] (II) SIS(0): [drm] added 1 reserved context for kernel
[    51.884] (II) SIS(0): X context handle = 0x1
[    51.884] (II) SIS(0): [drm] installed DRM signal handler
[    51.884] (II) SIS(0): [dri] Video RAM memory heap: 0x1000000 to 0x3f70000 (48576KB)
[    51.884] (II) SIS(0): [dri] handle = 0xd4000000, size = 65536
[    51.885] (II) SIS(0): [drm] AGP enabled
[    51.916] (II) SIS(0): [drm] Allocated 32MB AGP memory
[    51.919] (II) SIS(0): [drm] Bound 32MB AGP memory
[    51.919] (II) SIS(0): [drm] No valid IRQ number for device 1:0:0 (code -22)
[    51.919] (II) SIS(0): [dri] Visual configs initialized
[    51.950] (II) EXA(0): Offscreen pixmap area of 12681216 bytes
[    51.950] (II) EXA(0): Driver registered support for the following operations:
[    51.950] (II)         Solid
[    51.950] (II)         Copy
[    51.950] (--) SIS(0): CPU frequency 2000.00Mhz
[    51.952] (II) SIS(0): Benchmarking system RAM to video RAM memory transfer methods:
[    51.963] (--) SIS(0): 	Checked libc memcpy()... 	292.8 MiB/s
[    51.972] (--) SIS(0): 	Checked built-in-1 memcpy()... 	294.1 MiB/s
[    51.991] (--) SIS(0): 	Checked built-in-2 memcpy()... 	135.1 MiB/s
[    52.000] (--) SIS(0): 	Checked MMX memcpy()... 	294.1 MiB/s
[    52.010] (--) SIS(0): 	Checked SSE memcpy()... 	299.2 MiB/s
[    52.019] (--) SIS(0): 	Checked MMX2 memcpy()... 	299.5 MiB/s
[    52.019] (--) SIS(0): Using MMX2 method for aligned data transfers to video RAM
[    52.019] (--) SIS(0): Using MMX2 method for unaligned data transfers to video RAM
[    52.019] (--) SIS(0): CPU frequency 2000.00Mhz
[    52.021] (II) SIS(0): Benchmarking video RAM to system RAM memory transfer methods:
[    52.063] (--) SIS(0): 	Checked libc memcpy()... 	66.1 MiB/s
[    52.110] (--) SIS(0): 	Checked built-in-1 memcpy()... 	58.0 MiB/s
[    52.170] (--) SIS(0): 	Checked built-in-2 memcpy()... 	49.0 MiB/s
[    52.206] (--) SIS(0): 	Checked MMX memcpy()... 	77.9 MiB/s
[    52.238] (--) SIS(0): 	Checked SSE memcpy()... 	86.1 MiB/s
[    52.272] (--) SIS(0): 	Checked MMX2 memcpy()... 	79.7 MiB/s
[    52.273] (--) SIS(0): Using SSE method for aligned data transfers from video RAM
[    52.273] (--) SIS(0): Using MMX2 method for unaligned data transfers from video RAM
[    52.273] (==) SIS(0): Backing store enabled
[    52.273] (==) SIS(0): Silken mouse enabled
[    52.276] (**) SIS(0): DPMS enabled
[    52.276] (--) SIS(0): Hardware supports one video overlay
[    52.276] (II) SIS(0): Using SiS300/315/330/340/350 series HW Xv by default on CRT2
[    52.277] (II) SIS(0): Default Xv adaptor is Video Overlay
[    52.277] (II) SIS(0): [DRI] installation complete
[    52.277] (II) SIS(0): Direct rendering enabled
[    52.319] (II) SIS(0): Initialized SISCTRL extension version 0.1
[    52.319] (II) SIS(0): Registered screen 0 with SISCTRL extension version 0.1
[    52.320] (==) RandR enabled
[    52.330] (II) SELinux: Disabled on system
[    52.332] (II) AIGLX: Screen 0 is not DRI2 capable
[    52.332] (EE) AIGLX: reverting to software rendering
[    53.149] (II) AIGLX: Loaded and initialized swrast
[    53.149] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    53.263] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    53.282] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    53.282] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    53.282] (II) LoadModule: "evdev"
[    53.283] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    53.306] (II) Module evdev: vendor="X.Org Foundation"
[    53.306] 	compiled for 1.15.0, module version = 2.8.2
[    53.306] 	Module class: X.Org XInput Driver
[    53.306] 	ABI class: X.Org XInput driver, version 20.0
[    53.306] (II) Using input driver 'evdev' for 'Power Button'
[    53.306] (**) Power Button: always reports core events
[    53.306] (**) evdev: Power Button: Device: "/dev/input/event3"
[    53.306] (--) evdev: Power Button: Vendor 0 Product 0x1
[    53.306] (--) evdev: Power Button: Found keys
[    53.306] (II) evdev: Power Button: Configuring as keyboard
[    53.306] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    53.306] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    53.306] (**) Option "xkb_rules" "evdev"
[    53.306] (**) Option "xkb_model" "pc105"
[    53.306] (**) Option "xkb_layout" "de"
[    53.311] (II) XKB: reuse xkmfile /var/lib/xkb/server-808BBA3D4C227BDB44C370226C34E44C5D69A4A9.xkm
[    53.330] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    53.330] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    53.330] (II) Using input driver 'evdev' for 'Video Bus'
[    53.330] (**) Video Bus: always reports core events
[    53.330] (**) evdev: Video Bus: Device: "/dev/input/event6"
[    53.330] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    53.330] (--) evdev: Video Bus: Found keys
[    53.330] (II) evdev: Video Bus: Configuring as keyboard
[    53.330] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/input13/event6"
[    53.330] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    53.330] (**) Option "xkb_rules" "evdev"
[    53.330] (**) Option "xkb_model" "pc105"
[    53.331] (**) Option "xkb_layout" "de"
[    53.331] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    53.331] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    53.331] (II) Using input driver 'evdev' for 'Power Button'
[    53.331] (**) Power Button: always reports core events
[    53.331] (**) evdev: Power Button: Device: "/dev/input/event1"
[    53.331] (--) evdev: Power Button: Vendor 0 Product 0x1
[    53.331] (--) evdev: Power Button: Found keys
[    53.331] (II) evdev: Power Button: Configuring as keyboard
[    53.331] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[    53.331] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    53.332] (**) Option "xkb_rules" "evdev"
[    53.332] (**) Option "xkb_model" "pc105"
[    53.332] (**) Option "xkb_layout" "de"
[    53.332] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    53.332] (II) No input driver specified, ignoring this device.
[    53.332] (II) This device may have been added with another device file.
[    53.333] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    53.333] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    53.333] (II) Using input driver 'evdev' for 'Sleep Button'
[    53.333] (**) Sleep Button: always reports core events
[    53.333] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    53.333] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    53.333] (--) evdev: Sleep Button: Found keys
[    53.333] (II) evdev: Sleep Button: Configuring as keyboard
[    53.333] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[    53.333] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    53.333] (**) Option "xkb_rules" "evdev"
[    53.333] (**) Option "xkb_model" "pc105"
[    53.333] (**) Option "xkb_layout" "de"
[    53.334] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    53.334] (II) xfree86: Adding drm device (/dev/dri/card0)
[    53.334] (II) LoadModule: "modesetting"
[    53.334] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    53.342] (II) Module modesetting: vendor="X.Org Foundation"
[    53.342] 	compiled for 1.15.0, module version = 0.8.1
[    53.342] 	Module class: X.Org Video Driver
[    53.342] 	ABI class: X.Org Video Driver, version 15.0
[    53.342] xf86: found device 0
[    53.343] (II) config/udev: Adding input device HDA SIS966 Mic (/dev/input/event8)
[    53.343] (II) No input driver specified, ignoring this device.
[    53.343] (II) This device may have been added with another device file.
[    53.343] (II) config/udev: Adding input device HDA SIS966 Headphone (/dev/input/event7)
[    53.343] (II) No input driver specified, ignoring this device.
[    53.343] (II) This device may have been added with another device file.
[    53.343] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    53.343] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    53.344] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    53.344] (**) AT Translated Set 2 keyboard: always reports core events
[    53.344] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    53.344] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    53.344] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    53.344] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    53.344] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    53.344] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    53.344] (**) Option "xkb_rules" "evdev"
[    53.344] (**) Option "xkb_model" "pc105"
[    53.344] (**) Option "xkb_layout" "de"
[    53.345] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    53.345] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    53.345] (II) LoadModule: "synaptics"
[    53.345] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    53.369] (II) Module synaptics: vendor="X.Org Foundation"
[    53.369] 	compiled for 1.15.0, module version = 1.7.4
[    53.369] 	Module class: X.Org XInput Driver
[    53.369] 	ABI class: X.Org XInput driver, version 20.0
[    53.369] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    53.369] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    53.369] (**) Option "Device" "/dev/input/event5"
[    53.556] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 68)
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 93)
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    53.557] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    53.557] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    53.656] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input12/event5"
[    53.656] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    53.656] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    53.657] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    53.657] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    53.657] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    53.657] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    53.657] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    53.657] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    53.695] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[    53.695] (II) xfree86: Adding drm device (/dev/dri/card0)
[    53.695] (II) LoadModule: "modesetting"
[    53.696] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    53.696] (II) Module modesetting: vendor="X.Org Foundation"
[    53.696] 	compiled for 1.15.0, module version = 0.8.1
[    53.696] 	Module class: X.Org Video Driver
[    53.696] 	ABI class: X.Org Video Driver, version 15.0
[    53.696] (II) UnloadModule: "modesetting"
[    53.696] (II) Unloading modesetting
[    53.696] (II) Failed to load module "modesetting" (already loaded, -1218583586)
[    53.696] xf86: found device 0
[    79.751] (II) XKB: reuse xkmfile /var/lib/xkb/server-808BBA3D4C227BDB44C370226C34E44C5D69A4A9.xkm
[   261.221] (II) XKB: reuse xkmfile /var/lib/xkb/server-E9F2508F67FF8693C818650F309AAC6EB7172BB2.xkm

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#17 Post by clasan »

rienesl,
We have different versions of Xorg.
Yours:

Code: Select all

 [    47.954] (II) Module ABI versions:
[    47.954]    X.Org ANSI C Emulation: 0.4
[    47.954]    X.Org Video Driver: 15.0
[    47.954]    X.Org XInput driver : 20.0
[    47.954]    X.Org Server Extension : 8.0
Mine:

Code: Select all

 [    66.180] (II) Module ABI versions:
[    66.180]    X.Org ANSI C Emulation: 0.4
[    66.180]    X.Org Video Driver: 18.0
[    66.180]    X.Org XInput driver : 21.0
[    66.180]    X.Org Server Extension : 8.0
What version of Xubuntu are you using? (https://en.wikipedia.org/wiki/List_of_Ubuntu_releases)
Maybe a sis671 driver for Wheezy it's better for you. I've one here. Let we see what your Xubuntu version first.

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#18 Post by rienesl »

Hi,
you are absolutely right,I didn't thought about that!

Code: Select all

rienesl@V5535:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty
By the way: *ubuntu distributions are rather a "conservative" family and the LTS Versions are even more the direction "proved and stable", than bleeding edge technology ;)

clasan
Posts: 24
Joined: 2015-08-26 06:30

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#19 Post by clasan »

rienesl,
Try this. It worked for me in my Wheezy in the past 2 years.

HowTo: Driver for SIS 671/672/771/772 in Crunchbang or Debian Wheezy
-Some deps:

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
-Download the driver package tar.gz from
git project page
https://gitorious.org/xf86-video-sis671 ... b76;sf=tgz

my file backuped at dropbox
https://www.dropbox.com/s/1tsm63o75w2ih ... ar.gz?dl=0

-Extract:

Code: Select all

tar xvzf xf86-video-sis671sis-671-fix-2952c09.tar.gz
or

Code: Select all

$ tar xvzf xf86-video-sis671-sis-671-fix-38bf667ae42818edca60607b38c70100eab3ca36.tar.gz
-Access the folder:

Code: Select all

$ cd xf86-video-sis671-sis-671-fix
-To install the driver, run:

Code: Select all

$ autoreconf -vi
$ ./configure --prefix=/usr --disable-static
$ make
$ sudo make install
-Now we need to configure the xorg.conf file (use your text editor)

Code: Select all

$ sudo vim /etc/X11/xorg.conf
and use this configuration -- see that we use "sisimedia" in the Device section to indicate the driver:

Code: Select all

#-----------------------
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen          0                       "Screen0" 0 0
EndSection

Section "Module"
        Disable         "dri"
        Load            "dbe" # Double-Buffering Extension
        Load            "v4l" # Video for Linux
        Load            "extmod"
        Load            "glx"
EndSection
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "Monitor Model"
        Option          "DPMS"
        Gamma           1.0
EndSection
Section "Server Flags"
        Option          "IgnoreABI"             "true"
EndSection
Section "Device"
        Identifier      "Card0"
        Driver          "sisimedia"
        BusID           "PCI:1:0:0"
        Option          "EnableSiSCtrl"         "yes"
        
      # ----------------------------------------------
      # Configuration for TWO monitors
        #Option         "UseTiming1366" "yes"
        #Option         "MergedFB" "auto"
        #Option         "CRT1Position" "RightOf"
        #Option         "CRT2Position" "LeftOf"
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # lcc1
        #Option         "MetaModes" "1280x800-1280x800 1280x800"   # lcc2
        #Option         "MetaModes" "1280x1024-1280x800 1280x800" # lcc3
        #Option         "MetaModes" "1280x800-1366x768 1280x800" # home1
        #Option         "MetaModes" "1440x900-1024x768 1280x800"  # home2
        #Option         "MergedNonRectangular" "on"

     # ----------------------------------------------
     # Disabling outputs
        #[sisctrl] Set CRT1 device type
        Option          "ForceCRT1Type"         "VGA" #monitor screen on
        #Option         "ForceCRT1Type"         "NONE" #monitor screen off

        #[sisctrl] Set CRT2 device type
        #Option         "ForceCRT2Type"         "NONE" #notebook screen off
        Option          "ForceCRT2Type"         "LCD"  #notebook screen on
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultColorDepth   24
        SubSection "Display"
                Viewport        0 0
                Depth           1
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           4
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           8
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           15
                Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           16
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport        0 0
                Depth           24
                #Modes "1366x768" "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
                Modes "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Extensions"
Option "XVideo" "Disable"
EndSection
#-----------------------
OK, restart the X server (logout or restart the computer).

rienesl
Posts: 7
Joined: 2016-01-31 19:19

Re: SiS 771/671 VGA driver in Debian Jessie [hacky solution]

#20 Post by rienesl »

Thank you very much for your help!!
Done all the steps (packages were already installed, downloaded git and your copy) until I reached "make" on the git version:

Code: Select all

rienesl@V5535:~/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09$ make
make  all-recursive
make[1]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09'
Making all in src
make[2]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09/src'
  CC       sis_mergedfb.lo
sis_mergedfb.c: In function 'SISMFBPointerMoved':
sis_mergedfb.c:1530:3: error: too few arguments to function 'miPointerSetPosition'
   miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);
   ^
In file included from /usr/include/xorg/xf86Cursor.h:6:0,
                 from sis.h:81,
                 from sis_mergedfb.c:38:
/usr/include/xorg/mipointer.h:106:1: note: declared here
 miPointerSetPosition(DeviceIntPtr pDev, int mode, double *x, double *y,
 ^
make[2]: *** [sis_mergedfb.lo] Error 1
make[2]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671sis-671-fix-2952c09'
make: *** [all] Error 2
I do not know much about coding, but "Error" while doing "make" seems not to be the result that should be expected... So I tried it with your version:

Code: Select all

rienesl@V5535:~/Temp/Treiber/xf86-video-sis671-sis-671-fix$ make
make  all-recursive
make[1]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix'
Making all in src
make[2]: Entering directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix/src'
  CC       init301.lo
init301.c:8195:1: warning: return type defaults to 'int' [enabled by default]
 SiS_ModifyVB(struct SiS_Private *SiS_Pr)
 ^
  CC       init.lo
  CC       initextx.lo
  CC       sis300_accel.lo
  CC       sis310_accel.lo
  CC       sis6326_video.lo
sis6326_video.c: In function 'SIS6326SetupImageVideo':
sis6326_video.c:574:21: warning: assignment from incompatible pointer type [enabled by default]
     adapt->PutImage = SIS6326PutImage;
                     ^
  CC       sis_accel.lo
  CC       sis_cursor.lo
  CC       sis_dac.lo
  CC       sis_dga.lo
  CC       sis_driver.lo
sis_driver.c: In function 'SISScreenInit':
sis_driver.c:9526:4: warning: implicit declaration of function 'SISDRIScreenInit' [-Wimplicit-function-declaration]
    pSiS->directRenderingEnabled = SISDRIScreenInit(pScreen);
    ^
sis_driver.c:9852:11: warning: implicit declaration of function 'SISDRIFinishScreenInit' [-Wimplicit-function-declaration]
           pSiS->directRenderingEnabled = SISDRIFinishScreenInit(pScreen);
           ^
sis_driver.c:9866:28: warning: assignment from incompatible pointer type [enabled by default]
        pScrn->PointerMoved = SISMFBPointerMoved;
                            ^
sis_driver.c: In function 'SISAdjustFrame':
sis_driver.c:10555:2: warning: passing argument 1 of 'SISMFBAdjustFrame' makes integer from pointer without a cast [enabled by default]
  SISMFBAdjustFrame(arg, x, y, 0);
  ^
In file included from sis_driver.c:110:0:
sis_driver.h:929:14: note: expected 'int' but argument is of type 'ScrnInfoPtr'
 extern void  SISMFBAdjustFrame(int scrnIndex, int x, int y, int flags);
              ^
sis_driver.c: In function 'SISCloseScreen':
sis_driver.c:10761:8: warning: implicit declaration of function 'SISDRICloseScreen' [-Wimplicit-function-declaration]
        SISDRICloseScreen(pScreen);
        ^
sis_driver.c: In function 'SiS_GetSetBIOSScratch':
sis_driver.c:10986:8: warning: passing argument 5 of 'pci_device_map_legacy' from incompatible pointer type [enabled by default]
        (void) pci_device_map_legacy(SISPTR(pScrn)->PciInfo, 0, 0x2000, 1, &base); // HA HA HA MAGIC NUMBER
        ^
In file included from /usr/include/xorg/xf86Pci.h:108:0,
                 from sis.h:72,
                 from sis_driver.c:79:
/usr/include/pciaccess.h:533:5: note: expected 'void **' but argument is of type 'UChar **'
 int pci_device_map_legacy(struct pci_device *dev, pciaddr_t base,
     ^
  CC       sis_hwmc.lo
  CC       sis_memcpy.lo
  CC       sis_mergedfb.lo
sis_mergedfb.c: In function 'SISMFBPointerMoved':
sis_mergedfb.c:1530:3: error: too few arguments to function 'miPointerSetPosition'
   miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy);
   ^
In file included from /usr/include/xorg/xf86Cursor.h:6:0,
                 from sis.h:81,
                 from sis_mergedfb.c:38:
/usr/include/xorg/mipointer.h:106:1: note: declared here
 miPointerSetPosition(DeviceIntPtr pDev, int mode, double *x, double *y,
 ^
make[2]: *** [sis_mergedfb.lo] Error 1
make[2]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rienesl/Temp/Treiber/xf86-video-sis671-sis-671-fix'
make: *** [all] Error 2
More output, but same result...

Post Reply