You are not logged in.

#1 2008-02-27 21:24:33

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

xrandr --help!

alright, I have my dual monitor set-up with xrandr so my aux. screen is to the right of my main screen.
on starting x both screens are identical, I then run "xrandr --output DVI-D_2 --auto --right-of DVI-A_1 with no problems.
if I run xrandr --output DVI-D_2 --off, the aux screen turns off as expected, but when attempting to turn it back on with
'xrandr --output DVI-A_1 --auto --output DVI-D_2 --auto --right-of DVI-A_1'
I receive the error message:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  154 (RANDR)
  Minor opcode of failed request:  21 ()
  Serial number of failed request:  18
  Current serial number in output stream:  18

and my aux screen remains off.  what gives?

Cyrus

p.s. otherwise, xrandr has proven to be phenomenal! I'd suggest it to anyone.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#2 2008-02-28 03:52:55

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: xrandr --help!

Do

xrandr --output DVI-D_2 --auto --right-of DVI-A_1
xrandr --output DVI-D_2 --auto

give the same error in that case?

I don't think you need that many --autos by the way.

It looks like a bug so far.

Random unlikely to work suggestion; maybe doing it as root is better?

Offline

#3 2008-02-28 06:02:28

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: xrandr --help!

Does it work if you explicitly choose a video mode rather than using --auto?

Offline

#4 2009-03-29 22:06:20

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: xrandr --help!

I want to make two keybindings with xrandr, one to make the output go to the VGA output of my msi wind laptop, and other keybinding to make it go to the laptop lcd (LVDS), vga output is 1680x1050, and laptop lcd is 1024x600

I want this because sometimes when i switch outputs, the output goes nowhere and i need to reboot, im sure this will help

This is my xrandr -q output:
[aleyscha@aleyscha 3 ~ 19:00]$ xrandr -q

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 1024 x 1024
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x600       60.0*+
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB