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

[Bug]: MANGOHUD_CONFIGFILE and MANGOHUD_PRESETSFILE enviroment variables do not work #3751

Open
lorenzo0932 opened this issue Feb 11, 2025 · 0 comments

Comments

@lorenzo0932
Copy link

lorenzo0932 commented Feb 11, 2025

Describe the bug

Setting a path to the mangohud config file via one of two environment variables MANGOHUD_CONFIGFILE MANGOHUD_PRESETSFILE does not work.

The same configuration works instead by setting:

MANGOHUD_CONFIG=legacy_layout=false,background_alpha=0.4,round_corners=10,background_color=020202,font_size=24,text_color=FFFFFF,position=top-left,toggle_hud=Shift_R+F12,hud_compact,pci_dev=0:29:00.0,table_columns=3,gpu_text=GPU,gpu_stats,gpu_load_change,gpu_load_value=50+90,gpu_load_color=FFFFFF+FFAA7F+CC0000,gpu_voltage,throttling_status,gpu_core_clock,gpu_mem_clock,gpu_temp,gpu_mem_temp,gpu_junction_temp,gpu_fan,gpu_power,gpu_color=2E9762,cpu_text=CPU,cpu_stats,core_load,cpu_load_change,cpu_load_value=50+90,cpu_load_color=FFFFFF+FFAA7F+CC0000,cpu_mhz,cpu_temp,cpu_power,cpu_color=2E97CB,io_stats,io_read,io_write,swap,vram,vram_color=AD64C1,ram,ram_color=C26693,procmem,fps,fps_metrics=avg+0.01,engine_version,engine_color=EB5B5B,gpu_name,vulkan_driver,wine,wine_color=EB5B5B,frame_timing,frametime_color=00FF00,throttling_status_graph,fps_limit_method=early,toggle_fps_limit=Shift_L+F1,show_fps_limit,fps_limit=73+60+45+30,resolution,fsr,hdr,winesync,present_mode,refresh_rate,gamemode,vkbasalt,fps_color_change,fps_color=B22222+FDFD09+39F900,fps_value=30+60,vsync=1,version,media_player,media_player_color=FFFFFF,output_folder=/home/lorenzo,log_duration=30,autostart_log=0,log_interval=100,toggle_logging=Shift_L+F2

To Reproduce

  1. Open a bottle
  2. Go to settings
  3. Enable mangohud by activating the “Monitor Performance” option
  4. Go to the ambiene variables and add one of these:

MANGOHUD_CONFIGFILE="/home/lorenzo/.var/app/com.usebottles.bottles/config/MangoHud/presets.conf”

MANGOHUD_PRESETSFILE="/home/lorenzo/.var/app/com.usebottles.bottles/config/MangoHud/presets.conf”

MANGOHUD_CONFIGFILE="/home/lorenzo/.var/app/com.usebottles.bottles/data/bottles/runners/lutris-GE-Proton8-26-x86_64/bin/presets.conf”

MANGOHUD_PRESETSFILE="/home/lorenzo/.var/app/com.usebottles.bottles/data/bottles/runners/lutris-GE-Proton8-26-x86_64/bin/preset.conf”

  1. Exit settings and start a game/application

Result:
None of the configurations in the configuration file are applied

Package

Flatpak from Flathub

Distribution

Fedora 41

Debugging Information

Official Package: true
Version: '51.18'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.11-200.fc41.x86_64
Disk:
    Total: 16781987840
    Free: 16781815808
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 23.8GiB
Bottles_envs: null

Troubleshooting Logs

flatpak run com.usebottles.bottles
19:10:07 (INFO) Launching with URI: None 
19:10:07 (INFO) [Activate] request received. 
19:10:07 (INFO) Bottles Started! 
19:10:08 (INFO) Performing Bottles checks… 
19:10:08 (INFO) Steam path doesn't exist, creating now. 
19:10:08 (INFO) Dxvks found:
	 - dxvk-2.5.3
 
19:10:08 (INFO) Vkd3ds found:
	 - vkd3d-proton-2.11.1
	 - vkd3d-proton-2.12
	 - vkd3d-proton-2.13
	 - vkd3d-proton-2.14.1
 
