Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Posttime Graph Bug ( mac )

Open fikriww opened this issue 9 months ago • 22 comments

Image https://www.reddit.com/r/DotA2/comments/1izspi9/postgame_graphs_bugged_this_patch_can_only_see/#lightbox

please submit/forward this to be ongoing list fix/update thanks!

fikriww avatar Feb 28 '25 09:02 fikriww

as usual, mac QA missed some

usefree avatar Mar 02 '25 10:03 usefree

This also affects linux users:

Image

Edit: I'm running nixOS, GNOME w/ Wayland. Edit2: also happens on hyprland.

rykugur avatar Mar 03 '25 05:03 rykugur

The problem has happened since patch 7.38 released.

AndreaVEH avatar Mar 07 '25 16:03 AndreaVEH

Same here on latest arch with gnome and wayland

vladimish avatar Mar 08 '25 01:03 vladimish

same bug on fedora 41 kde plasma

ahmad913 avatar Mar 15 '25 18:03 ahmad913

Linux build is also affected by this since 7.38.

System information
System:
  Kernel: 6.13.7-arch1-1 arch: x86_64 bits: 64
  Desktop: Hyprland v: 0.47.2  Distro: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <filter>
    UEFI: American Megatrends v: P4.90 date: 12/17/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 3600 min/max: 2200/4208 cores: 1: 3600 2: 3600 3: 3600
    4: 3600 5: 3600 6: 3600 7: 3600 8: 3600 9: 3600 10: 3600 11: 3600 12: 3600
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660] driver: nvidia v: 570.124.04
  Display: unspecified server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution:
    1: 1920x1080 2: 1920x1080
  API: Vulkan Message: No Vulkan data available.
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: api: vulkaninfo gpu: nvidia-settings,nvidia-smi x11: xdriinfo,
    xdpyinfo, xprop, xrandr

MisterrrX avatar Mar 18 '25 18:03 MisterrrX

Also experiencing this since 7.38

System Information
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: PRIME Z690-A
Form Factor: Desktop
No Touch Input Detected

Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 13th Gen Intel(R) Core(TM) i9-13900K
CPU Family: 0x6
CPU Model: 0xb7
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 5500 MHz
32 logical processors
24 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
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:
Ubuntu Core 22 (64 bit)
Kernel Name: Linux
Kernel Version: 6.11.0-19-generic
X Server Vendor: The X.Org Foundation
X Server Release: 12101011
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime_0.20241127.109674

Client Information:
Version: 1741737356
Browser GPU Acceleration Status: Disabled
Browser Canvas: Unavailable
Browser Canvas out-of-process rasterization: Disabled
Browser Direct Rendering Display Compositor: Disabled
Browser Compositing: Disabled
Browser Multiple Raster Threads: Enabled
Browser OpenGL: Disabled
Browser Rasterization: Disabled
Browser Raw Draw: Disabled
Browser Skia Graphite: Disabled
Browser Video Decode: Disabled
Browser Video Encode: Disabled
Browser Vulkan: Disabled
Browser WebGL: Unavailable
Browser WebGL2: Unavailable
Browser WebGPU: Disabled
Browser WebNN: Disabled

