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?
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
Solved! Go to Solution.
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.)
disable [shell] section. (The upper right time is displayed.)
Best Regards,
T.Kashiwagi
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
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.)
disable [shell] section. (The upper right time is displayed.)
Best Regards,
T.Kashiwagi