Fix RAM type not showing on FPS counter in Linux - #1041
Conversation
- Hello there! If you know me, i am Stefan2008 (aka. ACoolioDude) and i decided to fix RAM type on Linux by telling engine to execute pkexec and fixed code (not using AI at all!) and fixed byte thing because it caused to simply give different bytes and not giving actual system RAM value, so hope this gets merged!
|
If you have any questions, ask! |
|
Hm, I'm not exactly sure. Perhaps this can be opt-in through a define? I personally really don't want to run anything in Codename with root privileges on my own PC, nor do I think we need to introduce any dependency on Polkit. |
Hi there. Unfortunately there is no other way to get this working, but it is what it is. I tried my best |
This should at the very least be possible, it's possible to run rootless $ inxi --ms
Memory:
System RAM: total: 32 GiB available: 31.26 GiB used: 11.19 GiB (35.8%)
Report: arrays: 1 capacity: 64 GiB installed: 32 GiB slots: 4 active: 2
type: DDR4 eec: None |
I think i should see to get that working |
|
Do not merge this yet! I am currently busy and i will try to get rootless method working |
Hello there! If you know me, i am Stefan2008 (aka. ACoolioDude) and i decided to fix RAM type on Linux by telling engine to execute pkexec (you need to have policy polkit rule and any polkit package in your distro in order to get this working otherwise engine will ignore if you don't have polkit installed and now show total RAM text in framerate) and fixed code (not using AI at all!) and fixed byte thing because it caused to simply give different bytes and not giving actual system RAM value, so hope this gets merged!
Example of polkit pop-up when you open game
2026-08-01.18-51-58.mp4