Comments (3)
Gamescope doesn't have output selection built into the interface and its rules for display selection can be a bit arbitrary at times.
You can:
- Check your user home
.gamescope-stdout.log
file (it's a hidden one), which will tell what connector your TV is in. i.e. a graphics card with 3 display ports and 1 HDMI should have DP-1, DP-2, DP-3, and HDMI-A-1. I have a LG TV connected into DP-3 (I use a DP to HDMI adapter) so the log showsdrm: Connector DP-3 -> GSM - LG TV SSCR2
for it. - Once you know the connector your TV is in, now open in your user home the
.gamescope-cmd.log
file and copy its contents. - In the home folder, go to
.config/
(it's a hidden one) and create a folder calledenvironment.d/
. Inside it, create a new file calledgamescope-session-plus.conf
. - In our new .conf file, type
GAMESCOPECMD="
, paste the content you copied from.gamescope-cmd.log
, and type another"
, so what we just pasted is inside our double quotes wrap. Here is an example:
GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O *,eDP-1 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"
- Note from our previous step we have
*,eDP-1
. Replace it with your connector we checked in the step 1. In my case the final file now is:
GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O DP-3 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"
Restart the system and whenever you go into game mode it should now select the proper monitor. Desktop mode will retain its own monitor configuration independently.
from bazzite.
Gamescope doesn't have output selection built into the interface and its rules for display selection can be a bit arbitrary at times. You can:
1. Check your user home `.gamescope-stdout.log` file (it's a hidden one), which will tell what connector your TV is in. i.e. a graphics card with 3 display ports and 1 HDMI should have DP-1, DP-2, DP-3, and HDMI-A-1. I have a LG TV connected into DP-3 (I use a DP to HDMI adapter) so the log shows `drm: Connector DP-3 -> GSM - LG TV SSCR2` for it. 2. Once you know the connector your TV is in, now open in your user home the `.gamescope-cmd.log` file and copy its contents. 3. In the home folder, go to `.config/` (it's a hidden one) and create a folder called `environment.d/`. Inside it, create a new file called `gamescope-session-plus.conf`. 4. In our new .conf file, type `GAMESCOPECMD="`, paste the content you copied from `.gamescope-cmd.log`, and type another `"`, so what we just pasted is inside our double quotes wrap. Here is an example: `GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O *,eDP-1 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"` 5. Note from our previous step we have `*,eDP-1`. Replace it with your connector we checked in the step 1. In my case the final file now is: `GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O DP-3 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"`
Restart the system and whenever you go into game mode it should now select the proper monitor. Desktop mode will retain its own monitor configuration independently.
It's great but will it also change audio?
from bazzite.
Gamescope doesn't have output selection built into the interface and its rules for display selection can be a bit arbitrary at times. You can:
1. Check your user home `.gamescope-stdout.log` file (it's a hidden one), which will tell what connector your TV is in. i.e. a graphics card with 3 display ports and 1 HDMI should have DP-1, DP-2, DP-3, and HDMI-A-1. I have a LG TV connected into DP-3 (I use a DP to HDMI adapter) so the log shows `drm: Connector DP-3 -> GSM - LG TV SSCR2` for it. 2. Once you know the connector your TV is in, now open in your user home the `.gamescope-cmd.log` file and copy its contents. 3. In the home folder, go to `.config/` (it's a hidden one) and create a folder called `environment.d/`. Inside it, create a new file called `gamescope-session-plus.conf`. 4. In our new .conf file, type `GAMESCOPECMD="`, paste the content you copied from `.gamescope-cmd.log`, and type another `"`, so what we just pasted is inside our double quotes wrap. Here is an example: `GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O *,eDP-1 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"` 5. Note from our previous step we have `*,eDP-1`. Replace it with your connector we checked in the step 1. In my case the final file now is: `GAMESCOPECMD="/usr/bin/gamescope --max-scale 2 --adaptive-sync -e --xwayland-count 2 -O DP-3 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --cursor-scale-height 720 -R /run/user/1000/gamescope.yQe3x0S/startup.socket -T /run/user/1000/gamescope.yQe3x0S/stats.pipe"`
Restart the system and whenever you go into game mode it should now select the proper monitor. Desktop mode will retain its own monitor configuration independently.
It's great but will it also change audio?
Yup. Gamescope takes control of the DRM and will output audio to the HDMI you have connected or any other device as normal. It's only not possible to output video with one HDMI and audio with another HDMI in the same device (i.e. using to HDMIs from the same graphics card for it).
from bazzite.
Related Issues (20)
- Using an xbox wireless dongle adaptor with Bazzite, before powering off the machine, the OS does not turn off the xbox controller first HOT 5
- Legion Go autorotation screen problem HOT 1
- Framework 16 LUKS TPM Unlock Doesn't Prompt for Fingerprint HOT 7
- Tainted Kernel HOT 2
- Legion Go: Black Screen after Updating BIOS and Bazzite Update HOT 6
- Steam BPM Very Laggy HOT 1
- Sunshine stream of Gaming Mode to Moonlight Client results in distorted streamed image. Works fine in Desktop mode.
- Steam overlay does not show up in the Sunshine stream on my moonlight device even though it is visible on the native streamer device
- Legion GO - desktop mode screen resolution 1200*1600 fails HOT 1
- Bazzite Deck Stable - Audio keep reverting to Stereo from 5.1 Surround upon reboot HOT 4
- GNOME session crashes when launching certain apps HOT 2
- Sunshine activates accessibility screenreader during streams in Gnome
- can't recognize bluetooth adapter HOT 1
- Random noises in the discord app
- Bazzite, Doesnt work my bluetooth it never find nothing HOT 1
- Can't boot into gaming mode on Legion Go HOT 1
- Chromium based browser glitch HOT 2
- No Wi-Fi after latest update HOT 7
- Latest snapshot (June 14th) makes colors washed out on my laptop HOT 1
- lm_sensors.service error and HW input not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazzite.