Please refactor plymouth to remove the libdrm2 dependency when text themes are used

Bug #819802 reported by Emmet Hikory on 2011-08-02
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Wishlist
Unassigned

Bug Description

The Ubuntu Core image contains libdrm2 and various implementations of userspace interfaces for specific DRI modules, which may not match hardware on target systems, especially for users intending not to provide any graphical interface (often including no graphical console). This significantly increases the size of the image, without direct benefit to the user.

plymouth should detect when the theme requires the direct rendering interface, and only load the appropriate DRM implementations at that time. The theme packages should depend on any required interfaces, and the plymouth package not require any DRM implementation when using text themes.

Emmet Hikory (persia) on 2011-08-02
tags: added: core
Steve Langasek (vorlon) wrote :

Correct in principle, awkward to implement in practice. Should definitely be discussed with upstream.

It looks to me like all four of the drm drivers combined add up to 476KB installed. Is this actually significant for Ubuntu Core in practice?

Currently ubuntu-core images are only built for armel. As a first pass, would it be a good idea to evaluate whether some of these DRM backends should be dropped for armel? E.g., does it ever make sense to build libdrm-intel1 for the armel architecture?

Changed in plymouth (Ubuntu):
importance: Undecided → Wishlist
Emmet Hikory (persia) wrote :

The last image I checked was about 100MB, so the DRM implementations represent less than 1%, although anything that can be removed from this is interesting, as 100MB is considered "very large" when compared to other base rootfs environments made available by other projects (e.g. TLIB).

In principle, there's no reason that Core couldn't be built for other architectures: although nobody has yet volunteered to care for the images for other than armel.

I'd be opposed to attempting to trim packages on an architecture-specific basis: while there are no current chipsets available that use Intel DRI and armel, there are always discussions surrounding any new SoC design, and Intel has previously produced devices supporting ARM instruction sets. Further, there are devices supporting ARM instruction sets that allow attachment of external bus devices, such as PCIe: while Intel does not currently produce a discrete graphics solution, there have been persistent rumours of such devices for several years. I believe there exists available hardware for all other included DRM implementations for all architectures currently in Ubuntu.

Changed in plymouth (Ubuntu):
status: New → Confirmed
tags: added: rls-mgr-p-tracking
Colin Watson (cjwatson) on 2012-01-12
Changed in plymouth (Ubuntu):
status: Confirmed → Triaged
tags: added: rls-mgr-q-tracking
removed: rls-mgr-p-tracking
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers