Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-05-10, 10:03 AM   #1
fizassist
Registered User
 
Join Date: Jan 2010
Posts: 1
Default Problem with different meta-modes naming 3 displays (max 2 per meta-mode)

Hi,

I have a Dell D820 laptop with an NVS 140M running Fedora 12 x86_64 with the 190.42-5 driver from rpmfusion. I normally use a docking station with two 1920x1200 monitors (DFP-1 and CRT-0). I would also like to define modes with just the laptop display (DFP-0) and the laptop display mirrored with the VGA port (DFP-0 and CRT-0). Since each of these modes only use 2 monitors at once, I assumed (hoped) this was possible. I defined the following metamodes in hope of switching between them using xrandr:

Code:
Option         "metamodes" "DFP-1: nvidia-auto-select +0+0, CRT-0: nvidia-auto-select +1920+0; 
DFP-0: nvidia-auto-select +0+0; 
DFP-0: nvidia-auto-select +0+0, CRT-0: nvidia-auto-select +0+0; 
DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +0+0; 
CRT-0: nvidia-auto-select +0+0; 
DFP-1: nvidia-auto-select +0+0"
(DVI + VGA, Panel only, Panel + VGA, Panel + DVI, VGA only, DVI only)

The driver recognizes all modes as valid, but DFP-1 gets dropped:

Code:
(--) Jan 05 08:19:59 NVIDIA(0): Connected display device(s) on Quadro NVS 140M at PCI:1:0:0:
(--) Jan 05 08:19:59 NVIDIA(0):     DELL 2709W (CRT-0)
(--) Jan 05 08:19:59 NVIDIA(0):     Seiko (DFP-0)
(--) Jan 05 08:19:59 NVIDIA(0):     DELL 2709W (DFP-1)
(--) Jan 05 08:19:59 NVIDIA(0): DELL 2709W (CRT-0): 400.0 MHz maximum pixel clock
(--) Jan 05 08:19:59 NVIDIA(0): Seiko (DFP-0): 330.0 MHz maximum pixel clock
(--) Jan 05 08:19:59 NVIDIA(0): Seiko (DFP-0): Internal Dual Link LVDS
(--) Jan 05 08:19:59 NVIDIA(0): DELL 2709W (DFP-1): 165.0 MHz maximum pixel clock
(--) Jan 05 08:19:59 NVIDIA(0): DELL 2709W (DFP-1): Internal Single Link TMDS
(**) Jan 05 08:19:59 NVIDIA(0): TwinView enabled
(II) Jan 05 08:19:59 NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, DFP-0,
(II) Jan 05 08:19:59 NVIDIA(0):     DFP-1
(WW) Jan 05 08:19:59 NVIDIA(0): There are only 2 CRTCs available, trimming display device list
(WW) Jan 05 08:19:59 NVIDIA(0):     from "CRT-0, DFP-0, DFP-1" to "CRT-0, DFP-0".
(II) Jan 05 08:20:00 NVIDIA(0): Assigned Display Devices: CRT-0, DFP-0
(II) Jan 05 08:20:00 NVIDIA(0): Validated modes:
(II) Jan 05 08:20:00 NVIDIA(0):    
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-1:nvidia-auto-select+0+0,CRT-0:nvidia-auto-select+1920+0"
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0"
(II) Jan 05 08:20:00 NVIDIA(0):    
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0,CRT-0:nvidia-auto-select+0+0"
(II) Jan 05 08:20:00 NVIDIA(0):    
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-0:nvidia-auto-select+0+0,DFP-1:nvidia-auto-select+0+0"
(II) Jan 05 08:20:00 NVIDIA(0):     "CRT-0:nvidia-auto-select+0+0"
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-1:nvidia-auto-select+0+0"
(II) Jan 05 08:20:00 NVIDIA(0): Virtual screen size determined to be 3840 x 1200
(--) Jan 05 08:20:00 NVIDIA(0): DPI set to (84, 84); computed from "UseEdidDpi" X config
(--) Jan 05 08:20:00 NVIDIA(0):     option
(==) Jan 05 08:20:00 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Jan 05 08:20:00 NVIDIA(0): Initialized GPU GART.
(II) Jan 05 08:20:00 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Jan 05 08:20:00 NVIDIA(0):     enough to receive ACPI display change hotkey events.
(II) Jan 05 08:20:00 NVIDIA(0): Setting mode
(II) Jan 05 08:20:00 NVIDIA(0):     "DFP-1:nvidia-auto-select+0+0,CRT-0:nvidia-auto-select+1920+0"
Does anybody have any suggestions for easy switching between modes with one or two of the 3 displays active? The problem with just using the following is that when I boot up out of the docking station, my laptop panel is disabled unless I manually edit xorg.conf and restart X:

