Bug 4947 - Crash using 24bpp X11 color depth on i.MX6Q with Vivante
Summary: Crash using 24bpp X11 color depth on i.MX6Q with Vivante
Status: RESOLVED NOTABUG
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-arm (show other bugs)
Version: unspecified
Hardware: Other arm
: Medium normal
Target Milestone: 1.5
Assignee: Otavio Salvador
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-29 13:57 UTC by Diego
Modified: 2013-08-09 12:48 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2013-07-29 13:57:31 UTC
By default the Vivante X11 driver is configured to use 16bpp, as can be read in the Xorg.0.log.

    [4142552.927] (II) VIVANTE(0): Creating default Display subsection in Screen section  
        "Default Screen Section" for depth/fbbpp 16/16  
    [4142552.927] (==) VIVANTE(0): Depth 16, (==) framebuffer bpp 16  
    [4142552.927] (==) VIVANTE(0): RGB weight 565   
    [4142552.927] (==) VIVANTE(0): Default visual is TrueColor  

Full log here:
http://pastebin.com/V9hm03BE

If on the contrary the xorg.conf is configured to specify 24bpp color depth with "DefaultDepth 24" the server seems to start correctly at a first glance in the log, but then it crashes and nothing is displayed on screen.
http://pastebin.com/QPjXr0hP

Tested on Boundary Devices' Nitrogen6x. Tested BSPs: 3.0.35-1.1.0; 3.0.35-4.0.0; 3.5.7-1.0.0

See also:
https://community.freescale.com/thread/309966
Comment 1 Diego 2013-08-09 12:48:54 UTC
According to suggestion by Freescale the "bpp=32" parameter is required to run X in 24 bits mode.

See: https://community.freescale.com/thread/309966