You are not logged in.
Hello,
I am trying to install bbswitch-dkms to turn my gpu off.
sudo pacman -S bbswitch-dkmsBut it gives me this error:
Error! Bad return status for module build on kernel: 5.6.3-arch1-1 (x86_64)
Consult /var/lib/dkms/bbswitch/0.8/build/make.log for more information.Where is the issue?
Thank you.
Last edited by lakamit (2020-04-10 19:53:59)
Offline
any specific reason for install dkms version?
YCH
Offline
Offline
any specific reason for install dkms version?
Yes, when I install the normal bbswitch version, it gives me this error, when I try to load it:
modprobe: FATAL : Module bbswitch not found in directory /lib/modules/5.6.3-arch1-1
It was working yesterday. But today I have reinstalled arch and also got the new kernel version. So I think it does not work on the new kernel atm.
So have you read the suggested log?
Yes, it says me that the 4th argument of proc_create in bbswitch.c is a incompatible pointer type.
acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops)But this does not help me unfortunately.
Edit: pacman -Syu solved the issue.
Sorry, I thought the system is already up to date, because I have installed it today.
Last edited by lakamit (2020-04-10 19:53:19)
Offline
what's the ouput of
pacman -Ql bbswitch
is that actually match with current kernel version?
YCH
Offline
what's the ouput of
pacman -Ql bbswitch
is that actually match with current kernel version?
pacman -Syu solved the issue to install dkms-bbswitch
I have reinstalled arch now and can install the normal bbswitch, too.
What is the difference between them? I didnt really understand.
I thought that dkms-bbswitch will persist kernel updates and the normal one not.
Offline
YCH wrote:what's the ouput of
pacman -Ql bbswitch
is that actually match with current kernel version?
pacman -Syu solved the issue to install dkms-bbswitch
I have reinstalled arch now and can install the normal bbswitch, too.
What is the difference between them? I didnt really understand.
I thought that dkms-bbswitch will persist kernel updates and the normal one not.
- bbswitch <- prebuilted module in sync with current 'linux' kernel package by arch maintainer
- bbswitch-dkms <- if you are using another kernel that not managed by arch, e.g. 'linux-ck', 'linux-clear'. you should compile moudule manually everytime that kernel updated. dkms is automate that part. when new kernel arrived, rebuild module.
so no need to use dkms variant if you don't use any custom kernel. just slowing down install process.
YCH
Offline
Alright, thank you!
Offline