#My games are launching on the wrong monitor

197 messages · Page 1 of 1 (latest)

jovial dock
#

My games are launching on the wrong monitor, and when I move them to my primary monitor, they ignore my mouse, if I move them back, it's fine
Video example, this happens on at least 4 games, haven't tried more, but it only seems to affect games in wine so far?
The games do work with direct keybord input, but ignores my mouse

#

I've tried Hybrid graphics mode, no help

#

The right display is set as "primary"

jovial dock
#

I'm so utterly confused

jovial dock
jovial dock
#

It works fine if I turn off my laptop's display

#

But that kind of defeats the purpose of having a dual monitor setup

limpid merlin
#

Anyway, I'm kinda out of options. Have you tried switching to wayland and see if that helps?

jovial dock
#

No because Wayland fucks my shit up waaaaay worse

limpid merlin
#

MAYBE you could see if you can tell steam/proton to open the game on the other monitor via flags, but at this point you should just go see proton's docs and idk if it's worth the hassle

jovial dock
#

I checked everywhere online

#

Nothing was relevant

limpid merlin
#

Is there something like a hardware mouse option on KDE? Try disabling it and see if that works

jovial dock
#

Don't see anything

limpid merlin
#

I see. I think your best chance is to go to arch's forums and see if anyone there has an answer. Quick tip: if you do, write about what you already tried to do and didn't work, it will be easier for others to help you.

jovial dock
#

This is such a draaag

#

Like, it works with screen mirroring

frank token
#

@jovial dock Have you considered using a different proton version?

jovial dock
#

That's the only thing I've not done
Because I don't really know which ones to try
Do I just...descend the list from proton up?

frank token
#

Also are you on X11 or Wayland?

jovial dock
#

X11
Wayland is incredibly broken for me

frank token
jovial dock
#

I usually stay up to date

frank token
jovial dock
#

It should be
How should I check that / send it?

frank token
#

Idk where it is but I think /etc/x something

jovial dock
#

I've used dual monitor setups like this before, and never had issues

frank token
#

And your mouse is the only thing not working? And only beacuse of proton or?

jovial dock
#

But in those cases, my monitor was on the other side of my laptop so...?

jovial dock
#

Because native games work fine

frank token
#

Hmm okay, youre on a laptop right?

jovial dock
#

Yea

frank token
#

How about disabeling the gpu to test if its an gpu issue?

#

can you run Xorg?

jovial dock
#

No GPU no monitor

frank token
#

Oh okay

#

are you able to run those games via wine?

jovial dock
#

Probably? But it's janky and they don't run very well

frank token
#

I know it is janky, but does your mouse work there?

soft spade
#

how about using ctrl super right arrow

#

might be shift instead of ctrl

jovial dock
#

Lemme see which games I could try

#

Ah
Knossu

#

Game doesn't have a cursor hm

#

Uhm

#

VOTV

#

Lemme try

frank token
#

On wayland there's a package called wayland-cursor-fix.. I know this doesnt help you but maybe theres smth for x11 as well

jovial dock
frank token
#

That fixed my cursor issues for minecraft back then

jovial dock
#

Can't seem to test in wine...

#

There's a package for MC specifically actually

frank token
#

I know trollface

jovial dock
#

Anyway

#

Yeah can't run anything with wine, I don't have many .exe which aren't games

#

I have two

frank token
#

hmm

#

I think I cant help you either since I havent used any x11 des

jovial dock
#

I'll try some other proton versions
Should I try major versions or?

#

What versions should I try
Because there's...a lot

#

I suppose I could instal all of them

frank token
#

I used to use 8.5 since thats the one which runs almost every game

#

and it workes for me

jovial dock
#

I usually run latest
And fix stuff on a per case basis

#

Some games need like 6.5

frank token
jovial dock
#

I'll try with another monitor
Match refresh rate

#

Switch the side that the monitor is on

frank token
#

okay

jovial dock
#

But I gotta organize some clothing rn

frank token
#

Alright, have fun!

jovial dock
#

Alright, I have returned

#

OH MY FUCKING GOD

#

PUTTING MY MONITOR ON THE OTHER SIDE FIXED IT

#

WHY

#

@frank tokenYou seeing this shit??

frank token
#

Aint no way xD

#

that came unexpected

jovial dock
#

So, it seems that things want to start on the monitor which is 0,0

#

Ok so, it seems that nvidia is fighting with kde maybe?

#

Or X11?

autumn plaza
#

@jovial dock

#

tried xrandr --listmonitors then xrandr --output MONITOR --primary

#

also

#

add environment wariable

jovial dock
#

Explain?

autumn plaza
#

DISPLAY:$2

jovial dock
#

Add it to where?

#

After primary?

autumn plaza
#

theyre 2 different stuff

#

first do xrandr thingy

jovial dock
autumn plaza
#

whats ur second monitor called

#

eDP-1 is laptop

jovial dock
#

Yes

autumn plaza
#

and HDMI-1 is ur

jovial dock
#

The one I want to use as primary is the hdmi one

autumn plaza
#

xrandr --output HDMI-1 --primary

jovial dock
#

Done

autumn plaza
#

try to start the game now

jovial dock
#

It's 0 btw

autumn plaza
#

nvm that then

#

use whats urs

jovial dock
#

Well would you look at that

#

It didn't work

autumn plaza
#

env | grep "DISPLAY"

#

do this

jovial dock
autumn plaza
#

where u launch the game from

jovial dock
#

Uh

#

Steam?

#

Wym

autumn plaza
#

use this start option:
DISPLAY=:1 %command%

jovial dock
#

Display 1 is the laptop though

#

I'd want to do display 0 then no?

autumn plaza
#

run with 1

#

then try 0

jovial dock
#

Alright

#

Doesn't launch

#

I will try 0

autumn plaza
#

hmm maybe run a new display server

jovial dock
#

0 works

autumn plaza
#

like X :0 &

jovial dock
#

But it launches ON THE LAPTOP

jovial dock
autumn plaza
#

laptop is the :0

jovial dock
#

But it says...

jovial dock
jovial dock
autumn plaza
#

open tty at second monitor and try to run X :0 &

jovial dock
#

Second monitor being...the laptop or the external display?

#

Because I can't run tty on the external display

#

Only the laptop one

autumn plaza
#

i think use gamescope or something

#

it will probably solve the issue

jovial dock
#

Ok, how do I set that up

autumn plaza
#

pacman -S gamescope

#

startup options: gamescope -f

jovial dock
#

In steam?

autumn plaza
#

yes

#

gamescope is made by steam soo

#

they also have some nice features

#

i like that compositor

jovial dock
#

Cringe

autumn plaza
#

move it to 2nd monitor?

#

u cant?

jovial dock
#

I'll give it a try

#

I'll get some log outputs too

autumn plaza
#

you know you was experiencing mouse issue

#

when u move to 2nd monitor

jovial dock
#

Yeah

autumn plaza
#

maybe gamescope will fix it

#

since its a different compositor

jovial dock
#

Who knows

#

Let's try

#

Nope

autumn plaza
#

damn

jovial dock
#

OH

#

WAIT

#

HOLD ON

#

OO

autumn plaza
#

it worked?

jovial dock
#

I appended gamescope with %command%

#

And it worked

autumn plaza
#

yes it should work

jovial dock
#

OOOOO

#

Fuck yeah

autumn plaza
#

use %command% for apps and bash commands

jovial dock
#

Now I just need to...append...every...game

autumn plaza
#

well

#

pray for valve to integrate gamescope so u dont have to type every time

#

its integrated in steam os i guess

#

you can just toggle it

jovial dock
#

Fuckin' 'ell

autumn plaza
#

or maybe mail them

#

gaben reads mails

jovial dock
#

Fucken maybe

#

Well took you longer than 1 second, so no 5 bucks for you

#

Thanks for the help though

#

How do I mark this as solved

autumn plaza
#

or just edit the title and add [SOLVED] at beginning

jovial dock
#

Uh oh

#

Some games are not working

#

Fuuuck

#

@autumn plaza

autumn plaza
jovial dock
#

So far only games which have launchers

#

Elite Dangerous
Warframe

#

I can't get a more detailed log than this because for some reason the proton log launch command isn't working if gamescope is on