this post was submitted on 30 Dec 2025
23 points (92.6% liked)

Linux Gaming

23108 readers
103 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

I want to make a 4k game video for Youtube but I only have access to a 1440p monitor. On Windows I could use DSR, how do I do this in Linux? Kubuntu, KDE Plasma 6.4.5, RTX 2080, Nvidia driver version 580.95.05

you are viewing a single comment's thread
view the rest of the comments
[–] Die4Ever@retrolemmy.com 6 points 1 week ago* (last edited 1 week ago) (3 children)

ok I installed gamescope, and set my launch options (for Deus Ex)

gamescope -w 3840 -h 2160 -W 2560 -H 1440 -b -- %command%

It seems like it sorta works, Kentie's Launcher is big (like when I tried this in Bazzite's Gaming Mode), and the 3840x2160 resolution is an available option, but when I try to launch the game and Kentie's Launcher closes to launch the game, gamescope just dies and the game never starts

EDIT: I have a workaround by just skipping the config dialog

gamescope -w 3840 -h 2160 -W 2560 -H 1440 -b -- %command% -skipdialog

But OBS is only capturing at 2560x1440, so this idea doesn't work

[–] Emperor@reddthat.com 3 points 1 week ago* (last edited 1 week ago) (1 children)

did you try this?

https://github.com/nowrep/obs-vkcapture

you need to capture the game not the gamescope instance.

[–] Die4Ever@retrolemmy.com 1 points 1 week ago (1 children)

I did try this but I couldn't get it working with Flatpak OBS and native Steam. I even built it from source and added obs-gamecapture to the Steam game's launch command

[–] Emperor@reddthat.com 3 points 1 week ago

It works just fine for me. What are the steps that you did?

I use nix so:

  1. I installed OBS with all the plugins especially obs-vscapture
  2. Run OBS and add Game Capture Source
  3. Using lutris I enabled gamescope and changed the game resolution to something higher. I have a 1440p display so I tried 2560x1600 (16:10) to make sure I'm capturing it right.
  4. Inside Lutris System Options game options tab I added OBS_VKCAPTURE and set it to 1.
  5. When I run the game I can see gamescope is working as it's projecting a 16:10 game onto my 16:9 screen.
  6. Inside OBS I can see the game capture is working and when I select the Game Capture source it shows that it's a bit too tall for my display.

Should be a similar thing for you, I would try something obvious like 16:10 first so you can get immediate visual feedback and then tweak your settings from there.

[–] JaddedFauceet@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (1 children)

Use 3840 for both -w and -W?

gamescope -w 3840 -h 2160 -W 3840 -H 2160 -b -- %command% -skipdialog

Instruction:

[gamescope] [Info]  console: gamescope version 3.16.19 (gcc 15.2.1)
usage: gamescope [options...] -- [command...]                                                                                                                                     
Options:
  --help                         show help message
  -W, --output-width             output width
  -H, --output-height            output height
  -w, --nested-width             game width
  -h, --nested-height            game height
[–] Die4Ever@retrolemmy.com 2 points 1 week ago (1 children)

that works but then it doesn't fit on my screen so I can't see what I'm doing in the game lol

[–] JaddedFauceet@lemmy.world 4 points 1 week ago (2 children)

You can still play through OBS's viewport lol

in OBS you can scale the viewport to fit your screen.

[–] Die4Ever@retrolemmy.com 3 points 1 week ago

That's true! I'll probably do that lol, thanks

[–] Die4Ever@retrolemmy.com 1 points 1 week ago* (last edited 1 week ago)

This ALMOST works lol. The problem is the center of the game is off-screen, and the game tries to keep the mouse centered in its center, so my camera just spins like crazy lol

Maybe I can fix this with some abuse of my multi monitor layout

[–] highball@lemmy.world 2 points 1 week ago