MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Quake 3 broken font - symbols instead of letters

Open ruthan opened this issue 1 month ago • 19 comments

Hi, i have tried a lots of settings with vanilla Steam Quake 3 (Wine), its game running virtually on everything, problem is that OSD is broken, at game starts its for the moment OSD fine, but once menu is loaded.. font gets broken.

I have tried diferent fonts and font sizes, also different game starting parameters LD_Preload, dsym etc, but i wasnt able to find working combination. This simple settings is able to show OSD: mangohud --dlsym %command% +set r_mode -1 +set r_customwidth 1600 +set r_customheight 900 +set r_fullscreen 0 // pat after %command% its not necessary its just widescreen display fix.

See picture - its in right bottom corner: Image

MX Linux newest, Radeon 3470/4350/7350/7750 with radeon driver and 7750 with amggpu driver its the same. MangoHUD - packaged version 0.6, later version is impossible to install not met dependencies.

Config:

#Legacy layout for Quake 3
#no_display 0
#gpu_stats 0
#cpu_stats 0
legacy_layout=1
#no_fps_limit
gl_vsync=0
#vulkan_layer=0
#opengl_layer=1
#legacy_layout=true
# for Q3
fps_limit=60
toggle_fps_limit=F4
gpu_temp
gpu_text=GPU
cpu_power
cpu_color=2e97cb
cpu_text=CPU
io_stats
io_read
io_write
io_color=a491d3
vram_color=ad64c1
ram
ram_color=c26693
fps
engine_color=eb5b5b
gpu_name
gpu_color=2e9762
wine
wine_color=eb5b5b
frame_timing=0
frametime_color=00ff00
media_player_color=ffffff
table_columns=3
background_alpha=0.4
#Quake 16 for quake 3, default was 24
font_size=12
#font_size=24
font_file=/home/ruthan/.config/goverlay/fonts/DejaVuSans.ttf
background_color=020202
position=bottom-right
text_color=ffffff
round_corners=0
#GOVERLAY_THEME=mangohuddefault
toggle_hud=Shift_R+F12
toggle_logging=Shift_L+F2
upload_log=F5
output_folder=/home/ruthan
media_player_name=spotify

ruthan avatar Nov 25 '25 17:11 ruthan

MangoHUD - packaged version 0.6 font gets broken.

Yeah this is an old bug that's recently been fixed, nothing we can do about it on 0.6

flightlessmango avatar Nov 26 '25 00:11 flightlessmango

later version is impossible to install not met dependencies

Even with the pre-compiled release package? What distro and version are you on?

flightlessmango avatar Nov 26 '25 00:11 flightlessmango

Im using newest MX Linux, but its based on Debian 12, in repositories is 0.6.8.2 for ages.

I have tried download newest MangoHud packages from deb repository - https://packages.debian.org/sid/mangohud , but every newer version give me unmet dependencies, it require multiple much higher version of packages, because package is compiled newer version of Debian..

I wonder if compile it from source, would it be the same, or this somehow lower dependencies? Or its possible to lower dependencies requirements?

I multiple times build Mangohud from source, but it could take hours because i usually met some unlisted missing depedency or some other issue which is not mention in tutorials.


There dependencies:

_Note, selecting 'mangohud' instead of '/home/ruthan/Desktop/mangohud_0.7.2-2_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mangohud : Depends: libc6 (>= 2.38) but 2.36-9+deb12u13 is to be installed
            Depends: libfmt10 (>= 10.1.1+ds1) but it is not installable
            Depends: libspdlog1.15-fmt10 but it is not installable
E: Unable to correct problems, you have held broken packages._

Note, selecting 'mangohud' instead of '/home/ruthan/Desktop/mangohud_0.8.1-3_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 mangohud : Depends: libc6 (>= 2.38) but 2.36-9+deb12u13 is to be installed
            Depends: libfmt10 (>= 10.1.1+ds1) but it is not installable
            Depends: libspdlog1.15-fmt10 but it is not installable
E: Unable to correct problems, you have held broken packages.

