# gst-launch: waylandsink rendering scaled down

**URL:** <https://discourse.gstreamer.org/t/gst-launch-waylandsink-rendering-scaled-down/4289>\
**Category:** General Discussion\
**Created:** [March 13, 2025, 10:43pm UTC](https://discourse.gstreamer.org/t/gst-launch-waylandsink-rendering-scaled-down/4289 "2025-03-13T22:43:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim777](https://discourse.gstreamer.org/letter_avatar_proxy/v4/letter/j/ad7895/32.png) [@jim777](https://discourse.gstreamer.org/u/jim777)\
**Post date:** [March 13, 2025, 10:43pm UTC](https://discourse.gstreamer.org/t/gst-launch-waylandsink-rendering-scaled-down/4289/1 "2025-03-13T22:43:44Z")

</div>

Got an i.MX8Plus with scarthgap yocto build, linked to camera and LCD display (resolution 1280x720), running:

```auto
gst-launch-1.0 -e -v v4l2src device=/dev/video0 ! video/x-raw, width=1920, height=1080 ! glimagesink render-rectangle='<0, 0, 1920, 1080>'

```

video/image shown on the LCD seems in scale (seems cropped from 1920x1080 to 1280x720), although the ‘origin’\<0,0\> seems changing or floating to different places when re-run each time. Picture shown below:

 ![glimagesink_1920x1080_overDispkay1280x720.MP.jpg](https://discourse.gstreamer.org/uploads/default/original/2X/3/364849d73cb374657a99c42aab0fb058fb05dec5.jpeg "glimagesink\_1920x1080\_overDispkay1280x720.MP.jpg")

But if just replace the glimagesink with waylandsink:

```auto
gst-launch-1.0 -e -v v4l2src device=/dev/video0 ! video/x-raw, width=1920, height=1080 ! waylandsink render-rectangle='<0, 0, 1920, 1080>'

```

the video/image clearly shown on the LCD as scaled-down (around maybe 1/3):

 ![waylandsink_1920x1080_overDisplay1280x720.MP.jpg](https://discourse.gstreamer.org/uploads/default/original/2X/4/45360e7fe43fe7965ed99711ca1184ef7a14de4d.jpeg "waylandsink\_1920x1080\_overDisplay1280x720.MP.jpg")

Some online discussions suggested to check the weston.ini file: initially the file has no [output] section related to the LCD display; and even after I added the section with:

```auto
[output]
name=card0-DSI-1
mode=1280x720@60

```

waylandsink test always have image scaled down shown on the LCD (i.e. the weston.ini has no effect), where does wayland gets the scale-down setting?

Anyone has such experience, any insight, please?

BR  
Jim
