SliTaz SliTaz Forum

You are not logged in.

#1 2012-07-28 11:43:44

cphus
Member
Registered: 2012-07-28
Posts: 3

Wrong resolution

Hello,

I have just decided to install Slitaz on an old PC (700Mhz AMD Duron Processor, 192MB RAM). I also have issues with Webcam configuration but I'll make another post for that.

The screen is a HP1940 model, with a native resolution of 1280x1024.

The graphic card of the PC is :

01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 300/305 PCI/AGP VGA Display Adapter [1039:0300] (rev 90)

I installed xorg-xf86-video-sis sis driver and the monitor works but in 800x600 resolution at maximum.

Also, xrandr issues:

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600

default connected 800x600+0+0 0mm x 0mm

   800x600        61.0*

   640x480        60.0

(I wonder if this is relevant) Before trying Slitaz I tried Crunchbang Linux but it was of course more heavy and I decided to switch. In Crunchbang also (Linux 3.2.something) the output for xrandr was the same except that it had some more resolutions available, the max being 856x600 if I remember well.

Please help.

I hope I gave enough details.

Offline

#2 2012-07-28 12:43:44

cphus
Member
Registered: 2012-07-28
Posts: 3

Re: Wrong resolution

Since last comment I modified the driver string in 60-Device.conf from "vesa" to "sis" and I get more possible resolutions (like I had on Crunchbang) but the max is 856x600 - far from the native 1280x1024.

Also I added some modes in 70-Screen.conf but this doesn't work..

Here are some more outputs:

$ cat 50-Monitor.conf

Section "Monitor"

    Identifier   "Monitor0"

    VendorName   "HP"

    ModelName    "1940"

EndSection

$ cat 60-Device.conf

Section "Device"

        ### Available Driver options are:-

        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",

        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",

        ### <percent>: "<f>%"

        ### [arg]: arg optional

        #Option     "ShadowFB"               # [<bool>]

        #Option     "DefaultRefresh"         # [<bool>]

        #Option     "ModeSetClearScreen"     # [<bool>]

    Identifier  "Card0"

    Driver      "sis"

    BusID       "PCI:1:0:0"

EndSection

$ cat 70-Screen.conf

Section "Screen"

    Identifier "Screen0"

    Device     "Card0"

    Monitor    "Monitor0"

    SubSection "Display"

        Viewport   0 0

        Depth     1

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     4

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     8

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     15

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     16

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     24

    EndSubSection

    SubSection "Display"

        Depth 24

        Modes "1280x1024" "1024x768" "800x600" "640x480"

    EndSubSection

EndSection

Offline

#3 2012-07-28 13:11:55

cphus
Member
Registered: 2012-07-28
Posts: 3

Re: Wrong resolution

Hehe, I'm writing on 1280x1024 now big_smile

Here are the final outputs:

$ cat 50-Monitor.conf

Section "Monitor"

    Identifier   "Monitor0"

    VendorName   "HP"

    ModelName    "1940"

    HorizSync     28-64

    VertRefresh 60

EndSection

$ cat 60-Device.conf

Section "Device"

        ### Available Driver options are:-

        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",

        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",

        ### <percent>: "<f>%"

        ### [arg]: arg optional

        #Option     "ShadowFB"               # [<bool>]

        #Option     "DefaultRefresh"         # [<bool>]

        #Option     "ModeSetClearScreen"     # [<bool>]

    Identifier  "Card0"

    Driver      "sis"

    BusID       "PCI:1:0:0"

EndSection

$ cat 70-Screen.conf

Section "Screen"

    Identifier "Screen0"

    Device     "Card0"

    Monitor    "Monitor0"

    SubSection "Display"

        Viewport   0 0

        Depth     1

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     4

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     8

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     15

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     16

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     24

    EndSubSection

    SubSection "Display"

        Depth 24

        Modes "1280x1024" "1024x768" "800x600" "640x480"

    EndSubSection

EndSection

I doubt that the modes I added at the end of 70-Screen.conf have any significance. Only the "sis" driver and perhaps what I added in 50-Monitor.conf.

Output of xrandr looks ok now:

$ xrandr

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 400 x 300, current 1280 x 1024, maximum 1360 x 1024

default connected 1280x1024+0+0 0mm x 0mm

   1280x1024      60.0*

   1280x960       60.0

   1360x768       60.0

   1152x864       60.0

   1280x768       60.0

   1280x720       60.0

   1024x768       60.0

   1024x600       61.0

   1024x576       60.0

   800x600        60.0

   768x576        60.0

   720x576        60.0

   856x480        60.0

   848x480        60.0

   800x480        60.0

   640x480        60.0

   512x384        60.0

   400x300        60.0

   1360x1024      60.0

Perhaps it will help someone. smile

Offline

#4 2012-07-28 13:50:55

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Wrong resolution

Well done in figuring it out for yourself. More people should be like you wink

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]