SliTaz SliTaz Forum

You are not logged in.

#1 2012-09-28 08:53:20

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

setting resolution on a second display

I run here a laptop whose display is defect. As display I use a tft-screen Philips 170B4, which allows 1280x1024. The installation is slitaz 4.0.

Unfortunately lxrandr automatically set up a resolution of only 1024 x 768. The graphic card is a

VGA compatible controller : Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter.

I want to ask how to change the resolution.

Regards,

Michael

Offline

#2 2012-09-28 08:59:30

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

Hi Michael,

Please try these tricks with xrandr: http://forum.slitaz.org/topic/arandr-multi-screen-tool#post-11671

Offline

#3 2012-09-28 09:21:53

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

@Aleksej

sorry, it does not work yet. Apparently slitaz does not recognize my tft-screen. How do you use xrandr or another program to check how the tft-screen is recognized?

Regards,

Michael (and bravissimo for ultraquick reaction!)

Offline

#4 2012-09-28 10:10:09

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

Personally me, if I connect external monitor to my netbook, then I can see it in the LXRandr and can control it via LXRandR and via tricks described above.

Offline

#5 2012-09-28 10:20:50

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Here this does not happen. The display of my laptop does not function, it is dark as night. In case I plugin this tft-monitor with a vga-plug it displays a screen 1024x728.

But my /etc/X11/xorg.conf is empty, nothing is shown there at all.

With xrandr I get this output:

[c]root@slitaz:/etc/X11# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0*
   800x600         0.0
   640x480         0.0[/c]
It does not mention the second screen/monitor. Can you please show a detail of your xorg.conf-file?

Regards,

Michael

Offline

#6 2012-09-28 10:46:20

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

My xrandr output:

[c]Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 195mm x 113mm
   1024x600       60.0*+
   800x600        60.3     56.2
   640x480        59.9
VGA1 disconnected (normal left inverted right x axis y axis)[/c]
So I have [c]LVDS1[/c] and [c]VGA1[/c]. But you have only [c]default[/c] (?)

By the way, I have empty [c]/etc/X11/xorg.conf[/c]:

[c]# You can put here your own Xorg configurations. This config file is read
# before all files in /etc/X11/xorg.conf.d and will NOT be erased by any
# updates.[/c]
Using of xorg.conf is deprecated way to configure Xes. Now all settings are in the [c]/etc/X11/xorg.conf.d/[/c] folder.

Here is my [c]50-Monitor.conf[/c] (nothing special):

[c]Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection[/c]
Here is my [c]60-Device.conf[/c]:

[c]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     "AccelMethod"            # [<str>]
        #Option     "DRI"                    # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "VideoKey"               # <i>
        #Option     "FallbackDebug"          # [<bool>]
        #Option     "Tiling"                 # [<bool>]
        #Option     "LinearFramebuffer"      # [<bool>]
        #Option     "Shadow"                 # [<bool>]
        #Option     "SwapbuffersWait"        # [<bool>]
        #Option     "XvMC"                   # [<bool>]
        #Option     "XvPreferOverlay"        # [<bool>]
        #Option     "DebugFlushBatches"      # [<bool>]
        #Option     "DebugFlushCaches"       # [<bool>]
        #Option     "DebugWait"              # [<bool>]
        #Option     "HotPlug"                # [<bool>]
        #Option     "RelaxedFencing"         # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection[/c]
Here is my [c]70-Screen.conf[/c]:

[c]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
EndSection[/c]
So, you can see that these files are chunks from the old xorg.conf file. Actually I don't know how to help you. Maybe it video driver issue. Please, post me your [c]/etc/X11/xorg.conf.d/60-Device.conf[/c]

Offline

#7 2012-09-28 10:54:48

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Here we go:

[c]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      "vesa"
    BusID       "PCI:1:0:0"
EndSection[/c]
As you see it ,,realizes" only the orginal dysfunctional Display of the laptop itself, not the second monitor. My intention is:

to use this laptop with this second tft-monitor, but set the resolution of this monitor to 1280x1024. I am here in Turkey and to repair the display of this old laptop is not realistic. I have to go on with it, therefore a second screen/monitor.

Offline

#8 2012-09-28 11:40:24

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

No no no! Device is not Display. Device is your video card to that you attach your monitor.

vesa in fallback very simple video driver. I think you need to setup correct video driver first. Search forum, I can't help, my intel driver works from the box and I have no experience with video drivers debugging.

Offline

#9 2012-09-28 12:10:21

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Thanks again, Aleksej

I have a SIS video card. The out of

/etc/X11/xorg.conf.d/50-monitor.conf

is here, what we already know: it does not recognize the second monitor! ;-)

[c]Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection[/c]
Ok, I will further search the forum then.

Offline

#10 2012-09-28 12:30:03

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

Sorry, I can't find my cable to connect my external TV/monitor to netbook.

Maybe I'll see interesting changes in the config files…

Offline

#11 2012-09-29 13:19:04

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

I could not find anywhere a cable, but I connected an external monitor to my netbook in my office.

My small report in the attachments.

Files in /etc/X11/xorg.conf.d stay unchanged (in the Monitor.conf I see one monitor, etc.)

In the txt you can find output of the [c]xrandr[/c] and [c]xrandr --verbose[/c] commands.

