How to select monitor to launch games in dual-monitor setup?

Someone else posted a similar query was posted several months ago but was not answered.

I have a dual-monitor setup. Left monitor is a 144Hz AOC and is the primary monitor. Right monitor is an older 60Hz Dell.

Game will only launch on the right monitor. If it’s set to windowed mode and moved to the left monitor, the game will relaunch on the right.

Information on the system is here: https://paste.ubuntu.com/p/8NPjXTjBkq/

I’m hoping there are options in Lutris to select which monitor games are launched on.

Hey,

did you set your 144hz monitor as the primary monitor in your graphics settings?

In Lutris? The 144Hz monitor is set as primary in Displays.

Does that mean that all games do not start on the 144 hz monitor?

Really only have two games in Lutris right now, and only play one of them.

don’t start both games on the 144 hz monitor?

I had a similar question and got it resolved by doing the following steps

  • Open Terminal and run xrandr

  • Identify the monitor i want my game to run on.
    In my case I have two monitors connected which had the identifiers of “DP-1” and “DP-3”.
    I want the game to use the display identified by DP-1.

  • Launch Lutris.

  • Right Click game and select configure.

  • Navigate to system options.

  • Scroll down to Game execution.

  • Add the following in the “Key” field: __GL_SYNC_DISPLAY_DEVICE

  • Add your previous identified identifier in my case DP-1 to the Value field.

  • Save and start the game

So, I entered “xrandr” into my terminal and it showed “DisplayPort-2” as my primary display.
I entered the information you said to enter into the “Game execution” table and it isn’t working. The game keeps showing up on the wrong monitor.