Code:
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0, CRT-0: nvidia-auto-select +1920+0"
Thanks!

Last edited by fizassist; 01-05-10 at 10:04 AM. Reason: typo
fizassist is offline   Reply With Quote
Old 08-27-10, 06:56 AM   #2
bdamato
Registered User
 
Join Date: Aug 2010
Posts: 1
Default Re: Problem with different meta-modes naming 3 displays (max 2 per meta-mode)

I see this is a pretty old post, but I am trying to do the exact same thing on similar hardware. CRT-0 and DFP-1 are Dell monitors hooked up to my dock and DFP-0 is the built-in LCD in the laptop. I was thinking that setting "Option" "TwinViewXineramaInfoOrder" to "CRT-0, DFP-1, DFP-0" would make the driver use CRT-0 and DFP-1 when I was docked, but fallback to DFP-0 when I was undocked, but it's not working that way. Getting this is in Xorg.log:

Code:
[163351.286] (II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, DFP-0,
[163351.286] (II) NVIDIA(0):     DFP-1
[163351.286] (WW) NVIDIA(0): There are only 2 heads available, trimming display device list
[163351.286] (WW) NVIDIA(0):     from "CRT-0, DFP-0, DFP-1" to "CRT-0, DFP-0".
[163351.353] (II) NVIDIA(0): Assigned Display Devices: CRT-0, DFP-0
[163351.353] (II) NVIDIA(0): Validated modes:
[163351.353] (II) NVIDIA(0):
[163351.353] (II) NVIDIA(0):     "CRT:nvidia-auto-select+0+0,DFP:nvidia-auto-select+1280+0"
[163351.353] (II) NVIDIA(0):     "DFP:1920x1200+0+0"
[163351.353] (II) NVIDIA(0): Virtual screen size determined to be 3200 x 1200
Here is the Screen section of my xorg.conf:

Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0, DFP-1, DFP-0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1280+0; DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
I've been working on this quite a bit and it seems like I'm so close. Anybody have any clues/hints? Using Fedora 13 if it matters.
bdamato is offline   Reply With Quote
Old 12-26-10, 03:14 AM   #3
yura_k
Registered User
 
Join Date: Aug 2010
Posts: 7
Default Re: Problem with different meta-modes naming 3 displays (max 2 per meta-mode)

here is my post with similar problem, I cannot disable DFP-0 output and use only CRT-0 & DFP-1 with nvidia drivers:
http://www.nvnews.net/vbulletin/show...16#post2303816

! however you can use nouveau drivers and then by using xrandr/(sh script) manipulate with different outputs/modes combinations. It is working on my Ubuntu, thus I would expect it should work on FC as well. Just install nouveau and then add into blacklist nvidia drivers.

ex for using xrandr:
Run following command to find modeline details for resolution 12401024 (use your resolution). Modeline is required for xrandr.
$ cvt 1240 1024
# 1240x1024 59.93 Hz (CVT) hsync: 63.71 kHz; pclk: 105.50 MHz
Modeline "1240x1024_60.00" 105.50 1240 1320 1448 1656 1024 1027 1037 1063 -hsync +vsync

then do something like this:
$ xrandr --newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
$ xrandr --addmode VGA-0 "1280x1024_60.00"
$ xrandr --output VGA-0 --mode "1280x1024_60.00"

Note, nouveau does not support 3D (no compiz, ...), but as far as I know, the latest FC does support for gallium driver (nouveau with 3D support), search for experimental packets. Keep in mind that gallium is very unstable right now...
yura_k is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:33 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.