Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable rotate the built-in display to "Portrait Right" and "Portrait Left" while external monitor be connected #1126

Open
baconYao opened this issue Mar 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@baconYao
Copy link
Contributor

Bug Description

Problem

In Baoshan Project, there are several display combinations, the most common (default) one is built-in DSI + external HDMI.

A Checkbox job, graphics/1_rotation_{graphic} is in charge of verifying the screen rotation.

Pass

The screen of built-in DSI panel can be rotated successfully

FAIL

After plugging the external monitor through HDMI cable, the built-in DSI panel can only be rotated to two Orientation (Landscape and Landscape flipped)

Video Record: https://drive.google.com/file/d/1S_yFmkajYFRef67Xp5QZEtST7cqjlKdx/view?usp=sharing

  • Pass
    • Time 00:00 - 00:40
    • Rotated to 4 orientation successfully
  • Fail
    • Time 00:45 - 01:30
    • Connect the HDMI monitor
    • Rotated to 2 orientation only (Landscape and Landscape flipped)
    • Submission: https://certification.canonical.com/hardware/202308-31931/submission/362461/test-results/fail/
      • Log
        Unable rotate the built-in DSI panel to Right and Left while external monitor (HDMI / type-c DP) be connected
        setting rotation to right
        Logical monitors not adjacent
        D-Bus error: Logical monitors not adjacent (org.freedesktop.DBus.Error.InvalidArgs)
        setting rotation to inverted
        setting rotation to left
        D-Bus error: Logical monitors not adjacent (org.freedesktop.DBus.Error.InvalidArgs)
        Logical monitors not adjacent
        setting rotation to normal
        Using output: DSI-1
        

To Reproduce

  1. Install Checkbox on DUT via the following commmands
$ sudo snap install checkbox22 --beta
$ sudo snap install checkbox --beta --classic
  1. Run case via Host machine
$ checkbox.checkbox-cli control <IP of DUT>
  1. Choose Desktop Preload Certification Tests for 22.04 (Manual Tests) test plan
  2. Run graphics/1_rotation_drm-platform-mediatek-drm_4_auto job

Environment

OS: Jammy Desktop
Checkbox Type: Snap
Checkbox Snap version: checkbox22 4.0.0-dev194 867
Devices: Baoshan G1200, G700 and G510

Relevant log output

No response

Additional context

No response

@baconYao baconYao added the bug Something isn't working label Mar 29, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1345.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant