@jonathon I'm awaiting for 5.10 kernel support. Is that entirely on nvidia's side, or can you create a 5.10 patch? Once again, here are my errors, but in code format in case my previous attempt was ignored due to an external pastebin:
/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c: In function
‘__nv_drm_gem_user_memory_prime_get_sg_table’:
/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32
/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:50:48: error: passing
argument 1 of ‘drm_prime_pages_to_sg’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
50 | return drm_prime_pages_to_sg(nv_user_memory->pages,
| ~~~~~~~~~~~~~~^~~~~~~
| |
| struct page **
In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:91:59: note: expected ‘struct drm_device *’ but
argument is of type ‘struct page **’
91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
| ~~~~~~~~~~~~~~~~~~~^~~
/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:51:48: warning:
passing argument 2 of ‘drm_prime_pages_to_sg’ makes pointer from integer
without a cast [-Wint-conversion]
51 | nv_user_memory->pages_count);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
| |
| long unsigned int
In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:92:26: note: expected ‘struct page **’ but argument
is of type ‘long unsigned int’
92 | struct page **pages, unsigned int nr_pages);
| ~~~~~~~~~~~~~~^~~~~
/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:50:12: error: too few
arguments to function ‘drm_prime_pages_to_sg’
50 | return drm_prime_pages_to_sg(nv_user_memory->pages,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-
x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:28:
./include/drm/drm_prime.h:91:18: note: declared here
91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~
/home/l0linux/.cache/yay/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-
compat32/kernel/nvidia-drm/nvidia-drm-gem-user-memory.c:52:1: error: control
reaches end of non-void function [-Werror=return-type]
52 | }
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home/l0linux/.cache/yay/nvidia-
390xx/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia-drm/nvidia-
drm-gem-user-memory.o] Error 1
make[1]: *** [Makefile:1805: /home/l0linux/.cache/yay/nvidia-390xx/src
/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel] Error 2
Pinned Comments
jonathon commented on 2020-10-19 12:40
PACKAGE NEEDS MAINTAINER
I have adopted the 390xx packages to keep them secure. I do not run any 390xx hardware so will not notice any breakages and cannot test any changes.
Until such time as someone else steps up to maintain these packages - ideally someone who actually has 390xx hardware - I have to rely on you to tell me what changes are needed.
Don't expect a response if you post only "this doesn't work", and do not email me to complain about the package not working!
Use this forum thread for discussion: https://bbs.archlinux.org/viewtopic.php?pid=1946926
forcegk commented on 2020-03-20 02:18
Hello, I'd recommend to you all using the nvidia-390xx-dkms package. If anyone here knows how to change the script in order for the package to recompile every time linux kernel gets updated, please let me know via email. Thank you.