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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-27-12, 09:09 AM   #1
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default 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
C-J is offline   Reply With Quote
Old 06-27-12, 10:33 AM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default 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>"
AaronP is offline   Reply With Quote
Old 06-28-12, 06:05 AM   #3
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default Re: xrandr shift after 302.17 not working.

Quote:
Originally Posted by AaronP View Post
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 View Post
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
C-J is offline   Reply With Quote
Old 06-28-12, 08:45 AM   #4
johnc
Registered User
 
Join Date: May 2011
Posts: 92
Default 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?
johnc is offline   Reply With Quote
Old 06-28-12, 09:00 AM   #5
C-J
Registered User
 
Join Date: Jun 2007
Posts: 12
Default Re: xrandr shift after 302.17 not working.

Quote:
Originally Posted by johnc View Post
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...

Cheers!
CJ
C-J 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
302.17 nvidiaXineramaInfoOverride not working properly hlandgar NVIDIA Linux 11 01-21-13 08:53 AM
302.17, XRandR multimonitor doesn't work darkraven NVIDIA Linux 5 07-06-12 04:41 AM
302.17 doesn't support my GT 640M balgo NVIDIA Linux 14 06-23-12 02:42 PM
Nvidia 302.17 OpenGL not working 6200 PCI Archmbc NVIDIA Linux 1 06-18-12 11:23 AM
302.17 for Linux x86/x86_64 released AaronP NVIDIA Linux 0 06-16-12 04:12 PM

All times are GMT -5. The time now is 02:34 AM.


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