Skip to content

J313: oversized T8103 external display DMA windows force simpledrm fallback #178

Closed

Description

@claytonfaria

A fresh Omarchy edge installation on a MacBook Air M1 boots to a usable desktop, but native display initialization fails and Hyprland falls back to simpledrm. Opening/closing windows initially looked sluggish. Correcting two external-display DMA windows restored native output on the next reboot.

Machine and build

  • MacBookAir10,1 / J313 / T8103; internal panel only, 2560×1600 at 60 Hz, scale 2.
  • Fresh Omarchy edge image installed 2026-10-22; no Aurora release tag recorded. Package versions below identify the tested build.
  • Arch Linux ARM; omarchy-dev 4.0.0.r7218.gbe54892-1.
  • linux-aurora 7.2.10.aurora2-1; running kernel 7.2.10-2-1-ARCH.
  • aura 0.1.0.r20261022-1, source 8f4ee8808f593802d825bb8fbc6b99b90f46c402; stage 1 v1.6.1-dirty, stage 2 v0.1.0-9-g8f4ee880.
  • uboot-aurora 2026.07.aurora2-1; omarchy-mac-boot 20261021-1.
  • OS firmware 13.5; system firmware field reports unknown.
  • hyprland 0.56.2-7; Mesa 1:26.3.0_devel.20261017.af3d9c6fc84-2.
  • Active renderer before and after: Apple M1 (G13G B1). No experimental graphics profile was selected for this test.

Reproduction and failure

Boot the fresh image on J313 and inspect journalctl -b -k, the DRM driver links under /sys/class/drm, and hyprctl monitors.

The diagnosed pre-fix boot contained:

apple-drm soc:display-subsystem: Invalid DMA window for ias=32
platform 271c00000.dcp:piodma: Invalid DMA window for ias=32
apple-dcp 231c00000.dcp: error -ETIME: Failed to boot RTKit: -62
apple-drm soc:display-subsystem: failed to bind 231c00000.dcp (ops dcp_comp_ops [appledrm]): -62

Hyprland reported Unknown-1; Aquamarine used simpledrm. The GPU still rendered on M1, so this was a display-controller fallback rather than llvmpipe rendering. The pre-fix journal also contains an unbind warning in devm_clk_match reached from dcp_comp_unbind.

One pre-fix boot and one post-fix reboot were compared in detail; no repeat-boot failure rate or last-known-good kernel has been established.

Cause and tested workaround

The external display DART is apple,t8103-dart, whose driver sets ias = 32. The device tree nevertheless supplies a 0xfffff0000-byte window starting at zero in both:

  • arch/arm64/boot/dts/apple/t8103-jxxx.dtsi: the &dispext0_dart entry under &display.
  • arch/arm64/boot/dts/apple/t8103.dtsi: the external DCP's piodma entry.

apple_dart_parse_dma_window() rejects that range because it exceeds the DART input-address width. A J313-only local overlay changes those two lengths to 0xfc000000, matching the existing internal-display window. It preserves stream IDs, DART phandles and all other existing properties. The kernel binary and GPU packages were unchanged.

After the overlay and reboot

  • Native apple-drm drives eDP-1 at 2560×1600, 60 Hz.
  • Both 231c00000.dcp and 271c00000.dcp bind, as does the display audio component.
  • No Invalid DMA window, native-display bind failure or RTKit startup timeout in the post-fix boot.
  • Full installed boot-chain verification passes.
  • Native Wayland EGL test reports M1 hardware rendering; known-color GPU pixel readback passes.
  • wp_presentation feedback over approximately 18 measured seconds after warmup: steady animation 59.94 FPS, p99 interval 17.658 ms, one interval above 25 ms among 1,079 intervals; during eight terminal open/close cycles 59.88 FPS, p99 17.781 ms, two intervals above 25 ms among 1,078 intervals. No discarded frames; all feedback carried VSYNC and HW_CLOCK flags. No new GPU/display faults during these tests.
  • The owner subsequently confirmed the desktop did not appear janky. These short tests do not establish performance for every application.

External monitors/hotplug, suspend/resume, a separate cold-boot test and other M1 models are not tested. Both display processors binding is not a claim that external display output was tested.

The separate Aura boot-checker exact-package-name failure was corrected locally to permit verification; it is already covered by omacom/omarchy-mac-pkgs#52. That checker change does not alter boot contents or rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions