Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

Linux Kernel 5.6.0: nvidia-drivers does not workig

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
marziods
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 136
Joined: Thu Jun 25, 2009 1:22 pm
Location: <Roma>par lavor | Udine | Friul | Italie

Linux Kernel 5.6.0: nvidia-drivers does not workig

  • Quote

Post by marziods » Tue Mar 31, 2020 8:05 am

hi guys,
just compiled a new gentoo-sources 5.6.0 and tried to compile nvidia-drivers.
no way... there are any hint to have this driver working or I have to wait?

on kernel 5.5.13 drivers are working well... and I have no issues to recompile ... but on 5.6.0 nothing to do
tnx

Code: Select all

 emerge -pqv '=x11-drivers/nvidia-drivers-440.64::gentoo'
[ebuild   R   ] x11-drivers/nvidia-drivers-440.64  USE="X acpi compat driver gtk3 kms libglvnd multilib tools uvm -static-libs -wayland" ABI_X86="32 (64) (-x32)"

Code: Select all

 
[cut]
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:17:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:30:43: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration
   30 | static inline void nv_gettimeofday(struct timeval *tv)
      |                                           ^~~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h: In function ‘nv_gettimeofday’:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:39:5: error: dereferencing pointer to incomplete type ‘struct timeval’
   39 |     *tv = (struct timeval) {
      |     ^~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:40:10: error: ‘struct timeval’ has no member named ‘tv_sec’
   40 |         .tv_sec = now.tv_sec,
      |          ^~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:40:19: warning: excess elements in struct initializer
   40 |         .tv_sec = now.tv_sec,
      |                   ^~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:40:19: note: (near initialization for ‘(anonymous)’)
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:41:10: error: ‘struct timeval’ has no member named ‘tv_usec’
   41 |         .tv_usec = now.tv_nsec/1000,
      |          ^~~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:41:20: warning: excess elements in struct initializer
   41 |         .tv_usec = now.tv_nsec/1000,
      |                    ^~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:41:20: note: (near initialization for ‘(anonymous)’)
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/common/inc/nv-time.h:39:28: error: invalid use of undefined type ‘struct timeval’
   39 |     *tv = (struct timeval) {
      |                            ^
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/nv-vm.o
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c: In function ‘os_get_current_time’:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:466:20: error: storage size of ‘tm’ isn’t known
  466 |     struct timeval tm;
      |                    ^~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:466:20: warning: unused variable ‘tm’ [-Wunused-variable]
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c: In function ‘os_get_current_tick’:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:480:21: error: storage size of ‘ts’ isn’t known
  480 |     struct timespec ts;
      |                     ^~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:482:5: error: implicit declaration of function ‘jiffies_to_timespec’; did you mean ‘jiffies_to_timespec64’? [-Werror=implicit-function-declaration]
  482 |     jiffies_to_timespec(jiffies, &ts);
      |     ^~~~~~~~~~~~~~~~~~~
      |     jiffies_to_timespec64
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:480:21: warning: unused variable ‘ts’ [-Wunused-variable]
  480 |     struct timespec ts;
      |                     ^~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c: In function ‘os_delay’:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:592:20: error: storage size of ‘tm_end’ isn’t known
  592 |     struct timeval tm_end, tm_aux;
      |                    ^~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:592:28: error: storage size of ‘tm_aux’ isn’t known
  592 |     struct timeval tm_end, tm_aux;
      |                            ^~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:592:28: warning: unused variable ‘tm_aux’ [-Wunused-variable]
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:592:20: warning: unused variable ‘tm_end’ [-Wunused-variable]
  592 |     struct timeval tm_end, tm_aux;
      |                    ^~~~~~
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-mlock.o
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/nv-pci-table.o
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c: In function ‘_os_ipmi_receive_resp’:
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:1957:29: error: storage size of ‘tv’ isn’t known
 1957 |     struct timeval          tv;
      |                             ^~
/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.c:1957:29: warning: unused variable ‘tv’ [-Wunused-variable]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:267: /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-interface.o] Error 1
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-pci.o
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-usermap.o
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/os-registry.o
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/nv-modeset-interface.o
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel/nvidia/nv.o
make[1]: *** [Makefile:1683: /var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel] Error 2
make[1]: uscita dalla directory "/usr/src/linux-5.6.0-gentoo"
make: *** [Makefile:81: modules] Error 2
 * ERROR: x11-drivers/nvidia-drivers-440.64::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-440.64::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-440.64::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/kernel'
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-440.64/work/'
 
tnx for any hint
linux user #493115
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31988
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Mar 31, 2020 8:08 am

See topic 1110644
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
marziods
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 136
Joined: Thu Jun 25, 2009 1:22 pm
Location: <Roma>par lavor | Udine | Friul | Italie

  • Quote

Post by marziods » Tue Mar 31, 2020 8:57 am

fedeliallalinea wrote:See topic 1110644
Ok grazie,
I just tested with patch and it works... now I will wait for a official one

have a nice day!
linux user #493115
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Mar 31, 2020 9:57 am

Business as usual for people depending on proprietary graphics drivers.
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3079
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Tue Mar 31, 2020 11:44 am

Moved from Kernel & Hardware to Duplicate Threads in favour of nvidia-drivers-440.64 fail to buiild against kernel 5.6.
Kindest of regardses.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic