Results 1 to 6 of 6

Thread: Xorg configuration with SiS 771/671

  1. #1
    Join Date
    Nov 2006
    Beans
    6

    Xorg configuration with SiS 771/671

    Hi,

    I am (yet another) user trying to get a decent resolution working on a laptop with a SiS 771/671 graphics card. I followed the guide by mhgsys for installing the correct driver here:

    http://ubuntuforums.org/showthread.php?t=958967&page=38

    The driver seems to be working, the framebuffer error is fixed and I can read the terminal now. The reason I am posting in a new thread is because I think my problem is with X now. I generated an xorg.conf file and rebooted gdm as required in the above guide but I got some error, can't remember which, so I added modes and a modeline(generated by cvt) to it so it looks like below:

    Code:
    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     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    	FontPath     "built-ins"
    EndSection
    
    Section "Module"
    	Load  "glx"
    	Load  "dri"
    	Load  "extmod"
    	Load  "record"
    	Load  "dbe"
    	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   "Monitor Vendor"
    	ModelName    "Monitor Model"
    	# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
    	Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
    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"           	# [<bool>]
            #Option     "Rotate"             	# <str>
            #Option     "fbdev"              	# <str>
            #Option     "debug"              	# [<bool>]
    	Identifier  "Card0"
    	Driver      "fbdev"
    	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"
    	SubSection "Display"
    		Viewport   0 0
    		Depth     1
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     4
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     8
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     15
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     16
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    		Modes "1366x768" "1024x768" "800x600"
    	EndSubSection
    EndSection
    However, when I reboot gdm I get the following error in a window in low graphics mode, which is what ubuntu is running in all the time anyway:

    Code:
    (EE) open /dev/fb0: No such file or directory
    (EE) Screen(s) found, but none have a usable configuration
    So, just to be clear, my resolution isn't any different from before I installed the driver, still stuck at 800x600, but I'm definetely closer I think. Anyone have any ideas of what I need to do here? Googling the error X gave me didn't return any useful results.

    Aside: The modeline says 1368x768, however the command I run with cvt is 'cvt 1366 768 60'. I don't know why cvt changes it to 1368, as far as I'm aware, this laptop's max res is 1366. I don't think it's a big deal though, but I just wanted to clarify.

    BTW, if I should have posted this in the SiS 771 thread my apologies, I just figured this was more appropriate. Also, seriously impressed with ubuntu's boot time, I've never seen one that fast, ever. Good job guys!

    UPDATE: Ok, I done Xorg -configure again to see what messages that gave as I done it blind before whilst installing the driver. When I ran it, it failed with the same error message as above, (/dev/fb0 not found...) and when I used the xorg.conf which is still generated by it, I get the same error from GDM. I thought I might have an invalid xorg.conf, a syntax error or something, as that seems to be the problem on other threads on google, but now I'm totally stumped. I would be very grateful for any advice on this.

    Thanks in advance.
    Last edited by teflon; May 14th, 2010 at 02:42 PM.

  2. #2
    Join Date
    May 2010
    Beans
    1

    Re: Xorg configuration with SiS 771/671

    I am having the same problem. sis! Any help will be greatly appreciated. In fact, i would love you for a resolution

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    Hidden!

    Re: Xorg configuration with SiS 771/671

    Hi there;

    I actually had the same problem (when trying to get the driver working on 64 bit)

    Anyway;
    The link in my "howto" has expired anyway; I will edit my post and insert the same link I'm giving you,

    Try the same thing with drivers from here;

    http://ajoliveira.com/ajoliveira/uk/software/xorg.php
    When your thread it solved: go to thread tools > Mark this thread as solved
    for SIS 771/671 use xcompmgr to have transparent terminals. just load it at startup.

    And then they asked: what's a pbkac error?

  4. #4
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Beans
    Hidden!

    Re: Xorg configuration with SiS 771/671

    If you had read the url you posted you would see it stating the source that has been used.

    Me:

    Linking it back to my post!!

    and as I said in my earlier post; the Bandwidth Limit Exceeded in the link you supposed to download the drivers from.
    That's why I've just adjusted my post.. and provided another link to get the drivers from.

    Go ahead; Open the url you just posted here; scroll to the bottom stating; source from here;.
    Last edited by mhgsys; May 24th, 2010 at 04:08 PM.
    When your thread it solved: go to thread tools > Mark this thread as solved
    for SIS 771/671 use xcompmgr to have transparent terminals. just load it at startup.

    And then they asked: what's a pbkac error?

  6. #6
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Xorg configuration with SiS 771/671

    I think you just need to manually edit your xorg.conf -

    Change the Driver line in yours from

    Driver "fbdev"

    to

    Driver "sis671"

    It worked for me!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •