Executando Steam e Dota 2 com primus

5

Eu queria controlar meu zumbido, mas enfrentei um problema: quando tento usar vapor usando primusrun, fico com segfault. Qualquer outra coisa também não funciona com primus. Veja um exemplo de execução de primusrun glxspheres64 com LIBGL_DEBUG=verbose .

shy@shy-Inspiron-N5110:~$ LIBGL_DEBUG=verbose primusrun glxspheres64
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL error: failed to load driver: swrast
Polygons in scene: 62464
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL error: failed to load driver: swrast
Visual ID of window: 0x5f
Context is Direct
OpenGL Renderer: GeForce GT 525M/PCIe/SSE2
libGL: screen 0 does not appear to be DRI3 capable
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL: Can't open configuration file /home/shy/.drirc: No such file or directory.
libGL error: failed to load driver: swrast
primus: fatal: failed to acquire direct rendering context for display thread

Se eu executar o steam usando optirun , o vapor em si funciona bem, mas quando se trata de lançar o Dota, isso me causa alguns outros erros. Opções de lançamento:

LD_PRELOAD=libpthread.so.0 libGL.so.1 __GL_THREADED_OPTIMIZATIONS=1 optirun %command%

Registre-se:

Game update: AppID 570 "Dota 2", ProcID 10988, IP 0.0.0.0:0
ERROR: ld.so: object '/home/shy/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/sh: 1: libGL.so.1: not found
Game removed: AppID 570 "Dota 2", ProcID 10988 

Eu tentei copiar manualmente libGL.so.1 do meu /usr/lib32/nvidia-343 para ~/steamlibs e usá-lo. Agora Dota me dá um segfault.

Game update: AppID 570 "Dota 2", ProcID 12567, IP 0.0.0.0:0
ERROR: ld.so: object '/home/shy/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Segmentation fault (core dumped)
Game removed: AppID 570 "Dota 2", ProcID 12567 

O que estou fazendo de errado?

    
por absolutely_dumb 21.09.2014 / 23:34

0 respostas