页次: 1
Starting emulator for AVD 'bbb'
sh: glxinfo: command not found
安装mesa-demos
离线
错误2
ibGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 49
Current serial number in output stream: 48
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 49
Current serial number in output stream: 48
离线
% export LIBGL_DEBUG=verbose
% glxinfo | grep direct
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL: Can't open configuration file /home/road/.drirc: No such file or directory.
libGL: Can't open configuration file /home/road/.drirc: No such file or directory.
libGL: Using DRI2 for screen 0
direct rendering: Yes
GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_direct_state_access,
离线
所以哪個是問題?libgl 找不到?
試試開 multilib 裝 32 位的驅動
computerは神様だと信じていて
だからVIMの上でずっと指が舞って
自ら恋愛相手を作り出して
离线
早就装过了,不行啊
离线
I solved the problem myself shortly after posting the topic:
Something has changed in the permissions policy, which now requires that you are a member of the video group if you want to run libGL. So a simple
# usermod -aG video myuser
followed by an X restart, is sufficient.
Hopefully this will help others with the same problem.
离线
解决了
Confirmed. I create a symlink and then I can start the emulator without prepending LD_PRELOAD as stated before.
$ cd $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++
Thank you for the hint!
离线
链接到一个目录也行啊……,不是直接到.so……
解决了
Confirmed. I create a symlink and then I can start the emulator without prepending LD_PRELOAD as stated before.$ cd $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++Thank you for the hint!
archlinux磨合中
离线
页次: 1