Video Card:
Driver: NVIDIA Corporation NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 550.120
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 174 Hz
VendorID: 0x10de
DeviceID: 0x2803
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 3440 x 1440
Desktop Resolution: 3440 x 1440
Primary Display Size: 0.04" x 0.04" (0.04" diag), 0.1cm x 0.1cm (0.1cm diag)
Primary Bus: PCI Express 8x
Primary VRAM: 16380 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: %1$s

Memory:
RAM: 31827 Mb

VR Hardware:
VR Headset: None detected

Miscellaneous:
UI Language: English
LANG: C.UTF-8
Total Hard Disk Space Available: 1875626 MB
Largest Free Hard Disk Block: 1691336 MB

Storage:
Number of SSDs: 2
SSD sizes: 2000G,1000G
Number of HDDs: 0
Number of removable drives: 0

nkuligoski avatar Mar 21 '25 21:03 nkuligoski

+1 on prioritising this bug

jadedh385 avatar Mar 25 '25 17:03 jadedh385

+1 on Manjaro Linux 6.12.19-1-MANJARO

Znephf avatar Mar 26 '25 21:03 Znephf

+1

maxwell882000 avatar Apr 03 '25 09:04 maxwell882000

@kisak-valve , @danginsburg , @TTimo , hi team just following up — this issue is still present on the latest Dota 2 version on Mac/Linux. It significantly affects playability. Could someone from the dev team please confirm if this is on the radar? Any update or ETA would be appreciated. Thanks!

usefree avatar Apr 03 '25 19:04 usefree

+1

jankrav avatar Apr 04 '25 07:04 jankrav

+1

eIGato avatar Apr 09 '25 22:04 eIGato

Same problem since 7.38 Garuda (Arch) XFCE with all latest updates and nvidia from arch repo 4.7xx legacy driver

I also get random freezes and all sorts of weird console msg about not finding files, which i have not been able to fix yet, but i'm going to try installing dota2 on a different distro, like ubuntu

Dracosophy avatar Apr 23 '25 22:04 Dracosophy

I have noticed that post game graphs work fine on my steam deck oled in gaming mode, but not desktop mode. Since they use the same drivers + vulkan in both modes to my knowledge, I'm thinking there has to be a workaround with gamescope or resolutions or something. Just posting in case this helps diagnose the issue.

Regilith avatar Apr 27 '25 05:04 Regilith

I got it working!

After testing on my system (CachyOS KDE kernel 6.14.5, AMD CPU / NVIDIA GPU) I have found that if your desktop environment is using X11, and you run Dota 2 in gamescope, the graphs show correctly.

Running Dota 2 on X11 without gamescope causes graphs to break.

Running Dota 2 on Wayland with or without gamescope causes graphs to break.

These are my launch settings for anyone who wishes to try this workaround:

LD_BIND_NOW=1 SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 game-performance gamescope -f -W 2560 -H 1600 -r 90 -- %command% -console -novid -nomap -noprewarm -gamestateintegration -vulkan_disable_steam_shader_cache -sdlaudiodriver pulseaudio

But you should only need this (change resolution and framerate to your specific monitor):

gamescope -f -W 1920 -H 1080 -r 60 -- %command%

You can use Meta+F to toggle fullscreen in gamemode, and you can change your resolution in Dota 2 afterward if gamescope does not respect your chosen resolution.

(using gamescope + X11 also raised my FPS from 90 to 140 lmao)

Image

Regilith avatar May 04 '25 06:05 Regilith

LD_BIND_NOW=1 SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 game-performance gamescope -f -W 2560 -H 1600 -r 90 -- %command% -console -novid -nomap -noprewarm -gamestateintegration -vulkan_disable_steam_shader_cache -sdlaudiodriver pulseaudio

But you should only need this (change resolution and framerate to your specific monitor):

gamescope -f -W 1920 -H 1080 -r 60 -- %command%

@Regilith thanks for posting. I've tried to use this workaround, but my Gamescope uses Xwayland instead of X11 and the graph bug persists. I've already spent several hours debugging it with ChatGPT.

My launch settings:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json gamescope -f -W 1920 -H 1080 -r 60 -- %command% -console -novid -sdlaudiodriver pulseaudio

I use the env var to force usage of a specific graphic card (I have a laptop with typical hybrid graphics).

Any idea what should I try?

eIGato avatar May 08 '25 23:05 eIGato

Will Gamescope work on a older card running the nvidia 470xx drivers?

I have noticed i can almost always reproduce the, seemingly random, Dota 2 freeze (which usually happens one time every hour or so, but sometimes after 2 min and other times not for 3 hours), if i just finished a game and the scoreboard/stats are loading; just after the MVP screen, the next screen with the hero animations is loading and it freezes right there usually with about 98% rate. This crash behavior didn't start till i got that weird graph error, so i'm thinking perhaps they are related and whatever fixes the graph might help some of my crashes?

I have 2-3 different crash messages in my logs, but Often it feels like it also freezes in the same way (task out, task manager kill task, relaunch dota2), when changing menu in the main menu sets, and/or when a lot of audio is going on, like people on the mic in addition to normal in-game sounds.

Dracosophy avatar May 11 '25 12:05 Dracosophy

@eIGato

If your gamescope is using XWayland that probably means your system is using Wayland instead of X11. I couldn't get it to work on Wayland. If you are using GNOME or KDE, you can logout and change your protocol to X11 in the login screen - if you aren't using either, you might need to run a different, X11-specific WM (like i3, xfce, etc.) when you play Dota.

I'm still experimenting on my end to try and get it to work on XWayland since Wayland runs way smoother on my machine, I'll update you if I get it working.

I have a hybrid laptop as well (nvidia+amd) with a MUX switch, and my workaround works on both hybrid mode and discrete gpu mode (nvidia only).

This is my current launch options:

/home/username/bin/dota2_launcher.sh %command%

And this is my dota2_launcher.sh file:

#!/bin/bash

# Set environment variables
export XKB_DEFAULT_OPTIONS=caps:ctrl_modifier
export LD_BIND_NOW=1
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
export OBS_VKCAPTURE=1

# Launch the game through gamescope
exec game-performance gamescope -H 1600 -W 2560 -o 30 -f --mangoapp --adaptive-sync -- "$@" -console -novid -nomap -noprewarm -gamestateintegration -vulkan_disable_steam_shader_cache -sdlaudiodriver pulseaudio

Regilith avatar May 20 '25 20:05 Regilith

@Dracosophy

Gamescope will probably work fine with X11 on older drivers, I know Wayland was borked until the most latest driver updates.

I was also having crashing issues a few months ago, I found that disabling Shader Pre-caching in Steam Settings > Downloads helped me with that, but I think that it was an Nvidia driver update that 100% fixed those issues for me.

Regilith avatar May 21 '25 00:05 Regilith

Solved on Linux as of 7.39

MisterrrX avatar May 23 '25 12:05 MisterrrX

on Mac also resolved. Finally this happy day come

usefree avatar May 23 '25 16:05 usefree

Closing per the last couple comments.

kisak-valve avatar Jul 05 '25 02:07 kisak-valve