View previous topic :: View next topic |
Author |
Message |
marziods Tux's lil' helper
Joined: 25 Jun 2009 Posts: 136 Location: <Roma>par lavor | Udine | Friul | Italie
|
Posted: Tue Mar 31, 2020 8:05 am Post subject: Linux Kernel 5.6.0: nvidia-drivers does not workig |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31255 Location: here
|
Posted: Tue Mar 31, 2020 8:08 am Post subject: |
|
|
See topic 1110644 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
marziods Tux's lil' helper
Joined: 25 Jun 2009 Posts: 136 Location: <Roma>par lavor | Udine | Friul | Italie
|
Posted: Tue Mar 31, 2020 8:57 am Post subject: |
|
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9250
|
Posted: Tue Mar 31, 2020 9:57 am Post subject: |
|
|
Business as usual for people depending on proprietary graphics drivers. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2718 Location: Here and Away Again
|
|
Back to top |
|
|
|