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

Everything about X, Gnome, KDE, ... and everything running on it

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

Postby clasan » 2016-05-09 09:53

Hi RazorSIS,
Backup your xorg.conf:
Code: Select all
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

If you get a black screen, use Ctrl+Alt+F[1-6] keys to restore it by
Code: Select all
$ sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

OK?

Let's try this. Change the respective xorg.conf lines to (if you have just ONE monitor, let Xorg auto detect it)
Code: Select all
#[sisctrl]  Set CRT1 device type
#Option      "ForceCRT1Type"     "VGA"   #monitor on
#Option     "ForceCRT1Type"     "NONE"  #monitor off

#[sisctrl]  Set CRT2 device type
#Option      "ForceCRT2Type"     "NONE"  #notebook off
#Option     "ForceCRT2Type"     "LCD"   #notebook on

and
Code: Select all
SubSection "Display"
   Viewport    0 0
   Depth       24
   Virtual     1024 768
   Modes   "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection

Logout your Lubuntu session to restart the Xorg.

----------------------------
EDIT 1:
Are you using sisctrl control panel to change the resolution of monitor? Just the Lubuntu menu won't work. You need to use the Sis Control.
Open a terminal and run
Code: Select all
$ sisctrl

then you can select and change the resolution.

EDIT 2:
OK, I didn't post the How-To for the sisctrl control panel. Sorry. I'll make it to share in the forum later.
clasan
 
Posts: 24
Joined: 2015-08-26 06:30

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

Postby RazorSiS » 2016-05-09 10:28

Thanks clasan,

With the virtual 1024x768 mode the screen goes out of bound.

The Display Settings window represent the center of the monitors viewable area:
1024x768
Image
800x600
Image

xorg.conf
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
         Virtual     1024 768
         Modes   "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
      EndSubSection
        EndSection
RazorSiS
 
Posts: 7
Joined: 2016-05-08 21:06

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

Postby RazorSiS » 2016-05-09 10:31

I have sisctrl already.

Image

same max 800x600
RazorSiS
 
Posts: 7
Joined: 2016-05-08 21:06

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

Postby clasan » 2016-05-09 11:46

Looking your Xorg.log, I noticed your case is like this (Xorg version difference).
Do you have xrandr installed? Which is the output of “$ xrandr”?
clasan
 
Posts: 24
Joined: 2015-08-26 06:30

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

Postby RazorSiS » 2016-05-09 13:10

clasan wrote:Looking your Xorg.log, I noticed your case is like this (Xorg version difference).
Do you have xrandr installed? Which is the output of “$ xrandr”?


Code: Select all
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 800 x 600, maximum 1024 x 768
default connected 800x600+0+0 0mm x 0mm
   800x600        60.0*    56.0 
   640x480        60.0 
   960x600        60.0 
   960x540        60.0 
   768x576        60.0 
   720x576        60.0 
   856x480        60.0 
   800x480        60.0 
   720x480        61.0 
   512x384        60.0 
   400x300        60.0 
   320x240        61.0 
   1024x768       60.0 
RazorSiS
 
Posts: 7
Joined: 2016-05-08 21:06

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

Postby clasan » 2016-05-09 13:23

Try to create a virtual resolution:
Code: Select all
xrandr --addmode default 1024x768

Then, try to select the new mode:
Code: Select all
xrandr --output default --mode 1024x768

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

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

Postby RazorSiS » 2016-05-09 13:49

clasan wrote:Try to create a virtual resolution:
Code: Select all
xrandr --addmode default 1024x768

Then, try to select the new mode:
Code: Select all
xrandr --output default --mode 1024x768

Work?


same as the xorg.conf with virtual 1024x768 mode, screen goes out of bound.
RazorSiS
 
Posts: 7
Joined: 2016-05-08 21:06

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

Postby clasan » 2016-05-09 23:51

Print here the output of
Code: Select all
$ cvt 1024 768

and tell us which is your monitor model.
clasan
 
Posts: 24
Joined: 2015-08-26 06:30

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

Postby RazorSiS » 2016-05-10 20:18

Actually i switched to arch
compiled the sismedia package from aur and thats it
now its up and working

this is from arch with sisimedia
Code: Select all
$ cvt 1024 768
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync


Code: Select all
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 960
default connected 1024x768+0+0 0mm x 0mm
   1280x960      60.00 
   1152x864      60.00 
   1024x768      75.00    70.00    60.00*
   1024x576      75.00    60.00 
   960x600       60.00 
   960x540       60.00 
   800x600       75.00    72.00    60.00    56.00 
   768x576       60.00 
   720x576       60.00 
   856x480       60.00 
   848x480       60.00 
   800x480       75.00    60.00 
   720x480       61.00 
   640x480       75.00    73.00    60.00 
   640x400       72.00 
   512x384       60.00 
   400x300       60.00 
   320x240       61.00 
   320x200       71.00 
RazorSiS
 
Posts: 7
Joined: 2016-05-08 21:06

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

Postby neolovich » 2017-02-15 14:25

I installed the driver on Linux Mint Debian Edition and it works so far. Thank you very much clasan and ma7h3us. Searched many days for a solution for my old Terra Mobile 2300 with the SiS Chip.
But the notify icons arent shown correctly. Does anybody has an idea how i get this work correctly?
neolovich
 
Posts: 5
Joined: 2017-02-15 14:15

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

Postby neolovich » 2017-02-16 13:46

Alright. With the xorg.conf from ma7h3us everything works perfectly now. Notify Area and LibreOffice etc.
neolovich
 
Posts: 5
Joined: 2017-02-15 14:15

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

Postby neolovich » 2017-02-22 09:25

Do you think it will work with Linux Mint 18 Xfce?
neolovich
 
Posts: 5
Joined: 2017-02-15 14:15


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

Postby jcglt » 2017-03-26 03:18

New to Debian 9 Stretch with an old laptop working currently with LXLE16.04LTS : will your solutions work with SIS 671 chips ?
jcglt
 
Posts: 19
Joined: 2017-03-26 03:13

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

Postby debiman » 2017-03-27 18:04

jcglt wrote:will your solutions work with SIS 671 chips ?

did you read the thread title?
:facepalm:
User avatar
debiman
 
Posts: 829
Joined: 2013-03-12 07:18

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable