ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

steam client inner window size #8246

Open at46 opened 2 years ago

at46 commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

With the latest steam update the steam client doesn't use the full window size anymore. Instead I've a darker grey rectangle at the bottom:

steam_client_library

On the friends that play page of a game it's even worse and there is only a small bit in the top left visible:

steam_friends_playing

Everything fixes itself once I resize the steam client and keeps fine afterwards.

Edit: Bug only occurs with hardware acceleration disabled like mentioned in https://github.com/ValveSoftware/steam-for-linux/issues/8246#issuecomment-1026738525

user1-github commented 2 years ago

After I updated to the latest version, my Steam window looks like in the second screenshot every time when I launch Steam. I can only fix it by maximizing and unmaximizing the Steam window.

vividnightmare commented 2 years ago

Identical issue on my up-to-date Arch Linux system since latest update. Both stable and beta branches are affected.

doogie544 commented 2 years ago

I can confirm this issue on Arch as well. Resizing the window will make the page display correctly, but any of the web based pages (community, store, profile) will require one of those to be resized as well, then all web pages work correctly. Oddly, while resizing the library will not affect the other pages, if you resize one of the web pages it will also fix the library page.

The windows will only display correctly until Steam is completely shut down. Upon restarting Steam the issue returns.

Truncated system info: Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 7 3800X 8-Core Processor

Operating System Version: "Arch Linux" (64 bit) Kernel Name: Linux Kernel Version: 5.15.2-arch1-1 X Server Vendor: The X.Org Foundation X Server Release: 12101001 X Window Manager: KWin Steam Runtime Version: steam-runtime_0.20211102.0

