FS#53369 - [primus][nvidia] primus cant find libGL.so.1
Attached to Project:
Community Packages
Opened by michael (monad) - Sunday, 19 March 2017, 16:03 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 20 March 2017, 19:23 GMT
Opened by michael (monad) - Sunday, 19 March 2017, 16:03 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 20 March 2017, 19:23 GMT
|
Details
Description:
primus fails to locate libGL.so.1 that should be provided by nvidia: user@pc ~ % optirun -b primus glxspheres64 primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1 /usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory /usr/lib32/nvidia/libGL.so.1: cannot open shared object file: No such file or directory not using primus as the bridge works fine: user@pc ~ % optirun glxspheres64 Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) Visual ID of window: 0x21 Context is Direct OpenGL Renderer: GeForce GTX 1060/PCIe/SSE2 Additional info: * package versions: primus 20151110-7 nvidia 378.13-3 nvidia-utils 378.13-5 |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Monday, 20 March 2017, 19:23 GMT
Reason for closing: Not a bug
Monday, 20 March 2017, 19:23 GMT
Reason for closing: Not a bug
This seems to be fixed by the latest nvidia update (nvidia 378.13-4):
user@pc ~ % optirun -b primus glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0xb2
Context is Direct
OpenGL Renderer: GeForce GTX 1060/PCIe/SSE2
interestingly, there is still no libGL.so.1 in /usr/lib/nvidia so this is a case of 'it runs but I have no idea why'
If there is any additional information needed to prevent a bug like this in the future, please let me know.
58c58
< LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
---
> LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
which explains why primus is now able to find the library.
This bug can be closed then, thank you.