mesa-for-android-container icon indicating copy to clipboard operation
mesa-for-android-container copied to clipboard

Does Not Outpu Video Anymore

Open Devifix opened this issue 4 months ago • 4 comments

Android: Android 11 Phone: Oneplus Nord N10 5G GPU: Adreno 619 Container: proot-distro inside Termux Distro: Debian 13 (trixe) DE: Xfce4

Hello, this worked for me for a while.

Now everytime I launch desktop with X-11, I was given a blank black screen with cursor.

Is there a particular launch config that I should use?

Thank You in advance.

Devifix avatar Jul 20 '26 14:07 Devifix

You can check whether xfce4's display compositor is turned off. Similar to KDE Plasma, if you need to use Freedreno to enable hardware acceleration for xfce4, it is best to turn off the display compositor.

You can first use the following command to start xfce4 via software rendering:

export MESA_LOADER_DRIVER_OVERRIDE=llvmpipe
startxfce4

Then turn off the display compositor in the settings, with the following steps:

  1. Open the Settings
    • Hover over Settings and then click on Window Manager Tweaks.
  2. Switch to the Compositor Tab
    • In the Window Manager Tweaks window, click on the last tab named Compositor.
  3. Disable Compositing
    • Uncheck the box that says Enable display compositing.
  4. Apply and Close
    • The visual effects (like window shadows and transparency) will disappear immediately.

After turning it off, restart the container, and use the following command to start xfce4 with hardware acceleration:

export MESA_LOADER_DRIVER_OVERRIDE=kgsl
startxfce4

lfdevs avatar Jul 20 '26 14:07 lfdevs

Image

Even when using llvmpipe it still returns blank screen, the code for start up is in the image above.

FYI I have no idea what I'm doing, just trying to edit someone else's file.

Devifix avatar Jul 20 '26 15:07 Devifix

You can try this version of the driver: https://github.com/lfdevs/mesa-for-android-container/releases/tag/mesa-25.3.0-devel-20250725

For some GPU models (especially Adreno 6xx), version 25.x.x might have better compatibility.

lfdevs avatar Jul 20 '26 15:07 lfdevs

Super quirky, even though I stated to run software render, it still didn't work until I opened terminal on blank screen and blindly typed xfconf-query -c xfwm4 -p /general/use_compositing -s false Desktop reappeared immediately.

Devifix avatar Jul 20 '26 16:07 Devifix