Great work kelebek333!

Has anybody heard about any usable patches to make this work on 5.7?

./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of 
different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  266 |   (cpu) < nr_cpu_ids;)
      |         ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
  812 | #define for_each_online_cpu(cpu)   for_each_cpu((cpu), cpu_online_mask)
      |                                    ^~~~~~~~~~~~
./include/linux/vmstat.h:227:2: note: in expansion of macro 
‘for_each_online_cpu’
  227 |  for_each_online_cpu(cpu)
      |  ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-linux.h:173,
                 from /var/lib/dkms/nvidia-340/340.108/build/nv-frontend.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:232:22: warning: comparison of integer expressions of 
different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  232 |  if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
      |                      ^
./include/linux/rtc.h:237:22: warning: comparison of integer expressions of 
different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
  237 |  if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
      |                      ^
{   echo /var/lib/dkms/nvidia-340/340.108/build/nvidia.ko; :; } \
| awk '!x[$0]++' - > /var/lib/dkms/nvidia-340/340.108/build/modules.order
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1722: /var/lib/dkms/nvidia-340/340.108/build] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-headers-5.7.0-050700rc1-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [Makefile:201: nvidia.ko] Error 1
make: Target 'module' not remade because of errors.
make: Entering directory '/var/lib/dkms/nvidia-340/340.108/build/uvm'
cd ./..; make module SYSSRC=/lib/modules/5.7.0-050700rc1-generic/build 
SYSOUT=/lib/modules/5.7.0-050700rc1-generic/build KBUILD_EXTMOD=./..
make[1]: Entering directory '/var/lib/dkms/nvidia-340/340.108/build'
NVIDIA: calling KBUILD...
make[2]: Entering directory '/usr/src/linux-headers-5.7.0-050700rc1-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        
        \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix 
it.";      \
echo >&2 ;                                                      \
/bin/false)
make -f ./scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
scripts/Makefile.build:44: ../Makefile: No such file or directory
make[3]: *** No rule to make target '../Makefile'.  Stop.
make[2]: *** [Makefile:1722: ..] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.7.0-050700rc1-generic'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [Makefile:201: nvidia.ko] Error 1
make[1]: Leaving directory '/var/lib/dkms/nvidia-340/340.108/build'
make: *** [Makefile:222: ../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-340/340.108/build/uvm'

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu.
https://bugs.launchpad.net/bugs/1872950

Title:
  Nvidia 340.108 fails to install with kernels 5.5 and 5.6

Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Confirmed

Bug description:
  Hi developers,

  thanks for your great work on porting legacy drivers to Ubuntu.

  Anyway I have to complain in not seeing Nvidia 340.108 driver for
  kernels 5.5 and 5.6 yet, leaving users stuck on kernel 5.4,
  because Nvidia 340.108 fails to install with kernels 5.5 and 5.6.

  Archlinux already has a driver for Kernel 5.6 via AUR
  (https://aur.archlinux.org/packages/nvidia-340xx/) and Debian SID has
  one for kernel 5.5.

  So, the question is: when will we see a new version in repositories?

  Bye and have a nice day.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1872950/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to