1. 28 Jun, 2019 1 commit
    • Tomohito Esaki's avatar
      remoting: make a gstreamer pipeline configurable · 6764177d
      Tomohito Esaki authored
      Allow a gstreamer pipeline to be configurable via an weston.ini. It is
      necessary that source is appsrc, its name is "src", and sink name is
      "sink" in pipeline. Also, remoting plugin ignore port and host
      configuration if the gst-pipeline is specified.
      6764177d
  2. 20 Feb, 2019 1 commit
  3. 30 Oct, 2018 1 commit
    • Tomohito Esaki's avatar
      Add remoting plugin for output streaming · f709d220
      Tomohito Esaki authored
      Remoting plugin support streaming image of virtual output on drm-backend
      to remote output. By appending remote-output section in weston.ini,
      weston loads remoting plugin module and creates virtual outputs via
      remoting plugin. The mode, host, and port properties are configurable in
      remote-output section.
      
      This plugin send motion jpeg images to client via RTP using gstreamer.
      Client can receive by using following pipeline of gst-launch.
      
      gst-launch-1.0 rtpbin name=rtpbin \
         udpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,
      		encoding-name=JPEG,payload=26" port=[PORTNUMBER] !
                rtpbin.recv_rtp_sink_0 \
         rtpbin. ! rtpjpegdepay ! jpegdec ! autovideosink \
         udpsrc port=[PORTNUMBER+1] ! rtpbin.recv_rtcp_sink_0 \
         rtpbin.send_rtcp_src_0 !
                udpsink port=[PORTNUMBER+2] sync=false async=false
      
      where, PORTNUMBER is specified in weston.ini.
      Signed-off-by: Tomohito Esaki's avatarTomohito Esaki <etom@igel.co.jp>
      f709d220
  4. 27 Aug, 2018 1 commit
  5. 06 Jul, 2018 1 commit
    • Ankit Nautiyal's avatar
      man: add description for specifying modes with aspect-ratio in weston.ini · f82ff35e
      Ankit Nautiyal authored
      This patch adds information about the new resolution-format that can
      be specified by a user in weston.ini to select a CEA mode. CEA defines
      timing of a video mode, which is considered as a standard for
      HDMI certification and compliance testing. It defines each and every
      parameter, of  a video mode, like h/vactive,h/vfront h/vback etc.,
      including aspect-ratio information. The drm layer, specifies the
      aspect-ratio information in user-mode flag bits 19-22. For the non-CEA
      modes a value of 0 is given in the aspect-ratio flag bits. Each
      CEA-mode is identified by a unique, Video Identification Code (VIC).
      For example, VIC=4 is 1280x720@60 aspect-ratio 16:9.
      This mode will be different than a non-CEA mode 1280x720@60 0:0.
      
      The new mode-format helps to differentiate between the CEA and
      non-CEA modes, by letting user specify aspect-ratio along with other
      paremeters: mode=widthxheight@rr ratio.
      
      This helps when certification testing is done, in tests like 7-27,
      the HDMI analyzer applies a particular CEA mode, and expects the
      applied mode to be with exactly same timings, including the
      aspect-ratio and VIC field.
      Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      f82ff35e
  6. 02 Jul, 2018 1 commit
  7. 29 Jun, 2018 2 commits
    • Pekka Paalanen's avatar
      weston: add force-on option for DRM · 90718170
      Pekka Paalanen authored
      Add a new boolean output section key "force-on". When set to true, the
      output will be enabled regardless of connector status. This is the
      opposite of the mode=off setting.
      
      Forcing connectors on is useful in special circumstances: avoid output
      configuration changes due to hotplug e.g. with KVM switches, or hardware
      with unreliable connector status readout for example.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: default avatarIan Ray <ian.ray@ge.com>
      90718170
    • Pekka Paalanen's avatar
      weston: support clone mode on DRM-frontend · 944dd235
      Pekka Paalanen authored
      Add a new output section key "same-as" for configuring clone mode. An
      output marked "same-as" another output will be configured identically to
      the other output.
      
      The current implementation supports only CRTC sharing for clone mode.
      Independent CRTC clone mode cannot be supported until output layout
      logic is moved from libweston into the frontend and libweston's damage
      tracking issues stemming from overlapping outputs are solved.
      
      Quite a lot of infrastructure is needed to properly configure clone
      mode. The implemented logic allows easy addition of independent CRTC
      clone mode once libweston supports it. The idea is that wet_layoutput is
      the item to be laid out and all weston_outputs a wet_layoutput
      contains show exactly the same area of the desktop.
      
      The configuration logic attempts to automatically fall back to creating
      more weston_outputs when all heads do not work under the same
      weston_output. For now, the fallback path ends with an error message.
      
      Enabling a weston_output is bit complicated, because one needs to first
      collect all relevant heads, try to attach them all to the weston_output,
      and then back up head by head until enabling the weston_output succeeds.
      A new weston_output is created for the left-over heads and the process
      is repeated.
      
      CRTC-sharing clone mode is the most efficient clone mode, offering
      synchronized scanout timings, but it is not always supported by
      hardware.
      
      v10:
      - rebased trivial conflicts in man page
      - switch to gitlab issue URL
      
      v9:
      - replace weston_compositor_set_heads_changed_cb() with
        weston_compositor_add_heads_changed_listener()
      - remove workaround in simple_head_enable()
      
      v6:
      - Add man-page note about cms-colord.
      - Don't create an output just to turn it off.
      
      Fixes: wayland/weston#22Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Acked-by: default avatarDerek Foreman <derekf@osg.samsung.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Reviewed-by: default avatarIan Ray <ian.ray@ge.com>
      944dd235
  8. 24 May, 2018 1 commit
  9. 20 Apr, 2018 1 commit
  10. 18 Dec, 2017 1 commit
  11. 04 Sep, 2017 1 commit
  12. 27 Nov, 2012 1 commit
    • Pekka Paalanen's avatar
      man: add weston-drm page · 424820f4
      Pekka Paalanen authored
      Add some documentation about the DRM backend into its own man page, and
      refer to it in weston(1).
      
      Environment variable, that are reserved for backends, and currently used
      only by the DRM backend, are moved to weston-drm page.
      
      NOTE: This is a candidate for the stable branch
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
      424820f4