ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
774 stars 69 forks source link

CS2 fullscreen is offset by taskbar #3274

Open jnvsor opened 11 months ago

jnvsor commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

On xfce, the CS2 window starts offset by the taskbar. The taskbar is visible at the top of the screen and the game window extends past the bottom of the screen.

This can be fixed by changing display mode between fullscreen/fullscreen windowed but will happen again on next run

Edit for clarity: This only occurs if the game is started in fullscreen. If started in fullscreen windowed this won't occur. If changed from fullscreen and back again and applied, it will be fixed until the next run

kjarosh commented 11 months ago

I have the exact same behavior on Gnome, Fedora 38

JacKeTUs commented 11 months ago

Same behavior Debian 12, KDE Plasma 5.27.8, Wayland, Mesa 23.2.0

Xinayder commented 11 months ago

I have the same issue on KDE Plasma, running on Wayland. Dota 2 has a similar issue and it starts happening once I Alt+Tab a few times.

Link to the Dota 2 issue: https://github.com/ValveSoftware/Dota-2/issues/1979

lilandrias commented 11 months ago

Same issue here!

jebediah47 commented 11 months ago

same thing here!

TermoZour commented 11 months ago

Guys, please make sure you follow the rules in the README and react to the initial report instead of commenting. I've seen a few issues like this with "same here" comments but no reactions.

YuriBratanov commented 11 months ago

Pop!_OS 22.04 LTS Taskbar is always visible for me too. Offsets game bottom screen part into the void in full screen. System info https://gist.github.com/YuriBratanov/3a405483fe2cc0484f37d14f31820278

candreacchio commented 11 months ago

I have the launch command -fullscreen.

If i gointo the settings, then switch to windowed mode then back to fullscreen it fixes the issue.

samuk10 commented 11 months ago

I have the launch command -fullscreen.

If i gointo the settings, then switch to windowed mode then back to fullscreen it fixes the issue.

but, if you open the game it start windowed again. also i cant set 144hz in 4:3

what i have to do every game startup: change res from 1024x768 to 1280x1024 @143hz(144 wont show as option) ALT+ENTER (somehow the game is pixelated as it was still in 1024x768) edit advanced graphics on it will use default

I also deleted the game completely and installed again to maybe remove old CSGO stuff they should rename the files to cs2 cus looks like they are mixing some configs from both games

OS: Kubuntu 23.04 Kernel: 6.2.0-33-generic Resolution: 1920x1080 @144hz, 900x1600 @60hz DE: Plasma 5.27.4 CPU: Intel i5-9400F (6) @ 4.100GHz GPU: AMD ATI Radeon RX 7700

x0r13 commented 11 months ago

same problem here:

OS: Ubuntu 22.04 jammy Kernel: x86_64 Linux 6.2.0-33-generic DE: KDE 5.92.0 / Plasma 5.24.7 CPU: AMD Ryzen 5 5600 6-Core @ 12x 3,5GHz GPU: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.2.0-33-generic) RAM: 6596MiB / 32007MiB

DavutHaxor commented 11 months ago

My task bar is in auto hide and i solved it by selecting "Windows can cover" mode. image

Keplyx commented 11 months ago

Here is a video example. From what I understand the game seems to be started in "Fullscreen Windowed" and not actually "Fullscreen" because you can move around the window on KDE using "Meta+mouse move", and if you press "Alt+F3" you see the fullscreen toggle is off. In my case I can either check that box or change the Hz to make the game go fullscreen.

https://github.com/ValveSoftware/csgo-osx-linux/assets/23726131/101328e1-6469-4b01-b244-9629b2fac59f

gregor3000 commented 11 months ago

i confirm it as well on Kubuntu 22.04 with nvidia GTX 1650.

leaving it to full screen windowed removes this issue. however, if it is windowed i am not sure the effects and such are turned off. in addition turning steam overlay in such setting may cause the game to crash to desktop.

sixwheeledbeast commented 10 months ago

