Using kmssink with mxsfb-drm

Gary Bisson bisson.gary at gmail.com
Wed Dec 30 20:52:43 UTC 2020


Hi Fabio,

On Wed, Dec 30, 2020 at 03:45:40PM -0300, Fabio Estevam wrote:
> Hi,
> 
> I am trying to run a simple videotestsrc pipeline on a imx6ull-evk
> board running kernel 5.10 and Gstreamer 1.18.2, but it fails as shown
> below.
> 
> Any ideas?
> 
> Thanks,
> 
> Fabio Estevam
> 
> # modetest -M mxsfb-drm
> Encoders:
> id      crtc    type    possible crtcs  possible clones
> 34      33      none    0x00000001      0x00000000
> 
> Connectors:
> id      encoder status          name            size (mm)       modes   encoders
> 31      34      connected       unknown-1       95x54           1       34
>   modes:
>         index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
>   #0 480x272 59.94 480 482 523 525 272 274 284 286 9000 flags: nhsync,
> nvsync; type: preferred, driver
>   props:
>         1 EDID:
>                 flags: immutable blob
>                 blobs:
> 
>                 value:
>         2 DPMS:
>                 flags: enum
>                 enums: On=0 Standby=1 Suspend=2 Off=3
>                 value: 0
>         5 link-status:
>                 flags: enum
>                 enums: Good=0 Bad=1
>                 value: 0
>         6 non-desktop:
>                 flags: immutable range
>                 values: 0 1
>                 value: 0
>         4 TILE:
>                 flags: immutable blob
>                 blobs:
> 
>                 value:
> 
> CRTCs:
> id      fb      pos     size
> 33      35      (0,0)   (480x272)
>   #0 480x272 59.94 480 482 523 525 272 274 284 286 9000 flags: nhsync,
> nvsync; type: preferred, driver
>   props:
>         24 VRR_ENABLED:
>                 flags: range
>                 values: 0 1
>                 value: 0
> 
> Planes:
> id      crtc    fb      CRTC x,y        x,y     gamma size      possible crtcs
> 32      33      35      0,0             0,0     0               0x00000001
>   formats: XR24 RG16
>   props:
>         8 type:
>                 flags: immutable enum
>                 enums: Overlay=0 Primary=1 Cursor=2
>                 value: 1
> 
> Frame buffers:
> id      size    pitch
> 
> # gst-launch-1.0 videotestsrc ! kmssink connector-id=31 name=mxsfb-drm

Have you tried adding 'can-scale=false' as kmssink parameter?

Regards,
Gary


More information about the gstreamer-devel mailing list