Results 1 to 4 of 4

Thread: Issues facing with xrandr utility.

Hybrid View

  1. #1
    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

  2. #2
    Join Date
    May 2007
    Posts
    352

    Default

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

    Adam

  3. #3
    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

  4. #4
    Join Date
    May 2007
    Posts
    352

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •