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

A lot of information missing in MangoHud #1485

Open
ecabott opened this issue Nov 20, 2024 · 26 comments
Open

A lot of information missing in MangoHud #1485

ecabott opened this issue Nov 20, 2024 · 26 comments

Comments

@ecabott
Copy link

ecabott commented Nov 20, 2024

A lot of information is missing and is shown as 0 in mangohud.

  • Linux Distribution: Arch Linux
  • MangoHud version: v0.7.1
  • GPU: Nvidia GeForce GTX 1650 (Laptop)

Both steam and mangohud is installed from the default archlinux repository. MangoHud is enabled in the game through launch options in steam.

Screenshot From 2024-11-20 22-13-39

@ecabott
Copy link
Author

ecabott commented Nov 20, 2024

pacman shows mangohud-0.7.2-2 but mangohud --version shows v0.7.1

@17314642
Copy link
Contributor

17314642 commented Nov 20, 2024

  1. Launch steam in terminal with steam 2>&1 | tee steam.log
  2. Edit your launch options to MANGOHUD_LOG_LEVEL=debug MANGOHUD=1 %command%
  3. Launch CS2, load into main menu and close the game
  4. Close steam to fully flush log contents to text file
  5. Send steam.log

@17314642
Copy link
Contributor

You sure you did everything correctly? There is only 3 lines in this text file.

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

Yes, its just

steam.sh[89410]: Running Steam on arch rolling 64-bit
steam.sh[89410]: STEAM_RUNTIME is enabled automatically
setup.sh[89458]: Steam runtime environment up-to-date!

First time i forgot to put the launch options but now even with the launch options its just this.

@17314642
Copy link
Contributor

So when you run steam in terminal, you get only these 3 lines and steam launches correctly?

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

yeah

@17314642
Copy link
Contributor

Could you try then setting launch options to MANGOHUD_LOG_LEVEL=debug MANGOHUD=1 %command% &> /home/YOUR_USERNAME/Desktop/game.log?

I don't know if this will work, I'll try to test it myself in a few minutes.

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

Only running steam in terminal gives a lot of output but the one above steam 2>&1 | tee steam.log gives only those three lines.

@17314642
Copy link
Contributor

17314642 commented Nov 24, 2024

Okay, weird. I guess you'll just have to run steam in terminal and then copy it from terminal, without any logging to text file. It's just faster this way.

So to recap:

  1. launch steam in terminal
  2. launch options to MANGOHUD_LOG_LEVEL=debug MANGOHUD=1 %command%
  3. Launch CS2, load into main menu and close the game
  4. Send the output, you can choose only text that's related to mangohud, no need to send all of the output.

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

check this
game.log

@17314642
Copy link
Contributor

check this game.log

Ok, that will do.

@17314642
Copy link
Contributor

17314642 commented Nov 24, 2024

CPU frequency, what does cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq output?
RAM, what does cat /proc/meminfo output?

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
800117

cat /proc/meminfo

MemTotal:       16243476 kB
MemFree:         6634140 kB
MemAvailable:   11905096 kB
Buffers:              28 kB
Cached:          6293832 kB
SwapCached:         2824 kB
Active:          4838000 kB
Inactive:        3058948 kB
Active(anon):    2354276 kB
Inactive(anon):   186352 kB
Active(file):    2483724 kB
Inactive(file):  2872596 kB
Unevictable:      520876 kB
Mlocked:             200 kB
SwapTotal:       4194300 kB
SwapFree:        2052920 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:               404 kB
Writeback:             0 kB
AnonPages:       2063404 kB
Mapped:           920732 kB
Shmem:            937540 kB
KReclaimable:     275832 kB
Slab:             480140 kB
SReclaimable:     275832 kB
SUnreclaim:       204308 kB
KernelStack:       20560 kB
PageTables:        43568 kB
SecPageTables:      2056 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    12316036 kB
Committed_AS:   15439804 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      105744 kB
VmallocChunk:          0 kB
Percpu:             5728 kB
HardwareCorrupted:     0 kB
AnonHugePages:    442368 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:    409600 kB
FilePmdMapped:    374784 kB
CmaTotal:              0 kB
CmaFree:               0 kB
Unaccepted:            0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:    14652924 kB
DirectMap2M:     1992704 kB
DirectMap1G:           0 kB

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

Is libxnvctrl package installed?

Not installed

@17314642
Copy link
Contributor

17314642 commented Nov 24, 2024

Well, I don't know why cpu frequency is 0 because you have the file and it's showing frequency correctly there. Same thing for the RAM.

For GPU you could try installing libxnvctrl and see if temperature and frequency starts working.

IMO, only debugging on your pc will help :). Sorry couldn't help much.

@17314642
Copy link
Contributor

Also, can you try mangohud vkcube, does it also not work there?

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

Also, can you try mangohud vkcube, does it also not work there?

there is no vkcube, but its the same in other games too

@17314642
Copy link
Contributor

To install vkcube: pacman -S vulkan-tools

What I'm trying to understand is if steam might be causing this, because it launches games in a container.

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

image

@17314642
Copy link
Contributor

well, it works

@17314642
Copy link
Contributor

It means it's somehow related to steam

@ecabott
Copy link
Author

ecabott commented Nov 24, 2024

In fedora it used to work.

@17314642
Copy link
Contributor

I actually don't know what to suggest right now, need time to think. But I'm glad we got, at least, to find out the cause.

@flightlessmango
Copy link
Owner

you're not using flatpak steam or something?

@17314642
Copy link
Contributor

17314642 commented Nov 24, 2024

Wouldn't his game be empty then? With no overlay?

Even if he was using flatpak, why no ram and frequency? I don't think steam runtime is that restrictive that you can't even read /proc/meminfo

@ecabott
Copy link
Author

ecabott commented Nov 25, 2024

you're not using flatpak steam or something?

It's not flatpak.

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