#4275

Game Windows Shrinks on Alt+Tab

Opengmbhneoopened 3mo ago

Sometimes, some games being run though steam will show the menu bar and shrink about 10-15% of the screen size when using Alt+Tab to go to another window. Games initially work fine but this only happens after using Alt+Tab to go to another window.

I tried using borderless fullscreen and fullscreen. Both show this issue.

Oh, also tested on DMS (DankMaterialShell) and Noctalia (V4 + V5). Same issue. So it seems to be an issue with Niri in general.

My Config has already been reset so it also happens on the default config.

System Information

  • niri version: niri 26.04 (8ed0da4) - niri 26.04 (Wayland)
  • Distro: CachyOS x86_64 - Linux 7.1.3-1-cachyos
  • GPU: AMD Radeon RX 9070 XT [Discrete]
  • CPU: AMD Ryzen 7 9800X3D (16) @ 4.70 GHz

Activity

30
Sempyos3mo ago

Use xorg-xeyes and see if the eyes follow your mouse while over the game

Sempyos3mo ago

Use xorg-xeyes and see if the eyes follow your mouse while over the game

Sempyos3mo ago

Use xorg-xeyes and see if the eyes follow your mouse while over the game

Sempyos3mo ago

Use xorg-xeyes and see if the eyes follow your mouse while over the game

Sempyos3mo ago

Use xorg-xeyes and see if the eyes follow your mouse while over the game

gmbhneo3mo ago

I've tried xeyes. However, it also stays behind the navbar. But, it does not have the same "shrinking" issue.

Btw, these are my game start settings: PROTON_ENABLE_WAYLAND=1 ENABLE_LAYER_MESA_ANTI_LAG=1 PROTON_FSR4_UPGRADE=1 game-performance %command% using latest cachyos proton.

gmbhneo3mo ago

I've tried xeyes. However, it also stays behind the navbar. But, it does not have the same "shrinking" issue.

Btw, these are my game start settings: PROTON_ENABLE_WAYLAND=1 ENABLE_LAYER_MESA_ANTI_LAG=1 PROTON_FSR4_UPGRADE=1 game-performance %command% using latest cachyos proton.

gmbhneo3mo ago

I've tried xeyes. However, it also stays behind the navbar. But, it does not have the same "shrinking" issue.

Btw, these are my game start settings: PROTON_ENABLE_WAYLAND=1 ENABLE_LAYER_MESA_ANTI_LAG=1 PROTON_FSR4_UPGRADE=1 game-performance %command% using latest cachyos proton.

gmbhneo3mo ago

I've tried xeyes. However, it also stays behind the navbar. But, it does not have the same "shrinking" issue.

Btw, these are my game start settings: PROTON_ENABLE_WAYLAND=1 ENABLE_LAYER_MESA_ANTI_LAG=1 PROTON_FSR4_UPGRADE=1 game-performance %command% using latest cachyos proton.

gmbhneo3mo ago

I've tried xeyes. However, it also stays behind the navbar. But, it does not have the same "shrinking" issue.

Btw, these are my game start settings: PROTON_ENABLE_WAYLAND=1 ENABLE_LAYER_MESA_ANTI_LAG=1 PROTON_FSR4_UPGRADE=1 game-performance %command% using latest cachyos proton.

Sempyos3mo ago

Uh hm, I'll get back to you with something else

Sempyos3mo ago

Uh hm, I'll get back to you with something else

gmbhneo3mo ago
gmbhneo3mo ago
gmbhneo3mo ago
Sempyos3mo ago

Oki that video is perfect, judging from the way the steam notification shows in the bottom right corner the game is running via Xwayland-satellite

Sempyos3mo ago

Oki that video is perfect, judging from the way the steam notification shows in the bottom right corner the game is running via Xwayland-satellite

Sempyos3mo ago

Oki that video is perfect, judging from the way the steam notification shows in the bottom right corner the game is running via Xwayland-satellite

bczhc3mo ago

Try adding PROTON_ENABLE_WAYLAND=1 env if you are using proton-ge or proton-etaash or proton-cachyos.

(Btw xeyes will not move its eyes when the cursor is confined (some games do this) even if the app is running via xwayland session. A more reliable alternative way to test it is to use `watch -n0 'xdotool getmouselocation'

bczhc3mo ago

Try adding PROTON_ENABLE_WAYLAND=1 env if you are using proton-ge or proton-etaash or proton-cachyos.

(Btw xeyes will not move its eyes when the cursor is confined (some games do this) even if the app is running via xwayland session. A more reliable alternative way to test it is to use `watch -n0 'xdotool getmouselocation'