Ubuntu Mate Desktop panels suffer from the same. Oddly steam notifications then start to render behind the desktop panels on starting them game instead of above them like they usually do with any other game or general usage. Toggling between video presets seems to reset the display and remove the panels (video signal disappears quickly). You can play the game fullscreen for that session, although the game believes it is windowed and will not let you adjust brightness.

CaptainCoward commented 10 months ago

Can confirm the same on Manjaro. Even worse when changing to fullscreen manually after that Freesync will be broken here and stay on even on desktop.

1337-tux commented 10 months ago

I can confirm it too on Manjaro + Xfce. Switching to borderless fullscreen and back is my workaround.

Amusingdock25 commented 10 months ago

Solved for me in the 2nd latest update! Running Kbuntu 22.04.3 on X, Nvidia drivers 535

DanielHuelsmann commented 10 months ago

Now the "Full Screen Window" option works fine from the start. But the "Full Screen" option still does not start full screen when the game is launched.

I'm using Debian 12 with KDE Plasma.

kaiwasaki commented 10 months ago

Since this was marked as "Need Retest", I like to report that setting CS2 to fullscreen will not be active next time CS2 is started. Although it is still shown as fullscreen in the options. Selecting fullscreen again fixes the issue, but needs to be done every time CS2 is launched.

"fullscreen windowed" is not affected and seems to work fine. System Info

flaphoschi commented 9 months ago

The latested updated from 11/17/2023 introduced that issue on Archlinux with GNOME/Wayland. Previously it worked flawlessly. I'm afraid an attempt to fix that made it even worse?

x0r13 commented 9 months ago

Same, one of the latest updates broke it again. It worked for me for a while, but now the issue is back.

OS: Ubuntu 22.04 jammy Kernel: x86_64 Linux 6.2.0-36-generic DE: KDE 5.92.0 / Plasma 5.24.7 WM: KWin GTK Theme: Breeze [GTK2/3] CPU: AMD Ryzen 5 5600 6-Core @ 12x 3,5GHz GPU: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.2.0-36-generic) GPU-Driver: Mesa 23.2.1 refresh - kisak-mesa PPA

Conusoid commented 9 months ago

Same here after the last update(s). Prior to that had no issues with the fullscreen mode on start. Debian 12, 6.1.0-13-amd64, i3wm i5 4670, gtx770.

flaphoschi commented 9 months ago

Fixed - for me - on Archlinux with GNOME/Wayland. I had to switch once again from Fullscreen to Windowed to Fullscreen and now CS2 properly switches always to fullscreen-mode without showing the taskbar (topbar) when loading the intro animation.

Either by a tiny update of CS2 or on of these packages?

