You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attach screenshots for the result using a configuration file:
And another screenshot for the same configuration using MANGOHUD_CONFIG:
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
The text was updated successfully, but these errors were encountered:
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
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”
Result:
None of the configurations in the configuration file are applied
Package
Flatpak from Flathub
Distribution
Fedora 41
Debugging Information
Troubleshooting Logs
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:
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:
And another screenshot for the same configuration using MANGOHUD_CONFIG:
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
The text was updated successfully, but these errors were encountered: