OMAP3 Gstreamer kmssink DRM failure (5.4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to configure gstreamer to capture video and display it to
the LCD on a DM3730.  I have the camera capture working, but the
problem appears to be DRM related.

I am able to stream video to fbdevsink, but it doesn't appear to route
to kmssink.

When I run modetest, it shows the following:

Connectors:
id encoder status name size (mm) modes encoders
45 44 connected DPI-1          105x67 1 44
  modes:
name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
  480x272 60 480 483 525 527 272 274 285 288 9000 flags: phsync,
pvsync; 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:
20 CRTC_ID:
flags: object
value: 46


There is more but I think that's the connector-id that I am supposed to use.

I have been trying to force the connector ID with g-streamer:

GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video6 !
videoconvert ! kmssink force-modesetting=true connector-id=45

Unfortunately, I get an error that shows

# GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video6 ! videoconvert ! kmss
ink force-modesetting=true connector-id=45
Setting pipeline to PAUSED ...
0:00:05.130981445   251   0x115f20 WARN                 kmssink
gstkmssink.c:835:gst_kms_sink_start:<kmssink0> error: Could not open
DRM module (NULL)
0:00:05.131469726   251   0x115f20 WARN                 kmssink
gstkmssink.c:835:gst_kms_sink_start:<kmssink0> error: reason: No such
file or directory (2)
0:00:05.132263183   251   0x115f20 WARN                basesink
gstbasesink.c:5367:gst_base_sink_change_state:<kmssink0> error: Failed
to start
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could
not open DRM module (NULL)
Additional debug info:
../sys/kms/gstkmssink.c(835): gst_kms_sink_start ():
/GstPipeline:pipeline0/GstKMSSink:kmssink0:
reason: No such file or directory (2)
Setting pipeline to NULL ...
Freeing pipeline ...
#

It appears that there is something missing for DRM support, at least on dm3730.

I get the following message while booting, but I don't know if it's related:

 [    7.279083] omapdrm omapdrm.0: DMM not available, disable DMM support

Does anyone have any suggestions?

adam



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux