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
clasan
Posts: 24
Joined: 2015-08-26 06:30

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

#31 Post by clasan »

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.

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

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

#32 Post by RazorSiS »

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]

#33 Post by RazorSiS »

I have sisctrl already.

Image

same max 800x600

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

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

#34 Post by clasan »

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”?

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

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

#35 Post by RazorSiS »

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  

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

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

#36 Post by clasan »

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?

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

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

#37 Post by RazorSiS »

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.

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

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

#38 Post by clasan »

Print here the output of

Code: Select all

$ cvt 1024 768
and tell us which is your monitor model.

RazorSiS
Posts: 7
Joined: 2016-05-08 21:06

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

#39 Post by RazorSiS »

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  

neolovich
Posts: 5
Joined: 2017-02-15 14:15

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

#40 Post by neolovich »

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]

#41 Post by neolovich »

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]

#42 Post by neolovich »

Do you think it will work with Linux Mint 18 Xfce?


jcglt
Posts: 20
Joined: 2017-03-26 03:13

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

#44 Post by jcglt »

New to Debian 9 Stretch with an old laptop working currently with LXLE16.04LTS : will your solutions work with SIS 671 chips ?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

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

#45 Post by debiman »

jcglt wrote:will your solutions work with SIS 671 chips ?
did you read the thread title?
:facepalm:

marshon kismit
Posts: 1
Joined: 2019-04-27 13:27

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

#46 Post by marshon kismit »

A HUGE thanks to @clasan - finally I have a proper screen resolution on my Esprimo running Antix 15.1
Your solution worked like a charm, and after installing the driver it automatically selected the correct 1280x800 res.
Excellent!
Si

Post Reply