csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[Wayland] [Nvidia] [Hyprland] Window doesnt actually fullscreen on startup, only maximizes it

Open sonnyxsm opened this issue 1 year ago • 3 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
Computer Information:
Manufacturer: Micro-Star International Co., Ltd.
Model: MAG B550M MORTAR WIFI (MS-7C94)
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 3700X 8-Core Processor
CPU Family: 0x17
CPU Model: 0x71
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 4426 MHz
16 logical processors
8 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
BMI1: Supported
BMI2: Supported
F16C: Supported
FMA: Supported
Operating System Version:
Freedesktop SDK 24.08 (Flatpak runtime) (64 bit)
Kernel Name: Linux
Kernel Version: 6.12.7-arch1-1
X Server Vendor: The X.Org Foundation
X Server Release: 12401004
X Window Manager: Hyprland :D
Steam Runtime Version: steam-runtime_0.20241127.109674
Client Information:
Version: 1734743608
Browser GPU Acceleration Status: Enabled
Browser Canvas: Enabled
Browser Canvas out-of-process rasterization: Enabled
Browser Direct Rendering Display Compositor: Disabled
Browser Compositing: Enabled
Browser Multiple Raster Threads: Enabled
Browser OpenGL: Enabled
Browser Rasterization: Enabled
Browser Raw Draw: Disabled
Browser Skia Graphite: Disabled
Browser Video Decode: Enabled
Browser Video Encode: Disabled
Browser Vulkan: Disabled
Browser WebGL: Enabled
Browser WebGL2: Enabled
Browser WebGPU: Disabled
Browser WebNN: Disabled
Video Card:
Driver: NVIDIA Corporation NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 565.77
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 143 Hz
VendorID: 0x10de
DeviceID: 0x2486
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 23.62" x 13.39" (27.13" diag), 60.0cm x 34.0cm (68.9cm diag)
Primary VRAM: 8192 MB
Sound card:
Audio device: Nvidia GPU 9e HDMI/DP
Memory:
RAM: 32019 Mb
VR Hardware:
Headset: Oculus Miramar (alvr_server)
Controller: Oculus Meta Quest 3 (Left Controller) (alvr_server)
Controller: Oculus Meta Quest 3 (Right Controller) (alvr_server)
Controller: Oculus Meta Quest 3 (Left Controller) (alvr_server)
Controller: Oculus Meta Quest 3 (Right Controller) (alvr_server)
Controller: PS4 Controller (gamepad)
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 937277 MB
Largest Free Hard Disk Block: 315613 MB
Storage:
Number of SSDs: 4
SSD sizes: 1024G,1000G,1000G,512G
Number of HDDs: 0
Number of removable drives: 0
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

I am running Hyprland + Nvidia

The option in-game says its fullscreened when I open the game, however I still have to press my fullscreen keybind in my compositor for it to truly fullscreen. This is an issue because I forget to fullscreen sometimes and the windows does not tear, increasing latency.

Steps for reproducing this issue:

  1. Startup CS2
  2. See that the window is only maximized not truly fullscreen
  3. Manually fullscreen each time on startup

sonnyxsm avatar Dec 28 '24 20:12 sonnyxsm

possible workaround is adding windowrulev2 = fullscreen, class:^(cs2) to hyprland's config

kaii-lb avatar May 10 '25 13:05 kaii-lb

possible workaround is adding windowrulev2 = fullscreen, class:^(cs2) to hyprland's config

This still occurs, even on gnome.

sonnyxsm avatar May 10 '25 14:05 sonnyxsm

possible workaround is adding windowrulev2 = fullscreen, class:^(cs2) to hyprland's config

This still occurs, even on gnome.

RIP :/ interesting tho that it works fine on my setup and not yours (Hyprland 0.48.1 aquamarine 0.8.0 hyprlang 0.6.1 hyprutils 0.7.0 hyprcursor 0.1.12 hyprgraphics 0.1.3)

kaii-lb avatar May 10 '25 16:05 kaii-lb

I can confirm it on Plasma 6.4.3. Game doesn't start in fullscreen but in-game settings say it's fullscreen. Happens on both X11 and Wayland drivers.

Image

RevengeRip avatar Jul 31 '25 18:07 RevengeRip