Simply provide some *.deb on web, would really improve user experience, they would be enough automatically build for every release with once some auto build script is done. Lots of distros is probably stuck with Debian 12, Linux Mint, maybe still Ubuntu etc.

ruthan avatar Nov 26 '25 16:11 ruthan

Uninstall the apt package, download the latest pre compiled binary, namely MangoHud-0.8.2.rc2.r0.g8c940d5.tar.gz. Then unpack it and run ./mangohud-setup.sh install See if that works

flightlessmango avatar Nov 26 '25 17:11 flightlessmango

I have tried it, but it constantly prints this message: Failed to load from "/usr/lib/mangohud/lib64/libMangoHud_opengl.so": /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38

ruthan avatar Nov 28 '25 18:11 ruthan

mangohud compiles fine on debian 12.

sudo apt install git wget unzip
git clone https://github.com/flightlessmango/MangoHud
cd MangoHud
./build.sh build install

press yes if he wants to install packages. build.sh should take care of all dependencies

flightlessmango avatar Nov 28 '25 18:11 flightlessmango

Thanks, its working, it seems that script were improved, in the past i met some dependency problem, now it run smootly? Does this install 32 bit version too?

Im always confused would this install i386 version too? Because the most of my Wine games are i386 ones..

To be honest i dont understand why its not working with deb and working with compiling, isnt depencies set to high, why any real reasons?

ruthan avatar Nov 28 '25 18:11 ruthan

The script installs 64 and 32bit. The deb is of a very old mangohud version and compiled version has fixes specifically for opengl

flightlessmango avatar Nov 28 '25 19:11 flightlessmango

Ok, could be deb in repositories somehow upgraded too?

Otherwise its not fixed, OSD is still broken after Quake menu loads, see right bottom corner:

Image

ruthan avatar Nov 28 '25 19:11 ruthan

make sure you uninstall the deb version

flightlessmango avatar Nov 28 '25 19:11 flightlessmango

Its gone.. _$ mangohud --version v0.8.2-1-g6c2a0c8

$ mangohud glxgears ATTENTION: default value of option vblank_mode overridden by environment. [2025-11-28 20:16:33.030] [MANGOHUD] [error] [overlay_params.cpp:739] Unknown option 'io_stats' [2025-11-28 20:16:33.033] [MANGOHUD] [info] [gpu.cpp:89] Set renderD128 as active GPU (driver=amdgpu id=1002:683f pci_dev=0000:01:00.0) 18557 frames in 5.0 seconds = 3711.249 FPS 18574 frames in 5.0 seconds = 3714.714 FPS 18608 frames in 5.0 seconds = 3721.598 FPS 18417 frames in 5.0 seconds = 3683.227 FPS 18359 frames in 5.0 seconds = 3671.710 FPS_

Otherwise there also problem with some disk traffic monitoring, maybe is problem that i still have the old config:

################### File Generated by GOverlay ###################
#fps_limit=144
toggle_fps_limit=F4


legacy_layout=false
pci_dev=0:01:00.0
custom_text=GPU usage:
#exec=radeontop -d - -l 1 | grep -oP 'gpu \K\d+' | awk '{print $1 "%"}'
#exec=amdgpu_top -n 1 --json | jq -r '.devices[0]."Total fdinfo".GFX.value // 0 | tostring + "%"'
#exec=/home/ruthan/.steam/root/bin/gpu_usage-ForMangoHud.sh
#exec=~/.steam/root/bin/amdgpu_top -n 1 --json | ~/.steam/root/bin/jq -r '.devices[0]."Total fdinfo".GFX.value // 0 | tostring + "%"'
exec=~/mangohud_gpu.sh
gpu_stats
gpu_temp
gpu_load_change
gpu_load_value=50,90
gpu_load_color=FFFFFF,FFAA7F,CC0000
gpu_text=GPU
cpu_stats
cpu_temp
cpu_load_change
core_load_change
cpu_load_value=50,90
cpu_load_color=FFFFFF,FFAA7F,CC0000
cpu_color=2e97cb
cpu_text=CPU
io_stats
io_read
io_write
io_color=a491d3
vram_color=ad64c1
ram
ram_color=c26693
procmem
procmem_shared
procmem_virt
fps
engine_color=eb5b5b
gpu_color=2e9762
wine_color=eb5b5b
frame_timing=0
frametime_color=00ff00
media_player
media_player_color=ffffff
table_columns=3
background_alpha=0.4
font_size=18
font_file=/home/ruthan/.config/goverlay/fonts/DejaVuSans.ttf
background_color=020202
position=bottom-right
text_color=ffffff
round_corners=0
#GOVERLAY_THEME=mangohuddefault
toggle_hud=Shift_R+F12
toggle_logging=Shift_L+F2
upload_log=F5
output_folder=/home/ruthan
media_player_name=audacious

