nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   xrandr shift after 302.17 not working. (http://www.nvnews.net/vbulletin/showthread.php?t=185290)

C-J 06-27-12 09:09 AM

xrandr shift after 302.17 not working.
 
Two monitor setup:
GPU 0 - Quadro FX 380
DFP-0 + DFP-1: HP LA2405
Dist: PCLOS
Kernel: 3.2.18

In xorg.conf (Screen section):
Code:

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 24
        Modes "1920x1200"
    EndSubsection

    Option "TwinView" "1"

    Option "metamodes" "DFP-0: 1920x1200_60 +0+0, DFP-1: 1920x1200_60 +1920+0; DFP-0: 1920x1200_60 +0+0, DFP-1: NULL;"
EndSection

I have two shortcuts set up in KDE4:
xrandr -s 1920x1200 - To shift to single (left) monitor display.
xrandr -s 3840x1200 - To shift to expanded display across the two monitors.

After the latest f/w upgrade, the command to expand across two monitors no longer works:
Code:

xrandr -s 3840x1200
Size 3840x1200 not found in available modes

This has been working well for some 5+ years, so I am unsure as to what the change is.


Any help is appreciated... I need the choice for dual display on command back!

Cheers!
CJ

AaronP 06-27-12 10:33 AM

Re: xrandr shift after 302.17 not working.
 
This came up in another thread: http://www.nvnews.net/vbulletin/show...85&postcount=8

You're supposed to be able to use xrandr -s to switch between MetaModes, but that doesn't work currently. Instead, it reconfigures the current MetaMode as if you had used RandR 1.2 requests.

In your case, you should be able to use RandR 1.2 to turn the second monitor on and off on the fly with "xrandr --output <whatever> --off" and "xrandr --output <whatever> --preferred --right-of <whatever>"

C-J 06-28-12 06:05 AM

Re: xrandr shift after 302.17 not working.
 
Quote:

Originally Posted by AaronP (Post 2567218)
This came up in another thread: http://www.nvnews.net/vbulletin/show...85&postcount=8You're supposed to be able to use xrandr -s to switch between MetaModes, but that doesn't work currently. Instead, it reconfigures the current MetaMode as if you had used RandR 1.2 requests.

Your first statement appears to be contradicted by the fact that 'xrandr -s 1920x1200' works. I say 'appears' as maybe that's covered by your second sentence?


Quote:

Originally Posted by AaronP (Post 2567218)
In your case, you should be able to use RandR 1.2 to turn the second monitor on and off on the fly with "xrandr --output <whatever> --off" and "xrandr --output <whatever> --preferred --right-of <whatever>"

Yup, worked a treat, so thank you for that!
The delay in switching between modes seems a wee bit longer than before (approx. 1.5 secs. vs. 0.5 secs before), but that is hardly an issue.


I found that I could also use:
Code:

nvidia-settings --assign 0/CurrentMetaMode="DFP-0: 1920x1200_60 +0+0, DFP-1: 1920x1200_60 +1920+0"
(... thanks to an answer you provided in a previous thread of mine.)


Since you say that my usual way of doing it is 1.1, and your solution (and my alternative CurrentMetaMode) is 1.2, can I safely assume that your 1.2 is the more 'correct' and future-proof method to use?
Or, in short: Which would you use?

Cheers!
CJ

johnc 06-28-12 08:45 AM

Re: xrandr shift after 302.17 not working.
 
Just out of curiosity... can you still do Ctrl-Alt-Numpad-Plus and Ctrl-Alt-Numpad-Minus to cycle through resolutions?

C-J 06-28-12 09:00 AM

Re: xrandr shift after 302.17 not working.
 
Quote:

Originally Posted by johnc (Post 2567317)
Just out of curiosity... can you still do Ctrl-Alt-Numpad-Plus and Ctrl-Alt-Numpad-Minus to cycle through resolutions?

I am probably not the right person to ask: over many years, different hardware and several iterations of Linux, that combination has never worked for me; and still does not. Go figure... :confused:

Cheers!
CJ


All times are GMT -5. The time now is 10:24 AM.

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