Android Studio Emulator's Hardware Acceleration not working after reinstalling manjaro

I’m using android studio on Manjaro for more than 2 years. On my previous setup, I could create virtual emulators with hardware acceleration. Recently I reinstalled Manjaro to latest version. After it, I cannot create virtual devices with HW acceleration.

I’ve followed the official documentation, as I did previously, but this time it isn’t working. On my previous installation, I was using kernel 5.15 with proprietary NVIDIA graphics. Currently, I’m using kernel 6.1 with NVIDIA proprietary driver. Don’t know what happened this time, it isn’t working. To install KVM, I followed this tutorial.

$ mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI
$ prime-run glxinfo | egrep -i 'device|memory'

egrep: warning: egrep is obsolescent; using grep -E
    GLX_NV_multigpu_context, GLX_NV_robustness_video_memory_purge, 
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group, 
    GLX_NV_multigpu_context, GLX_NV_robustness_video_memory_purge, 
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1995 MB
    GL_EXT_import_sync_object, GL_EXT_memory_object, GL_EXT_memory_object_fd, 
    GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, GL_NVX_progress_fence, 
    GL_NV_robustness_video_memory_purge, GL_NV_shader_atomic_counters, 
    GL_NV_uniform_buffer_unified_memory, GL_NV_vdpau_interop, 
    GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory, 
    GL_EXT_import_sync_object, GL_EXT_memory_object, GL_EXT_memory_object_fd, 
    GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, GL_NVX_progress_fence, 
    GL_NV_robustness_video_memory_purge, GL_NV_shader_atomic_counters, 
    GL_NV_uniform_buffer_unified_memory, GL_NV_vdpau_interop, 
    GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory, 
    GL_EXT_memory_object, GL_EXT_memory_object_fd, GL_EXT_multi_draw_indirect,
$ inxi -G 

Graphics:
  Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
  Device-2: NVIDIA GM108M [GeForce 930M] driver: nvidia v: 525.60.11
  Device-3: Chicony USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 1366x768~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel HD Graphics 5500 (BDW
    GT2)

What I found is, android x86_64 images don’t support hardware acceleration. Only x86 images are supported. This has nothing to do with kernel version.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.