I guess you probably dont own Steam version of Quake 3 to test it? Its worth of every penny just for offline fun..

ruthan avatar Nov 28 '25 19:11 ruthan

The hud looks fine on my end with q3 and ioquake. Maybe try without font_file?

flightlessmango avatar Dec 01 '25 10:12 flightlessmango

I will test it, there is not any info that font file is optiomal, not mandatory - in Goverlay, but im testing it vanilla not ioquake, Steam version runing through Proton.

Ioquake is cheating :), its modern engine remake very Linux centric, im sure that it would run fine.. Im trying to make version old Quake based proton games monitoring working, if could run fine with Afterburner on Windows 11, it should be able to run on Linux too..

ruthan avatar Dec 01 '25 17:12 ruthan

@ruthan can you retry with latest git?

andrew-2e128 avatar Dec 07 '25 15:12 andrew-2e128

@andrew-2e128 I need a bit help how to do it.. I mean i not fluent with this, i would need same address to clone, compilation and installing would be the same, i hope.. Maybe even clocking but im not sure, maybe some other branch.. So its this ok? Would it replace old version, or i need to do also some uninstalling?

sudo apt install git wget unzip
git clone https://github.com/flightlessmango/MangoHud
cd MangoHud
./build.sh build install 

ruthan avatar Dec 07 '25 16:12 ruthan

@ruthan if you still have the same git repo:

cd MangoHud
git pull
./build.sh build install

or if you deleted the MangoHud directory the commands you have above are correct, but you don't need to do the first one if you have done it before

it should replace the old version

andrew-2e128 avatar Dec 07 '25 17:12 andrew-2e128

Great its finally working, i have tried years fiddle with mangohud variables and LD preload parameters, its working with my old /previously tested basic settings: mangohud --dlsym %command% these addiitonal variables are just for widescreen, game does not support lots of modern resolutions.. mangohud --dlsym %command% +set r_mode -1 +set r_customwidth 1600 +set r_customheight 900 +set r_fullscreen 0

Image

Otherwise GPU usage is 0% because its run through exec, but again it seems to work only with native non Proton games, glxgears etc. Because of Windows 2000 - to Windows 7 multiboot, best GPU which i can get is Radeon HD 75xx - 7990, those are first gpus with amdgpu support, but kernel never implemented getting gpu usage for these cards.. but its possible to get it through amdgputop compiled on such machines there its GFX usage total in % in some json which its returning, its not in basic usage output, some people are using radeontop, which is working with even much older Radeon cards, but its not gpu usage, but some pipeline utilization metric in % still better than nothing.

I reported bug here: https://github.com/flightlessmango/MangoHud/issues/1844

Otherwise On Allkeyshop is Steam Quake 3 key for 5 bucks - https://www.allkeyshop.com/blog/buy-quake-3-arena-cd-key-compare-prices/ , i will donate it to you if you want.. I only would need some contact to send it, github has not personal messages.

ruthan avatar Dec 07 '25 22:12 ruthan

if you need to contact the developer directly there is a discord server linked in the "About" section, if I understand you correctly, this issue is now resolved?

andrew-2e128 avatar Dec 09 '25 20:12 andrew-2e128

I have problem with my Discord account, it got hacked, because some other side data breach.. and its worst support what i saw, i offered to even get personally to their office.. I recovered all my accounts, except Discord. Yes i can create new account, but im trying to stay away of it, after such bad experience.

ruthan avatar Dec 09 '25 20:12 ruthan