Bug 27082 - Update request: nvidia340-340.108-7.mga7.nonfree
Summary: Update request: nvidia340-340.108-7.mga7.nonfree
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-32-OK MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 27062
  Show dependency treegraph
 
Reported: 2020-08-11 12:15 CEST by Martin Whitaker
Modified: 2020-08-18 22:44 CEST (History)
5 users (show)

See Also:
Source RPM: nvidia340
CVE:
Status comment:


Attachments

Description Martin Whitaker 2020-08-11 12:15:19 CEST
Adds kernel 5.7 support.

SRPM:
nvidia340-340.108-7.mga7.nonfree.src.rpm

i586:
dkms-nvidia340-340.108-7.mga7.nonfree.i586.rpm
nvidia340-cuda-opencl-340.108-7.mga7.nonfree.i586.rpm
nvidia340-devel-340.108-7.mga7.nonfree.i586.rpm
nvidia340-doc-html-340.108-7.mga7.nonfree.i586.rpm
x11-driver-video-nvidia340-340.108-7.mga7.nonfree.i586.rpm

x86_64:
dkms-nvidia340-340.108-7.mga7.nonfree.x86_64.rpm
nvidia340-cuda-opencl-340.108-7.mga7.nonfree.x86_64.rpm
nvidia340-devel-340.108-7.mga7.nonfree.x86_64.rpm
nvidia340-doc-html-340.108-7.mga7.nonfree.x86_64.rpm
x11-driver-video-nvidia340-340.108-7.mga7.nonfree.x86_64.rpm
David Walser 2020-08-11 14:48:11 CEST

Blocks: 27006 => (none)

Comment 1 Ben McMonagle 2020-08-11 23:16:37 CEST
Compaq 8510W Mobile Workstation
XFCE DE

Model name:          Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz

Card:NVIDIA GeForce 8100 to GeForce 415: NVIDIA Corporation|G84GLM [Quadro FX 570M] [DISPLAY_VGA] (rev: a1)

uname -r
5.7.14-desktop-1.mga7

To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Nonfree Updates Testing (distrib15)")
  dkms-nvidia340                 340.108      7.mga7.nonfr> x86_64  
  nvidia340-cuda-opencl          340.108      7.mga7.nonfr> x86_64  
  nvidia340-devel                340.108      7.mga7.nonfr> x86_64  
  nvidia340-doc-html             340.108      7.mga7.nonfr> x86_64  
  x11-driver-video-nvidia340     340.108      7.mga7.nonfr> x86_64  
2.2KB of additional disk space will be used.
67MB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n) y

Creating symlink /var/lib/dkms/nvidia340/340.108-7.mga7.nonfree/source ->
                 /usr/src/nvidia340-340.108-7.mga7.nonfree

DKMS: add Completed.

Preparing kernel 5.7.14-desktop-1.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
/usr/sbin/dkms: line 936: warning: command substitution: ignored null byte in input
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)

Building module:
cleaning build area....(bad exit status: 2)
'make' -j2 SYSSRC=/lib/modules/5.7.14-desktop-1.mga7/build module...................
cleaning build area....(bad exit status: 2)
cleaning kernel tree (make mrproper)....(bad exit status: 2)

DKMS: build Completed.

nvidia340.ko.xz:
 - Installation
   - Installing to /lib/modules/5.7.14-desktop-1.mga7/dkms/drivers/char/drm/

depmod.......

DKMS: install Completed.

KMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  nvidia340
Version: 340.108-6.mga7.nonfree
Kernel:  5.6.6-desktop-1.mga7 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia340.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.6.6-desktop-1.mga7/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod......

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  nvidia340
Version: 340.108-6.mga7.nonfree
Kernel:  5.5.15-desktop-3.mga7 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia340.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.5.15-desktop-3.mga7/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 340.108-6.mga7.nonfree
completely from the DKMS tree.
------------------------------
Done.

reboot

