How to make screen orientation

zhangyang zhangyang-0206 at 163.com
Sun Apr 1 21:34:17 EDT 2018


Hello Wataru:

Tanks for your answer! And I found 2 display connector in weston.log, but the strange thing is my 2 display connectors are both HDMI-A-11. I will check with our bsp team. :)
....
[05:45:30.663] Output HDMI-A-11, (connector 3001, crtc 1001)
               mode 1600x1200 at 59.5, current
[05:45:30.664] DRM debug: unrecognized property 9029 'input_fence_timeout' on object 1002 of type 0xcccccccc 'crtc'
[05:45:30.664] DRM debug: unrecognized property 9030 'output_fence' on object 1002 of type 0xcccccccc 'crtc'
[05:45:30.664] DRM debug: unrecognized property 9031 'output_fence_offset' on object 1002 of type 0xcccccccc 'crtc'
[05:45:30.664] DRM debug: unrecognized property 9032 'capabilities' on object 1002 of type 0xcccccccc 'crtc'
[05:45:30.664] DRM debug: unrecognized property 9001 'EDID' on object 3002 of type 0xc0c0c0c0 'connector'
[05:45:30.664] DRM debug: unrecognized property 9002 'DPMS' on object 3002 of type 0xc0c0c0c0 'connector'
[05:45:30.664] DRM debug: unrecognized property 9018 'RETIRE_FENCE' on object 3002 of type 0xc0c0c0c0 'connector'
[05:45:30.664] DRM debug: unrecognized property 9021 'capabilities' on object 3002 of type 0xc0c0c0c0 'connector'
[05:45:30.666] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 0 - 1
[05:45:30.666] Failed to initialize backlight
[05:45:30.666] Output HDMI-A-11, (connector 3002, crtc 1002)
               mode 1920x720 at 39.5, current
[05:45:30.666] create socket thread success!
[05:45:30.667] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC, id 1
[05:45:30.668] Loading module '/usr/lib64/weston/ivi-shell.so'

....


At 2018-04-02 08:49:37, "Mizuno, Wataru (ADITJ/SWG)" <wmizuno at jp.adit-jv.com> wrote:
>Hi Zhangyang,
>
>You can find the output name by get scene command of LayerManagerControl.
> $ LayerManagerControl get scene
>
>Then you can find like this. This set up has 2 HDMI connectors. 
>  screen 0 (0x0) 
>  ---------------------------------------
>  - connector name:       HDMI-A-1
>  - resolution:           x=1920, y=1080
>  - layer render order:   
>
>  screen 1 (0x1)
>  ---------------------------------------
>  - connector name:       HDMI-A-2
>  - resolution:           x=1920, y=1080
>  - layer render order:   
>
>Or you can also find the name from start-up log of weston like this.
>  [01:08:36.402] Output HDMI-A-1, (connector 35, crtc 29)
>               mode 1920x1080 at 60.0, preferred, current
>               mode 1920x1080 at 40.0
>  [01:08:36.406] Output HDMI-A-2, (connector 40, crtc 32)
>               mode 1920x1080 at 60.0, preferred, current
>               mode 1920x1080 at 40.0
> 
>Best regards,
>
>Wataru Mizuno
>ADITJ / SWG
>
>+81-(0)566-56-0946
>
>
>-----Original Message-----
>From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-bounces at lists.genivi.org] On Behalf Of zhangyang
>Sent: Friday, March 30, 2018 6:41 PM
>To: Friedrich, Eugen (ADITG/ESB)
>Cc: genivi-layer
>Subject: Re:RE: How to make screen orientation
>
>Hi Eugen:
>I use  wayland-ivi-extension 1.9.1, here is my weston.ini:
>[core]
>shell=ivi-shell.so
>
>[ivi-shell]
>ivi-module=ivi-controller.so,wl-shell-emulator.so
>ivi-input-module=ivi-input-controller.so
>
>[output]
>name=HDMI-A-11
>transform=90
>
>I have 2 display port, one is HDMI and another is DSI, I want to know how to find out those output names? thanks
>
>
>
>At 2018-03-30 17:18:23, "Friedrich, Eugen (ADITG/ESB)" <efriedrich at de.adit-jv.com> wrote:
>>Actuall something like
>>
>>[output]
>>name=LVDS1
>>mode=1600x1080
>>transform=90
>>
>>should work, but in general rotation of the screen is something different as having a resolution of the display swapped!
>>The transform will not change the screen resolution but application could react of this by using the wl_output protocol  client can find out that the screen is transform and provide corresponding buffer content.
>>
>>Best regards
>>
>>Eugen Friedrich
>>Engineering Software Base (ADITG/ESB)
>>
>>Tel. +49 5121 49 6921
>>
>>> -----Original Message-----
>>> From: genivi-ivi-layer-management 
>>> [mailto:genivi-ivi-layer-management-
>>> bounces at lists.genivi.org] On Behalf Of Friedrich, Eugen (ADITG/ESB)
>>> Sent: Freitag, 30. März 2018 11:13
>>> To: zhangyang; genivi-layer
>>> Subject: RE: How to make screen orientation
>>> 
>>> Hi Zhangyang,
>>> 
>>> Please share the version of wayland-ivi-extesion  which you are using 
>>> And share you weston.ini flie
>>> 
>>> Best regards
>>> 
>>> Eugen Friedrich
>>> Engineering Software Base (ADITG/ESB)
>>> 
>>> Tel. +49 5121 49 6921
>>> > -----Original Message-----
>>> > From: genivi-ivi-layer-management 
>>> > [mailto:genivi-ivi-layer-management-
>>> > bounces at lists.genivi.org] On Behalf Of zhangyang
>>> > Sent: Freitag, 30. März 2018 06:49
>>> > To: genivi-layer
>>> > Subject: How to make screen orientation
>>> >
>>> >
>>> > Hi team:
>>> > I want to know how to make a screen orientation 90°. I have 2 
>>> > screens, one is IVI screen, which resolution is 1600x1200. The 
>>> > second screen is a cluster screen which resolution is 1920x720.  I 
>>> > need to make IVI screen 1200x1600, and cluster screen keep it 
>>> > 1920x720.  I set transform = 90 in weston.ini, but found the 
>>> > cluster screen is also changed to 720x1920.  How to configure the 
>>> > two screens? Thank you 
>>> > _______________________________________________
>>> > genivi-ivi-layer-management mailing list genivi-ivi-layer- 
>>> > management at lists.genivi.org 
>>> > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-manageme
>>> > nt
>>> _______________________________________________
>>> genivi-ivi-layer-management mailing list genivi-ivi-layer- 
>>> management at lists.genivi.org 
>>> https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
>_______________________________________________
>genivi-ivi-layer-management mailing list genivi-ivi-layer-management at lists.genivi.org
>https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management


More information about the genivi-ivi-layer-management mailing list