Linux fullscreen goes to wrong monitor

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
Post Reply
salsadoom
Posts: 2
Joined: Mon Jan 07, 2013 4:23 am

Linux fullscreen goes to wrong monitor

Post by salsadoom »

Hi :)

Great game. On my desktop machine running Linux (Kubuntu 12.10), with the a steam install of FTL (1.03.1), running nVidia drivers 310.14. The game runs fine with the exception that when I do fullscreen-native it fullscreens on my secondary monitor. Stretch runs on both monitors putting the game somewhere inbetween the two of them. Neither is quite correct :)

Other games haven't had this problem. Anyone run across this?

Cheers!
SD
UltraMantis
Posts: 2125
Joined: Thu Sep 20, 2012 3:17 pm

Re: Linux fullscreen goes to wrong monitor

Post by UltraMantis »

Odd problem. I don't think the game handles multi screen setups too well. No idea why it chooses the wrong monitor either. What do you get from "Borders" or "Off"?
Report spam using the handy Report Button Mod.
boa13
Posts: 808
Joined: Mon Sep 17, 2012 11:42 pm

Re: Linux fullscreen goes to wrong monitor

Post by boa13 »

Have you tried running FTL in a windowed mode, and looking at all the options KDE offers for managing windows? You can click the icon at the top-left of the window, you should get a KDE menu with many options. Maybe there is a way to tell KDE to keep the window on a particular screen? I cannot check on this computer unfortunately, and I don't have a dual-screen setup, so I don't know much about that.

I also run Kubuntu, with a 1280x720 screen. I'm lucky, that's the size of the FTL window. :) I use the KDE options to remove the windows borders altogether, this gives me the best of both world: the game covers the whole screen, and I can very smoothly Alt-Tab to other applications.

If you cannot find a way to pin the FTL window to a particular screen, maybe you can try to set that screen to 1280x720, put the FTL window there, and finally remove the window borders.
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.
salsadoom
Posts: 2
Joined: Mon Jan 07, 2013 4:23 am

Re: Linux fullscreen goes to wrong monitor

Post by salsadoom »

UltraMantis wrote:Odd problem. I don't think the game handles multi screen setups too well. No idea why it chooses the wrong monitor either. What do you get from "Borders" or "Off"?
Borders stretches across both monitors with the game in the middle as well. Off starts normally in windowed mode -- appearing on the correct, primary monitor. It may be relevant somehow, but my two monitors have different resolutions. 1920x1080 and 1280x1024.
User avatar
Matthew
Site Admin
Posts: 966
Joined: Thu Apr 19, 2012 9:31 am

Re: Linux fullscreen goes to wrong monitor

Post by Matthew »

I can't test this since I don't have you set up, but I believe there's an environment variable you can use for SDL and Linux to make to behave better across two monitors. Type this into your command console before launching FTL (or add it to the FTL launch scripts)

export SDL_VIDEO_FULLSCREEN_DISPLAY=0

Or perhaps the value 1.

Let me know if that helps. Sorry about the problem :(
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
Post Reply