Skip to content

Regression: no /dev/dri/renderD12* #3363

@msisov

Description

@msisov

Hi,

I am using meta-raspberrypi yocto layer (warrior and thud branches) on my Raspberry Pi3 B+ that points to kernel v4.19 now. Since the time they've started to point to that version, I've noticed that there is no /dev/dri/renderD12* created that makes some client applications fail during startup (for example, Chromium with Ozone/Wayland support that relies on drm render nodes). In the kernel v4.14, /dev/dri/renderD12* was created and the client apps (including weston-simple-dmabuf-drm) worked fine.

I am also using vc4 graphics.

Here are some logs that may help to identify the problem:

Kernel v4.14 with working render nodes:

root@raspberrypi3:/# dmesg | grep drm
[ 2.810773] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 2.811031] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[ 2.811235] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 2.811846] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 2.812212] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 2.812709] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 2.834843] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 2.835890] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 2.835928] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.835953] [drm] Driver supports precise vblank timestamp query.
[ 2.962854] vc4-drm soc:gpu: fb0: frame buffer device

Kernel v4.19 where render nodes are not exposed:

root@raspberrypi3:~# dmesg | grep drm
[ 3.562379] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 3.562729] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[ 3.563205] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[ 3.563323] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 3.564111] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.564650] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.565317] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 3.587599] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 3.587656] fb: switching to vc4drmfb from simple
[ 3.590914] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 3.590937] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.590948] [drm] Driver supports precise vblank timestamp query.
[ 3.639631] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device

You can refer to this guide to build with yocto and wayland for rpi3. Just be sure you use warrior or thud branches for all the layers mentioned.

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