1 |
Am Sat, 6 May 2017 16:23:19 +0200 |
2 |
schrieb tuxic@××××××.de: |
3 |
|
4 |
> It's there |
5 |
> -rw-r--r-- 1 root root 141 May 6 10:37 /etc/env.d/000opengl |
6 |
> |
7 |
> and its contents is: |
8 |
> # Configuration file for eselect |
9 |
> # This file has been automatically generated. |
10 |
> LDPATH="/usr/lib64/opengl/nvidia/lib" |
11 |
> OPENGL_PROFILE="nvidia" |
12 |
> |
13 |
> Contents of ld.so.conf: |
14 |
> |
15 |
> # ld.so.conf autogenerated by env-update; make all changes to |
16 |
> # contents of /etc/env.d directory |
17 |
> /usr/lib64/opengl/nvidia/lib |
18 |
> /lib64 |
19 |
> /usr/lib64 |
20 |
> /usr/local/lib64 |
21 |
> /lib |
22 |
> /usr/lib |
23 |
> /usr/local/lib |
24 |
> include ld.so.conf.d/*.conf |
25 |
> /usr/lib64/OpenCL/vendors/nvidia |
26 |
> /usr/lib/llvm/4/lib64 |
27 |
> /usr/lib64/itcl4.0.3/ |
28 |
> /usr/lib64/itk4.0.1/ |
29 |
> /usr/lib64/qt4 |
30 |
> /opt/nvidia-cg-toolkit/lib64 |
31 |
> /usr/games/lib64 |
32 |
> /usr/games/lib |
33 |
> /opt/cuda/lib64 |
34 |
> /opt/cuda/lib |
35 |
> /opt/cuda/nvvm/lib64 |
36 |
> /usr/lib64/fltk |
37 |
> /usr/lib64/libgig/ |
38 |
> |
39 |
> |
40 |
> |
41 |
> No, no ACLs here: |
42 |
> |
43 |
> ls -l /dev/input/* (excerpt) |
44 |
> |
45 |
> crw-rw---- 1 root input 13, 64 May 6 12:11 /dev/input/event0 |
46 |
> crw-rw---- 1 root input 13, 65 May 6 12:11 /dev/input/event1 |
47 |
> |
48 |
> |
49 |
> crw-rw---- 1 root video 195, 0 May 6 12:11 /dev/nvidia0 |
50 |
> crw-rw---- 1 root video 195, 1 May 6 12:11 /dev/nvidia1 |
51 |
> crw-rw---- 1 root video 195, 255 May 6 12:11 /dev/nvidiactl |
52 |
> crw-rw-rw- 1 root root 195, 254 May 6 12:11 /dev/nvidia-modeset |
53 |
> crw-rw-rw- 1 root root 246, 0 May 6 12:20 /dev/nvidia-uvm |
54 |
> crw-rw-rw- 1 root root 246, 1 May 6 12:20 /dev/nvidia-uvm-tools |
55 |
> |
56 |
> |
57 |
> I have two nvidia-cards in my PC. One (the slower,older) is for |
58 |
> everytyhing except rendering, the newer and faster one is for |
59 |
> rendering except anything else. |
60 |
> |
61 |
> The above shows both permissions: |
62 |
> root:root and root:portage... |
63 |
> |
64 |
> |
65 |
> Video-group settings are ok it seems: |
66 |
> NVreg_DeviceFileGID=27 |
67 |
> |
68 |
> 27(video) |
69 |
|
70 |
Okay, this looks all good. |
71 |
|
72 |
> (as user) |
73 |
> glxgears -info: |
74 |
> Running synchronized to the vertical refresh. The framerate should be |
75 |
> approximately the same as the monitor refresh rate. |
76 |
> GL_RENDERER = GeForce GT 430/PCIe/SSE2 <<<===== this is |
77 |
> the older, slower graphics card! |
78 |
|
79 |
Is this what you expected? |
80 |
|
81 |
I'm not sure how to handle multiple nvidia cards properly and assign |
82 |
them to different tasks. My best guess is using nvidia-settings. |
83 |
|
84 |
I guess one GPU is used for X11, the other is not. So, if you want one |
85 |
application to use the idle GPU, it may not be initialized. |
86 |
|
87 |
I think this is when you use persistenced: |
88 |
https://docs.nvidia.com/deploy/driver-persistence/ |
89 |
|
90 |
> GL_VERSION = 4.5.0 NVIDIA 381.09 |
91 |
> GL_VENDOR = NVIDIA Corporation |
92 |
> GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays |
93 |
[...snip...] |
94 |
|
95 |
I guess this is all not Gentoo related. Your graphics stack looks |
96 |
correct. I guess that FreeCAD chokes because of your special setup |
97 |
with two GPUs. You may want to contact their support forum. |
98 |
Everything related to the basic configuration looks correct. |
99 |
|
100 |
|
101 |
-- |
102 |
Regards, |
103 |
Kai |
104 |
|
105 |
Replies to list-only preferred. |