Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mangoapp under Nested Gamescope doesn't recognize Nvidia GPU and does not report any statistics. No issues when not using Gamescope. #1505

Open
SimpleHeuristics opened this issue Dec 12, 2024 · 4 comments

Comments

@SimpleHeuristics
Copy link

Describe the bug
Running steam under nested Gamescope with WSI enabled within KDE for HDR games.

Using --mangoapp in the launch commands shows mangohud but no GPU usage, temperature, frequencies or VRAM use is shown.

Nvidia RTX 4090 with 565.77

Works when I launch games without Gamescope just from KDE desktop with mangohud.

List relevant hardware/software information

  • Bazzite 41 December build
  • Not sure which version of mangohud or mangoapp.
  • RTX 4090 with 565.77 drivers
@flightlessmango
Copy link
Owner

What mangohud/mangoapp version?

@SimpleHeuristics
Copy link
Author

How can I find out? It is pre installed with Bazzite which I believe tracks the latest version here.

@CheesyRamen66
Copy link

CheesyRamen66 commented Dec 13, 2024

I have this issue with 0.7.2-2.1. I've attached an example of mangohud's debug with glxgears.
❯ MANGOHUD_LOG_LEVEL=debug mangohud glxgears
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/matthieu/.config/MangoHud/glxgears.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/matthieu/.config/MangoHud/MangoHud.conf'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:1032] Failed to read presets file: '/home/matthieu/.config/MangoHud/presets.conf'. Falling back to default presets
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/matthieu/.config/MangoHud/glxgears.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/matthieu/.config/MangoHud/MangoHud.conf'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'gpu_stats' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'vram' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'cpu_stats' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'fps' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'frametime' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'throttling_status' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'frame_timing' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'text_outline' = '1'
[2024-12-13 12:45:57.719] [MANGOHUD] [debug] [logging.cpp:237] Logger constructed!
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1067] Ram:32593352
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1068] Cpu:13th Gen Intel Core i9-13900K
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1069] Kernel:6.12.4-1-cachyos-bore-lto
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1070] Os:CachyOS
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1071] Driver:
[2024-12-13 12:45:57.726] [MANGOHUD] [debug] [overlay.cpp:1072] CPU Scheduler:powersave
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:507] hwmon: sensor name: coretemp
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:539] hwmon: using input: /sys/class/hwmon/hwmon8/temp1_input
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: coretemp
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: asus
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nct6798
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: acpitz
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: iwlwifi_1
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: apple_mfi_fastcharge
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: asus
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name: core
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name:
[2024-12-13 12:45:57.727] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name: package-0
[2024-12-13 12:45:57.728] [MANGOHUD] [debug] [gl_hud.cpp:132] vendor: NVIDIA Corporation, deviceName: NVIDIA GeForce RTX 4090/PCIe/SSE2
[2024-12-13 12:45:57.728] [MANGOHUD] [debug] [gl_hud.cpp:154] GL device id: 0000
[2024-12-13 12:45:57.740] [MANGOHUD] [debug] [overlay.cpp:974] Uploading is disabled (permit_upload = 0)
[2024-12-13 12:45:57.740] [MANGOHUD] [debug] [gl_hud.cpp:157] gpu: NVIDIA GeForce RTX 4090/PCIe/SSE2
[2024-12-13 12:45:57.740] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
[2024-12-13 12:45:57.756] [MANGOHUD] [debug] [inject_glx.cpp:115] GL ref count: 1
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
[2024-12-13 12:45:57.758] [MANGOHUD] [debug] [gl_renderer.cpp:296] glsl_version: 410
[2024-12-13 12:45:57.762] [MANGOHUD] [error] [nvctrl.cpp:56] XNVCtrl didn't find the correct display
303 frames in 5.0 seconds = 60.545 FPS
300 frames in 5.0 seconds = 59.971 FPS
^C⏎
~ 14s
❯ MANGOHUD_LOG_LEVEL=debug gamescope --mangoapp -- glxgears
[gamescope] [Info] console: gamescope version 3.15.14 (gcc 14.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info] vulkan: selecting physical device 'NVIDIA GeForce RTX 4090': queue family 2 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] xdg_backend: Seat name: seat0
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: XB30 (0x30334258)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
[gamescope] [Info] wlserver: Using explicit sync when available
[gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info] wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :1
[gamescope] [Info] pipewire: stream state changed: connecting
[gamescope] [Info] pipewire: stream state changed: paused
[gamescope] [Info] pipewire: stream available on node ID: 82
[gamescope] [Info] xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info] vblank: Using timerfd.
[gamescope] [Error] xdg_backend: Failed to map keymap fd.
[gamescope] [Info] xdg_backend: PreferredMetadata: Red: 0.64 0.33, Green: 0.3 0.6, Blue: 0.15 0.06, White: 0.3127 0.329, Max Luminance: 200 nits, Min Luminance: 0.05 nits, Max Full Frame Luminance: 200 nits
[gamescope] [Info] edid: Patching res 800x1280 -> 1280x720
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Unsupported maximum keycode 708, clipping.
X11 cannot support keycodes above 255.
Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou
Warning: Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
[gamescope] [Warn] xwm: got the same buffer committed twice, ignoring.
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/matthieu/.config/MangoHud/mangoapp.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/matthieu/.config/MangoHud/MangoHud.conf'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:1032] Failed to read presets file: '/home/matthieu/.config/MangoHud/presets.conf'. Falling back to default presets
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/usr/bin/MangoHud.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/home/matthieu/.config/MangoHud/mangoapp.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:117] skipping config: '/etc/MangoHud.conf' [ not found ]
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [config.cpp:122] parsing config: '/home/matthieu/.config/MangoHud/MangoHud.conf'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'gpu_stats' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'vram' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'cpu_stats' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'fps' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'frametime' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'throttling_status' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'frame_timing' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'text_outline' = '1'
[2024-12-13 12:46:38.777] [MANGOHUD] [debug] [logging.cpp:237] Logger constructed!
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:507] hwmon: sensor name: coretemp
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:539] hwmon: using input: /sys/class/hwmon/hwmon8/temp1_input
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: coretemp
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: asus
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nct6798
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: acpitz
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: iwlwifi_1
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: apple_mfi_fastcharge
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: asus
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name: core
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name:
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [cpu.cpp:653] powercap: name: package-0
[2024-12-13 12:46:38.791] [MANGOHUD] [debug] [overlay.cpp:974] Uploading is disabled (permit_upload = 0)
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1067] Ram:32593352
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1068] Cpu:13th Gen Intel Core i9-13900K
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1069] Kernel:6.12.4-1-cachyos-bore-lto
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1070] Os:CachyOS
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1071] Driver:
[2024-12-13 12:46:38.800] [MANGOHUD] [debug] [overlay.cpp:1072] CPU Scheduler:powersave
304 frames in 5.0 seconds = 60.596 FPS
297 frames in 5.0 seconds = 59.384 FPS
[gamescope] [Info] launch: Primary child shut down!
[gamescopereaper] [Info] reaper: Parent of gamescopereaper was killed. Killing children.
(EE) failed to read Wayland events: Broken pipe

~ 10s

@flightlessmango
Copy link
Owner

I believe this has been fixed in master already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants