Skip to content

viv-dc 40260000.display: unsupport pixel format #17

@TuAFBogey

Description

@TuAFBogey
root@uefi-arm64:/opt/app/bin# ./start_ui.sh -platform directfb
QML debugging is enabled. Only use this in a safe environment.
[  169.004745] viv-dc 40260000.display: unsupport pixel format
[  169.010410] viv-dc 40260000.display: unsupport pixel format
[  169.016109] viv-dc 40260000.display: unsupport pixel format
[  169.021730] viv-dc 40260000.display: unsupport pixel format
[  169.027394] viv-dc 40260000.display: unsupport pixel format
[  169.033467] viv-dc 40260000.display: unsupport pixel format
[  169.039200] viv-dc 40260000.display: unsupport pixel format
[  169.044952] viv-dc 40260000.display: unsupport pixel format
[  169.050604] viv-dc 40260000.display: unsupport pixel format
[  169.056274] viv-dc 40260000.display: unsupport pixel format
[  169.061898] viv-dc 40260000.display: unsupport pixel format
[  169.067642] viv-dc 40260000.display: unsupport pixel format
[  169.073307] viv-dc 40260000.display: unsupport pixel format
[  169.078987] viv-dc 40260000.display: unsupport pixel format
[  169.084660] viv-dc 40260000.display: unsupport pixel format
[  169.090343] viv-dc 40260000.display: unsupport pixel format
[  169.095993] viv-dc 40260000.display: unsupport pixel format
[  169.101708] viv-dc 40260000.display: unsupport pixel format
[  169.107376] viv-dc 40260000.display: unsupport pixel format
[  169.113042] viv-dc 40260000.display: unsupport pixel format
[  169.118730] viv-dc 40260000.display: unsupport pixel format
[  169.124441] viv-dc 40260000.display: unsupport pixel format
[  169.130800] viv-dc 40260000.display: unsupport pixel format
[  169.136572] viv-dc 40260000.display: unsupport pixel format
[  169.142349] viv-dc 40260000.display: unsupport pixel format
[  169.148101] viv-dc 40260000.display: unsupport pixel format
[  169.153780] viv-dc 40260000.display: unsupport pixel format
[  169.159487] viv-dc 40260000.display: invalid framebuffer size requirement
[  169.166562] viv-dc 40260000.display: invalid framebuffer size requirement
[  169.173469] viv-dc 40260000.display: unsupport pixel format
[  169.179143] viv-dc 40260000.display: unsupport pixel format
[  169.184843] viv-dc 40260000.display: unsupport pixel format
[  169.190506] viv-dc 40260000.display: unsupport pixel format
[  169.196176] viv-dc 40260000.display: unsupport pixel format
[  169.201863] viv-dc 40260000.display: unsupport pixel format
[  169.207558] viv-dc 40260000.display: unsupport pixel format
[  169.213212] viv-dc 40260000.display: unsupport pixel format
root@uefi-arm64:/opt/app/bin# modinfo galcore
filename:       /lib/modules/5.10.140/galcore.ko
import_ns:      VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver
license:        Dual MIT/GPL
description:    Vivante Graphics Driver
alias:          of:N*T*Cnuvoton,galcoreC*
alias:          of:N*T*Cnuvoton,galcore
depends:
name:           galcore
vermagic:       5.10.140 SMP mod_unload aarch64
parm:           registerMemBase:Base of bus address of GC core AHB register (ulong)
parm:           registerMemSize:Size of bus address range of GC core AHB register (ulong)
parm:           registerMemBase2D:Base of bus address of G2D core, if registerMemBase2D is used for a G3D core (ulong)
parm:           registerMemSize2D:Size of bus address range of G2D core, if registerMemSize is used for a G3D core (ulong)
parm:           registerMemBaseVG:Base of bus address of VG core (ulong)
parm:           registerMemSizeVG:Size of bus address range of VG core (ulong)
parm:           registerBases:Array of bases of bus address of register of multi-core (array of ullong)
parm:           registerSizes:Array of sizes of bus address range of register of multi-core (array of ulong)
parm:           register2DBases:Array of bases of bus address of register of multi-2D (array of ullong)
parm:           register2DSizes:Array of sizes of bus address range of register of multi-2D (array of ulong)
parm:           registerAPB:The offset of APB register to the register base address. (uint)
parm:           contiguousSize:Size of reserved system memory (ulong)
parm:           contiguousBase:Base address of reserved system memory (ullong)
parm:           contiguousSizes:Sizes of reserved system memory array (array of ulong)
parm:           contiguousBases:Base addresses of reserved system memory array (array of ullong)
parm:           externalSize:Size of external local memory, if it is 0, means there is no external pool (array of ulong)
parm:           externalBase:Base address of external memory (array of ullong)
parm:           exclusiveSize:Size of exclusive local memory, if it is 0, means there is no exclusive pool (array of ulong)
parm:           exclusiveBase:Base address of exclusive memory(GPU access only) (array of ullong)
parm:           irqLine:IRQ number of GC core (int)
parm:           irqLine2D:IRQ number of G2D core if irqLine is used for a G3D core (int)
parm:           irqLineVG:IRQ number of VG core (int)
parm:           irqs:Array of IRQ numbers of multi-core (array of int)
parm:           irq2Ds:Array of IRQ numbers of multi-2D (array of int)
parm:           isrPoll:Bits isr polling for per-core, default 0'1b means disable, 1'1b means auto enable isr polling mode (uint)
parm:           platformIDs:Array of platform id of each hardware device (array of uint)
parm:           hwDevCounts:Array of hw device count of each platform (array of uint)
parm:           devCoreCounts:Array of core count of each hardware device (array of uint)
parm:           dev2DCoreCounts:Array of core 2D count of each hardware device (array of uint)
parm:           devMemIDs:Array of local memory index of each hardware device (array of uint)
parm:           devSysMemIDs:Array of system reserved memory index of each hardware device, each bit represents memory id (array of uint)
parm:           devSRAMIDs:Array of SRAM index of each hardware device, each bit represents memory id (array of uint)
parm:           chipIDs:Array of chipIDs of multi-chips (array of uint)
parm:           fastClear:Disable fast clear if set it to 0, enabled by default (int)
parm:           compression:Disable compression if set it to 0, enabled by default (int)
parm:           powerManagement:Disable auto power saving if set it to 0, enabled by default (int)
parm:           recovery:Recover GPU from stuck (1: Enable, 0: Disable) (uint)
parm:           stuckDump:Level of stuck dump content. (uint)
parm:           debugLevel:Level of debug. (uint)
parm:           showArgs:Display parameters value when driver loaded (int)
parm:           userClusterMasks:Array of user defined per-core cluster enable mask (array of uint)
parm:           enableNN:How many NN cores will be enabled in one VIP, 0xFF means all enabled, 0 means all disabled, 1 means enable 1 NN core... (uint)
parm:           smallBatch:Enable/disable GPU small batch feature, enable by default (int)
parm:           allMapInOne:Mapping kernel video memory to user, 0 means mapping every time, otherwise only mapping one time (int)
parm:           softReset:Disable soft reset when insert the driver if set it to 0, enabled by default. (uint)
parm:           sRAMLoopMode:Default 0 means SRAM pool must be specified when allocating SRAM memory, 1 means SRAM memory will be looped as default pool. (uint)
parm:           sRAMBases:Array of base of bus address of SRAM,INTERNAL, EXTERNAL0, EXTERNAL1..., gcvINVALID_PHYSICAL_ADDRESS means no bus address (array of ullong)
parm:           sRAMSizes:Array of size of per-core SRAMs, 0 means no SRAM (array of uint)
parm:           extSRAMBases:Shared SRAM physical address bases. (array of ullong)
parm:           extSRAMSizes:Shared SRAM sizes. (array of uint)
parm:           sRAMRequested:Default 1 means AXI-SRAM is already reserved for GPU, 0 means GPU driver need request the memory region. (uint)
parm:           mmu:Disable MMU if set it to 0, enabled by default (int)
parm:           flatMapping:Flat mapping for reserve memory, enabled by default (int)
parm:           mmuPageTablePool:Default 1 means alloc mmu page table in virtual memory(external if PCIE), 0 means auto select memory pool. (uint)
parm:           mmuCmdPool:Default 1 means auto select memory pool to allocate mmu initial command, specific the pool type with gcvPOOL_XXXX (uint)
parm:           mmuDynamicMap:Default 1 means enable mmu dynamic mapping in virsual memory, 0 means disable dynnamic mapping. (uint)
parm:           sharedPageTable:Default 1 means all the cores in one HW device share one MMU page table, 0 means per core page table. (uint)
parm:           processPageTable:Default 0 means the page table is shared by all the cores in one device or per-core. 1 means the page table is per-process. (uint)
parm:           baseAddress:The pre-flatmapping CPU view base address in MMU page table. It's shared for all core (ulong)
parm:           physSize:The pre-flatmapping size in MMU page table. If set it to 0, driver will skip all the pre-flatmapping related work (ulong)
parm:           major:major device number for GC device (uint)
parm:           type:0 - Char Driver (Default), 1 - Misc Driver (uint)
root@uefi-arm64:/opt/app/bin# modinfo dcultrafb
filename:       /lib/modules/5.10.140/dcultrafb.ko
license:        GPL
version:        1.19
description:    Vivante dcultra Driver
srcversion:     4C26194A27E45F81D482FF3
alias:          of:N*T*Cnuvoton,ma35d1-fbC*
alias:          of:N*T*Cnuvoton,ma35d1-fb
depends:
name:           dcultrafb
vermagic:       5.10.140 SMP mod_unload aarch64
root@uefi-arm64:/opt/app/bin#
/* Display Controller */
&display {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_lcm>;
    memory-region = <&display_buf>;
    
    nuvoton,sys = <&sys>;
    nuvoton,clk = <&clk>;
    clocks = <&clk DCU_GATE>, <&clk DCUP_DIV>;
    clock-names = "dcu_gate", "dcup_div";
    resets = <&reset MA35D1_RESET_DISP>;
    
    /* CRITICAL - Framebuffer console disable */
    reset_offset_en = "no";
    bits-per-pixel = <16>;
    pixel-fmt = <4>;  /* RGB565 format */
    swizzle = <0>;
    dpi-config = <0>;
    bus-width = <16>;
    
    buffer-num = <3>;
    colorkey-en = <1>;  /* Colorkey disable */
    overlay-en = <0>;   /* Overlay disable  */
    
    /* for cursor crash */
    enable-console = <0>;
    
    display-timings {
        native-mode = <&timing_800x480>;
        
        timing_800x480: timing_7inch {
            clock-frequency = <45000000>;
			hactive = <800>;
			vactive = <480>;
			hsync-len = <1>;
			hfront-porch = <210>;
			hback-porch = <46>;
			vsync-len = <1>;
			vfront-porch  = <22>;
			vback-porch = <23>;
			hsync-active = <1>;
			vsync-active = <1>;
        };
    };
};
root@uefi-arm64:/lib/directfb-1.7-7/gfxdrivers# tree
.
├── libdirectfb_gal.so
├── libdirectfb_gl.la
├── libdirectfb_gl.so
└── libGAL.so

1 directory, 4 files
root@uefi-arm64:/lib/directfb-1.7-7/gfxdrivers# 
root@uefi-arm64:/usr/local/qt5ma35d1/plugins/platforms# tree
.
├── libqdirectfb.so
├── libqeglfs.so
├── libqlinuxfb.so
├── libqminimalegl.so
├── libqminimal.so
├── libqoffscreen.so
├── libqvnc.so
└── libqwebgl.so

1 directory, 8 files
root@uefi-arm64:/usr/local/qt5ma35d1/plugins/platforms# 

What could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions