Re: Device enumeration support in libdrm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jammy,

On 8 July 2015 at 06:53, Zhou, Jammy <Jammy.Zhou@xxxxxxx> wrote:
> Hi Emil,
>
>
>
> With our previous RFC patches to add interfaces to support GPU device
> enumeration support in libdrm, the udev mechanism was used. But we found
> that if we introduce the libudev dependency for libdrm, there will be some
> problem to run steam application on recent distributions (for example,
> Ubuntu 14.04 LTS) because of the conflict between the system libudev.so.1
> (loaded by libdrm) and the libudev.so.0 (bundled in steam-runtime and loaded
> by steam application). There are some similar issues as mentioned in the
> links below. Although we can argue that it is application’s problem, can we
> get rid of libudev for the device enumeration before Valve can make
> steam-runtime use system libraries by default? It is much appreciated if you
> can give some suggestions about how we can support device enumeration with
> libdrm.
>
I believe I mentioned it before, perhaps I wasn't clear enough. Rather
than using libudev, manually iterate through sysfs. I agree it's not a
not pretty solution yet the libdrm code already has much weirder
stuff.

Cheers
Emil
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux