LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SIS video driver?????? (https://www.linuxquestions.org/questions/slackware-14/sis-video-driver-4175525024/)

unclejed613 11-10-2014 10:07 PM

SIS video driver??????
 
i've followed a bunch of previous threads here, and at my wits end.... i cannot find source for an SIS driver that will build on a new install of slack 14.1, and many of the links to source for it (even from july of this year) are defunct i will NEVER buy another MB with an SIS chipset again.... but i want to get this one doing something other than console mode if it's even humanly possible.... arrghhhh

jtsn 11-10-2014 10:16 PM

You are talking about xf86-video-sis-0.10.7? What's wrong with it?

ReaperX7 11-10-2014 10:37 PM

Unfortunately the SiS driver is poorly maintained upstream, and support for it in LibMesa was dropped a while back as well. There are patches from upstream you can get to patch the driver to make it work with the latest xorg-server versions, but support for these chipsets isn't what it used to be, though that in part being that barely any motherboards any more actually use video graphics other than Nvidia, AMD, and Intel.

fsalk 11-11-2014 12:00 AM

please copy this into your xorg.conf and you'll have resolution 1280x768_0 Hz. without this xorg.conf, you should have 1024x768_60 Hz

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


unclejed613 11-11-2014 12:29 AM

i'll try it tomorrow.... but i'm beginning to think SIS means "Satan In Silicon".........

jtsn 11-11-2014 12:34 AM

This xorg.conf uses the "vesa" driver.

ReaperX7 11-11-2014 05:04 AM

Slackware's xf86-video-sis-0.10.7 driver should contain several patches from upstream. The question is probably which exact SiS chip you have.

Can you post the output of lspci?

fsalk 11-11-2014 06:10 AM

@jtsn - i know that this xorg.conf uses "vesa" driver ;) why i use vesa instead of sis? because sis doesn't work :D

jtsn 11-11-2014 06:25 AM

Quote:

Originally Posted by fsalk (Post 5268121)
@jtsn - i know that this xorg.conf uses "vesa" driver ;) why i use vesa instead of sis? because sis doesn't work :D

But you don't need a complete xorg.conf:
Code:

removepkg xf86-video-sis
should be enough, if it doesn't work. Xorg will chose another driver (like "vesa") automatically. And even if that doesn't work, just put
Code:

Section "Device"
  Identifier "whatever"
  Driver    "vesa"
EndSection

into /etc/x11/xorg.conf.d/forcevesa.conf. And let X choose reasonable defaults for everything else.

General recommendation: Don't upgrade, stay with old working software on old hardware. Virtualize Slackware 14.1 if needed.

fsalk 11-11-2014 06:28 AM

of course, but in that case i'll have resolution 1024x768, and this way i have 1280x768 ;)

jtsn 11-11-2014 06:30 AM

Quote:

Originally Posted by fsalk (Post 5268129)
of course, but in that case i'll have resolution 1024x768, and this way i have 1280x768 ;)

Is xrandr not working?

fsalk 11-11-2014 06:42 AM

no. i tried all possibilities and vesa seems the easiest solution ;)

jtsn 11-11-2014 06:42 AM

Quote:

Originally Posted by fsalk (Post 5268134)
no. i tried all possibilities and vesa seems the easiest solution ;)

So xrandr isn't working with the VESA driver?

fsalk 11-11-2014 06:45 AM

i couldn't get 1280x768 with xrandr, so i gave up and i'm using this xorg.conf...

bobzilla 11-11-2014 09:45 AM

I did a conversion of Arch sis-imedia driver PKGBUILD for a friend on our forums some time ago. It worked for Xorg X server 1.12 (slack 14.0). Later we tried the later version with the new patches for 1.14 (Slack 14.1) but it seemed to be broken (he tried it on Arch too and it was broken). Haven't looked at it since and he didn't "bother" me with it in the meantime.

If you use 14.0, I can give you the links to the working package (and the SlackBuild). No 3D acceleration whatsoever, but 2D stuff work much better (ie: higher resolutions work too). If you use 14.1, sorry can't help.


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