Am Sat, 6 May 2017 16:23:19 +0200
schrieb tu...@posteo.de:

> It's there
> -rw-r--r-- 1 root root 141 May  6 10:37 /etc/env.d/000opengl
> 
> and its contents is:
> # Configuration file for eselect
> # This file has been automatically generated.
> LDPATH="/usr/lib64/opengl/nvidia/lib"
> OPENGL_PROFILE="nvidia"
> 
> Contents of ld.so.conf:
> 
> # ld.so.conf autogenerated by env-update; make all changes to
> # contents of /etc/env.d directory
> /usr/lib64/opengl/nvidia/lib
> /lib64
> /usr/lib64
> /usr/local/lib64
> /lib
> /usr/lib
> /usr/local/lib
> include ld.so.conf.d/*.conf
> /usr/lib64/OpenCL/vendors/nvidia
> /usr/lib/llvm/4/lib64
> /usr/lib64/itcl4.0.3/
> /usr/lib64/itk4.0.1/
> /usr/lib64/qt4
> /opt/nvidia-cg-toolkit/lib64
> /usr/games/lib64
> /usr/games/lib
> /opt/cuda/lib64
> /opt/cuda/lib
> /opt/cuda/nvvm/lib64
> /usr/lib64/fltk
> /usr/lib64/libgig/
> 
> 
> 
> No, no ACLs here:
> 
> ls -l /dev/input/*   (excerpt)
> 
> crw-rw---- 1 root input 13, 64 May  6 12:11 /dev/input/event0
> crw-rw---- 1 root input 13, 65 May  6 12:11 /dev/input/event1
> 
> 
> crw-rw---- 1 root video 195,   0 May  6 12:11 /dev/nvidia0
> crw-rw---- 1 root video 195,   1 May  6 12:11 /dev/nvidia1
> crw-rw---- 1 root video 195, 255 May  6 12:11 /dev/nvidiactl
> crw-rw-rw- 1 root root  195, 254 May  6 12:11 /dev/nvidia-modeset
> crw-rw-rw- 1 root root  246,   0 May  6 12:20 /dev/nvidia-uvm
> crw-rw-rw- 1 root root  246,   1 May  6 12:20 /dev/nvidia-uvm-tools
> 
> 
> I have two nvidia-cards in my PC. One (the slower,older) is for
> everytyhing except rendering, the newer and faster one is for
> rendering except anything else.
> 
> The above shows both permissions:
> root:root and root:portage...
> 
> 
> Video-group settings are ok it seems:
> NVreg_DeviceFileGID=27
> 
> 27(video)

Okay, this looks all good.

> (as user)
> glxgears -info:
> Running synchronized to the vertical refresh.  The framerate should be
> approximately the same as the monitor refresh rate.
> GL_RENDERER   = GeForce GT 430/PCIe/SSE2          <<<===== this is
> the older, slower graphics card!

Is this what you expected?

I'm not sure how to handle multiple nvidia cards properly and assign
them to different tasks. My best guess is using nvidia-settings.

I guess one GPU is used for X11, the other is not. So, if you want one
application to use the idle GPU, it may not be initialized.

I think this is when you use persistenced:
https://docs.nvidia.com/deploy/driver-persistence/

> GL_VERSION    = 4.5.0 NVIDIA 381.09
> GL_VENDOR     = NVIDIA Corporation
> GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays
[...snip...]

I guess this is all not Gentoo related. Your graphics stack looks
correct. I guess that FreeCAD chokes because of your special setup
with two GPUs. You may want to contact their support forum.
Everything related to the basic configuration looks correct.


-- 
Regards,
Kai

Replies to list-only preferred.


Reply via email to