Erro GLX quebrado ao usar o Bumblebee 3.2.1 no openSUSE 13.1

1

Atualizar

Eu comecei tudo de novo. Desta vez, em vez do botão de um clique para os drivers que eu instalei nvidia-bumblebee . Isso funciona um pouco melhor porque agora tenho meus efeitos de área de trabalho novamente. Também as aplicações que precisam do OpenGL estão funcionando novamente. No entanto, ainda não consigo executar glxspheres:

$ optirun glxspheres
Polygons in scene: 62464
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Visual ID of window: 0x20
[VGL] WARNING: The OpenGL rendering context obtained on X display
[VGL]    :8 is indirect, which may cause performance to suffer.                                                                                                                                                                                
[VGL]    If :8 is a local X display, then the framebuffer device                                                                                                                                                                               
[VGL]    permissions may be set incorrectly.
Context is Indirect
OpenGL Renderer: GeForce GT 540M/PCIe/SSE2
[VGL] ERROR: in readpixels--
[VGL]    358: GL_ARB_pixel_buffer_object extension not available

Antigo

Instalei o Bumblebee 3.2.1 para o openSUSE 13.1 de 64 bits, mas infelizmente não está funcionando corretamente. A placa discreta está DESATIVADA como deveria, no entanto, se eu usar optirun / primusrun, recebo o seguinte erro:

$ optirun glxspheres64
primus: fatal: broken GLX on main X display

$ primusrun glxspheres64
primus: fatal: broken GLX on main X display

Consegui descobrir que um simbólico está apontando para uma biblioteca compartilhada não existente:

$ cd /usr/lib64/nvidia/xorg/modules/extensions
$ ls -l
$ libglx.so -> /usr/lib64/nvidia/xorg/modules/extensions/libglx.so.331.4x

Eu não lembro qual foi o último dígito exato, então essa é a razão para o x à direita. Alterei o link simbólico para apontar para outras bibliotecas compartilhadas semelhantes (existentes), como:

  • /usr/lib64/xorg/modules/extensions/libglx.so
  • /usr/lib64/xorg/modules/updates/extensions/libglx.so.331.79

Mas isso não funcionou (mesmo depois de uma reinicialização). Então estou sem ideias. Alguém pode me ajudar? Para o propósito de completude, vou agora elaborar como instalei o zangão.

Como eu instalei o Bumblebee

  • Primeiro eu limpei meu sistema usando este guia: link
  • Reinicializar
  • Então eu instalei o Bumblebee de acordo com a seção "Procedimento" deste guia: link
  • De acordo com o mesmo guia, instalei os drivers da NVIDIA usando o botão de um clique para "GeForce 8 e posterior" em: link
  • Reinicializar

Saída de verificações

$ groups
users wheel video vboxusers bumblebee

# ls /proc/acpi/bbswitch
/proc/acpi/bbswitch

# cat /proc/acpi/bbswitch
0000:01:00.0 OFF

# systemctl status bumblebeed
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Mon 2014-06-16 17:15:54 CEST; 31min ago
Main PID: 730 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
        └─730 /usr/sbin/bumblebeed

Jun 16 17:26:21 izanagi bumblebeed[730]: [45B blob data]
Jun 16 17:26:21 izanagi bumblebeed[730]: Try '/usr/bin/mknod --help' for more information.
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964255] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964294] [ERROR][XORG] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964301] [ERROR][XORG] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964307] [ERROR][XORG] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964313] [ERROR][XORG] (EE) NVIDIA(0):     you continue to encounter problems, Please try
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964319] [ERROR][XORG] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
Jun 16 17:26:22 izanagi bumblebeed[730]: [  642.964329] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Jun 16 17:26:22 izanagi bumblebeed[730]: [  643.080318] [ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.

$ optirun --status
Bumblebee status: Error (3.2.1): [XORG] (EE) Server terminated successfully (0). Closing log file.
    
por Aeronaelius 16.06.2014 / 17:52

1 resposta

2

Experimente primusrun em vez

primusrun glxspheres

Você também deve descobrir, se possível, a que pacote esse link pertence; No entanto, estou assumindo que o pacote já está desinstalado. Portanto, tente:

rm -rf /usr/lib64/nvidia/xorg/modules/extensions/libglx.so
    
por 17.06.2014 / 11:01