Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu
| `procmem`<br>`procmem_shared`, `procmem_virt`| Displays process' memory usage: resident, shared and/or virtual. `procmem` (resident) also toggles others off if disabled |
| `proc_vram` | Display process' VRAM usage |
| `ram`<br>`vram` | Display system RAM/VRAM usage |
| `ram_temp` | Display RAM temperature (only supports DDR5 with `spd5118` driver) |
| `ram_temp` | Display RAM temperature (only supports `jc42` (DDR4) or `spd5118` (DDR5) drivers) |
| `read_cfg` | Add to MANGOHUD_CONFIG as first parameter to also load config file. Otherwise only `MANGOHUD_CONFIG` parameters are used |
| `reload_cfg=` | Change keybind for reloading the config. Default = `Shift_L+F4` |
| `resolution` | Display the current resolution |
Expand Down Expand Up @@ -686,7 +686,7 @@ Example output:
#### Intel notes
- GPU temperature for `i915` requires **linux 6.13+**
- Fan speed for `i915` requires **linux 6.12+**
- GPU temperature and vram temperature for `xe` requires **linux 6.15+**
- GPU temperature and vram temperature for `xe` requires **linux 6.15+**
- Fan speed for `xe` requires **linux 6.16+**
- GPU usage and memory usage shows usage of current process, not total system usage (it's an issue on intel's side)
- https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14153
Expand Down
3 changes: 2 additions & 1 deletion src/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void update_mem_temp() {
std::string path = "/sys/class/hwmon/";
auto dirs = ls(path.c_str(), "hwmon", LS_DIRS);
for (auto &dir : dirs) {
if (read_line(path + dir + "/name") == "spd5118")
const auto name = read_line(path + dir + "/name");
if (name == "spd5118" || name == "jc42")
mem_temp_files.emplace_back(path + dir + "/temp1_input");
}
if (mem_temp_files.empty())
Expand Down