How are you getting along with the installation of the sis driver?

[attachment=16724,670]

Offline

#12 2012-09-29 17:51:43

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Thanks again a lot, Aleksej,

the machine is in our workshop. I will check that tomorrow and report here.

Regards,

Michael

Offline

#13 2012-09-30 13:25:14

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Thanks a lot, Aleksej!

Buthere my situation is like this - the second monitor works, but is not shown by xrandr!

tux@slitaz:~$ xrandr --verbose

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768

default connected 1024x768+0+0 (0x108) normal (normal) 0mm x 0mm

    Identifier: 0x107

    Timestamp:  19821

    Subpixel:   no subpixels

    Clones:

    CRTC:       0

    CRTCs:      0

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

               filter:

  1024x768 (0x108)    0.0MHz *current

        h: width  1024 start    0 end    0 total 1024 skew    0 clock    0.0KHz

        v: height  768 start    0 end    0 total  768           clock    0.0Hz

  800x600 (0x109)    0.0MHz

        h: width   800 start    0 end    0 total  800 skew    0 clock    0.0KHz

        v: height  600 start    0 end    0 total  600           clock    0.0Hz

  640x480 (0x10a)    0.0MHz

        h: width   640 start    0 end    0 total  640 skew    0 clock    0.0KHz

        v: height  480 start    0 end    0 total  480           clock    0.0Hz

Opening lxrandr it simply shows the standard monitor (which runs, but is defect), but not the second monitor that displays. Hmmh... may be one first has to add the right details of this second monitor somewhere in /etc/X11?

Offline

#14 2012-09-30 14:08:08

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

Hi Michael,

Thanks for reporting. I think, you first should install right video driver (sis). All other settings X will do itself (I wonder).

Offline

#15 2012-09-30 14:35:14

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

This I already tried:

as root ,,tazx" and then I choosed SIS. Some action of downloading it, but apparently the video driver was not correctly built into the installation. I will repeat it and have a look at /var/log/Xorg.0.log about what happened.

Offline

#16 2012-09-30 14:51:12

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Well, I see a ,,sis_agp" module but nothing else. Apparently my video card driver in use is vesa. Does a proprietary SIS driver exist for Slitaz? I did not find such a thing.

Regards,

Michael

Offline

#17 2012-09-30 15:11:59

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

Re: setting resolution on a second display

Remove xorg-xf86-video-vesa after installing xorg-xf86-video-sis, then restart the computer.

Offline

#18 2012-09-30 15:59:24

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Ok, Sir,

that I will do tomorrow immediately! I do not have the machine at hand right now.

Offline

#19 2012-10-01 06:54:57

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

Ok, I installed xorg-xf86-video-sis - the situation remains the same, though. The second monitor is not visible with xrandr --verbose.

Offline

#20 2012-10-01 07:08:39

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: setting resolution on a second display

Not simple but my little tips

Primary problem screen on lcd turn off vert refresh is wrong try to fix change on xorg.conf the line

 HorizSync 28-72

 VertRefresh 43-60

default compatibility from pdf tecnical data on page 4

http://elektrotanya.com/philips_170b4_170s4_170p4.pdf/download.html

edit your xorg.conf from this guideline

http://ajoliveira.com/ajoliveira/uk/software/xorg.php

or another tread to find sis information

http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors

my excuse respects to slitaz for other forum linked, but not find any alternative.

Offline

#21 2012-10-01 07:11:26

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: setting resolution on a second display

Hi Michael,

And you removed xorg-xf86-video-vesa? And restarted the computer?

And no changes in the [c]xrandr[/c] output? Again [c]maximum 1024x768[/c]?

And see you changes in the /etc/X11/xorg.conf.d/60-Device.conf? Again [c]Driver "vesa"[/c]?

Offline

#22 2012-10-01 07:54:12

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

Re: setting resolution on a second display

Yeah, note the bit about having to remove vesa. With my sis card xorg defaults to vesa unless it's removed. With no vesa, xorg forces itself to use the sis driver. Hence the other 2/3 of my instructions you ignored.

Offline

#23 2012-10-01 09:01:19

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

@Aleksej,

yes, I have removed vesa and restarted. No changes. 60-Device.conf is an empty file.

tux@slitaz:~$ lsmod | grep sis

sis_agp                 2997  1

agpgart                18221  1 sis_agp

@Trixar_za

As you see vesa is out, sis is in. Situation remains the same. My Turkish friends here say that they could work with this present situation so I question whether it makes much sense to outwear you patience much longer?

Offline

#24 2012-10-01 20:58:01

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

Re: setting resolution on a second display

It's an xorg driver not a linux module so lsmod will not list it. If there is no vesa driver, it's using the sis one. How can you tell? Try something that changes the resolution like using ZSNES or SCUMMVM. Does it now work perfectly where before it didn't work properly before? That's because it's using the sis driver.

Offline

#25 2012-10-02 09:47:45

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: setting resolution on a second display

@Trixar_za

Thanks again for the tip. It did not change anything. I give up now. This machine is in a workshop, the guys here say they can work with 1024x768 and give compliments to Slitaz for speed and clarity of instructions. Thanks to all contributors, at least the quick responses you gave were impressing the people here! ;-)

Old, partially defect hardware is old. That is all.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]