Bug Description
1. Summary
On a Linux host missing some system libraries, vega virtual-device start doesn’t report the real problem. It waits for the whole timeout and then prints failed to access shell. The bundled qemu can’t start because libpulse.so.0 and several X/xcb/GL libraries are missing, which we only found by running ldd on the qemu binary ourselves.
App Name: Kahani TV (hackathon project, not yet on the Appstore)
App Link on Amazon Appstore: N/A
Bug Severity
- Impacts operation of app
- Blocks current development (until the cause is found)
- Improvement suggestion
- Issue with documentation: the VVD setup page doesn’t list the host packages qemu needs
- Other
2. Steps to Reproduce
- On Ubuntu 24.04 without desktop audio/GL packages (for example a minimal or container install), install the Vega SDK.
- Run
vega virtual-device start --timeout 240. - Wait.
3. Observed Behavior
(waits 240 s)
failed to access shell
ldd on the bundled qemu shows libpulse.so.0 => not found, plus missing libX11/xcb, libGL/libEGL and libgbm.
4. Expected Behavior
The start command checks qemu's libraries (like the Android emulator's own
checks), fails within seconds, and names the missing libraries or packages.
The setup docs list the packages.
4.a Possible Root Cause & Temporary Workaround
Root cause: qemu exits immediately for missing shared libraries; the CLI keeps
polling for a shell until the timeout.
Workaround: apt install libpulse0 libnss3 libgl1 libegl1 libgbm1 and the
libx11 / libxcb packages. After that the VVD booted in about 10 seconds.
5. Logs or crash report
ldd <sdk>/.../qemu-system-* | grep "not found"
libpulse.so.0 => not found
(and X11/xcb, GL, EGL, gbm libraries)
6. Environment
- SDK Version: Vega CLI 1.4.5, Vega Virtual Device 0.24.12112
- React Native Version: N/A (the device doesn’t boot)
- App State: N/A
- OS Information: host Ubuntu 24.04 (container). The VVD never booted, so
vega exec vda shellisn’t available.
7. Example Code Snippet / Screenshots / Screengrabs
vega virtual-device start --timeout 240
Playback Issues
N/A
Additional Context
Found on the hackathon's first day, while setting up to test a Fire TV / Vega app.