check video driver: nouveau driver in use 
drakx11 to change to prop. nvidea and reboot.

reboot to working desktop -ok

# lsmod | grep video
video                  53248  0
# lsmod | grep nvidia
nvidia              10608640  55
drm                   589824  5 drm_kms_helper,nvidia,ttm


uname -r
5.7.14-desktop-1.mga7


wifi ok
lxterminal - ok
mousepad - ok
firefox -ok

CC: (none) => westel

Comment 2 Ben McMonagle 2020-08-12 01:51:23 CEST
HP Compaq 8510w mobile workstation

VGA compatible controller: NVIDIA Corporation G84GLM [Quadro FX 570M] (rev a1)

uname -a
Linux localhost.localdomain 5.6.14-desktop-2.mga7 #1 SMP Wed May 20 23:48:39 UTC 2020 i686 i686 i386 GNU/Linux


To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates Testing (distrib5)")
  cpupower                       5.7.14       1.mga7        i586    
  kernel-desktop-5.7.14-1.mga7   1            1.mga7        i586    
  kernel-desktop-devel-5.7.14-1> 1            1.mga7        i586    
  kernel-desktop-devel-latest    5.7.14       1.mga7        i586    
  kernel-desktop-latest          5.7.14       1.mga7        i586    
  kernel-userspace-headers       5.7.14       1.mga7        i586    
(medium "Nonfree Updates Testing (distrib15)")
  dkms-nvidia340                 340.108      7.mga7.nonfr> i586    
  kernel-firmware-nonfree        20200721     1.mga7.nonfr> noarch  
  nvidia340-cuda-opencl          340.108      7.mga7.nonfr> i586    
  nvidia340-devel                340.108      7.mga7.nonfr> i586    
  nvidia340-doc-html             340.108      7.mga7.nonfr> i586    
  radeon-firmware                20200721     2.mga7.nonfr> noarch  
  x11-driver-video-nvidia340     340.108      7.mga7.nonfr> i586    
179MB of additional disk space will be used.
201MB of packages will be retrieved.
Proceed with the installation of the 13 packages? (Y/n) y


Creating symlink /var/lib/dkms/nvidia340/340.108-7.mga7.nonfree/source ->
                 /usr/src/nvidia340-340.108-7.mga7.nonfree

DKMS: add Completed.

Preparing kernel 5.6.14-desktop-2.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
/usr/sbin/dkms: line 936: warning: command substitution: ignored null byte in input
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)

Building module:
cleaning build area....(bad exit status: 2)
'make' -j2 SYSSRC=/lib/modules/5.6.14-desktop-2.mga7/build module..................
cleaning build area....(bad exit status: 2)
cleaning kernel tree (make mrproper)....(bad exit status: 2)

DKMS: build Completed.

nvidia340.ko.xz:
 - Installation
   - Installing to /lib/modules/5.6.14-desktop-2.mga7/dkms/drivers/char/drm/

depmod......

DKMS: install Completed.

-------- Uninstall Beginning --------
Module:  nvidia340
Version: 340.108-6.mga7.nonfree
Kernel:  5.4.17-desktop-1.mga7 (i586)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia340.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.4.17-desktop-1.mga7/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
/usr/sbin/dkms: line 2006: echo: write error: Broken pipe
depmod.......

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  nvidia340
Version: 340.108-6.mga7.nonfree
Kernel:  5.6.6-desktop-1.mga7 (i586)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia340.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.6.6-desktop-1.mga7/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod......

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  nvidia340
Version: 340.108-6.mga7.nonfree
Kernel:  5.6.14-desktop-2.mga7 (i586)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod......

DKMS: uninstall Completed.

------------------------------
Deleting module version: 340.108-6.mga7.nonfree
completely from the DKMS tree.
-----
Done.

