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

"Distro info" shows Errors ingame but not in g0verlay #1527

Closed
graygrotesque opened this issue Jan 6, 2025 · 7 comments
Closed

"Distro info" shows Errors ingame but not in g0verlay #1527

graygrotesque opened this issue Jan 6, 2025 · 7 comments

Comments

@graygrotesque
Copy link

MangoHUD displays errors regarding the distro information in-game, where it would typically show the distribution and kernel details. In the cube test window from gOverlay, this information is displayed correctly, but every game I try results in these errors.

List relevant hardware/software information

  • Arch Linux, latest kernel
  • tested with official repos and git versions, deleted old config every time
  • GPU Radeon 6700 XT

Screenshots
This is how it should look like (and is displayed correctly in g0verlay)
image

This is how it looks in every game
image

@flightlessmango
Copy link
Owner

You can't access the full filesystem from the steam runtime container

@graygrotesque
Copy link
Author

Ah, thank you. Was that a recent change? Because it has worked before, on the same system.

@flightlessmango
Copy link
Owner

No it's not a recent change. This only applies to games run in proton. Native games should still be able to reach the full filesystem

@graygrotesque
Copy link
Author

Mh, this is strange. I have used it in "Dying Light 2" and "Cyberpunk 2077" with steam and "Diablo 3 & 4" with Lutris before, including distro info. All of them always required Proton.
I have just installed a native game for testing (7 days to die) and it shows no hud at all. :D

@flightlessmango
Copy link
Owner

Sorry I should have been more clear. This case is only when using proton in steam. Lutris does not use the steam runtime

@graygrotesque
Copy link
Author

graygrotesque commented Jan 7, 2025

Lutris has been using the Steam Proton (and Proton-GE) version for some time now, which might explain why it also no longer works there. On a different note, is it possible to enable Steam to access information such as the kernel version so that it displays correctly in Mangohud when using Steam and Proton?

@17314642
Copy link
Contributor

17314642 commented Jan 7, 2025

steam launches games inside container called steam runtime, so you can only use binaries that steam runtime offers.

you can enter that container and see what it offers for yourself like this:

sudo nsenter -t GAME_PROCESS_ID --mount --uts --ipc --net --pid --cgroup /bin/bash

@graygrotesque mangohud doesnt have kernel option, but you can use exec like this:

custom_text="Kernel version"
exec=uname -r

image

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