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

verify-kernel-boot-log: add more display information #1184

Merged
merged 1 commit into from
May 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion test-case/verify-kernel-boot-log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,20 @@ show_daemons_session_display()
# See https://github.com/thesofproject/sof-test/discussions/964
# and https://github.com/thesofproject/linux/issues/4861
(set -x
# This is very hit-and-miss, it notably fails when the $XAUTHORITY file is placed in
# a session-specific, /run/user/ tmpfs that cannot be seen over ssh (or from any
# other session). Sometimes this shows XWAYLAND.
# As of April 2024 there does not seem to be any Wayland equivalent for `xrandr`
DISPLAY=:0 xrandr --listmonitors
DISPLAY=:1024 xrandr --listmonitors

ls -l /sys/class/drm/
set +x # can't use set -x because of the crazy "sudo()" in hijack.sh
sudo ls -C /sys/kernel/debug/dri/0/
)
printf '\n'
sudo grep -B3 -A1 -i -e connected -e enabled -e active -e audio \
# DRM_XE keeps using i915 code for display, so this will hopefully keep working.
sudo grep -B3 -A1 -i -e connected -e enabled -e active -e audio -e connected \
/sys/kernel/debug/dri/0/i915_display_info
printf '\n'

Expand Down
Loading