You are not logged in.
Hi all, I'm trying to launch an Android emulator, but I get a bunch of GL-related errors. The output from the AVD is this:
Cannot launch AVD in emulator.
Output:
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
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: 156 (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: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
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: 156 (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: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
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: 156 (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
What's going on in here? How do I fix this?
Last edited by manabreak (2016-03-06 13:55:09)
Offline
Please use code tags when pasting terminal output.
What is AVD? Where did you get it from? Is it a 32-bit binary? If so, have you enabled multilib on your system (if you're on 64-bit) and installed the 32-bit libraries for your system?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please use code tags when pasting terminal output.
What is AVD? Where did you get it from? Is it a 32-bit binary? If so, have you enabled multilib on your system (if you're on 64-bit) and installed the 32-bit libraries for your system?
AVD stands for Android Virtual Device. They come along with Android development tools via Android SDK manager.
Offline
The problem here is basically the same as for steam. (See https://wiki.archlinux.org/index.php/St … me_issues)
In short: The Android SDK ships it's own copy of libstdc++.so.6 in Sdk/tools/lib64/libstdc++. I got the emulator to run by deleting/renaming the libstdc++ folder. The other solutions from the Steam wiki page might work as well.
If you are not comfortable messing with the SDK's libstdc++ your last option is to configure the AVD to use software GLES 2.0, which will give you a working, if somewhat slow, emulator.
Offline
Renaming worked.
Thanks!
Offline