Results 1 to 5 of 5

Thread: fullscreen applications kill second monitor

  1. #1
    Join Date
    Mar 2011
    Posts
    41

    Unhappy fullscreen applications kill second monitor

    Hi, fglrx Cataylst 12.1, openSUSE 12.1 x86_64, (tried a hd5770, and hd6970)

    I have two monitors, using the 'Multi Display Desktops' option in amdcccle. Works fine, I can drag windows back and forth, etc.

    But when I run a fullscreen app (like a game) as soon as I exit the app it kills my second monitor/desktop. I have to logout & restart X to get it back. Anyone seen this bug? Should I report it somewhere? The monitors are different size/resolution if that matters..?

  2. #2
    Join Date
    Nov 2008
    Posts
    770

    Default

    Those games probably use an ancient method of setting up screen resolutions, which isn't multiscreen aware. Thus, they fail when they try to reset to the previous layout on exit.

    You could update the games to properly use xrandr, but that won't work for doom3, ut2k4 and other closed source games.

    An easy workaround is to create a small bash script that runs the game, then resets the screens using xrandr, like
    Code:
    #!/bin/bash
    /usr/bin/mygame
    xrandr --output DVI-0 --auto --pos 0x0
    xrandr --output DVI-1 --auto --right-of DVI-0
    Or you could run the game in windowed mode instead, in a maximized, borderless window.

    Or you could spawn a second X server, effectively sandboxing your game.

  3. #3
    Join Date
    Aug 2007
    Posts
    6,634

    Default

    I am pretty sure you could fix doom 3

  4. #4
    Join Date
    Mar 2011
    Posts
    41

    Default

    Quote Originally Posted by rohcQaH View Post
    Those games probably use an ancient method of setting up screen resolutions, which isn't multiscreen aware. Thus, they fail when they try to reset to the previous layout on exit.

    You could update the games to properly use xrandr, but that won't work for doom3, ut2k4 and other closed source games.

    An easy workaround is to create a small bash script that runs the game, then resets the screens using xrandr, like
    Code:
    #!/bin/bash
    /usr/bin/mygame
    xrandr --output DVI-0 --auto --pos 0x0
    xrandr --output DVI-1 --auto --right-of DVI-0
    Or you could run the game in windowed mode instead, in a maximized, borderless window.

    Or you could spawn a second X server, effectively sandboxing your game.
    ah great, thanks!
    For spawning a second X server, what is a good method?

  5. #5
    Join Date
    Mar 2011
    Posts
    41

    Default

    Quote Originally Posted by slojam View Post
    ah great, thanks!
    For spawning a second X server, what is a good method?
    Ok I found this: https://wiki.archlinux.org/index.php/Gaming

Posting Permissions

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