Debug Graphics
When booting into Bliss for the first time, some users may see a blinking cursor, scrambled graphics, or black screen. These are all signs that your device requires some configuration to get things to run.
Android-x86, AG & Bliss OS builds all come with a configurable graphics stack that can be used through Grub CLI.

The main options for configuration are as follows,

Gralloc:

  • GRALLOC=gbm - Uses GBM interface (Vulkan mode default)
  • GRALLOC=minigbm - Uses Minigbm interface
  • GRALLOC=intel - Uses Intel minigbm interface
  • GRALLOC=none - Force no Gralloc interface

HW-Composer:

  • HWC=drm - Standard for versions <= Android 9
  • HWC=drmfb - Use drm-framebuffer insead
  • HWC=intel - Used Intel IA HWC
  • HWC=none - Force no hwcomposer definition

Grub Examples:

1
label debug
2
menu label Live CD - ^Debug mode
3
kernel /kernel
4
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA=
5
6
label debug_gbm
7
menu label Live CD - Debug mode gralloc.gbm
8
kernel /kernel
9
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= GRALLOC=gbm
10
11
label debug_drmfb-composer
12
menu label Live CD - Debug mode drmfb-composer gralloc.gbm
13
kernel /kernel
14
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drmfb GRALLOC=gbm
15
16
label debug_hwc_gbm
17
menu label Live CD - Debug mode hwcomposer.drm gralloc.gbm
18
kernel /kernel
19
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drm GRALLOC=gbm
20
21
label debug_minigbm
22
menu label Live CD - Debug mode gralloc.minigbm
23
kernel /kernel
24
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= GRALLOC=minigbm
25
26
label debug_hwc_minigbm
27
menu label Live CD - Debug mode hwcomposer.drm_minigbm gralloc.minigbm
28
kernel /kernel
29
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=drm_minigbm GRALLOC=minigbm
30
31
label debug_intel
32
menu label Live CD - Debug mode hwcomposer.intel gralloc.intel
33
kernel /kernel
34
append initrd=/initrd.img CMDLINE DEBUG=2 SRC= DATA= HWC=intel GRALLOC=intel
Copied!
Last modified 6mo ago