Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] How to set a vertical screen?

    xandr -q gives me this list of options:

    1280x1024 60.0* 75.0
    1280x960 60.0
    1280x800 60.0
    1152x864 75.0
    1280x768 60.0
    1024x768 75.0 70.0 60.0
    960x600 60.0
    832x624 75.0
    800x600 75.0 72.0 60.0 56.0 65.0
    840x525 60.0
    700x525 75.0 70.0 60.0
    640x512 75.0 60.0
    720x450 60.0
    640x480 75.0 73.0 67.0 60.0
    720x400 70.0
    640x400 60.0
    576x432 75.0
    640x384 60.0
    512x384 75.0 70.0 60.0
    416x312 75.0
    400x300 75.0 72.0 60.0 56.0
    320x240 75.0 73.0 60.0

    If I try "xrandr -o left", I get this message:

    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 155 (RANDR)
    Minor opcode of failed request: 2 (RRSetScreenConfig)
    Serial number of failed request: 12
    Current serial number in output stream: 12

    (both as a normal user and super/root)

    I guess that for having a vertical screen xrandr -q would be supposed to have some lines with "inversed" resolutions, like "1024x1280"... but I don't know from where these options come from to begin with. My xorg.conf has only one "modeline" line, so I guess it could not be from there... furthermore, I would not know how to create these lines... :/

    By the way, in my xorg.conf there's

    Option "RandRRotation" "on"

    On the section "device". I tried on "screen" too. I've also saw this requirement suggested with the parameters "1" and "true"... are these interchangeable alternatives, or these are "meaningful" variations between linux/xorg versions and distributions? (somewhat like "emerge" or "yum" instead of "apt-get"...)

    The program "grandr", which is a gtk frontend for xrandr, does not show rotation options (the options actually are shown, but are not availiable to select)

  2. #2
    Update/rant/bump: I can get the portrait orientation to work if it comes by default on xorg.conf (which is undesirable since this computer is shared), but xrandr only gives those unintelligible error messages.

    Are "true" "on" and "1" all interchangeable ways of activating things like "RandRRotation" on xorg.conf or it could make a difference?

    And it's possible that by having this line both in the Device and Screen sections, instead in only one (whichever is the right one) just causes it to not work, not having any other visible problem?

  3. #3
    Solved partly by RTFM.

    In the nv driver I'm using, the correct option on xorg.conf is

    Option "Rotate" "RandR"

    Now xrandr -o left works as it should, but lacks acceleration.

    and not the one I was using, which is possible of some more advanced driver or the proprietary driver.

  4. $spacer_open

Posting Permissions

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