While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Former Nouveau driver lead joins NVIDIA and sent a massive patch set
- SteamOS 3.5.18 Preview released for Steam Deck
- Team Fortress 2 64bit support released, plus Vulkan for Linux via DXVK
- Free Stars: Children of Infinity coming to Linux after smashing Kickstarter goals
- Pick up some classics in the Good Old Games sale at GOG
- > See more over 30 days here
-
Atari revives Infogrames and acquires Totally Reliable …
- Sslaxx -
Valve makes paid 'Advanced Access' a clear feature on S…
- Kirby -
Fedora Linux 40 is officially out now
- Dorrit -
Minecraft v1.20.5 the Armored Paws drop update is live …
- Purple Library Guy -
Valve makes paid 'Advanced Access' a clear feature on S…
- Avehicle7887 - > See more comments
Latest Forum Posts
View PC info
Original post:
Spoiler, click me
I use an Nvidia GTX 1060 with three monitors, Manjaro testing branch, KDE Plasma 5.23 Beta. When I log into a Wayland session and try to run a fullscreen game, it shows up on my left monitor instead of the middle, which is assigned as my primary in X11 sessions.
But MAN, is Wayland SILKY smooth! It's such a shame to always have to clench my teeth and go back to X11 when I want to play something. Native, Wine, Proton, doesn't matter, anything running in fullscreen shows up on the left monitor. I've tried making a window rule to force games to position 1920,0 (since my monitors are all 1080p), what's weird is Plasma just crashes, goes completely black when I click save in Plasma settings. Sure they get saved but the rule doesn't work, sadly.
Is there a way?! Can I have my cake and eat it too now, by way of making fullscreen apps appear on the center monitor, or is it too early? Thanks in advance, everyone! ^^
Last edited by ridge on 12 March 2023 at 3:08 pm UTC
In my old KDE it in system settings, window behaviour, window rules.
(You could try something like "window class" "contains" "steam_app" to match all games.)
View PC info
You'd think this would be the temporary catch-all solution to solve aforementioned woes, couldn't get force position on monitor to work on my machine tho. Thanks for posting this however, others should definitely try this just in case!
By the way, I see you have an Nvidia card. You say old KDE with X, are you using Wayland now or have used it? Does saving changes to Plasma settings make the entire DE crash for you as well?
Last edited by ridge on 4 October 2021 at 6:17 pm UTC
I'm very conservative with respect to software at the moment: Debian buster, X server. Never tried Wayland. (Too little time for experiments nowadays...)
View PC info
Completely understandable! Thanks for getting back to me.
View PC info
I made a script so that it always pick's the monitor with the right resolution, which for me is 2560x1440. My other monitor is vertical so that one never gets picked now. I have another script that I sometimes run when I want to game in the TV that has a 4K resolution.
xrandr --output "$(xrandr --query | grep 'connected.*2560x1440' | grep -o 'XWAYLAND[0-9]*')" --primary
Another way is to check what for number your monitor is. You do "xrandr" first in the terminal and find your monitor, then you can do:
xrandr --output XWAYLAND1 --primary
Where XWAYLAND1 is your monitor.
But yeah, there definitely needs to be a solution implemented so that we don't have to keep doing this.
View PC info
YOU ARE A SAINT! Thank you so much!
That script is great, for me tho just setting my monitor as primary with xrandr was enough, fullscreen apps now start on the correct monitor and gameplay is SO smooth.
I can't thank you enough
Or is this a Nvidia thing ?
View PC info
Not sure if it's Nvidia specific, which version of KDE software are you on? When I'm in a Wayland session, I can't specify primary screen in settings. I can on X11 however.
5.22 , it's always worked both on X11 and wayland. Have to admit though I've only been using wayland for the last few months.
View PC info
Hmm, maybe it is then, I'm on the same version. But hey, maybe that means it's close to being added :)