ublue-os / bazzite

Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
3.66k stars 217 forks source link

Screen blurring when mouse is visible ingame #1539

Open Sterophonick opened 3 weeks ago

Sterophonick commented 3 weeks ago

Describe the bug

The image in Gamescope will become blurred if the mouse is visible. Easiest to see when running at native resolution. The issue does not present itself in screenshots. Could possibly happen when docked? I've only ever seen it in handheld.

What did you expect to happen?

Screen must remain clear

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:a1efbabfe42e9612b3cc79053a01de892a0dfd9892a3c8f2162e44449c4c98b8
                  Version: 40.20240822.0 (2024-08-23T04:11:09Z)
                 Unlocked: development

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable
                   Digest: sha256:19aac4b0a8c4437bece477d74a48439fa1e30b2a20e4702cb9cd38ddc488385f
                  Version: 40.20240821.0 (2024-08-22T05:49:24Z)

Hardware

Galileo

Steps to reproduce

This only works in games that use the system mouse (ex: Minecraft) rather than games that make their own mouse (ex: DOOM Eternal). Simply just get into a state where the mouse would be visible.

Pictures

Correct Pixels

Blurry Pixels
Left: Correct behavior; Right: Blurry image

Sterophonick commented 3 weeks ago

been screwing with Gamescope for a minute, cannot seem to reproduce with my own builds. Potentially an issue with clang?

edit: successfully reproduced by building with the raw .spec.

Sterophonick commented 3 weeks ago

Built from .spec again, and forcing it to GCC fixed the issue.

Linus-XZX commented 3 weeks ago

Forwarding some info from Discord discussions (https://discord.com/channels/1072614816579063828/1270815042119405678):

KyleGospo commented 3 weeks ago

Should be fixed in next update

Linus-XZX commented 3 weeks ago

Can confirm that issue is resolved on current stable.