Make the new stack opt-in: virtio GPU aliases and Xorg configuration follow drmadm select; version 0.0.2 #23

Merged
toasterson merged 3 commits from virtio-opt-in into main 2026-10-11 18:01:21 +00:00
Owner

On an OpenIndiana test image with the legacy stack as default, virtio_gpu bound a virtio-vga device through its package alias (console lost, Xorg drmSetMaster EBUSY), and the packaged /etc/X11/xorg.conf.d/20-virtio-gpu.conf forced modesetting on every machine.

  • virtio_gpu ships without aliases; /usr/share/drmadm/virtio-gpu.aliases lists them. drmadm select new binds them, select legacy removes them (fragment first, rollback, -R); drmadm status shows them.
  • The generic modesetting configuration is a template in /usr/share/drmadm/20-modesetting.conf. svc:/system/graphics/drm-perms (now also before the display managers) installs /etc/X11/xorg.conf.d/20-drmadm.conf only when the new stack is selected since this boot and removes its own copy otherwise; administrator files are left alone.
  • virtio-vga with the new stack selected still has no console (no console takeover in virtio_gpu); drmadm(8) and the README say to use virtio-gpu-pci.
  • G7 and R4 tests updated. Version 0.0.2.

Tests (hephaistos guests): G7 13 phases 114/0, R4 36/0, virtio-vga with packages installed and no selection 5/0 (vgatext console, no alias), package upgrade 5/0; host CI checks 11/0. Not run on the X230.

On an OpenIndiana test image with the legacy stack as default, `virtio_gpu` bound a virtio-vga device through its package alias (console lost, Xorg drmSetMaster EBUSY), and the packaged `/etc/X11/xorg.conf.d/20-virtio-gpu.conf` forced modesetting on every machine. - `virtio_gpu` ships without aliases; `/usr/share/drmadm/virtio-gpu.aliases` lists them. `drmadm select new` binds them, `select legacy` removes them (fragment first, rollback, `-R`); `drmadm status` shows them. - The generic modesetting configuration is a template in `/usr/share/drmadm/20-modesetting.conf`. `svc:/system/graphics/drm-perms` (now also before the display managers) installs `/etc/X11/xorg.conf.d/20-drmadm.conf` only when the new stack is selected since this boot and removes its own copy otherwise; administrator files are left alone. - virtio-vga with the new stack selected still has no console (no console takeover in virtio_gpu); drmadm(8) and the README say to use virtio-gpu-pci. - G7 and R4 tests updated. Version 0.0.2. Tests (hephaistos guests): G7 13 phases 114/0, R4 36/0, virtio-vga with packages installed and no selection 5/0 (vgatext console, no alias), package upgrade 5/0; host CI checks 11/0. Not run on the X230.
Version 0.0.2
Some checks failed
ci / check-hosted (pull_request) Failing after 11m59s
ci / kmod-illumos (pull_request) Failing after 24m3s
4d0c541e6a
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
illumos/illumos-drm!23
No description provided.