Skip to content

Commit

Permalink
update pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
UriHerrera committed Nov 6, 2024
1 parent 3738fcf commit 0db6b87
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 7 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
nx-desktop-settings-legacy (5.6.2) nitrux; urgency=medium

* Add OpenRC service to change ownership of /sys/class/powercap/intel-rapl:0/energy_uj to allow MangoHud to display power connsuption for Intel processors.

-- Uri Herrera <uri_herrera@nxos.org> Wed, 06 Nov 2024 15:29:00 -0500

nx-desktop-settings-legacy (5.6.1) nitrux; urgency=medium

* Add ude rules for NVIDIA devices.
* Add udev rules for NVIDIA devices.

-- Uri Herrera <uri_herrera@nxos.org> Wed, 06 Nov 2024 12:36:00 -0500

Expand Down
14 changes: 14 additions & 0 deletions etc/init.d/rapl-power
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/sbin/openrc-run

description="Set permissions for energy_uj file"

start() {
ebegin "Setting read permission for others on /sys/class/powercap/intel-rapl:0/energy_uj"
chmod o+r /sys/class/powercap/intel-rapl:0/energy_uj
eend $?
}

depend() {
need mountall
after bootmisc
}

0 comments on commit 0db6b87

Please sign in to comment.