Hi,
This is not actually a “games” problem. But I could not find any topic about Graphics or so, so I posted it here:
I am trying to run Steam on my laptop which has a (unfortunately) Optimus driver. Well you all know the story, there is no native package by nVidia for Optimus…And running Steam’s good games needs a good graphic card.
So I tried to install bumblebee using this guide : https://en.opensuse.org/SDB:NVIDIA_Bumblebee But when I try : zypper in nvidia-bumblebee i get the following :
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following package is going to be upgraded:
nvidia-bumblebee
1 package to upgrade.
Overall download size: 0 B. Already cached: 15.6 KiB No additional space will be used or freed after the operation.
Continue? [y/n/? shows all options] (y): y
In cache nvidia-bumblebee-352.63-2.1.x86_64.rpm (1/1), 15.6 KiB ( 885 B unpacked)
Checking for file conflicts: ............................................................................................................................................................................................................................................[done]
(1/1) Installing: nvidia-bumblebee-352.63-2.1 ...........................................................................................................................................................................................................................[done]
Additional rpm output:
converted 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.63/NVIDIA-Linux-x86_64-352.63.run' (ANSI_X3.4-1968) -> 'http://us.download.nvidia.com/XFree86/Linux-x86_64/352.63/NVIDIA-Linux-x86_64-352.63.run' (UTF-8)
--2016-01-17 15:51:06-- http://us.download.nvidia.com/XFree86/Linux-x86_64/352.63/NVIDIA-Linux-x86_64-352.63.run
Resolving us.download.nvidia.com (us.download.nvidia.com)... 72.247.8.178, 72.247.8.136
Connecting to us.download.nvidia.com (us.download.nvidia.com)|72.247.8.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 77647248 (74M) [application/octet-stream]
Saving to: 'NVIDIA-Linux-x86_64-352.63.run'
Here it downloads the package]
check sums and md5 sums are ok
Creating directory NVIDIA-Linux-x86_64-352.63
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 352.63...........................................................................................................................................................................................................................................................
+ '' -x /usr/sbin/dkms ']'
+ /usr/sbin/dkms remove -m nvidia -v 346.72 --all --rpm_safe_upgrade
------------------------------
Deleting module version: 346.72
completely from the DKMS tree.
------------------------------
Done.
Output of nvidia-bumblebee-352.63-2.1.x86_64.rpm %posttrans script:
+ '' -x /usr/sbin/dkms ']'
+ /usr/sbin/dkms add -m nvidia -v 352.63 --rpm_safe_upgrade
Creating symlink /var/lib/dkms/nvidia/352.63/source ->
/usr/src/nvidia-352.63
DKMS: add completed.
+ /usr/sbin/dkms build -m nvidia -v 352.63
Error! echo
Your kernel headers for kernel 4.2.1-1.g9c7cacf-desktop cannot be found at
/lib/modules/4.2.1-1.g9c7cacf-desktop/build or /lib/modules/4.2.1-1.g9c7cacf-desktop/source.
+ /usr/sbin/dkms install -m nvidia -v 352.63
Error! echo
Your kernel headers for kernel 4.2.1-1.g9c7cacf-desktop cannot be found at
/lib/modules/4.2.1-1.g9c7cacf-desktop/build or /lib/modules/4.2.1-1.g9c7cacf-desktop/source.
+ popd
It seems it cannot find the kernel headers for my kernel which is 4.2.1.1. What should I do about the above? Note that I have the following kernel-source packages installed :
# rpm -q kernel-source
kernel-source-3.18.1-4.1.g15c2753.noarch
kernel-source-3.18.2-1.1.ga393f37.noarch
kernel-source-3.18.3-1.1.gc3e148f.noarch
kernel-source-3.18.6-1.1.gec2a744.noarch
kernel-source-3.19.0-2.1.g1133f88.noarch
kernel-source-3.19.0-5.1.g748552c.noarch
kernel-source-3.19.1-2.1.gc0946e9.noarch
kernel-source-3.19.3-1.1.gf10e7fc.noarch
kernel-source-3.19.4-1.1.g74c332b.noarch
kernel-source-4.0.0-2.1.g53b125b.noarch
kernel-source-4.0.0-4.1.g27299c0.noarch
kernel-source-4.0.4-2.1.g4f5e0d5.noarch
kernel-source-4.0.4-5.1.gac67377.noarch
kernel-source-4.1.0-1.1.gfcf8349.noarch
kernel-source-4.2.0-7.1.g2d05727.noarch
kernel-source-4.2.1-1.1.g9c7cacf.noarch
kernel-source-4.2.2-4.1.gad49492.noarch
kernel-source-4.2.3-2.1.g202286f.noarch
kernel-source-4.2.5-2.1.g0491388.noarch
kernel-source-4.3.0-1.1.g7b374a4.noarch
kernel-source-4.3.0-7.1.g66773be.noarch
kernel-source-4.3.0-17.1.g6a48ac7.noarch
kernel-source-4.3.0-23.1.gd3f999c.noarch
kernel-source-4.3.3-8.1.ga1b48ad.noarch
kernel-source-4.4.0-2.1.g368c53d.noarch
But I got nothing inside the folder which dkms is looking…what am I missing?