flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.13k stars 262 forks source link

MangoHud causes freezes on wayland + nvidia #1324

Closed BeauTaapken closed 2 months ago

BeauTaapken commented 2 months ago

Describe the bug When i start a game on steam with mangohud %command% in the launch options, it freezes the game on a black screen and a partially rendered but also frozen mangohud

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Add mangohud %command% to any steam games launch options
  2. start the game
  3. Observe the freeze of the game (black screen with a partially rendered mangohud

Expected behavior The game launches properly and shows mangohud as well, without freezing

Additional context My MangoHud.conf:

cpu_temp
gpu_temp
gpu_core_clock
gpu_mem_clock
cpu_mhz
# gamemode
round_corners=10
ram
vram
frame_timing=0
cpu_load_change
gpu_load_change
device_battery=gamepad
device_battery_icon
fps_limit=165
gpu_power
procmem

I also use gamemoderun and some other launch options, but even when removing them, the issue still happens.

The issue does not occur when running mangohud glxgears in the terminal, but i do get an error: [MANGOHUD] [error] [nvctrl.cpp:56] XNVCtrl didn't find the correct display

flightlessmango commented 2 months ago

Is it one specific game where it happens?

flightlessmango commented 2 months ago

This appears to be the same issue as #1314. Move discussion over there