PDA

View Full Version : Issues facing with xrandr utility.


ece_435
06-06-2008, 09:36 AM
I want to toggle my monitor by switching on and off using Xrandr utility in Suse 9.

With Suse 9, Xrandr utility shows version as 1.1 and there is no option to toggle.
Below is the output of xrandr version 1.1 help:

xrandr --help
usage: xrandr [options]
where options are:
-display <display> or -d <display>
-help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose

Thus, I unistalled xfree86 package from the system and installed Xrandr 1.2.3 and all dependent packages.It was installed sucessfully.

I downloded all the packages from http://www.t2-project.org/packages/7.0/xrandr.html

When I ran xrandr utility, XrandR version was still showing 1.1 only but the --help shows as below:

usage: xrandr [options]
where options are:
-display <display> or -d <display>
-help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate> or --refresh <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose
--dryrun
--prop or --properties
--fb <width>x<height>
--fbmm <width>x<height>
--dpi <dpi>/<output>
--output <output>
--auto
--mode <mode>
--preferred
--pos <x>x<y>
--rate <rate> or --refresh <rate>
--reflect normal,x,y,xy
--rotate normal,inverted,left,right
--left-of <output>
--right-of <output>
--above <output>
--below <output>
--same-as <output>
--set <property> <value>
--off
--crtc <crtc>
--newmode <name> <clock MHz>
<hdisp> <hsync-start> <hsync-end> <htotal>
<vdisp> <vsync-start> <vsync-end> <vtotal>
[+HSync] [-HSync] [+VSync] [-VSync]
--rmmode <name>
--addmode <output> <name>
--delmode <output> <name>

Here the option to toggle using --output and --off is provided.
But, when I ran xrandr it gives error as "Server RandR version before 1.2" .

please, tell me if I am missing anything.

Thanks in Advance,

Mohan Kumar

adamk
06-09-2008, 10:00 AM
You appear to need a newer X server, one that supports xrandr1.2.

Adam

ece_435
06-09-2008, 10:31 AM
Thanks for your reply.

Can you clarify the following queries.

a) What is that Newer X server? Is it a library? Can you provide me the location detials from where I get this?

b) Will SuSE Linux 10 will support this? Will the SuSE distribution give this package?

c) Is there any other way to make the display switch on or off programmatically?

Thanks
Mohan

adamk
06-09-2008, 10:40 AM
It's the X server. ie /usr/bin/Xorg

Whatever version you have does not support xrandr 1.2, at least with that video card and drivers.

I can't really answer questions about SuSE 10. I assume you are referring to SUSE Linux Enterprise Desktop (aka SLED)? They are already at version 10, just so you know.

To my knowledge, there is no other way to turn monitors on and off, while X is running, with the intel drivers.

Adam