Bug 4780

Summary: akmod-nvidia
Product: Fedora Reporter: Thomas Biesinger <ng0177>
Component: xorg-x11-drv-nvidiaAssignee: leigh scott <leigh123linux>
Status: RESOLVED INVALID    
Severity: major CC: hans, kwizart, negativo17
Priority: P1    
Version: f28   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Thomas Biesinger 2018-01-29 15:22:30 CET
On a fresh reproducible Fedora f28 rawhide installation 
  4.15.0-0.rc9.git4.1.fc28.x86_64
I run 
  sudo dnf -y install xorg-x11-drv-nvidia-cuda
which pulls (see below)
  akmod-nvidia
still using
  NV136 nouveau
despite of 
  GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet"

A couple of days ago on a fresh rc0, I believe, akmod-nvidia indeed managed to implement
  NVIDIA-Linux-x86_64-390.12

Question: how to fix KMOD to accept the 390.12 NVIDIA (and cuda)?

https://rpmfusion.org/Howto/NVIDIA#Rawhide recommends a nodebug kernel but there should be a workaround?


Here some additional info:

Installed Packages
xorg-x11-drv-nvidia-cuda.x86_64            2:390.12-1.fc28             @rpmfusion-nonfree-rawhide

24:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3282
	Flags: bus master, fast devsel, latency 0, IRQ 79
	Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at fd000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel driver in use: nouveau
	Kernel modules: nouveau

==============================================================================
==============================================================================
==============================================================================
Last metadata expiration check: 0:00:31 ago on Sun 28 Jan 2018 06:22:35 PM CET.
Dependencies resolved.
=================================================================================================
 Package                       Arch   Version                    Repository                 Size
=================================================================================================
Installing:
 xorg-x11-drv-nvidia-cuda      x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide 297 k
Installing dependencies:
 akmod-nvidia                  x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide  72 k
 akmods                        noarch 0.5.6-10.fc27              rawhide                    23 k
 annobin                       x86_64 3.1-1.fc28                 rawhide                    45 k
 binutils                      x86_64 2.29.1-15.fc28             rawhide                   6.0 M
 clang5.0-libs                 x86_64 5.0.1-1.fc28               rawhide                    11 M
 cpp                           x86_64 7.3.1-1.fc28               rawhide                   9.5 M
 dwz                           x86_64 0.12-5.fc27                rawhide                   106 k
 egl-wayland                   x86_64 1.0.2-0.4.20170802git1f4b1fd.fc27
                                                                 rawhide                    27 k
 elfutils-libelf-devel         x86_64 0.170-1.fc27               rawhide                    46 k
 fakeroot                      x86_64 1.22-1.fc28                rawhide                   102 k
 fakeroot-libs                 x86_64 1.22-1.fc28                rawhide                    38 k
 fpc-srpm-macros               noarch 1.1-3.fc27                 rawhide                   7.1 k
 gcc                           x86_64 7.3.1-1.fc28               rawhide                    22 M
 ghc-srpm-macros               noarch 1.4.2-6.fc27               rawhide                   7.9 k
 glibc-devel                   x86_64 2.26.9000-48.fc28          rawhide                   1.0 M
 glibc-headers                 x86_64 2.26.9000-48.fc28          rawhide                   462 k
 gnat-srpm-macros              noarch 4-4.fc27                   rawhide                   8.4 k
 go-srpm-macros                noarch 2-10.fc27                  rawhide                   8.0 k
 hwloc-libs                    x86_64 1.11.8-4.fc28              rawhide                   1.6 M
 isl                           x86_64 0.16.1-4.fc28              rawhide                   835 k
 kernel-devel                  x86_64 4.15.0-0.rc9.git3.1.fc28   rawhide                    12 M
 kernel-headers                x86_64 4.15.0-0.rc9.git3.1.fc28   rawhide                   1.2 M
 kmodtool                      noarch 1-27.fc28                  rawhide                    17 k
 libclc                        x86_64 0.2.0-9.git1cb3fbf.fc27    rawhide                   7.9 M
 libglvnd-opengl               x86_64 1:1.0.0-1.fc28             rawhide                    45 k
 libstdc++-devel               x86_64 7.3.1-1.fc28               rawhide                   1.9 M
 libxcrypt-devel               x86_64 4.0.0-0.204.20180120git3436e7b.fc28
                                                                 rawhide                    15 k
 mesa-libGLES                  x86_64 17.3.0-0.4.rc3.fc28        rawhide                    26 k
 nim-srpm-macros               noarch 1-1.fc28                   rawhide                   7.6 k
 nvidia-persistenced           x86_64 390.12-1.fc28              rpmfusion-nonfree-rawhide  39 k
 nvidia-settings               x86_64 390.12-1.fc28              rpmfusion-nonfree-rawhide 1.6 M
 ocaml-srpm-macros             noarch 5-2.fc27                   rawhide                   7.8 k
 ocl-icd                       x86_64 2.2.11-4.fc27              rawhide                    49 k
 openblas-srpm-macros          noarch 2-2.fc27                   rawhide                   6.6 k
 opencl-filesystem             noarch 1.0-6.fc27                 rawhide                   7.1 k
 patch                         x86_64 2.7.5-6.fc27               rawhide                   123 k
 perl-srpm-macros              noarch 1-24.fc27                  rawhide                   9.3 k
 python-srpm-macros            noarch 3-25.fc28                  rawhide                    10 k
 python2                       x86_64 2.7.14-7.fc28              rawhide                   100 k
 python2-libs                  x86_64 2.7.14-7.fc28              rawhide                   6.3 M
 python2-pip                   noarch 9.0.1-14.fc28              rawhide                   1.8 M
 python2-setuptools            noarch 38.4.0-1.fc28              rawhide                   621 k
 qt5-srpm-macros               noarch 5.10.0-4.fc28              rawhide                   9.3 k
 redhat-rpm-config             noarch 85-1.fc28                  rawhide                    72 k
 rpm-build                     x86_64 4.14.1-3.fc28              rawhide                   161 k
 rpmdevtools                   noarch 8.10-3.fc27                rawhide                   105 k
 rust-srpm-macros              noarch 5-1.fc28                   rawhide                   8.0 k
 vulkan-filesystem             noarch 1.0.65.2-1.fc28            rawhide                    11 k
 xemacs-filesystem             noarch 21.5.34-26.20171227hg27f66ce6ab71.fc28
                                                                 rawhide                    22 k
 xorg-x11-drv-nvidia           x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide 2.5 M
 xorg-x11-drv-nvidia-cuda-libs x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide  23 M
 xorg-x11-drv-nvidia-kmodsrc   x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide 8.0 M
 xorg-x11-drv-nvidia-libs      x86_64 2:390.12-1.fc28            rpmfusion-nonfree-rawhide  15 M
 zlib-devel                    x86_64 1.2.11-4.fc27              rawhide                    56 k
 zstd                          x86_64 1.3.3-1.fc28               rawhide                   306 k