nvidia340 (340.108-7.mga7.nonfree): Installing module.
...........................
........
Creating: target|kernel|dracut args|basicmodules 
remove-boot-splash: Format of /boot/initrd-5.7.14-desktop-1.mga7.img not recognized
You should restart your computer for kernel-desktop-5.7.14-1.mga7


reboot
driver installed = nouveau

drakx11 and reset video card as required

reboot required "nokmsboot" parameter 

boot up - ok, 

uname -a
Linux localhost.localdomain 5.7.14-desktop-1.mga7 #1 SMP Fri Aug 7 15:21:29 UTC 2020 i686 i686 i386 GNU/Linux

# lsmod | grep video
video                  49152  0
# lsmod | grep nvidia
nvidia               9560064  45
drm                   454656  5 nvidia,ttm,drm_kms_helper

desktop presented ok
firefox - ok
Comment 3 Bill Wilkinson 2020-08-13 18:14:39 CEST
tested under 32 and 64 bit on the same machine (Different MGA installs).  Drivers build and install normally.

CC: (none) => wrw105

Comment 4 PC LX 2020-08-14 16:05:28 CEST
Installed and tested without issues.


System: Mageia 7, x86_64, Plasma DE, LXQt DE, nVidia Geforce 210 using nvidia340 proprietary driver.


Tested with two days of normal workstation usage, including installing the kernel 5.7.14-desktop-1.mga7, plus some extra testing.
Plasma DE, glmark2, OpenGL games, steam games, glxinfo, etc, all worked as expected.


$ uname -a
Linux marte 5.7.14-desktop-1.mga7 #1 SMP Fri Aug 7 14:45:09 UTC 2020 x86_64x86_64 x86_64 GNU/Linux
$ dkms status
nvidia340, 340.108-7.mga7.nonfree, 5.6.14-desktop-2.mga7, x86_64: installed
nvidia340, 340.108-7.mga7.nonfree, 5.7.13-desktop-3.mga7, x86_64: installed
nvidia340, 340.108-7.mga7.nonfree, 5.7.14-desktop-1.mga7, x86_64: installed
$ lsmod | grep nvidia
nvidia              10608640  29
drm                   589824  6 drm_kms_helper,nvidia,ttm,nouveau
$ cat /proc/driver/nvidia/version 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  340.108  Wed Dec 11 11:06:58 PST 2019
GCC version:  gcc version 8.4.0 (Mageia 8.4.0-1.mga7) 
$ rpm -qa | egrep '(nvidia|kernel|dkms)' | sort
dkms-2.0.19-40.mga7
dkms-minimal-2.0.19-40.mga7
dkms-nvidia340-340.108-7.mga7.nonfree
kernel-desktop-5.6.14-2.mga7-1-1.mga7
kernel-desktop-5.7.13-3.mga7-1-1.mga7
kernel-desktop-5.7.14-1.mga7-1-1.mga7
kernel-desktop-devel-5.6.14-2.mga7-1-1.mga7
kernel-desktop-devel-5.7.13-3.mga7-1-1.mga7
kernel-desktop-devel-5.7.14-1.mga7-1-1.mga7
kernel-desktop-devel-latest-5.7.14-1.mga7
kernel-desktop-latest-5.7.14-1.mga7
kernel-firmware-20190603-1.mga7
kernel-firmware-nonfree-20200721-1.mga7.nonfree
kernel-userspace-headers-5.7.14-1.mga7
nvidia340-doc-html-340.108-7.mga7.nonfree
x11-driver-video-nvidia340-340.108-7.mga7.nonfree

CC: (none) => mageia

David Walser 2020-08-16 16:01:54 CEST

Whiteboard: (none) => MGA7-32-OK MGA7-64-OK

David Walser 2020-08-16 16:10:37 CEST

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 5 David Walser 2020-08-16 16:22:18 CEST
Advisory and package list in Comment 0.
Dave Hodgins 2020-08-18 21:42:27 CEST

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 6 Mageia Robot 2020-08-18 22:44:41 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0175.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.