Public bug reported:

[Summary]
This machine will suspend hang during the suspend cycles test.
DSI panel is black, there is no any output from serial console, and can't login 
w/ serial console

[Steps to reproduce]
1. Boot in OS
2. Run the following script to set up the test env
```
PLATFORM=g700
echo "========== Installing checkbox =========="
sudo snap install checkbox22 --beta
sudo snap install checkbox-baoshan --edge --devmode
sudo snap install checkbox-ce-oem --channel="uc22/edge" --devmode
sudo snap connect checkbox-baoshan:provider-ce-oem 
checkbox-ce-oem:provider-ce-oem
sudo snap stop --disable checkbox-ce-oem.remote-slave
echo "========== Installing other snaps =========="
sudo snap install genio-test-tool --devmode
sudo snap install bugit --devmode
sudo snap install bluez
sudo snap connect checkbox-baoshan:bluez bluez:service
sudo snap install x-test --channel=22/stable --devmode
sudo snap connect x-test:xtest x-test:xtest-319-rpmb
sudo snap start --enable x-test.tee-supplicant
echo "========== Installing ubuntu-frame and gpu snap =========="
sudo snap install "mediatek-genio-$PLATFORM-gpu-drivers-core22" --candidate
sudo snap install ubuntu-frame --channel=22/stable
sudo snap disconnect ubuntu-frame:graphics-core22
sudo snap connect ubuntu-frame:graphics-core22 
"mediatek-genio-$PLATFORM-gpu-drivers-core22:graphics-core22"
sudo snap set ubuntu-frame config=
sudo snap stop --disable ubuntu-frame.daemon

echo "========== Adjusting audio group =========="
FILE_PATH="/var/lib/extrausers/group"
LINE_TO_APPEND="audio:x:1005:$USER"
echo $LINE_TO_APPEND | sudo tee -a $FILE_PATH
id $USER

echo "========== Enable journal to keep log =========="
JOURNAL_FOLDER=/var/log/journal
sudo mkdir -p "$JOURNAL_FOLDER"
sudo systemd-tmpfiles --create --prefix "$JOURNAL_FOLDER"

```
3. checkbox-baoshan.checkbox-cli run 
com.canonical.certification::suspend-cycles-stress-test
or
rtcwake -v -d /dev/rtc0 -m no -s 30 && systemctl suspend || exit 1

[Expected result]
It will pass the suspend cycles test w/o any issues.
[Actual result]
It will hang durign the suspend cycles test.
[Failure rate]
2/10 (suspend)
[Additional information]
CID: 202412-36144
SKU: G700 (DSI, HDMI) P1V4
Image: Image: genio-core-22-20250408-197.img
dtbo: "gpu-mali.dtbo apusys.dtbo video.dtbo display-dsi-p1v4.dtbo"
system-manufacturer: MediaTek
system-product-name: Genio 700 EVK P1V4 (eMMC Boot)
bios-version: 2022.10-gf7a807b03b
CPU:
GPU:
kernel-version: 5.15.0-1037-mtk

[Stage]
Device froze, issue reported and logs collected right after a reboot


LP: #2107300

** Affects: linux-mtk (Ubuntu)
     Importance: Undecided
     Assignee: Jian Hui Lee (jianhuilee)
         Status: New

** Affects: linux-mtk (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Jian Hui Lee (jianhuilee)
         Status: New

** Also affects: linux-mtk (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: linux-mtk (Ubuntu Jammy)
     Assignee: (unassigned) => Jian Hui Lee (jianhuilee)

** Changed in: linux-mtk (Ubuntu)
     Assignee: (unassigned) => Jian Hui Lee (jianhuilee)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-mtk in Ubuntu.
https://bugs.launchpad.net/bugs/2107430

Title:
  [g700] Suspend hang during suspend cycles test when no HDMI monitor is
  connected

Status in linux-mtk package in Ubuntu:
  New
Status in linux-mtk source package in Jammy:
  New

Bug description:
  [Summary]
  This machine will suspend hang during the suspend cycles test.
  DSI panel is black, there is no any output from serial console, and can't 
login w/ serial console

  [Steps to reproduce]
  1. Boot in OS
  2. Run the following script to set up the test env
  ```
  PLATFORM=g700
  echo "========== Installing checkbox =========="
  sudo snap install checkbox22 --beta
  sudo snap install checkbox-baoshan --edge --devmode
  sudo snap install checkbox-ce-oem --channel="uc22/edge" --devmode
  sudo snap connect checkbox-baoshan:provider-ce-oem 
checkbox-ce-oem:provider-ce-oem
  sudo snap stop --disable checkbox-ce-oem.remote-slave
  echo "========== Installing other snaps =========="
  sudo snap install genio-test-tool --devmode
  sudo snap install bugit --devmode
  sudo snap install bluez
  sudo snap connect checkbox-baoshan:bluez bluez:service
  sudo snap install x-test --channel=22/stable --devmode
  sudo snap connect x-test:xtest x-test:xtest-319-rpmb
  sudo snap start --enable x-test.tee-supplicant
  echo "========== Installing ubuntu-frame and gpu snap =========="
  sudo snap install "mediatek-genio-$PLATFORM-gpu-drivers-core22" --candidate
  sudo snap install ubuntu-frame --channel=22/stable
  sudo snap disconnect ubuntu-frame:graphics-core22
  sudo snap connect ubuntu-frame:graphics-core22 
"mediatek-genio-$PLATFORM-gpu-drivers-core22:graphics-core22"
  sudo snap set ubuntu-frame config=
  sudo snap stop --disable ubuntu-frame.daemon

  echo "========== Adjusting audio group =========="
  FILE_PATH="/var/lib/extrausers/group"
  LINE_TO_APPEND="audio:x:1005:$USER"
  echo $LINE_TO_APPEND | sudo tee -a $FILE_PATH
  id $USER

  echo "========== Enable journal to keep log =========="
  JOURNAL_FOLDER=/var/log/journal
  sudo mkdir -p "$JOURNAL_FOLDER"
  sudo systemd-tmpfiles --create --prefix "$JOURNAL_FOLDER"

  ```
  3. checkbox-baoshan.checkbox-cli run 
com.canonical.certification::suspend-cycles-stress-test
  or
  rtcwake -v -d /dev/rtc0 -m no -s 30 && systemctl suspend || exit 1

  [Expected result]
  It will pass the suspend cycles test w/o any issues.
  [Actual result]
  It will hang durign the suspend cycles test.
  [Failure rate]
  2/10 (suspend)
  [Additional information]
  CID: 202412-36144
  SKU: G700 (DSI, HDMI) P1V4
  Image: Image: genio-core-22-20250408-197.img
  dtbo: "gpu-mali.dtbo apusys.dtbo video.dtbo display-dsi-p1v4.dtbo"
  system-manufacturer: MediaTek
  system-product-name: Genio 700 EVK P1V4 (eMMC Boot)
  bios-version: 2022.10-gf7a807b03b
  CPU:
  GPU:
  kernel-version: 5.15.0-1037-mtk

  [Stage]
  Device froze, issue reported and logs collected right after a reboot

  
  LP: #2107300

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-mtk/+bug/2107430/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to