Using kmssink with mxsfb-drm

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Using kmssink with mxsfb-drm

Fabio Estevam
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
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:mxsfb-drm:
GStreamer encountered a general resource error.
Additional debug info:
../sys/kms/gstkmssink.c(1711): gst_kms_sink_show_frame ():
/GstPipeline:pipeline0/GstKMSSink:mxsfb-drm:
drmModeSetPlane failed: Invalid argument (22)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
ERROR: from element
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data
stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn't want to preroll.
Freeing pipeline ...
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using kmssink with mxsfb-drm

Gary Bisson
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using kmssink with mxsfb-drm

Fabio Estevam
Hi Gary,

On Wed, Dec 30, 2020 at 5:52 PM Gary Bisson <[hidden email]> wrote:

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

Thanks for this hint, it does work now :-)

gst-launch-1.0 videotestsrc ! kmssink connector-id=35 name=mxsfb-drm
can-scale=false

Thanks for your help!
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using kmssink with mxsfb-drm

VIKAS NAGARWAL
                                       Website Company
The website is also known as a web page. Called web page this is an
information resource
 Advantage of the website
• Advertising Publicity.
Advertisement is a part: to advertise your product to people The big
companies are helping to promote their product from village to the largest
city, with the help of the advertisement: For example social media. Social
media has become such a big platform, with the help of which we can
advertise our product.
• Keeping It fresh
Such, it is true. If you depend on your business If your website is an
important part of your business.  every day update your website from  — that
you need to update your content.
• Information Exchange.
Information exchange to from one place to another place people share
information many source people share information  Facebook, Instagram,
customer service social media time and post and many internet websites.
• Making sure about your Brand Online.
• Simple Access to Business Information.
• Anybody, Anywhere and Anytime.
• Contacting a Wider Audience.
• Credibility, Market, Expansion.
• You will get a special craft.
Business grow tips
• Use online media.
social media and the internet important part of life provide more benefits
and opportunities to customers and exchange information from one place to
another place internet is a powerful weapon Who helps in your business and
your education?
The use of social media and the Internet such as Instagram, Twitter,
Facebook,  Instagram, and Snapchat has become an important part of the daily
lives of  India. Use online media.
• Become more familiar with your customers.
• Offer unimaginable customer help.
• Support existing customers and quest for new possibilities. ...
• Go to frameworks organization events...
• Host events...
• Prize your area.
• Measure what works and refine your technique as you.
 Best company in India
Fine output Pvt. Ltd. is providing the best working in web designing and web
development in India.    The Fine output is offering every one of these
types of assistance in India and around the world. Fine Output Company is
hardworking from the rest of the company in the market. Providing website
designs, WordPress Development, Responsive web development, Custom website
designs, Digital Marketing, Mobile App designs, etc. SEO services by fine
output help you to generate sales being the best website architecture
organization in India.https://www.fineoutput.com/



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using kmssink with mxsfb-drm

VIKAS NAGARWAL
In reply to this post by Gary Bisson
                                       Website Company
The website is also known as a web page. Called web page this is an
information resource
 Advantage of the website
• Advertising Publicity.
Advertisement is a part: to advertise your product to people The big
companies are helping to promote their product from village to the largest
city, with the help of the advertisement: For example social media. Social
media has become such a big platform, with the help of which we can
advertise our product.
• Keeping It fresh
Such, it is true. If you depend on your business If your website is an
important part of your business.  every day update your website from  — that
you need to update your content.
• Information Exchange.
Information exchange to from one place to another place people share
information many source people share information  Facebook, Instagram,
customer service social media time and post and many internet websites.
• Making sure about your Brand Online.
• Simple Access to Business Information.
• Anybody, Anywhere and Anytime.
• Contacting a Wider Audience.
• Credibility, Market, Expansion.
• You will get a special craft.
Business grow tips
• Use online media.
social media and the internet important part of life provide more benefits
and opportunities to customers and exchange information from one place to
another place internet is a powerful weapon Who helps in your business and
your education?
The use of social media and the Internet such as Instagram, Twitter,
Facebook,  Instagram, and Snapchat has become an important part of the daily
lives of  India. Use online media.
• Become more familiar with your customers.
• Offer unimaginable customer help.
• Support existing customers and quest for new possibilities. ...
• Go to frameworks organization events...
• Host events...
• Prize your area.
• Measure what works and refine your technique as you.
 Best company in India
Fine output Pvt. Ltd. is providing the best working in web designing and web
development in India.    The Fine output is offering every one of these
types of assistance in India and around the world. Fine Output Company is
hardworking from the rest of the company in the market. Providing website
designs, WordPress Development, Responsive web development, Custom website
designs, Digital Marketing, Mobile App designs, etc. SEO services by fine
output help you to generate sales being the best website architecture
organization in India.https://www.fineoutput.com/



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel