bazzite icon indicating copy to clipboard operation
bazzite copied to clipboard

HTPC Steam Deck-Gaming Mode: Force native Resolution possible?

Open lm209 opened this issue 11 months ago • 10 comments

Describe the bug

It is possible to force the native Resolution for the Gaming Mode without to Change each Game Settings?

It would be a very cool feature that ChimeraOS also uses in their gamescope plus.

What did you expect to happen?

Same as above

Output of rpm-ostree status

Unknown

Hardware

No response

Extra information or context

No response

lm209 avatar Mar 11 '24 14:03 lm209

This patch is already implemented and working for me, what issues are you having?

KyleGospo avatar Mar 12 '24 07:03 KyleGospo

This patch is already implemented and working for me, what issues are you having?

When I connect my Steam Deck to the TV (gaming mode), I have to set the properties and resolution of each game from default to native. otherwise it does not allow a resolution higher than 720/800p

lm209 avatar Mar 12 '24 14:03 lm209

This patch is already implemented and working for me, what issues are you having?

When I connect my Steam Deck to the TV (gaming mode), I have to set the properties and resolution of each game from default to native. otherwise it does not allow a resolution higher than 720/800p

Can you rpm-ostree status for me?

KyleGospo avatar Mar 12 '24 15:03 KyleGospo

Oh hold on, Steam Deck. This is stock Valve behavior. Let me see if there's a way to override that and use the Chimera behavior.

KyleGospo avatar Mar 12 '24 18:03 KyleGospo

Oh hold on, Steam Deck. This is stock Valve behavior. Let me see if there's a way to override that and use the Chimera behavior.

That´s the status.

deck@fedora:~$ rpm-ostree status State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:a0c8b3c6d8db35c53617209b90559099d7d11b91281171e7bae89ad9cc65ecdd Version: 39.20240312.0 (2024-03-12T16:59:25Z) Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:0a2204f5a96e9eb14affec41d09cf6035777626d190bfaabb9de48c954aca0f5 Version: 39.20240311.0 (2024-03-12T08:05:37Z) Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

lm209 avatar Mar 12 '24 18:03 lm209

Oh hold on, Steam Deck. This is stock Valve behavior. Let me see if there's a way to override that and use the Chimera behavior.

That would be awesome, If you can Override this👍

lm209 avatar Mar 12 '24 19:03 lm209

I'm using environment to set up my device output resolution.

$ mkdir -p ~/.config/environment.d/
$ vim ~/.config/environment.d/resolution.conf 
export RESOLUTION=" -W 1280 -H 720 "

Maybe it could try to export RESOLUTION environment to change the native resolution. e.g. game resolution with -w & -h, and output resolution with -W & -H parameters ?

$ vim ~/.config/environment.d/resolution.conf 
export RESOLUTION=" -w 1920 -h 1080 -W 1920 -H 1080 "

kubepy avatar Mar 16 '24 03:03 kubepy

Sorry for the long wait on this, was busy at a conference

Add: GAMESCOPE_ENABLE_720P_RESTRICT=0 to your /etc/environment file

KyleGospo avatar Mar 18 '24 16:03 KyleGospo

Sorry for the long wait on this, was busy at a conference

Add: GAMESCOPE_ENABLE_720P_RESTRICT=0 to your /etc/environment file

Yes that worked. Thank you. Do you plan to add this in future Updates?

lm209 avatar Mar 18 '24 18:03 lm209

This is such so that the Deck can match stock Valve behavior, and other devices can use whatever their native is. We'll just want to document this better. On Mar 18, 2024, 11:48 AM -0700, lm209 @.***>, wrote:

Sorry for the long wait on this, was busy at a conference Add: GAMESCOPE_ENABLE_720P_RESTRICT=0 to your /etc/environment file Yes that worked. Thank you. Do you plan to add this in future Updates? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

KyleGospo avatar Mar 18 '24 18:03 KyleGospo