Skip to contentSkip to conversation

Why does libdrm-intel needs libpciaccess?

DISCUSSION Alexandre Demers 2 participants 2 messages Aug 3, 2011

lore
Share & tools
lore
#0 lore raw

Here is a simple question I couldn't find an answer for: why does libdrm-intel needs libpciaccess to be build? It is the only drm driver requiering it.

Quoted 1 line

From what I understand, and correct me if I'm wrong, but libpciaccess is

related to X. And drm should be able to live without X. So why would libdrm-intel rely on libpciaccess/X to be build? I'm sure we could do without it, since all other drivers do.

As things are right now, would that imply using a X lib to build libdrm-intel and then use it with Wayland for instance? Isn't Wayland supposed to be able to run completly without X?

Cheers,

Signature · 1 line
Alexandre Demers
#1 lore raw
Quoted 2 lines · Alexandre Demers

From what I understand, and correct me if I'm wrong, but libpciaccess is related to X.

X uses it, but libpciaccess is an abstraction of access to the PCI bus, which can be (and is) used by non-X programs as well.

Signature · 2 lines
	-Alan Coopersmith-        [email protected]
	 Oracle Solaris Platform Engineering: X Window System