Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix...
Date: Sat, 04 Apr 2020 07:36:40
Message-Id: 105746030.nniJfEyVGO@eve
In Reply to: [gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix... by tuxic@posteo.de
1 On Saturday, April 4, 2020 6:45:58 AM CEST tuxic@××××××.de wrote:
2 > Hi,
3 >
4 > I have discussed this on www.blenderartists.org and they asked
5 > me to ask here to sort out, whether the problem is a Blender-thing,
6 > a Linux-thing or a GENTOO-thing.
7 >
8 > My setup is as follows:
9 > NVidia RTX 2060 SUPER
10 >
11 > NVidia-drivers:
12 > [I] x11-drivers/nvidia-drivers
13 > Available versions: (~)304.137-r1(0/304)^md[1]
14 > (~)340.107-r2(0/340)^md[1] 340.108(0/340)^mtd (~)375.82-r2(0/375)^md[1]
15 > (~)378.13-r5(0/378)^md[1] (~)381.22-r3(0/381)^md[1]
16 > (~)384.130-r1(0/384)^md[1] (~)387.34-r1(0/387)^md[1]
17 > (~)390.77-r1(0/390)^md[1] (~)390.87(0/390)^md[1] 390.132-r1(0/390)^mtd
18 > (~)390.132-r2(0/390)^mtd (~)396.24-r2(0/396)^md[1]
19 > (~)396.24.10-r1(0/396.24)^md[1] (~)396.45-r1(0/396)^md[1]
20 > (~)396.51-r1(0/396)^md[1] (~)396.51.02(0/396.51)^md[1]
21 > (~)396.54(0/396)^md[1] 430.64-r1(0/430)^mtd 435.21-r1(0/435)^mtd
22 > 440.64(0/440)^mtd {+X acpi compat +driver gtk3 +kms +libglvnd multilib
23 > pax_kernel static-libs +tools uvm wayland ABI_MIPS="n32 n64 o32"
24 > ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD
25 > linux"} Installed versions: 440.64(0/440)^mtd(03:03:25 AM 04/03/2020)(X
26 > driver kms libglvnd static-libs tools uvm -acpi -compat -gtk3 -multilib
27 > -wayland ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32
28 > -64" ABI_X86="64 -32 -x32" KERNEL="linux -FreeBSD") Homepage:
29 > https://www.nvidia.com/
30 > Description: NVIDIA Accelerated Graphics Driver
31 >
32 > Blender 2.82a (stable) and
33 > Blender 2.83 (deveoper build)
34 >
35 > The NVidia RTX-cards offer a new feature called "Optix" which blender
36 > can use to speed up rendering and denoising.
37 >
38 > When Blender is started one choose "Optix" from the user
39 > Preferences->System tab and then the Optix-enabled devices of the
40 > system in question are shown.
41 > There is a similiar tab, if you want to use CUDA instead.
42 >
43 > The CUDA tab shows my graphics card and everything behaves as
44 > exsoected. Choosing "Optix" instead says "No Optix enabled
45 > device".
46 >
47 > Which is not quite right, since the RTX-cards are Optix enabled.
48 >
49 > In the thread on blenderartists there were two libs (?) mentioned (on
50 > a Ubuntu system, where the Optix thingie works), which I cannot
51 > find on my system:
52 >
53 > + libnividia-compute
54 > + libnivia-gl
55 >
56 > . Does Gentoo installs a differently packaged nvidia-driver?
57 > What is the source of those libraries?
58 >
59 > If someone got Optix running with blender on a RTX-card under GENTOO
60 > I woyld be very happy for any help! :)
61 >
62 > Cheers and stay healthy!
63 > Meino
64
65 I think the second one might be a typo (libnvidia instead of libnivia).
66
67 I find the following libnvidia-gl* libraries on my system:
68
69 lrwxrwxrwx 1 root root 26 Mar 27 10:00 /usr/lib64/libnvidia-glcore.so ->
70 libnvidia-glcore.so.440.59
71 -rwxr-xr-x 1 root root 28661160 Mar 27 10:00 /usr/lib64/libnvidia-glcore.so.
72 440.59
73 lrwxrwxrwx 1 root root 24 Mar 27 10:00 /usr/lib64/libnvidia-glsi.so ->
74 libnvidia-glsi.so.440.59
75 -rwxr-xr-x 1 root root 687304 Mar 27 10:00 /usr/lib64/libnvidia-glsi.so.
76 440.59
77 lrwxrwxrwx 1 root root 29 Mar 27 10:00 /usr/lib64/libnvidia-glvkspirv.so
78 -> libnvidia-glvkspirv.so.440.59
79 -rwxr-xr-x 1 root root 11114264 Mar 27 10:00 /usr/lib64/libnvidia-
80 glvkspirv.so.440.59
81
82
83 (Eg: libnvidia-glcore, libnvidia-glsi, libnvidia-glvkspirv)
84
85 but not "libnvidia-compute"
86
87 I do find "libnvidia-compiler"
88
89
90 Might it be part of one of the nvidia toolkits?
91
92 --
93 Joost