SIS 771/671 PCIE Display Adapter Driver openSUSE 12.2

My Laptop has a sis 771/671 graphics card.

lspci | grep VGA
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)

it used to work with native drivers in openSUSE 12.1
now with openSUSE 12.2 the included driver “xf86-video-sis” doesn’t seem to support this device (it falls back to vesa or fbdev).

if I try older drivers it fails with “ABI major version (11) doesn’t match the server’s version (12)” … Failed to load module “sis671” (module requirement mismatch, 0)

my current X -version

X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX

Could someone point me into some direction where to find a current “sis671_drv.so” matching this version or even a git repository ?
Or will I need to downgrade X or even fall back to openSUSE 12.1 ?

Greetings

Maybe try loading it explicitly via /etc/X11/xorg.conf.d/50-device.conf

Section "Device"
  Identifier "Default Device"

  #Driver "radeon"
  Driver "sis"
  ## Required magic for radeon/radeonhd drivers; output name
  ## (here: "DVI-0") can be figured out via 'xrandr -q'
  #Option "monitor-DVI-0" "Default Monitor"

EndSection

If this causes the X-server to fail, you’ll need to reboot and start in ‘failsafe’ mode, then remove the change made to 50-device.conf

thx for the hint but this is not working.

/var/log/Xorg.0.log:


1412.611] (II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
1412.611] (II) Module sis: vendor=“X.Org Foundation”
1412.611] compiled for 1.12.3, module version = 0.10.4
1412.611] Module class: X.Org Video Driver
1412.611] ABI class: X.Org Video Driver, version 12.0
1412.611] (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, SIS330(Xabre),
SIS660/[M]661[F|M]X/[M]670/[M]741[GX]/[M]760[GX]/[M]761[GX]/[M]770[GX],
SIS340
1412.611] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
Volari V3XT/V5/V8/Duo (XG40)
1412.611] (++) using VT number 7

1412.612] (WW) Falling back to old probe method for sis
1412.612] (–) Assigning device section with no busID to primary device
1412.612] (EE) No devices detected.
1412.612]
Fatal server error:
1412.612] no screens found
1412.612]

as you can see “671/771” is not mentioned there. This is why I think this card is not supported by the suse default driver for sis.

Good luck with this. I see a number of Ubuntu links where I note that there are compiled sis671 drivers made available, and the xorg-driver-sis671-0.9.1-fixed.tar.gz seems to be available as source code, but it is not a trivial job to build a working graphics driver for a particular Xorg server version. If you really need to keep using this laptop, I would either stay with 12.1 for the time being, or perhaps consider using Ubuntu, where the SIS 671 chipset is still able to be supported.

if I try older drivers it fails with “ABI major version (11) doesn’t match the server’s version (12)” … Failed to load module “sis671” (module requirement mismatch, 0)

That can be overidden with a minmal xorg.conf, (or via a .conf file in the /etc/X11/xorg.conf.d/directory)

Section "ServerFlags"
        Option "IgnoreABI" "True"
EndSection

however, loading the older driver could still cause other issues.

That’s about all I can offer.

thx for the help ! I tested with an older driver now (knowing to work for me on suse 12.1).

result from /var/log/Xorg.0.log:

2300.388] (II) Loading /usr/lib/xorg/modules/drivers/sis671_drv.so
2300.388] (II) Module sis671: vendor=“X.Org Foundation”
2300.388] compiled for 1.10.4, module version = 0.8.0
2300.388] Module class: X.Org Video Driver
2300.388] ABI class: X.Org Video Driver, version 10.0
2300.388] (WW) module ABI major version (10) doesn’t match the server’s version (12)
2300.388] (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, SIS330(Xabre),
SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS340,
[M]670/[M]770[GX], [M]671/[M]771[GX]
2300.388] (II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
Volari V3XT/V5/V8/Duo (XG40/XG42)
2300.388] (++) using VT number 7

2300.389] (WW) Falling back to old probe method for sis671
2300.389] (–) Assigning device section with no busID to primary device
2300.389] (–) Chipset [M]671/[M]771[GX] found
2300.389]
2300.389] Backtrace:
2300.389] 0: /usr/bin/Xorg (xorg_backtrace+0x49) [0x81bc989]
2300.389] 1: /usr/bin/Xorg (0x8048000+0x1785f6) [0x81c05f6]
2300.389] 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb775b410]
2300.389] 3: /usr/lib/xorg/modules/drivers/sis671_drv.so (0xb6de1000+0x4448f) [0xb6e2548f]
2300.389] 4: /usr/bin/Xorg (xf86DeleteScreen+0x69) [0x80c59a9]
2300.389] 5: /usr/bin/Xorg (InitOutput+0xa92) [0x80beaa2]
2300.389] 6: /usr/bin/Xorg (0x8048000+0x20f96) [0x8068f96]
2300.389] 7: /lib/libc.so.6 (__libc_start_main+0xf5) [0xb72ac3d5]
2300.389] 8: /usr/bin/Xorg (0x8048000+0x214a9) [0x80694a9]
2300.389]
2300.389] Segmentation fault at address 0x50
2300.389]
Fatal server error:
2300.389] Caught signal 11 (Segmentation fault). Server aborting

