Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NVIDIA] - Gamescope-session occasionally launches cropped into one corner of the screen #1735

Open
3 of 6 tasks
matte-schwartz opened this issue Feb 1, 2025 · 0 comments

Comments

@matte-schwartz
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • The issue occurs on upstream gamescope without any modifications

Current Behavior

When a NVIDIA card is being used as the primary Vulkan device for compositing in the DRM backend, Steam launched within gamescope-session often has a chance of launching while cropped into one corner of the screen. The effect is captured in gamescopectl screenshot like so:

Image

I have had it happen on both internal laptop panels and external displays on 2 different NVIDIA GPUs. In the screenshot above, my internal display panel was set to its native resolution of 2560x1440p@240hz. Usually, rebooting the session is good enough to fix the issue.

Notably, Steam recognizes the display correctly the entire time:

[2025-01-31 16:31:41] OnOutputGeometry: 0xd1dc3060: px: 0 x 0 phys: 340 x 190 subpix: 0 make: 'gamescope' model: 'gamescope' transform: 0
[2025-01-31 16:31:41] OnOutputMode: 0xd1dc3060: 2560 x 1440 @ 239998 - 1
[2025-01-31 16:31:41] RematchCurrentMode: trying to find modeid that matches: [email protected]
[2025-01-31 16:31:41] OnOutputScale: 0xd1dc3060: factor: 1
[2025-01-31 16:31:41] OnOutputName: 0xd1dc3060: name: 'gamescope'
[2025-01-31 16:31:41] OnOutputDescription: 0xd1dc3060: description: 'Internal screen'

Not really sure how actionable this one is on our side but I've only ever seen gamescope's DRM backend affected by this issue.

Steps To Reproduce

  1. Repeatedly start gamescope-session while already logged into Steam

Hardware information

- Distro: CachyOS (Arch Linux)
- CPU: 12th Gen Intel Core i7-12800HX, 13th Gen Intel Core i9-13000KF
- GPU: Geforce RTX 3070 Ti, Geforce RTX 4090
- Driver Version: NVIDIA 570.86.16

Software information

- Desktop environment: N/A
- Session type: gamescope-session
- Gamescope version: gamescope version 3.16.1-38-gef1e8dbe (gcc 14.2.1)
- Gamescope launch command(s): /usr/bin/gamescope --hdr-enabled --hdr-debug-force-support --hdr-debug-force-output --prefer-output *,eDP-1 --xwayland-count 2 --default-touch-mode 4 --hide-cursor-delay 3000 --fade-out-duration 200 --steam -R /run/user/1000/gamescope.KKziwq8/startup.socket -T /run/user/1000/gamescope.KKziwq8/stats.pipe

Which gamescope backends have the issue you are reporting?

  • Wayland (default for nested gamescope)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • SDL
  • OpenVR

Logging, screenshots, or anything else

Accompanying nvidia-bug-report.log

steam-logs.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant