Repository navigation
HavenDOS 0.9.6.4
Which file do I want?
| File | For |
|---|---|
HavenDOS-0.9.6.4.iso |
Booting or installing -- BIOS and UEFI, Secure Boot off |
HavenDOS-0.9.6.4-bundle.zip |
Updating an installed system: the kernel, update.inf and the Windows/Linux staging scripts, plus the ISO, handoff and hardware-test docs |
HavenDOS-0.9.6.4-source.zip |
Building it yourself -- make && make test |
HavenDOS v0.9.6.4 Beta "Daedalus" — the monitor never gets stuck
The fourth maintenance update of 0.9.6, from Kyan's photo of
16 November. Fixes only.
Fixed
gfx on was refused as "already lit" while the monitor was dark
What the photo shows:
- the warning "Monitor not lit --
gfx onsays why"; - then
gfx onrefused with "pipe B is already lit --gfx offfirst",
before and after agfx off.
Yet all three registers the refusal printed read off:
- TRANSCONF B 00000000;
- DDI_FUNC B 00030000 (only the sync polarities);
- DDI_BUF B 00000080 (idle).
What happened:
- 0.9.6.3's watcher tried to light the monitor scaled, and the attempt
stopped part-way, after the PLL, the clock and the scaler but before
the pipe started. - That left pipe B half set up. The refusal counted the scaler as
"lit" but never printed it. - Each later attempt was refused, and the watcher gave up after three.
gfx offonly cleared parts that were enabled, so the leftovers
stayed andgfx onstayed refused.
In 0.9.6.4:
gfx on, the watcher and Settings clear a half-set-up pipe B by
themselves first, saying so ("Pipe B was left half set up by an
attempt that stopped: clearing it first").- If a scaled light stops, the monitor is lit unscaled instead, the
way 0.9.6.2 lit it on the HP.gfx onprints the step that stopped
scaling, with the register, the value written and the value read back.
The watcher puts the same line indmesgand shows a notification
saying it is unscaled. The monitor shows a picture either way. - The refusal names its reason. It also prints PLANE_CTL B and both
of pipe B's scalers, lists what is on, and says when pipe B isn't
actually running. gfx offclears everything of pipe B: any scaler that is set, not
just one that is enabled, with its window; and DDI_FUNC's leftover
bits.- The scaler's read-back checks only what matters: the enable bit,
and the window's position and size. i915 reads none of these back,
and the phases' spare bits are the hardware's to report however it
likes. That may be what stopped it. If it was something else, the
step is now on the screen. gfx balso shows pipe B's scaler, its window size, and pipe A's
scaler for comparison.
How to test
- Update and reboot with the LG plugged in.
- Expected: within a few seconds the monitor lights.
- Scaled: the notification says "Monitor on: fitted, shape kept".
Photograph the monitor. - Unscaled: the notification says so. Run
dmesgand photograph
the "monitor: scaling stopped at ..." line. That line says exactly
which register the scaler stopped at.
- Scaled: the notification says "Monitor on: fitted, shape kept".
- Then
gfx off, thengfx on. Photograph the end of its output.
Tests
test_xemode285 (floor 285). It replays the HP's state: a scaled
light stopped at the scaler, refused as busy, the refusal naming
"scaler 1",gfx offclearing the scaler and DDI_FUNC 00030000, then
lighting again.check_xemode_suite47/47, with four new injections.- 7367/7367 checks across 70 suites.
- QEMU:
mouse_apps14/14 andgfx_boot15/15. QEMU has no Iris Xe,
so the fallback itself only runs on the HP.