[MX8-DSI-OLED1] Display aspect ratio is wrong

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[MX8-DSI-OLED1] Display aspect ratio is wrong

ソリューションへジャンプ
1,536件の閲覧回数
Takashi_Kashiwagi
Senior Contributor I

Hi everyone.

I have using "MIMX8MQ-EVK" with "fsl-image-qt5-validation-imx".

When I used HDMI, The aspect ratio was normal.

But when using MX8 - DSI - OLED 1, the aspect ratio was wrong as below.

Q. How can I adjust the aspect ratio?

IMG_3764.JPG

I used "fsl-imx8mq-evk-dcss-rm67191.dtb" and I modified "/etc/xdg/weston/weston.ini".

I can rotate the window, but aspect ratio is still wrong.

Am I misunderstanding?

weston.ini is as follows.

root@imx8mqevk:/sys/class/drm/card0# more /etc/xdg/weston/weston.ini
[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
gbm-format=argb8888
[libinput]
touchscreen_calibrator=true
[output]
name=DSI-1
mode=1920x1080@60 16:9
#mode=1080x1920@60
transform=90
[shell]
size=1920x1080
#[output]
#name=HDMI-A-2
#mode=off
#       WIDTHxHEIGHT    Resolution size width and height in pixels
#       off             Disables the output
#       preferred       Uses the preferred mode
#       current         Uses the current crt controller mode
#transform=90

Best Regards,

T.Kashiwagi

タグ(1)
1 解決策
1,208件の閲覧回数
Takashi_Kashiwagi
Senior Contributor I

Hi Joan

Thank you for responding!

JUST NOW, I was able to solve the problem using the following weston.ini

Apparently, if I declare the output section and the shell section at the same time, the aspect ratio becames to be wrong.

root@imx8mqevk:~# more /etc/xdg/weston/weston.ini
[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
gbm-format=argb8888
[libinput]
touchscreen_calibrator=true
[output]
name=DSI-1
mode=1920x1080@60 16:9
#mode=1080x1920@60
transform=90
#[shell]
#size=1920x1080
#[output]
#name=HDMI-A-2
#mode=off
#       WIDTHxHEIGHT    Resolution size width and height in pixels
#       off             Disables the output
#       preferred       Uses the preferred mode
#       current         Uses the current crt controller mode
#transform=90
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --n
o-clients-resize
root@imx8mqevk:~#

enabe [shell] section. (The upper right time is NOT displayed.)

IMG_3767.JPG

disable [shell] section. (The upper right time is displayed.)

IMG_3768.JPG

Best Regards,

T.Kashiwagi

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,208件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I tested the OLED, didn't find any aspect ratio issue, if you don't change westion, still has this issue?pls check the uboot command, you can change the uboot command to get the correct aspect ration you want to get

1,209件の閲覧回数
Takashi_Kashiwagi
Senior Contributor I

Hi Joan

Thank you for responding!

JUST NOW, I was able to solve the problem using the following weston.ini

Apparently, if I declare the output section and the shell section at the same time, the aspect ratio becames to be wrong.

root@imx8mqevk:~# more /etc/xdg/weston/weston.ini
[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
gbm-format=argb8888
[libinput]
touchscreen_calibrator=true
[output]
name=DSI-1
mode=1920x1080@60 16:9
#mode=1080x1920@60
transform=90
#[shell]
#size=1920x1080
#[output]
#name=HDMI-A-2
#mode=off
#       WIDTHxHEIGHT    Resolution size width and height in pixels
#       off             Disables the output
#       preferred       Uses the preferred mode
#       current         Uses the current crt controller mode
#transform=90
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --n
o-clients-resize
root@imx8mqevk:~#

enabe [shell] section. (The upper right time is NOT displayed.)

IMG_3767.JPG

disable [shell] section. (The upper right time is displayed.)

IMG_3768.JPG

Best Regards,

T.Kashiwagi

0 件の賞賛