[2023-11-27T20:18:26+0100] [ALPM] upgraded amd-ucode (20231030.2b304bfe-1 -> 20231110.74158e7a-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded iana-etc (20231018-1 -> 20231117-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded aom (3.7.0-1 -> 3.7.1-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded readline (8.2.001-2 -> 8.2.007-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded bash (5.2.015-5 -> 5.2.021-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libxml2 (2.11.5-1 -> 2.12.1-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libp11-kit (0.25.2-1 -> 0.25.3-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libgcrypt (1.10.2-1 -> 1.10.3-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded p11-kit (0.25.2-1 -> 0.25.3-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded ca-certificates-mozilla (3.94-1 -> 3.95-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libtiff (4.6.0-1 -> 4.6.0-2)
[2023-11-27T20:18:26+0100] [ALPM] upgraded appstream (0.16.4-1 -> 1.0.0-4)
[2023-11-27T20:18:26+0100] [ALPM] upgraded avahi (1:0.8+r139+ge5b0bad-1 -> 1:0.8+r189+g35bb1ba-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded blas (3.11.0-3 -> 3.12.0-2)
[2023-11-27T20:18:26+0100] [ALPM] upgraded faad2 (2.10.1-1 -> 2.11.1-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded gnutls (3.8.1-2 -> 3.8.2-1)
[2023-11-27T20:18:26+0100] [ALPM] installed libunibreak (5.1-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libass (0.17.1-1 -> 0.17.1-2)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libdrm (2.4.117-1 -> 2.4.118-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded iptables (1:1.8.9-1 -> 1:1.8.10-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded libwireplumber (0.4.15-1 -> 0.4.16-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded wireplumber (0.4.15-1 -> 0.4.16-1)
[2023-11-27T20:18:26+0100] [ALPM] installed zix (0.4.2-2)
[2023-11-27T20:18:26+0100] [ALPM] upgraded sord (0.16.14-1 -> 0.16.16-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded sratom (0.6.14-1 -> 0.6.16-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded lilv (0.24.20-2 -> 0.24.22-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded ffmpeg (2:6.0-13 -> 2:6.1-1)
[2023-11-27T20:18:26+0100] [ALPM] upgraded sqlite (3.44.0-1 -> 3.44.2-2)
[2023-11-27T20:18:26+0100] [ALPM] upgraded nss (3.94-1 -> 3.95-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded firefox (119.0.1-1 -> 120.0-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded libmalcontent (0.11.1-2 -> 0.11.1-3)
[2023-11-27T20:18:27+0100] [ALPM] upgraded python (3.11.5-2 -> 3.11.6-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded xdg-utils (1.1.3+45+g301a1a4-1 -> 1.2.0r17+g21fb316-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded xdg-desktop-portal (1.18.1-1 -> 1.18.2-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded libksba (1.6.4-1 -> 1.6.5-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded flatpak (1:1.15.4-1 -> 1:1.15.6-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded libgusb (0.4.7-1 -> 0.4.8-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded protobuf (25.0-1 -> 25.1-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded fwupd (1.9.8-3 -> 1.9.9-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded gettext (0.22.3-1 -> 0.22.4-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded git (2.42.1-1 -> 2.43.0-1)
[2023-11-27T20:18:27+0100] [ALPM] upgraded spirv-tools (2022.4-1 -> 2023.5-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded glslang (13.0.0-1 -> 13.1.1-2)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libadwaita (1:1.4.0-1 -> 1:1.4.0-2)
[2023-11-27T20:18:28+0100] [ALPM] upgraded gnome-software (45.1-1 -> 45.1-2)
[2023-11-27T20:18:28+0100] [ALPM] upgraded lapack (3.11.0-3 -> 3.12.0-2)
[2023-11-27T20:18:28+0100] [ALPM] upgraded lib32-libgcrypt (1.10.2-1 -> 1.10.3-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded lib32-libxml2 (2.11.5-1 -> 2.12.1-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded lib32-p11-kit (0.25.2-1 -> 0.25.3-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded lib32-nss (3.94-1 -> 3.95-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libde265 (1.0.12-1 -> 1.0.14-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libheif (1.17.3-1 -> 1.17.5-2)
[2023-11-27T20:18:28+0100] [ALPM] upgraded liburing (2.4-1 -> 2.5-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libwacom (2.8.0-1 -> 2.9.0-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libwbclient (4.19.2-1 -> 4.19.3-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded libxslt (1.1.38-1 -> 1.1.39-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded linux (6.6.1.arch1-1 -> 6.6.2.arch1-1)
[2023-11-27T20:18:28+0100] [ALPM] upgraded linux-firmware-whence (20231030.2b304bfe-1 -> 20231110.74158e7a-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded linux-firmware (20231030.2b304bfe-1 -> 20231110.74158e7a-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded malcontent (0.11.1-2 -> 0.11.1-3)
[2023-11-27T20:18:29+0100] [ALPM] upgraded meson (1.2.3-1 -> 1.3.0-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded mujs (1.3.3-1 -> 1.3.4-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded pcsclite (2.0.0-1 -> 2.0.1-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded pkgconf (1.8.1-1 -> 2.0.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded python-packaging (23.1-1 -> 23.2-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded python-urllib3 (1.26.15-1 -> 1.26.18-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-common (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-alsa (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-dbus (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-jack (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-oss (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-pa (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-pipewire (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-sdl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-opengl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-spice-core (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-audio-spice (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-img (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-system-x86-firmware (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-system-x86 (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-base (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-block-curl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-block-dmg (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-block-nfs (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-block-ssh (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-chardev-spice (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-qxl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-gpu (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-gpu-gl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-gpu-pci (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-gpu-pci-gl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-vga (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-display-virtio-vga-gl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-usb-host (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-usb-redirect (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-hw-usb-smartcard (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-curses (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-dbus (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-egl-headless (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-gtk (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-sdl (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-ui-spice-app (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-vhost-user-gpu (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded qemu-desktop (8.1.2-1 -> 8.1.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded shaderc (2023.4-2 -> 2023.5-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded smbclient (4.19.2-1 -> 4.19.3-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded vim-runtime (9.0.2112-1 -> 9.0.2121-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded vim (9.0.2112-1 -> 9.0.2121-1)
[2023-11-27T20:18:29+0100] [ALPM] upgraded xdg-desktop-portal-gnome (45.0-1 -> 45.1-1)

None of these is a usual suspect like mesa or mutter. Maybe libdrm? Or there is another reasoning or interdependency I'm not assuming. Please note that I didn't faced this issue initially only with the latest update of CS2 from 2023-11-16. Other seem to had it from initial release.

Xinayder commented 8 months ago

The issue still exists. I'm on KDE, Arch Linux, and every time I launch the game I have to change my resolution for fullscreen to be actually fullscreen. I have a KDE panel set to Always Visible and CS2 is drawn underneath it.

GreatBigWhiteWorld commented 7 months ago

Is it hard to fix or they just don't care?

Conusoid commented 7 months ago

It was fixed for me after some update without any actions on my side.

DanielHuelsmann commented 7 months ago

In my computer, the "Fullscreen" function has not been fixed yet ("Fullscreen window" has been fixed). I use Fedora Linux 39 with KDE Plasma 5.27, Wayland and Flatpak.

flaphoschi commented 7 months ago

I guess there was recently a problem with GNOME which is already fixed again by others. And KDE also has an issue, maybe from initial release onward?

GreatBigWhiteWorld commented 7 months ago

I noticed that the flatpak steam version still has this problem but the native steam doesn't.

ZyanKLee commented 7 months ago

I noticed today, that the native steam version at least on my system still has the issue.

Giger22 commented 6 months ago

Also happens when you alt+tab out of the game and in the game. I have to manually reset a full-screen option. Issue persist after today's update. KDE 5.27 Wayland. Even worse - sometimes the game just crashes when alt+tabing out and in. Especially in a windowed fullscreen - it always crashes.

odinu commented 6 months ago

Also happens when you alt+tab out of the game and in the game.

Came here because of this issue. This is since the latest patch, it didn't do this yesterday :( No crashes for me though (at least not so far). Lol, nevermind it literally just crashed.

GreatBigWhiteWorld commented 6 months ago

I noticed that the flatpak steam version still has this problem but the native steam doesn't.

ok now the native steam version become to have this bug too after the recent update, and it's worse since each alt-tab will make the taskbar sticky to your screen, not only during the start.

no fix and make it even worse VERY VERY GOOD JOB

rariema commented 6 months ago

confirmed. arch with plasma 5.27, radeon rx 6600

never had this issue, saw it first time with the 06.02. update

mizukn commented 6 months ago

I've found a small fix. Set a keyboard shortcut to set an app to full screen in your settings. In my case, I've set set it Alt+Enter

Then, every time you launch CS or alt-tab to CS, just use that keybind (Alt+Enter). It will make it full screen. image (don't forget to apply!)

Hope this helps.

bakgwailo commented 6 months ago

Also adding in getting this on Arch and latest Plasma 5 with the latest update.

zivkovic commented 6 months ago

Issue persiste on Manjaro with latest Plasma 5

Luhrel commented 6 months ago

Same here on Arch with Plasma 5.27.10 on Wayland.

Thanks to https://github.com/ValveSoftware/csgo-osx-linux/issues/3530#issuecomment-1872614749, I was able to workaround this problem. The workaround is :

  1. Open CS2
  2. Press Alt+F3
  3. Click on "More actions"
  4. Click on "Configure special applications settings"
  5. Add a property
  6. Select "Fullscreen" (click on the "+")
  7. Select "Force" and "yes" for the "Fullscreen" parameter
  8. Click on "Ok" (apply and close)
  9. Voilà ! No need to create a shortcut as https://github.com/ValveSoftware/csgo-osx-linux/issues/3274#issuecomment-1934711611 recommended, CS2 will always be fullscreen.

However, if I press Alt+Tab a few times, CS2 will crash (in "Fullscreen" and "Windowed fullscreen" mode).

Conusoid commented 6 months ago

In my case, the last time this issue arose was in December 2023. Since then, no problems with opening the game in full screen. Probably the issue is in interaction with some DEs. Debian 12, 6.1.0-17-amd64, i3wm i5 4670, gtx770.

rariema commented 6 months ago

I will stick with the global shortcut, did not see a CTD once. The shortcut is handy anyway.

Did anyone test with Plasma 6?

tmnvanderberg commented 6 months ago

Same.

6.1.67 #1-NixOS AMD Radeon RX 6700 XT Plasma 5.27.10

Only started happening recently.

rariema commented 6 months ago

SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command%

seems to work for me

Giger22 commented 6 months ago

SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command%

seems to work for me

Works only after you manually switched to fullscreen after starting a game. At least I won't have to manually revert back to a fullscreen after alt+tabbing.

V1ck3s commented 6 months ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3274#issuecomment-1937765352

This worked for me. The problem only started recently.

OmriSteiner commented 5 months ago

SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command%

seems to work for me

Works for me, if -fullscreen is not set, i.e game is configured to run in Fullscreen Windowed.

An interesting thing to add is that this problem only started after I connected a second monitor (running KDE here).

sixwheeledbeast commented 5 months ago

This Environment doesn't work for fullscreen and fullscreen windowed will not run at higher refresh rates. Best workaround for now seems to be making a convenient keyboard shortcut to make current window fullscreen within your DE, as suggested above. Alt+F11 seemed sensible and didn't clash with anything else for me on MATE.

djsiropchik commented 4 months ago

Same issue. When you started it's not in the fullscreen and if you changed from window mode and after to the fullscreen again it will be fixed. But if you try to use Alt+Tab -everything is not working again. Pls fix this bug. It's super annoying.

Fedora 40, KDE Plasma 6.0.3, Wayland

lavavex commented 3 months ago

same here, Arch, KDE Plasma 6.0.4, X11

josefc12 commented 3 months ago

Not sure how relevant this is to anyone anymore, but this issue is due to KDE and not cs. Easy fix: Issue: After alt-tabbing in and out of the game the task bar remains visible. Solution: With the game window active, hit alt-F3 Select 'More Actions' Select 'Configure Special Application Settings...' In the config window that opens, click ' + Add Property' at bottom left. Scroll down to and select 'Fullscreen'. The property has now been added under 'Size & Position' In its row, select 'Force' and 'Yes' Apply, OK. The game should now be permanently Fullscreen, even if you alt-tab.

zivkovic commented 3 months ago

Not sure how relevant this is to anyone anymore, but this issue is due to KDE and not cs. Easy fix: Issue: After alt-tabbing in and out of the game the task bar remains visible. Solution: With the game window active, hit alt-F3 Select 'More Actions' Select 'Configure Special Application Settings...' In the config window that opens, click ' + Add Property' at bottom left. Scroll down to and select 'Fullscreen'. The property has now been added under 'Size & Position' In its row, select 'Force' and 'Yes' Apply, OK. The game should now be permanently Fullscreen, even if you alt-tab.

I understand where you are coming from, but for now (for me atleast) this is the only game that does this. No other game has this problem, therefor the only real solution would be for CS2 devs to fix this. If the issue occurred on all games, then yes, KDE would be the problem, but alas it is not. Your solution is more or less only a "cheap fix". Thank you anyway.