Skip to content

Fix RAM type not showing on FPS counter in Linux - #1041

Open
ACoolioDude wants to merge 1 commit into
CodenameCrew:mainfrom
ACoolioDude:main
Open

Fix RAM type not showing on FPS counter in Linux#1041
ACoolioDude wants to merge 1 commit into
CodenameCrew:mainfrom
ACoolioDude:main

Conversation

@ACoolioDude

@ACoolioDude ACoolioDude commented Aug 1, 2026

Copy link
Copy Markdown
  • 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

Screenshot_2026-08-01_18:43:54
  • Example of preview in-game
Screenshot_2026-08-01_16:06:02
  • Example of ignoring pop-up and not crashing engine which hides Total MEM info from framerate interface
2026-08-01.18-51-58.mp4

- 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!
@ACoolioDude

Copy link
Copy Markdown
Author

If you have any questions, ask!

@ACoolioDude ACoolioDude changed the title Fix RAM type on Linux Fix RAM type showing on FPS counter in Linux Aug 1, 2026
@ACoolioDude ACoolioDude changed the title Fix RAM type showing on FPS counter in Linux Fix RAM type not showing on FPS counter in Linux Aug 1, 2026
@r6915ee

r6915ee commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

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.

@ACoolioDude

Copy link
Copy Markdown
Author

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

@r6915ee

r6915ee commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

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 and get the device type from there:

$ 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

@ACoolioDude

Copy link
Copy Markdown
Author

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 and get the device type from there:

$ 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

@ACoolioDude

Copy link
Copy Markdown
Author

Do not merge this yet! I am currently busy and i will try to get rootless method working

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

Successfully merging this pull request may close these issues.

2 participants