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

  • Emperor@reddthat.com
    link
    fedilink
    English
    arrow-up
    19
    ·
    11 months ago

    You can use gamescope to set a higher or lower resolution and it’ll down or up scale it to your screen.

    I presume you can use obs or something like that to record the raw footage before scaling.

    • Die4Ever@retrolemmy.comOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      11 months ago

      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

        • Die4Ever@retrolemmy.comOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 months ago

          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
            link
            fedilink
            English
            arrow-up
            3
            ·
            11 months 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.

    • Mugita Sokio@lemmy.todaydeleted by creator
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Can confirm that my producer and I use a 1440p resolution, but downscale to 1080p, or even 936p (if you’re on platforms that limit bandwidth).

  • GreenMinusBlue@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Ive seen resolution tinkering with the Nvidia driver on Windows. Its doubtful that the proprietary driver would allow it, on Linux.

    • Die4Ever@retrolemmy.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      What if I switch to the Nouveau drivers? Deus Ex would probably still run well enough, so if they can do custom resolutions that could help