last kernel + bumblebee kmod-nvidia

Issues related to hardware problems
Post Reply
colone
Posts: 5
Joined: 2019/12/22 18:02:12

last kernel + bumblebee kmod-nvidia

Post by colone » 2019/12/25 23:51:52

Hello,
Keep going to try to have stable centos7 installation on a recent razer laptop. After recently fixed my wifi issue now I encounter a graphic card issue.
Laptop has :
- an Intel graphic card
- an Nvidia rtx2080

Before the description some background: to fix my wifi issue I must have upgrade the kernel from el-repo, so my current kernel version is:

Code: Select all

$ uname -r
5.4.6-1.el7.elrepo.x86_64
So to take advantage of the nvidia card I followed the elrepo state about bumblebee
https://elrepo.org/tiki/bumblebee

All installation goes well, except the service startup:

Code: Select all

$ journalctl -u bumblebeed.service 
-- Logs begin at Thu 2019-12-26 01:21:38 CET, end at Thu 2019-12-26 00:46:48 CET. --
Dec 26 00:21:42 lap-claubry-cf systemd[1]: Started Bumblebee C Daemon.
Dec 26 00:21:42 lap-claubry-cf bumblebeed[1557]: modprobe: FATAL: Module bbswitch not found.
Dec 26 00:21:42 lap-claubry-cf bumblebeed[1557]: [    5.130024] [ERROR]Module bbswitch could not be loaded (timeout?)
Dec 26 00:21:42 lap-claubry-cf bumblebeed[1557]: [    5.130086] [WARN]No switching method available. The dedicated card will always be on.
Dec 26 00:21:42 lap-claubry-cf bumblebeed[1557]: [    5.132271] [ERROR]Module 'nvidia' is not found.
Dec 26 00:21:42 lap-claubry-cf systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
Dec 26 00:21:42 lap-claubry-cf systemd[1]: Unit bumblebeed.service entered failed state.
Dec 26 00:21:42 lap-claubry-cf systemd[1]: bumblebeed.service failed.
Neither nvidia nor bbswitch are found ...

It seems look like kmod-nvidia / bbswitch are not corresponding to the last kernel version :?:

Could you enlighten me on that?


Thanks a lot.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: last kernel + bumblebee kmod-nvidia

Post by TrevorH » 2019/12/26 15:08:45

kmod-nvidia ONLY works with the distro 3.10.0-xxxx.y.z kernels. It does not work with non-distro kernels as they do not support the Red Hat stabel kernel ABI.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

colone
Posts: 5
Joined: 2019/12/22 18:02:12

Re: last kernel + bumblebee kmod-nvidia

Post by colone » 2019/12/30 15:15:10

Thanks for the reply,
That means I have to choice either wifi or rtx gpu :roll:
Any idea to get both ? is it plan to kmod-nvidia works with 5.xxxxx kernel ?
What about to use official nvidia linux driver instead of kmod ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: last kernel + bumblebee kmod-nvidia

Post by TrevorH » 2019/12/30 16:21:37

It's impossible for ELRepo to offer a kmod-nvidia for anything other than the distro kernel as it relies on the RHEL stable KABI to function. A mainline - or any other - kernel doesn't have that stable KABI so you cannot build kmods for them.

You should be looking from the other direction: can ELRepo offer a kmod for your wireless chipset that will work with the distro kernel? Edit: I just cheked and you have the newer ax200 intel wireless chipset. I thought there was a Red Hat supplied kmod for this that should be part of the distro... checked and there was but it's for RHEL 8.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

colone
Posts: 5
Joined: 2019/12/22 18:02:12

Re: last kernel + bumblebee kmod-nvidia

Post by colone » 2019/12/30 18:14:32

ok! that makes sense.
So if I understand well, I have to switch to centos8 to benefit of wifi kmod without update kernel from elrepo and be able to install a correct kmod-nvidia ?

Thanks for your help!

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: last kernel + bumblebee kmod-nvidia

Post by lightman47 » 2019/12/30 22:36:31

Regardless of distro - 'importing' things outside the distro repos is going to eventually clobber your system, as you've discovered.

Post Reply