bazzite icon indicating copy to clipboard operation
bazzite copied to clipboard

GPD Win Mini 2024 screen rotated to portrait

Open Ganju0 opened this issue 10 months ago • 2 comments

Describe the bug

The installer was landscape but upon installing and going to the kde desktop, was portrait. Steam gamepadui was portrait after final setup

What did you expect to happen?

Landscape screen. The display on the win mini 2024 is native landscape, 120hz, VRR

Output of rpm-ostree status

rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:25e6c62e647e7bef2a461f24d0c7fea72a86fb95edb66bae00f350e42364bf55
                  Version: nightly (2024-04-26T17:04:40Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:b8cc9aa32ee1dde43c920fcd373a0e7b5d3c89eca810c93402fea9969455bc5d
                  Version: main (2024-04-25T06:48:14Z)

Hardware

G1617-01

Extra information or context

No response

Ganju0 avatar Apr 27 '24 21:04 Ganju0

I think the problem should be with this file——/usr/share/gamescope-session-plus/device-quirks.

The file where contains “GPD WIN” says:

"–force-orientation right "

maybe change the text into “–force-orientation normal” could solve this problem.

But this file is a read-only filesystems.

I try to use “sudo mount -o remount,rw” or “sudo chmod a+rw” or “sudo setenforce 0”, all failed.

So now the question becomes how can I modify “device-quirks” which is read-only filesystems?

Diamonace avatar Apr 28 '24 09:04 Diamonace

Also have the same experience

Poopman1000 avatar Apr 30 '24 01:04 Poopman1000

For anyone following this, a game scope patch is being worked on

Ganju0 avatar May 01 '24 00:05 Ganju0

it's not (only?) gamescope. it's /usr/libexec/bazzite-hardware-setup adding video= flag for the kernel. the workaround is to disable bazzite-hardware-setup and delete the flag with rpm-ostree kargs --delete-if-present

artw avatar May 01 '24 12:05 artw

I think its more complicated than that. For one, the mini 2023 and 2024 have the same device ID so you need a different way to flag it. Theres discussion about it in the bazzite discord where patching the kernel was brought up but instead gamescope is being patched to detect the display resolution. Its a bit above my paygrade. You can read about the patch below. Paco verified it works on both the 2023 and 2024

https://github.com/ChimeraOS/gamescope-session/pull/86

Ganju0 avatar May 01 '24 12:05 Ganju0

possibly. I only got this thing yesterday, but the image does not flip anywhere since I got rid of the kernel arg

artw avatar May 01 '24 12:05 artw

I think they want a solution so that when people install bazzite it just works so people with a 2024 mini don't have to install and modify the kernel. Cause otherwise it affects the 2023

Ganju0 avatar May 01 '24 12:05 Ganju0

Fixed in new iso

Ganju0 avatar May 12 '24 21:05 Ganju0

GPD is actually selling 2024 mini model with 7640U CPU, which will result in the same rotation issue after the https://github.com/ublue-os/bazzite/pull/1062 fix.

kenpuluma avatar Jun 15 '24 11:06 kenpuluma