It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi,

I have a dual screen configuration handled with randr. I only use the secondary one, the biggest (definition and size), positioned logically and physically on the left, to view videos.

When I launch PoE, it chooses by itself to go on this secondary screen although it should stay on the first.

How can I tell it to go on the first screen except by unplugging the second one?

Additionally, it seems the "fullscreen" option can be toggled off but after saving, the switch doesn't happen and when I go back to the graphic dialog, the option is still ticked on.
Post edited March 26, 2015 by mickabouille
I'm having similar issues.

Here it does open on the primary screen, but resolution is set to the combined of the two in the game and I can only see a portion of it on the one monitor. Mouse clicks also register pretty far from the pointer.

Windowed mode doesn't work either. No settings I change 'stick'. Running strace I can't see it trying to even open/write a file when saving.


ETA: I got that fixed, I can't move screens though guess I just lucked out with my setup. Windowed mode does not work.
Post edited March 26, 2015 by bomana
Actually, what you had seemed even worse that what I had :)
The easiest thing you could try is just designating the correct one as your primary output. Try "xrandr --output <your second output> --primary". This does however not survive reboots. Another option might be to just swap the cables of both displays.
> Setting the correct one as primary

That's already the case AFAIK (set on startup). Just in case I tried to force it, didn't change anything.

> swap the cables

One is VGA, the other is HDMI. The HDMI screen has a VGA input but the VGA one doesn't have an HDMI one. I suppose I could search if I still have a DVI cable somewhere, but if I remember correctly, I had a problem with the DVI output.

I'm searching things like "unity linux screen", but why does everyone call their thing unity :D

I found a video describing a workaround using WM hints with Kwin (which I use), but it relies on going to windowed mode once to set the hints.
(can't post link :D )

[url=][/url]Tough luck, windowed mode doesn't seem to work at the moment.
Post edited March 26, 2015 by mickabouille
Windowed mode definitely works. I'm using a tiling window manager and can switch back and forth between windowed and fullscreen with no problems. See if Kwin has the option to configure a global fullscreen keybinding. That way you could make it windowed, move it to the other display and make it fullscreen again.

I assume you care about having the second display active while playing right? Otherwise you could just xrandr it off while playing or launch the game on separate X server that uses only one display.
I managed to set the WM hint without going windowed.
But as the fullscreen PoE doesn't have a window class, I had to use the window title. Seems to work.

I care about the second screen on because it provides the sound output :) (it doesn't when xrandr-ed off)

I'll try to post the tip link for reference:
www.youtube.com/watch?v=cFJFZLYioJw

Couldn't add the heading https...
Post edited March 27, 2015 by mickabouille
I don't have such dual screen problems with i3. However, even in full screen mode and "mouse cage" (afair) the mouse pointer can still be moved off of the window to the second screen... which causes minor scrolling problems.
For Nvidia users, open the Nvidia settings thingy (stop me if I get to technical) and there is an option called something like X Server and it should show a radio button group with your screens. Select the one you want as the game screen, close the settings thingy and start the game and it should now be in the correct area.

If the game launches but buttons don't seem to react, the game for me picked the wrong resolution and that made every button, select etc appear in the wrong place. So you have to hunt around and click where the game thinks the button is, not where the screen says it is. Most buttons and such have a tooltip so you know which "ghost" button you are over.

For ATI, there should be a similar option.

A low tech solution is to change your cables around, if you can, to change which one is the primary.
avatar
mickabouille: > Setting the correct one as primary

That's already the case AFAIK (set on startup). Just in case I tried to force it, didn't change anything.

> swap the cables

One is VGA, the other is HDMI. The HDMI screen has a VGA input but the VGA one doesn't have an HDMI one. I suppose I could search if I still have a DVI cable somewhere, but if I remember correctly, I had a problem with the DVI output.

I'm searching things like "unity linux screen", but why does everyone call their thing unity :D

I found a video describing a workaround using WM hints with Kwin (which I use), but it relies on going to windowed mode once to set the hints.
(can't post link :D )

[url=][/url]Tough luck, windowed mode doesn't seem to work at the moment.
I moved the window to "left/right monitor" from the context menu in the taskbar entry. The game crashed one time and after the game was displayed on the correct monitor. (Linux Mint 17, Cinnamon Desktop)

Maybe this could help you too.
Post edited April 07, 2015 by spidin
I installed the proprietary ATI/AMD driver, and use the following xorg.conf to designate the primary monitor (for some reason I cannot post links, see also pastebin.com/jx0TKQF9 )

Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "0-DFP6"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1680x1050"
Option "TargetRefresh" "60"
#Option "Position" "1650 0"
Option "Primary" "false"
Option "Rotate" "normal"
Option "Disable" "false"
Option "RightOf" "0-DFP5"
EndSection

Section "Monitor"
Identifier "0-DFP5"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "Primary" "true"
Option "PreferredMode" "1680x1050"
Option "TargetRefresh" "60"
#Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
Option "LeftOf" "0-DFP6"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "Monitor-DFP6" "0-DFP6"
Option "Monitor-DFP5" "0-DFP5"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Post edited June 07, 2015 by Kohlrabi