Page 1 of 1
Need to install acpi-call-dkms
Posted: 16. Sep 2025, 15:24
by Durhammer
Hi all, new to Salix, but I use a lot of other distros. On my ancient (ca~2011?) Samsung laptop with Optimus hybrid graphics, the Nvidia card has long been a problematic source of heat, so on every distro I have, I've installed the acpi-call-dkms package to allow me to run the command to turn off the 'lectricity to the Nvidia card. (It contributes heat even when not in use but still on.) I cannot find this required package anywhere in the Salix/Slack world. What do I need to do in order to get it and install it?
I know I probably need some other tools as well such thermald and tlp. Right now, I don't remember checking to see if at least thermald was running in my last Salix session before the system hit a thermal shutdown. I was running the suggested Salix updates. Oops! -- should have known to get the thermal protection stuff going before running that! I did at least cut off the dbus, etc., paths to the Nvidia card so it doesn't even show up in lspci, but I still think it needed to be electrically turned off before doing that.
How do I get acpi-call-dkms?
Except for this issue, enjoying Salix!
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 07:39
by DidierSpaier
Welcome to Salix.
There is no acpi-call-dkms package available, but you can build and install an acpi_call package typing:
Caveat: no dkms, so you will need to rebuild a package in case you install a new kernel.
After installation read: /usr/doc/acpi_call*/README.md
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 14:53
by Durhammer
Thanks, @DidierSpaier!
I shall give it a try.
Funny, finding perhaps my current favorite distro, only to find it to be "dormant"! And sad. Hope it gets picked up again. Beats AntiX in lightness and usefulness....
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 15:20
by Durhammer
Bummer, @DidierSpaier -- I'll search for how to get around this, but if you
just happen to have a suggestion, I'll try it!
Code: Select all
$ sudo slapt-src -i acpi_call
Failed to open slackbuilds_data for reading
Unable to find all specified slackbuilds.
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 15:44
by Durhammer
Okay, inched past that issue. Ran the "sudo slapt-src -u" command. Got futher into the build, then ran into this:
Code: Select all
$ sudo slapt-src -i acpi_call
The following packages will be installed:
acpi_call
Do you want to continue? [y/N] Y
Fetching README...Done
Fetching acpi_call.SlackBuild...Done
Fetching acpi_call.info...Done
Fetching doinst.sh...Done
Fetching fix-5.x-kernel.patch...Done
Fetching fix-acpi-include.patch...Done
Fetching slack-desc...Done
Fetching https://github.com/mkottman/acpi_call/archive/v1.1.0/acpi_call-1.1.0.tar.gz...Done
acpi_call-1.1.0/
acpi_call-1.1.0/Makefile
acpi_call-1.1.0/README.md
acpi_call-1.1.0/acpi_call.c
acpi_call-1.1.0/examples/
acpi_call-1.1.0/examples/asus1215n.sh
acpi_call-1.1.0/examples/dellL702X.sh
acpi_call-1.1.0/examples/m11xr2.sh
acpi_call-1.1.0/examples/turn_off_gpu.sh
acpi_call-1.1.0/support/
acpi_call-1.1.0/support/query_dsdt.pl
acpi_call-1.1.0/support/windump_hack/
acpi_call-1.1.0/support/windump_hack/windump.c
acpi_call-1.1.0/support/windump_hack/xorg.conf
patching file acpi_call.c
patching file acpi_call.c
make -C /lib/modules/5.15.63/build M=/usr/src/slapt-src/system/acpi_call/acpi_call-1.1.0 modules
make[1]: *** /lib/modules/5.15.63/build: No such file or directory. Stop.
make: *** [Makefile:8: default] Error 2
fakeroot -- sh acpi_call.SlackBuild Failed
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 18:55
by jury
Durhammer wrote: ↑17. Sep 2025, 14:53
Funny, finding perhaps my current favorite distro, only to find it to be "dormant"! And sad. Hope it gets picked up again.
viewtopic.php?p=50290&hilit=dormant#p50290
Re: Need to install acpi-call-dkms
Posted: 17. Sep 2025, 19:51
by DidierSpaier
@Durhammer
You need to install the kernel-source package first (I forgot because in Slint that I maintain it is installed by default).
instructions here:
https://docs.salixos.org/faq/kernel-source/
But if you just installed Salix you got a kernel version 5.15.63 and a kernel source package at the same version is no more available.
So, first follow these instructions
https://docs.salixos.org/user/install-different-kernel/
and only then install a kernel source package.
After that acpi_call can be built and installed.
Re: Need to install acpi-call-dkms
Posted: 18. Sep 2025, 15:04
by Durhammer
@jury -- thanks! Good to know!!! I hadn't considered that Salix might have been "dormant" more than once.
@DidierSpaier -- many, many thanks for that! I followed the instructions to update the kernel, rebooted, followed the instructions to build acpi_call, and it worked. I did the modprobe thing and ran the command to switch off the Nvidia card and watched my Conky's CPU temp monitor start to drop. Now down around mid-50s. Yay!
Now to research and find TLP-UI for better tweaking of tlp parameters and maybe that also will help.
Re: Need to install acpi-call-dkms
Posted: 19. Sep 2025, 00:43
by Durhammer
Oooohhh -- been down in the lower 40s today! This is great!