19:10:08 (INFO) Nvapis found:
	 - dxvk-nvapi-v0.6.4
 
19:10:08 (INFO) Latencyflexs found:
	 - latencyflex-v0.1.1
 
19:10:08 (INFO) Runners found:
	 - soda-experimental_8.0
	 - soda-9.0-1
	 - soda-8.0-2
	 - lutris-GE-Proton8-26-x86_64
	 - ge-proton9-25
	 - ge-proton9-24
	 - sys-wine-9.0
 
19:10:08 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
19:10:08 (INFO) Bottles found:
	 - Giochi
	 - Epic Games
	 - Ubisoft Connect
 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 1493710, skipping… 
19:10:08 (INFO) Catalog dependencies loaded 
19:10:08 (INFO) Catalog installers loaded 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 2180100, skipping… 
19:10:08 (INFO) Catalog components loaded 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 2348590, skipping… 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 1493710, skipping… 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 2180100, skipping… 
19:10:08 (WARNING) A Steam prefix was found, but it is a Proton one: 2348590, skipping… 
19:10:12 (INFO) Setting Key sync=fsync for bottle Giochi… 
19:10:12 (INFO) There is no running wineserver. 
19:10:34 (INFO) Setting Key MANGOHUD_CONFIG=False for bottle Giochi… 
19:11:06 (INFO) Setting Key MANGOHUD_CONFIGFILE="/home/lorenzo/.var/app/com.usebottles.bottles/config/MangoHud/presets.conf" for bottle Giochi… 
19:11:35 (INFO) Launching an executable… 
19:11:35 (WARNING) Bottles runtime was requested but not found 
fsync: up and running.
0060:err:module:import_dll Library fwpkclnt.sys (which is needed by L"C:\\windows\\system32\\drivers\\idmwfp.sys") not found
0060:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\IDMWFP": c0000142
[2025-02-11 19:11:40.007] [MANGOHUD] [info] [blacklist.cpp:71] process 'explorer.exe' is blacklisted in MangoHud
info:  Game: launcher.exe
info:  DXVK: v2.5.3
info:  Build: x86_64 gcc 14.2.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffffc16dd90
info:  Built-in extension providers:
info:    Platform WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
00f8:err:openxr:get_vulkan_extensions Could not create key, status 0x2.
warn:  OpenXR: Unable to get required Vulkan instance extensions size
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
[2025-02-11 19:11:40.786] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'no_display' = '1'
[2025-02-11 19:11:40.786] [MANGOHUD] [debug] [logging.cpp:237] Logger constructed!
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1067] Ram:32777324
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1068] Cpu:AMD Ryzen 5 3600 6-Core Processor
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1069] Kernel:6.12.11-200.fc41.x86_64
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1070] Os:GNOME 47 (Flatpak runtime)
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1071] Driver:
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [overlay.cpp:1072] CPU Scheduler:powersave
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:507] hwmon: sensor name: nct6795
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:539] hwmon: using input: /sys/class/hwmon/hwmon4/temp13_input
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nct6795
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: amdgpu
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: nvme
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: hidpp_battery_0
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:632] hwmon: sensor name: zenergy
[2025-02-11 19:11:40.805] [MANGOHUD] [debug] [cpu.cpp:601] hwmon: using input: /sys/class/hwmon/hwmon3/energy7_input
00f8:err:openxr:get_vulkan_extensions Could not create key, status 0x2.
warn:  OpenXR: Unable to get required Vulkan Device extensions size
info:  D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:  AMD Radeon RX 6700 (RADV NAVI22):
info:    Driver : radv 24.3.4
info:    Memory Heap[0]: 
info:      Size: 16004 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 10224 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
info:  Process set as DPI aware
info:  Game: launcher.exe
info:  DXVK: v2.5.3
info:  Build: x86_64 gcc 14.2.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffffbe9dd90
info:  Built-in extension providers:
info:    Platform WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
00f8:err:openxr:get_vulkan_extensions Could not create key, status 0x2.
warn:  OpenXR: Unable to get required Vulkan instance extensions size
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
[2025-02-11 19:11:40.826] [MANGOHUD] [debug] [overlay_params.cpp:976] Param: 'no_display' = '1'
[2025-02-11 19:11:40.826] [MANGOHUD] [debug] [logging.cpp:237] Logger constructed!
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1067] Ram:32777324
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1068] Cpu:AMD Ryzen 5 3600 6-Core Processor
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1069] Kernel:6.12.11-200.fc41.x86_64
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1070] Os:GNOME 47 (Flatpak runtime)
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1071] Driver:
[2025-02-11 19:11:40.842] [MANGOHUD] [debug] [overlay.cpp:1072] CPU Scheduler:powersave
00f8:err:openxr:get_vulkan_extensions Could not create key, status 0x2.
warn:  OpenXR: Unable to get required Vulkan Device extensions size
info:  AMD Radeon RX 6700 (RADV NAVI22):
info:    Driver : radv 24.3.4
info:    Memory Heap[0]: 
info:      Size: 16004 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 10224 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
info:  D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_12_1
info:  D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Device properties:
info:    Device : AMD Radeon RX 6700 (RADV NAVI22)
info:    Driver : radv 24.3.4
info:  Enabled device extensions:
info:    VK_AMD_memory_overallocation_behavior
info:    VK_AMD_shader_fragment_mask
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_bias_control
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_line_rasterization
info:    VK_EXT_memory_priority
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_shader_stencil_export
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_external_memory_win32
info:    VK_KHR_external_semaphore_win32
info:    VK_KHR_maintenance5
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_KHR_win32_keyed_mutex
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 1
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 1
info:    logicOp                                : 1
info:    multiDrawIndirect                      : 1
info:    drawIndirectFirstInstance              : 1
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    wideLines                              : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 1
info:    shaderImageGatherExtended              : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 1
info:    shaderInt64                            : 1
info:    variableMultisampleRate                : 1
info:    shaderResourceResidency                : 1
info:    shaderResourceMinLod                   : 1
info:    sparseBinding                          : 1
info:    sparseResidencyBuffer                  : 1
info:    sparseResidencyImage2D                 : 1
info:    sparseResidencyImage3D                 : 1
info:    sparseResidency2Samples                : 0
info:    sparseResidency4Samples                : 0
info:    sparseResidency8Samples                : 0
info:    sparseResidency16Samples               : 0
info:    sparseResidencyAliased                 : 1
info:  Vulkan 1.1
info:    shaderDrawParameters                   : 1
info:  Vulkan 1.2
info:    samplerMirrorClampToEdge               : 1
info:    drawIndirectCount                      : 1
info:    samplerFilterMinmax                    : 1
info:    hostQueryReset                         : 1
info:    timelineSemaphore                      : 1
info:    bufferDeviceAddress                    : 0
info:    shaderOutputViewportIndex              : 1
info:    shaderOutputLayer                      : 1
info:    vulkanMemoryModel                      : 1
info:  Vulkan 1.3
info:    robustImageAccess                      : 0
info:    pipelineCreationCacheControl           : 1
info:    shaderDemoteToHelperInvocation         : 1
info:    shaderZeroInitializeWorkgroupMemory    : 0
info:    synchronization2                       : 1
info:    dynamicRendering                       : 1
info:  VK_AMD_shader_fragment_mask
info:    extension supported                    : 1
info:  VK_EXT_attachment_feedback_loop_layout
info:    attachmentFeedbackLoopLayout           : 0
info:  VK_EXT_conservative_rasterization
info:    extension supported                    : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_depth_bias_control
info:    depthBiasControl                       : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation                    : 0
info:    depthBiasExact                         : 1
info:  VK_EXT_extended_dynamic_state3
info:    extDynamicState3AlphaToCoverageEnable  : 1
info:    extDynamicState3DepthClipEnable        : 1
info:    extDynamicState3RasterizationSamples   : 1
info:    extDynamicState3SampleMask             : 1
info:    extDynamicState3LineRasterizationMode  : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 1
info:    fragmentShaderPixelInterlock           : 1
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 1
info:  VK_EXT_line_rasterization
info:    rectangularLines                       : 1
info:    smoothLines                            : 1
info:  VK_EXT_memory_budget
info:    extension supported                    : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 1
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 0
info:  VK_EXT_pageable_device_local_memory
info:    pageableDeviceLocalMemory              : 0
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
info:    extension supported                    : 1
info:  VK_EXT_swapchain_colorspace
info:    extension supported                    : 0
info:  VK_EXT_swapchain_maintenance1
info:    swapchainMaintenance1                  : 1
info:  VK_EXT_hdr_metadata
info:    extension supported                    : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 1
info:    geometryStreams                        : 1
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32
info:    extension supported                    : 1
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 1
info:  VK_KHR_maintenance5
info:    maintenance5                           : 1
info:  VK_KHR_present_id
info:    presentId                              : 1
info:  VK_KHR_present_wait
info:    presentWait                            : 1
info:  VK_NV_descriptor_pool_overallocation
info:    descriptorPoolOverallocation           : 0
info:  VK_NV_raw_access_chains
info:    shaderRawAccessChains                  : 0
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  VK_KHR_win32_keyed_mutex
info:    extension supported                    : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Sparse   : 2
[2025-02-11 19:11:40.853] [MANGOHUD] [debug] [vulkan.cpp:1859] gpu: AMD Radeon RX 6700 (RADV NAVI22)
[2025-02-11 19:11:40.854] [MANGOHUD] [debug] [overlay.cpp:874] drm path check: /sys/class/drm/card1
[2025-02-11 19:11:40.855] [MANGOHUD] [debug] [overlay.cpp:916] Using gpu_metrics of /sys/class/drm/card1/device/gpu_metrics
[2025-02-11 19:11:40.855] [MANGOHUD] [debug] [overlay.cpp:974] Uploading is disabled (permit_upload = 0)
info:  Memory type mask for sparse resources: 0x7ad
info:  Memory type mask for buffer resources: 0x7ad, usage: 0x19ff
info:  DXVK: Read 1 valid state cache entries
info:  DXVK: Graphics pipeline libraries supported
info:  DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  1024x640
info:    Image count:  4
[2025-02-11 19:11:41.175] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-02-11 19:11:41.194] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px
warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  0ec870a6-5d7e-4c22-8cfc-5baae07616ed
warn:  DXGI: MakeWindowAssociation: Ignoring flags
info:  AMD Radeon RX 6700 (RADV NAVI22):
info:    Driver : radv 24.3.4
info:    Memory Heap[0]: 
info:      Size: 16004 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 10224 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
info:  AMD Radeon RX 6700 (RADV NAVI22):
info:    Driver : radv 24.3.4
info:    Memory Heap[0]: 
info:      Size: 16004 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 10224 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
info:  DXVK: Using 12 compiler threads
warn:  D3D11Texture2D::QueryInterface: Unknown interface query
warn:  f8fb5c27-c6b3-4f75-a4c8-439af2ef564c
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_FIFO_KHR (dynamic: yes)
info:    Buffer size:  1024x640
info:    Image count:  4
[2025-02-11 19:11:41.306] [MANGOHUD] [debug] [vulkan.cpp:1546] Present mode: FIFO
[2025-02-11 19:11:41.309] [MANGOHUD] [debug] [vulkan.cpp:720] Recreating font image
[2025-02-11 19:11:41.328] [MANGOHUD] [debug] [vulkan.cpp:739] Default font tex size: 1024x2048px

Additional context

I installed the correct version of mangohud i.e. the:
MangoHud freedesktop.Platform.VulkanLayer.MangoHud 0.7.2 24.08

I verified that with heroic launcher the problem does not arise (but heroic uses runtime version 23.08).

I used flatseal to give all possible permissions to the filesystem to avoid the classic flatpak sandbox problems:

Image

I attach the configuration file I used (extension renamed because github don't like .conf files):

presets.conf.txt

I attach screenshots for the result using a configuration file:

Image

And another screenshot for the same configuration using MANGOHUD_CONFIG:

Image

UPDATE1:
I tried to test the operation inside PPSSPP which uses the same runtime for mangohud and it works correctly
I have also tried launching from terminal directly the app bottles with mangohud environment variables and the app always crashes:
flatpak run --env=MANGOHUD=1 --env=MANGOHUD_LOG_LEVEL=debug --env=MANGOHUD_CONFIGFILE="/home/lorenzo/.var/app/com.usebottles.bottles/config/MangoHud/presets.conf" com.usebottles.bottles

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

1 participant