Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
The syntax you provided for rotating the screen in the weston.ini
file is correct. However, there are a few things you might want to check to ensure that the rotation is applied correctly:
-
Verify Output Name: Ensure that the output name
HDMI-A-1
is correct. You can find the correct output name by running theweston-info
command inside the running Weston container. This will list all connected outputs and their names. -
Check Weston Logs: Look at the Weston logs to see if there are any errors or warnings related to the
weston.ini
file. You can access the logs by running the Weston container with the--developer
switch and checking the output. -
Configuration File Location: Make sure that the
weston.ini
file is being correctly mounted or included in the Weston container. If you are using a bind mount, ensure the path is correct in yourdocker run
command. -
Weston Version: Ensure that the version of Weston you are using supports the
transform
option. Since you mentioned Torizon OS 6.7, it should support this feature, but it’s always good to double-check the Weston version and its documentation.
Here is a step-by-step guide to troubleshoot:
-
Run
weston-info
:docker exec -it <weston-container-id> weston-info
Look for the correct output name in the list.
-
Check Weston Logs:
docker logs <weston-container-id>
Look for any errors or warnings related to the
weston.ini
file. -
Ensure Correct Mounting:
If you are using a bind mount, yourdocker run
command should look something like this:docker run -d --rm --name=weston --developer -v /path/to/your/weston.ini:/etc/xdg/weston/weston.ini torizon/weston
-
Example
weston.ini
:
Ensure yourweston.ini
file looks like this:[output] name=HDMI-A-1 transform=rotate-90
If after these steps the screen is still not rotating, please provide more details or any error messages you are seeing in the logs.
Please, also check if these links can help you solve your problem: