SliTaz SliTaz Forum

You are not logged in.

#1 2014-05-13 15:31:25

poncho
Member
Registered: 2014-03-14
Posts: 23

Dual monitor support?

Hi,

I'm trying to get dual monitor working. I added nvidia and ATI drivers. My current test notebook has a nvidia card and the driver is loading on boot and does find both monitors (display and external monitor). But when I try to activate it using xrandr it doesn't work.

------------------------------------------------------------------------------------------------------------

nvidia driver says:

[    14.287] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32

[    14.287] (==) NVIDIA(0): RGB weight 888

[    14.287] (==) NVIDIA(0): Default visual is TrueColor

[    14.287] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)

[    14.287] (**) NVIDIA(0): Enabling RENDER acceleration

[    14.287] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is

[    14.287] (II) NVIDIA(0):     enabled.

[    15.240] (II) NVIDIA(0): NVIDIA GPU GeForce 8600M GS (G86) at PCI:1:0:0 (GPU-0)

[    15.240] (--) NVIDIA(0): Memory: 524288 kBytes

[    15.240] (--) NVIDIA(0): VideoBIOS: 60.86.64.00.26

[    15.240] (II) NVIDIA(0): Detected PCI Express Link width: 16X

[    15.240] (--) NVIDIA(0): Interlaced video modes are supported on this GPU

[    15.240] (--) NVIDIA(0): Connected display device(s) on GeForce 8600M GS at PCI:1:0:0:

[    15.240] (--) NVIDIA(0):     DELL E228WFP (CRT-0)

[    15.240] (--) NVIDIA(0):     AUO (DFP-0)

[    15.240] (--) NVIDIA(0): DELL E228WFP (CRT-0): 400.0 MHz maximum pixel clock

[    15.240] (--) NVIDIA(0): AUO (DFP-0): 330.0 MHz maximum pixel clock

[    15.240] (--) NVIDIA(0): AUO (DFP-0): Internal Dual Link LVDS

[    15.249] (II) NVIDIA(0): Assigned Display Device: DFP-0

[    15.249] (==) NVIDIA(0):

[    15.249] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"

[    15.249] (==) NVIDIA(0):     will be used as the requested mode.

[    15.249] (==) NVIDIA(0):

[    15.249] (II) NVIDIA(0): Validated modes:

[    15.249] (II) NVIDIA(0):     "nvidia-auto-select"

[    15.249] (II) NVIDIA(0): Virtual screen size determined to be 1440 x 900

[    15.277] (--) NVIDIA(0): DPI set to (98, 99); computed from "UseEdidDpi" X config

[    15.277] (--) NVIDIA(0):     option

[    15.277] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.

[    15.277] (--) Depth 24 pixmap format is 32 bpp

[    15.281] (II) NVIDIA(0): Initialized GPU GART.

[    15.290] (II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon may not

[    15.290] (II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration option

[    15.290] (II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is

[    15.290] (II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive ACPI

[    15.290] (II) NVIDIA(0):     events.  For details, please see the "ConnectToAcpid" and

[    15.290] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X

[    15.290] (II) NVIDIA(0):     Config Options in the README.

[    15.295] (II) NVIDIA(0): Setting mode "nvidia-auto-select"

[    15.652] (II) Loading extension NV-GLX

[    15.728] (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized

[    15.734] (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture

[    15.734] (==) NVIDIA(0): Backing store disabled

[    15.734] (==) NVIDIA(0): Silken mouse enabled

[    15.750] (==) NVIDIA(0): DPMS enabled

------------------------------------------------------------------------------------------------------------

And xrandr says:

root@slitaz:/etc/X11/xorg.conf.d# xrandr

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 320 x 240, current 1440 x 900, maximum 1440 x 900

default connected 1440x900+0+0 0mm x 0mm

   1440x900       50.0*

   1024x768       51.0

   800x600        52.0     53.0

   700x525        54.0

   640x512        55.0

   640x480        56.0     57.0

   512x384        58.0

   400x300        59.0

   320x240        60.0

root@slitaz:/etc/X11/xorg.conf.d# xrandr --output VGA1 --auto

xrandr: Failed to get size of gamma for output default

warning: output VGA1 not found; ignoring

------------------------------------------------------------------------------------------------------------

root@slitaz:/etc/X11/xorg.conf.d# nvidia-xconfig --query-gpu-info

Number of GPUs: 1

GPU #0:

  Name      : GeForce 8600M GS

  PCI BusID : PCI:1:0:0

  Number of Display Devices: 2

  Display Device 0 (CRT-0):

     EDID Name             : DELL E228WFP

     Minimum HorizSync     : 30.000 kHz

     Maximum HorizSync     : 83.000 kHz

     Minimum VertRefresh   : 56 Hz

     Maximum VertRefresh   : 75 Hz

     Maximum PixelClock    : 150.000 MHz

     Maximum Width         : 1680 pixels

     Maximum Height        : 1050 pixels

     Preferred Width       : 1680 pixels

     Preferred Height      : 1050 pixels

     Preferred VertRefresh : 60 Hz

     Physical Width        : 470 mm

     Physical Height       : 300 mm

  Display Device 1 (DFP-0):

     EDID Name             : AUO

     Minimum HorizSync     : 54.720 kHz

     Maximum HorizSync     : 54.720 kHz

     Minimum VertRefresh   : 60 Hz

     Maximum VertRefresh   : 60 Hz

     Maximum PixelClock    : 107.800 MHz

     Maximum Width         : 1440 pixels

     Maximum Height        : 900 pixels

     Preferred Width       : 1440 pixels

     Preferred Height      : 900 pixels

     Preferred VertRefresh : 60 Hz

     Physical Width        : 370 mm

     Physical Height       : 230 mm

------------------------------------------------------------------------------------------------------------

Does someone know how to get this working?

Offline

#2 2014-05-13 16:31:21

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Dual monitor support?

whats about a correct xorg.conf

http://zuttobenkyou.wordpress.com/2009/10/04/linux-nvidia-xinerama-guide-rotating-just-one-monitor-in-a-dual-head-setup/

http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

Offline

#3 2014-05-13 16:47:41

poncho
Member
Registered: 2014-03-14
Posts: 23

Re: Dual monitor support?

I thought it is autodetected like for example ubuntu does it. A hard coded xorg.conf is a problem for me because this setup should work with different monitor models and resolutions.

What I want is, that SliTaz starts up and automatically switches all connected monitors on with there optimal resolution. With ubuntu this works out of the box. Is there a way to do this in SliTaz?

I wanted to do it with xrandr but xrandr doesn't recognize all monitors for some reason. I read it is not dependent to xorg.conf.

Offline

#4 2014-05-13 17:41:52

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Dual monitor support?

you can try this

http://forum.slitaz.org/topic/xrandr-not-detecting-2nd-monitor#post-25620

and with xrandr I cant help - I never used it - perhaps just tell which version you are using 4.0 or rolling? - its more easy to answer

Offline

#5 2014-05-14 07:06:16

poncho
Member
Registered: 2014-03-14
Posts: 23

Re: Dual monitor support?

Thank you!

I switched to nv open source driver and xrandr does now find both monitors - LVDS and VGA. SliTaz has automatically activated the external monitor on VGA.

But I cannot activate LVDS, because it has no modes. The nv drver says: Not using mode "1440x900" (exceeds panel dimensions)

I do some research and try to get this working but now there must be a way smile

Offline

#6 2014-06-03 10:32:43

poncho
Member
Registered: 2014-03-14
Posts: 23

Re: Dual monitor support?

Really annoying. If I use nv driver, the graphics card in my Notebook works. If I use the nvidia driver, the driver in our Dell PC works. But I've found no solution to get everything working.

I'm thinking about using our old and big Ubuntu 12.04 to get this working... but this would not work with diskless clients.

Offline

#7 2014-06-03 12:34:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: Dual monitor support?

but perhaps you can use the big and old Ubuntu to see how it works and try to redo this with SliTaz - I do it normally like this

Offline

#8 2014-06-03 13:10:28

poncho
Member
Registered: 2014-03-14
Posts: 23

Re: Dual monitor support?

But where should I look for it? On another Client with Ubuntu 12.04 I looked in /etc/X11 and there is no xorg.conf. It just works and I can't see how.

Offline

#9 2014-06-04 14:21:35

poncho
Member
Registered: 2014-03-14
Posts: 23

Re: Dual monitor support?

OK, I got it fully working for nvidia on one PC. Will try it on other machines tomorrow.

These are the relevant parts from xorg.conf (I hope so):

[c]Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

# perhaps totally irrelevant
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "FUS P19-2"
    HorizSync       30.0 - 82.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
EndSection

# here it gets interesting!
Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "TwinViewOrientation" "CRT LeftOf DFP"
    Option         "metamodes" "CRT: 1920x1200,1680x1050,1280x1024, DFP: 1920x1200,1680x1050,1280x1024"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
TwinView[/c]

Offline

#10 2014-06-28 21:29:58

p3ngu1n0
Member
Registered: 2014-06-28
Posts: 7

Re: Dual monitor support?

I see the Nvidia tool spits out CRT-0 and DFP-0 as your device names. Maybe the driver changes those and you could try running xrandr with those options instead?

Cheers.

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.57 MiB (Peak: 1.77 MiB) ]