$ primusrun glxgears primus: fatal: failed to load any of the libraries: /usr/$LIB/X11/libGL.so.1 /usr/$LIB/X11/libGL.so.1: cannot open shared object file: No such file or directory $ optirun -vv -b primus glxgears [ 2105.879783] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2105.880091] [INFO]Configured driver: nvidia [ 2105.880393] [DEBUG]optirun version 3.2.1 starting... [ 2105.880423] [DEBUG]Active configuration: [ 2105.880451] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2105.880477] [DEBUG] X display: :8 [ 2105.880497] [DEBUG] LD_LIBRARY_PATH: /etc/X11/lib_nvidia/current:/etc/X11/lib64_nvidia/current [ 2105.880519] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2105.880544] [DEBUG] Accel/display bridge: primus [ 2105.880563] [DEBUG] VGL Compression: proxy [ 2105.880595] [DEBUG] VGLrun extra options: [ 2105.880616] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus [ 2106.904985] [INFO]Response: Yes. X is active. [ 2106.905002] [INFO]Running application using primus. [ 2106.905129] [DEBUG]Process glxgears started, PID 3658. primus: fatal: failed to load any of the libraries: /usr/$LIB/libGL.so.1:/usr/lib/$LIB/libGL.so.1:/usr/$LIB/mesa/libGL.so.1:/usr/lib/$LIB/mesa/libGL.so.1 /usr/lib64/libGL.so.1: undefined symbol: _glapi_tls_Current /usr/lib/$LIB/libGL.so.1: cannot open shared object file: No such file or directory /usr/$LIB/mesa/libGL.so.1: cannot open shared object file: No such file or directory /usr/lib/$LIB/mesa/libGL.so.1: cannot open shared object file: No such file or directory [ 2106.909574] [DEBUG]SIGCHILD received, but wait failed with No child processes [ 2106.909599] [DEBUG]Socket closed. [ 2106.909613] [DEBUG]Killing all remaining processes. при этом optirun работает... $ optirun -vv -b virtualgl glxgears [ 2161.788710] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2161.789039] [INFO]Configured driver: nvidia [ 2161.789342] [DEBUG]optirun version 3.2.1 starting... [ 2161.789368] [DEBUG]Active configuration: [ 2161.789386] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2161.789402] [DEBUG] X display: :8 [ 2161.789427] [DEBUG] LD_LIBRARY_PATH: /etc/X11/lib_nvidia/current:/etc/X11/lib64_nvidia/current [ 2161.789450] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2161.789458] [DEBUG] Accel/display bridge: virtualgl [ 2161.789474] [DEBUG] VGL Compression: proxy [ 2161.789493] [DEBUG] VGLrun extra options: [ 2161.789509] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus [ 2162.807304] [INFO]Response: Yes. X is active. [ 2162.807322] [INFO]Running application using virtualgl. [ 2162.807456] [DEBUG]Process vglrun started, PID 3689. 8622 frames in 5.0 seconds = 1724.306 FPS 8839 frames in 5.0 seconds = 1767.676 FPS $ optirun -vv -b virtualgl glxgears [ 2161.788710] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2161.789039] [INFO]Configured driver: nvidia [ 2161.789342] [DEBUG]optirun version 3.2.1 starting... [ 2161.789368] [DEBUG]Active configuration: [ 2161.789386] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2161.789402] [DEBUG] X display: :8 [ 2161.789427] [DEBUG] LD_LIBRARY_PATH: /etc/X11/lib_nvidia/current:/etc/X11/lib64_nvidia/current [ 2161.789450] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2161.789458] [DEBUG] Accel/display bridge: virtualgl [ 2161.789474] [DEBUG] VGL Compression: proxy [ 2161.789493] [DEBUG] VGLrun extra options: [ 2161.789509] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus [ 2162.807304] [INFO]Response: Yes. X is active. [ 2162.807322] [INFO]Running application using virtualgl. [ 2162.807456] [DEBUG]Process vglrun started, PID 3689. 8622 frames in 5.0 seconds = 1724.306 FPS 8839 frames in 5.0 seconds = 1767.676 FPS Очень похоже на эту багу из сизифа https://bugzilla.altlinux.org/show_bug.cgi?id=35530
Для чистоты эксперимента проверил на alt-kworkstation-8.80-alpha20190703-live-x86_64.iso. Там тоже самое, primusrun падает с ошибкой. Но при этом optirun нормально отрабатывает. [altlinux@localhost ~]$ primusrun firefox primus: fatal: failed to load any of the libraries: /usr/$LIB/X11/libGL.so.1 /usr/$LIB/X11/libGL.so.1: cannot open shared object file: No such file or directory [altlinux@localhost ~]$ optirun firefox (firefox:1775): Gtk-WARNING **: 17:20:56.763: Theme parsing error: <data>:1:34: Expected ')' in color definition (firefox:1775): Gtk-WARNING **: 17:20:56.763: Theme parsing error: <data>:1:77: Expected ')' in color definition ^C[ 583.210468] [WARN]Received Interrupt signal.
Мантейнер xorg решил, что пора это делать через GLVND.
то есть никакого решения на данный момент нет? Откатываться обратно на p8 или как сейчас пользоваться гибридной графикой?
(В ответ на комментарий №3) > то есть никакого решения на данный момент нет? GLVND > Откатываться обратно на p8 Как вариант. > или как сейчас пользоваться гибридной графикой? Мантейнер xorg-server должен быть в курсе.