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.
Bookmarks