Hey
We have a custom ubuntu core image that run on a intercom device, which utilize ubuntu-frame to show graphics and we would like to test this image on a new board (Can provide more information if needed)
Architecture: x86_64
CPU: Intel(R) Atom(TM) x7433RE
Grapics support:
● 1 x HDMI™ 1.4b up to 3840x2160 @30Hz
● 1 x eDP up to 1920×1080 @60Hz
- Supports auto switch between eDP & LVDS
- Connector shared with LVDS
● 1 x LVDS up to 1920×1080 @60Hz
- Supports 18/24-bit dual channel
- Supports auto switch between eDP & LVDS
- Connector shared with eDP
● 2 Independent display supported
- HDMI™ + LVDS/ eDP
I have flashed the board with our custom ubuntu core image, and plugged in HDMI to see our application. It seems I am able to boot the image, but not able to get screen output. When I checked ubuntu frame logs, I saw that it’s complaining about not being able to find the DRM devices.
When I checked sysfs to see if there was any DRM device populated there, I couldn’t find anything. So that means HDMI is not enumerated.
I was wondering if you guys have any clue about this or tips/tricks for debugging it?
Note, when I boot with Ubuntu Desktop, I can see HDMI is enumerated and the screen is working as expected.
Modules in device
Module Size Used by
iwlmvm 569344 0
mac80211 1249280 1 iwlmvm
libarc4 16384 1 mac80211
iwlwifi 454656 1 iwlmvm
cfg80211 974848 3 iwlmvm,iwlwifi,mac80211
r8169 102400 0
realtek 32768 2
joydev 32768 0
input_leds 16384 0
btusb 61440 0
btrtl 24576 1 btusb
btbcm 24576 1 btusb
btintel 40960 1 btusb
bluetooth 704512 5 btrtl,btintel,btbcm,btusb
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
pmt_telemetry 16384 0
pmt_class 16384 1 pmt_telemetry
intel_pmt 16384 0
mei_hdcp 24576 0
mei_me 40960 1
mei 135168 3 mei_hdcp,mei_me
x86_pkg_temp_thermal 20480 0
intel_powerclamp 24576 0
coretemp 24576 0
kvm_intel 372736 0
iTCO_wdt 16384 0
intel_pmc_bxt 16384 1 iTCO_wdt
8250_dw 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
kvm 1036288 1 kvm_intel
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
sha1_ssse3 32768 0
intel_lpss_pci 24576 0
intel_lpss 16384 1 intel_lpss_pci
i2c_i801 36864 0
wmi_bmof 16384 0
idma64 20480 0
i2c_smbus 20480 1 i2c_i801
mac_hid 16384 0
acpi_pad 184320 0
acpi_tad 20480 0
sch_fq_codel 20480 3
binfmt_misc 24576 1
drm 622592 0
efi_pstore 16384 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
nls_iso8859_1 16384 1
hid_generic 16384 0
usbkbd 16384 0
usbhid 65536 0
hid 151552 2 usbhid,hid_generic
sha256_ssse3 32768 0
aesni_intel 376832 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
ahci 49152 4
libahci 49152 1 ahci
xhci_pci 24576 0
xhci_pci_renesas 20480 1 xhci_pci
wmi 32768 1 wmi_bmof
video 65536 0
autofs4 49152 2
Ubuntu Frame logs
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.953841] <information> mirserver: Starting
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954129] < - debug - > mirserver: Using Linux VT subsystem for session management
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954235] <information> mircommon: Loading modules from: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954277] <information> mircommon: Loading module: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.22
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954289] <information> mircommon: Loading module: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.22
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954298] <information> mircommon: Loading module: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform/renderer-egl-generic.so.22
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954306] <information> mircommon: Loading module: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.22
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954314] <information> mircommon: Loading module: /snap/ubuntu-frame/9750/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.9
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954961] <information> mirserver: Found display driver: mir:x11 (version 2.17.0)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.954994] <information> mirserver: (Unsupported by system environment)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955001] <information> mirserver: Found display driver: mir:egl-generic (version 2.17.0)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955032] <information> mirserver: Found display driver: mir:gbm-kms (version 2.17.0)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955111] <information> gbm-kms: Unsupported: No DRM devices detected
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955120] <information> mirserver: (Unsupported by system environment)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955128] <information> mirserver: Found display driver: mir:eglstream-kms (version 2.17.0)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955627] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955668] <information> eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955677] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: [2025-02-05 21:59:59.955683] <information> mirserver: (Unsupported by system environment)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: ERROR: ./src/server/graphics/default_configuration.cpp(198): Throw in function virtual const std::vector<std::shared_ptr<mir::graphics::DisplayPlatform> >& mir::DefaultServerConfiguration::the_display_platforms()
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: std::exception::what: Exception while creating graphics platform
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: ERROR: ./src/server/graphics/platform_probe.cpp(232): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptr<mir::SharedLibrary> > > mir::graphics::modules_for_device(const std::function<std::vector<mir::graphics::SupportedDevice>(const mir::SharedLibrary&)>&, const std::vector<std::shared_ptr<mir::SharedLibrary> >&, mir::graphics::TypePreference)
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2025-02-05T21:59:59Z ubuntu-frame.daemon[606485]: std::exception::what: Failed to find any platforms for current system
2025-02-05T21:59:59Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
2025-02-05T21:59:59Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.