Installing weak dependencies:
 beignet                       x86_64 1.3.2-2.fc28               rawhide                   4.8 M
 mesa-libOpenCL                x86_64 17.3.0-0.4.rc3.fc28        rawhide                   612 k
 pocl                          x86_64 1.0-2.fc28                 rawhide                    13 M

Transaction Summary
==============================================================================
==============================================================================
==============================================================================
Comment 1 Nicolas Chauvet 2018-01-29 15:25:47 CET
Please use the rpmfusion users mailing list if you need anything.
Bug tracker cannot superseed a end-users support forum.
Comment 2 Thomas Biesinger 2018-01-29 19:59:52 CET
Instructions provide under https://rpmfusion.org/Howto/NVIDIA#Rawhide fail on fresh Fedora fc28 rawhide installation. This may be easily reproduced.

I suspect a bug instead of an end user problem. Thank you!
Comment 3 leigh scott 2018-01-29 20:32:53 CET
(In reply to Thomas Biesinger from comment #2)

> I suspect a bug instead of an end user problem. Thank you!

retpoline vermagic tag affected most of the rc9 kernels which prevented nvidia kernel modules from loading.
That was a kernel issue not nvidia,
Comment 4 Thomas Biesinger 2018-01-29 21:14:30 CET
good hint; appreciate!
Comment 5 Thomas Biesinger 2018-02-01 15:13:55 CET
4.15.0-1.fc28.x86_64 does not have the problem any more; https://rpmfusion.org/Howto/NVIDIA#Rawhide should be amended.
Comment 6 leigh scott 2018-02-01 15:59:22 CET
(In reply to Thomas Biesinger from comment #5)
> 4.15.0-1.fc28.x86_64 does not have the problem any more;
> https://rpmfusion.org/Howto/NVIDIA#Rawhide should be amended.

4.15.0-1.fc28.x86_64 from fedora repo was built with the extra debugging disabled.
They will re-enable it soon so no need to edit.
Comment 7 Thomas Biesinger 2018-02-01 21:30:26 CET
Thanks! I did the

sudo dnf -y config-manager --add-repo=http://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo

bit and keep fingers crossed that GeForce GTX 1060 6GB/PCIe/SSE2 will stay.