Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux Kernel 5.6.0: nvidia-drivers does not workig
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
marziods
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2009
Posts: 136
Location: <Roma>par lavor | Udine | Friul | Italie

PostPosted: Tue Mar 31, 2020 8:05 am    Post subject: Linux Kernel 5.6.0: nvidia-drivers does not workig Reply with quote

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:
 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:
 
[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
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Tue Mar 31, 2020 8:08 am    Post subject: Reply with quote

See topic 1110644
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
marziods
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2009
Posts: 136
Location: <Roma>par lavor | Udine | Friul | Italie

PostPosted: Tue Mar 31, 2020 8:57 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Tue Mar 31, 2020 9:57 am    Post subject: Reply with quote

Business as usual for people depending on proprietary graphics drivers.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2575
Location: Here and Away Again

PostPosted: Tue Mar 31, 2020 11:44 am    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads in favour of nvidia-drivers-440.64 fail to buiild against kernel 5.6.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum