Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > Intel Linux

Intel Linux Technical support and discussion of the open-source xf86-video-intel driver and other Intel Linux software projects.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2008, 08:36 AM
ece_435 ece_435 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Question Issues facing with xrandr utility.

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
Reply With Quote
  #2  
Old 06-09-2008, 09:00 AM
adamk adamk is offline
Senior Member
 
Join Date: May 2007
Posts: 181
Default

You appear to need a newer X server, one that supports xrandr1.2.

Adam
Reply With Quote
  #3  
Old 06-09-2008, 09:31 AM
ece_435 ece_435 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Default

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
Reply With Quote
  #4  
Old 06-09-2008, 09:40 AM
adamk adamk is offline
Senior Member
 
Join Date: May 2007
Posts: 181
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.