Created
January 23, 2017 11:45
-
-
Save wellington1993/67df37554c41f5c22ed3e5ca04caf8a3 to your computer and use it in GitHub Desktop.
Andorid emulator problem: libGL error: unable to load driver: i965_dri.so
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ON your Android sdk folder: | |
cd /home/wellington/Android/Sdk/tools/lib64/libstdc++ | |
# Arch Linux | |
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6{,.bak} | |
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6.0.18{,.bak} | |
ln -s /usr/lib/libstdc++.so ~/Android/Sdk/tools/lib64/libstdc++/ | |
#I found de library in another place on Ubuntu 16.10: | |
# /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
# From: | |
# http://en.proft.me/2016/05/13/fix-libgl-error-unable-load-driver-i965_driso/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Waiting for emulator to start... | |
libGL error: unable to load driver: i965_dri.so | |
libGL error: driver pointer missing | |
libGL error: failed to load driver: i965 | |
libGL error: unable to load driver: i965_dri.so | |
libGL error: driver pointer missing | |
libGL error: failed to load driver: i965 | |
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: 55 | |
Current serial number in output stream: 54 | |
libGL error: | |
unable to load driver: i965_dri.so | |
libGL error: | |
driver pointer missing | |
libGL error: | |
failed to load driver: i965 | |
libGL error: | |
unable to load driver: i965_dri.so | |
libGL error: | |
driver pointer missing | |
libGL error: failed to load driver: i965 | |
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: 55 | |
Current serial number in output stream: 54 | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libGL error: | |
unable to load driver: i965_dri.so | |
libGL error: | |
driver pointer missing | |
libGL error: failed to load driver: i965 | |
libGL error: unable to load driver: i965_dri.so | |
libGL error: driver pointer missing | |
libGL error: failed to load driver: i965 | |
libGL error: | |
unable to load driver: swrast_dri.so | |
libGL error: | |
failed to load driver: swrast | |
X Error of failed request: BadValue (integer parameter out of range for operation) | |
Major opcode of failed request: 155 | |
(GLX) | |
Minor opcode of failed request: 24 | |
(X_GLXCreateNewContext) | |
Value in failed request: 0x0 | |
Serial number of failed request: 39 | |
Current serial number in output stream: 40 | |
QObject::~QObject: Timers cannot be stopped from another thread | |
emulator: Requested console port 5584: Inferring adb port 5585. | |
Creating filesystem with parameters: | |
Size: 69206016 | |
Block size: 4096 | |
Blocks per group: 32768 | |
Inodes per group: 4224 | |
Inode size: 256 | |
Journal blocks: 1024 | |
Label: | |
Blocks: 16896 | |
Block groups: 1 | |
Reserved block group size: 7 | |
Created filesystem with 11/4224 inodes and 1302/16896 blocks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on arch linux
mv ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6{,.bak}
ln -s /usr/lib64/libstdc++.so.6 ~/Android/Sdk/emulator/lib64/libstdc++/libstdc++.so.6