Announcement

Collapse
No announcement yet.

Separate screens with xrandr

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • bitnick
    started a topic Separate screens with xrandr

    Separate screens with xrandr

    I have a TFT monitor (VGA-0) and an LCD TV (DVI-0) connected to my Radeon X800 card.

    I would like to work on my TFT monitor while showing movies on the TV. So I want a "full-screen" 1280x1024 resolution on the monitor, and a different screen (is this the correct term under X?) with a "full-screen" 1360x768 resolution on DVI-0, where mplayer can run in full-screen mode. (I don't want dual-head/two keyboards and mice, but the same keyboard input for both, and I don't necessarily need mouse input for the TV screen at all.)

    How do I set this up?

    I run (gentoo packages) xf86-video-ati-6.12.1-r1, xorg-server-1.5.3-r6 (RandR version 1.2).

    Neither man radeon nor man xrandr mentions this setup, as far as I can see. And googling for this is almost pointless given how much these things have changed during the last year or so - there's just too much obsolete info to sort through. (The info I have managed to find only covers using a large virtual desktop with the different monitors displaying different parts of it.)

    xrandr --help shows options -display and --screen, but with no indications on how to use them.

    The situation I have right now is both monitors display the same screen, which presents some problems. I can get mplayer to overlay on the TV using -adapter 1, but full screen mode centers the picture as if the resolution was 1280x1024, not 1360x768 (so the picture appears much too low on the TV). Also, since the monintors display the same thing I cannot do other things on the monitor while running the movie on the TV.

    Help, please?

  • Chewi
    replied
    The bug report is at http://bugs.freedesktop.org/24523.

    Leave a comment:


  • agd5f
    replied
    Originally posted by Chewi View Post
    I was using KMS. I guess I should file a bug report? I was actually about to before you replied.
    yes, please do.

    Leave a comment:


  • Chewi
    replied
    I was using KMS. I guess I should file a bug report? I was actually about to before you replied.

    Leave a comment:


  • agd5f
    replied
    Originally posted by Chewi View Post
    You said this back in April so I was under the impression it would work now?
    It might work with kms, but I haven't tried it.

    Leave a comment:


  • Chewi
    replied
    You said this back in April so I was under the impression it would work now?

    It's a fairly complex fix. The problem is the current drm system only supports a single master, so you could probably get the dri working with one head. For zaphod with dri on all heads, you'll need the latest kms/mm drm and such. Fedora 11 has the necessary bits. In the meantime you could use something like xephyr to simulate zaphod over randr dualhead.

    Leave a comment:


  • agd5f
    replied
    zaphod mode does not work with acceleration on xf86-video-ati. If you want accel and multi-head, you need to use xrandr.

    Leave a comment:


  • Chewi
    replied
    fglrx has worked well for me in this respect for a long time now but I still have the usual problems like instability and video tearing. I am very keen to make the transition to the open drivers.

    Leave a comment:


  • mtippett
    replied
    Originally posted by Chewi View Post
    Sorry but I do know all that. I've been saying that I can't get Zaphod mode to work with xf86-video-ati. I gave xrandr a try because it seems to be enough for most people but evidently not for me.
    I understand, since you indicate you have a Radeon HD 4xxx, you can at least confirm behaviour as described above with fglrx. I can attest that there has been a lot of work on the multi-head/randr usage recently on the fglrx side.

    Regards,

    Matthew

    Leave a comment:


  • Chewi
    replied
    Sorry but I do know all that. I've been saying that I can't get Zaphod mode to work with xf86-video-ati. I gave xrandr a try because it seems to be enough for most people but evidently not for me.

    Leave a comment:

Working...
X