:frowning:

i will keep trying to make it run

success !

I cloned the git from:

https://gitorious.org/xf86-video-sis671

and manged to make it compile against the current xorg version.

it is running with the following xorg.conf:


Section "ServerFlags"
        Option "IgnoreABI" "True"
EndSection

Section "Device"
        Identifier      "sis"
        Driver          "sisimedia"
        Screen          0
#       Option "UseTiming1280" "yes"
#       Option "DRI" "1"
#       Option "UseROMData" "false"
#       Option "NoAccel" "0"
#       Option "AccelMethod" "EXA"
#       Option "MigrationHeuristic"    "greedy"
EndSection

Section "Monitor"
        Identifier      "wxga"
        DisplaySize     1280    800
        Gamma           1
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "sis"
        Monitor         "wxga"
        DefaultDepth    24
        SubSection      "Display"
                Virtual 1280    800
                Depth   24
                Modes   "1280x800@60"   "1024x768@60"   "800x600@60"
        EndSubSection
EndSection


xorg.conf.d/50-device.conf is empty

thx to all helping

Well done with that!

I had a brief look at the git sources late last night (my time), after reading the following

https://aur.archlinux.org/packages.php?ID=34256

but wasn’t sure what complexities might exist with compiling in an openSUSE environment. If you have time, you might want to share the steps you took to get it to compile.

It might be useful to request that someone packages it with OBS for openSUSE 12.2 :slight_smile:

well I am not sure this is the proper way to do it but at least it worked for me:

prerequisites:

you will need libtool, xorg-x11-devel, xorg-x11-util-devel, xorg-x11-server-sdk,xorg-x11-proto-devel
and and of course a working environment to compile C code.

git clone git://gitorious.org/xf86-video-sis671/sis-671-fix.git

trying to run “autoconf” in the resulting directory failed for me with “missing xorg-macros”… which are installed with “xorg-x11-util-devel”.

I then pulled http://cgit.freedesktop.org/xorg/driver/xf86-video-sis/snapshot/xf86-video-sis-0.10.7.tar.gz which is the xorg driver for sis but without support for 771/671.

and replaced the “src” directory from the tar with the one from git.

Now I could run “autogen.sh”

building failed one more time. I fixed this but adding a line:


#include <fcntl.h>

in src/sis.h in line 66

now I could run “make” successfully

next copy the files:

src/.libs/sisimedia_drv.so
and
src/sismedia_drv.la

to

/usr/lib(64)/xorg/modules/drivers/

good luck !

Thanks for the explanation. This may be helpful to others who come searching. :slight_smile:

The compiled drivers can be downloaded at:

sis 671/771 openSUSE 12.2 xorg driver

I opened a feature request for it.
If you want to have it run out of the box go vote for it.

https://features.opensuse.org/314523

I know this is old but can you reupload the drivers for 12.2 ?

For Suse 12.3 I use:

https://www.archlinux.org/packages/extra/i686/xf86-video-sisimedia/

just in case some1 finds this thread while searching drivers

Can you tell me how you make the driver for archlinux work on 12.3. I copied it through terminal with previlidge directly to /usr/lib/xorg/modules/drivers/ but nothing happened.

Not as simple as copying. You’ll need to download the package and compile the source.

I don’t know how to compile from source. Can you show me how to do it?

I can give you some general advice. You’ll need to grab the source tarball(.tgz) file.

SIS 671 (Intel D201 GLY) and GEODE LX/GX Linux drivers for XWindows/Xorg

The compiling steps are mentioned there

To compile run ./autogen.sh , * configure * with your desired prefix and make install.

For compiling, you’ll need some additional development packages installed. Read the following first:

https://en.opensuse.org/SDB:Compiling_software

Sry but this is not true.

drivers are ready compiled. However there are 2 possible downloads.

https://www.archlinux.org/packages/extra/i686/xf86-video-sisimedia/download/ (32 bit)

https://www.archlinux.org/packages/extra/x86_64/xf86-video-sisimedia/download/ (64 bit)

if unsure what you need post output from:

uname -a

here.

Once you got the right version just unpack the archive and put the file:

unpacked_archive/usr/lib/xorg/modules/drivers/sisimedia_drv.so

into your system to:

/usr/lib/xorg/modules/drivers/sisimedia_drv.so