Video Card: Driver: AMD AMD Radeon RX 6800 XT (SIENNA_CICHLID, DRM 3.42.0, 5.15.2-arch1-1, LLVM 13.0.0) Driver Version: 4.6 (Compatibility Profile) Mesa 21.2.5 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 144 Hz VendorID: 0x1002 DeviceID: 0x73bf Revision Not Detected Number of Monitors: 2 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 3840 x 1080 Primary Display Size: 20.91" x 11.77" (23.98" diag) 53.1cm x 29.9cm (60.9cm diag) Primary VRAM: 16384 MB

xpander69 commented 2 years ago

Same issue here on Arch Linux

Operating System Version: "Arch Linux" (64 bit) Kernel Name: Linux Kernel Version: 5.15.2-217-tkg-pds X Server Vendor: The X.Org Foundation X Server Release: 12101001 X Window Manager: Metacity (Marco) Steam Runtime Version: steam-runtime_0.20211102.0

Video Card: Driver: NVIDIA Corporation NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 495.44 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 169 Hz

echaskaris commented 2 years ago

Same issue for me, ubuntu 20.04

FagSoft commented 2 years ago

Can confirm as well. Linux Mint 20.2 w/Nvidia Drivers 470.82.00.

Seems to have been introduced in the beta that was available at Nov. 8th this year, or that was at least the first time I noticed these issues. Then with the previous version of the Nvidia drivers, and Linux Mint 20.1.

echaskaris commented 2 years ago

This is still happening and is very annoying. Same thing every time steam starts. Pls fix

FagSoft commented 2 years ago

This issue seems to be fixed on the latest beta, at least for me.

doogie544 commented 2 years ago

This issue seems to be fixed on the latest beta, at least for me.

not here still the same after testing the beta

echaskaris commented 2 years ago
Specs

Computer Information: Manufacturer: Micro-Star International Co., Ltd. Model: B450M-A PRO MAX (MS-7C52) Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 5 1600 Six-Core Processor CPU Family: 0x17 CPU Model: 0x8 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 3200 Mhz 12 logical processors 6 physical processors HyperThreading: 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 Operating System Version: Ubuntu 20.04.3 LTS (64 bit) Kernel Name: Linux Kernel Version: 5.4.0-91-generic X Server Vendor: The X.Org Foundation X Server Release: 12013000 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20211207.0 Video Card: Driver: AMD AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.35.0, 5.4.0-91-generic, LLVM 12.0.0) Driver Version: 4.6 (Compatibility Profile) Mesa 21.0.3 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x1002 DeviceID: 0x67df 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: 18.78" x 10.55" (21.54" diag) 47.7cm x 26.8cm (54.7cm diag) Primary VRAM: 8192 MB Sound card: Audio device: ATI R6xx HDMI Memory: RAM: 15998 MB VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 112162 MB Largest Free Hard Disk Block: 27162 MB Storage: Number of SSDs: 0 Number of HDDs: 0 The runtime information tool is preparing a report, please wait...

doogie544 commented 2 years ago

I just noticed something about this issue, not sure if it will be helpful but:

You can also get both the library and web pages (store, community and profile) by dragging the window around the desktop. When you stop moving the window it will display correctly.

Maximizing the window will cause it to display correctly and it will still be correct when restored to widowed size.

However, just minimizing and restoring the widow does not fix the issue.

echaskaris commented 2 years ago

My starting page changed to "Store" (Perhaps due to an update? If so it was silent). That fixes the issue, but when I change it back to "Library" the issue appears again.

doogie544 commented 2 years ago

My starting page changed to "Store" (Perhaps due to an update? If so it was silent). That fixes the issue, but when I change it back to "Library" the issue appears again.

Why the start page changed to the store I can't say but it's very unlikely that it's actually fixed just by having to start page changed.

This is a rendering issue evidence by the fact that if you maximize or move the window forcing the app to be redrawn it covers the entire window like it's supposed to.

More likely starting the app on the store Page is not affecting the rendering quite the same way so it renders properly for web-based pages (which is all the pages with the exception of the library page) but as the library is handled different the rendering issue still affects the library

The library is separate from all the other pages if you fix the library page by maximizing or dragging the window it does not affect the other web base pages and vice versa, but, fixing one of the web-based pages fixes all of the others.

As an aside I don't think valve does any silent updates, more likely your user configurations were corrupted so when the app started it went back to the store Page which I believe is the default start page

echaskaris commented 2 years ago

If you start with Store, the library fixes too. You can see it flicker once, with the dark line at the bottom disappear automatically.

Sometimes Steam will not notify you of an update and do it on startup automatically. That is what I was referring to.

echaskaris commented 2 years ago

Fixed for me, no matter the starting page steam works as expected.

DonKatsu commented 2 years ago

I still have this issue. Still have to resize the window to work around it. One thing that has changed is that it is now present out of the beta client as well. https://github.com/ValveSoftware/steam-for-linux/issues/8174#issuecomment-967782802

echaskaris commented 2 years ago

Try enabling the gpu acceleration options in the interface options in settings, the three last.

xpander69 commented 2 years ago

Still happening here as well. This only happens when GPU acceleration is disabled from Steam. Latest steam Beta client.

Enabling GPU acceleration fixes this issue, but that will add different kind of bug. Namely with GPU acceleration enabled, resizing steam windows will cause VRAM usage grow with every resize until its completely used.

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.16.3-xanmod1-1
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12101003
    X Window Manager:  Metacity (Marco)
    Steam Runtime Version:  steam-runtime_0.20220119.0

Video Card:
    Driver:  NVIDIA Corporation NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 510.39.01
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 169 Hz
    VendorID:  0x10de
    DeviceID:  0x1b06
    Revision Not Detected
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1440
at46 commented 2 years ago

Can confirm that the bug only occurs with hardware acceleration disabled and that it is still present with steam client from Mar 5 2022.

SirBubbles commented 2 years ago

Additional confirmation here, on latest Manjaro-Gnome, as of this date the web views in steam is still bugged. With the option "gpu accelerated web page rendering" disabled, the bug persists, but behaves normally if it is enabled. Kind of a serious usability issue here guys, some help would be nice. Using gnome-shell on X11 with a radeon 6700xt gpu and the default drivers.