From: "Zhou, Jammy" Subject: Device enumeration support in libdrm Date: Wed, 8 Jul 2015 05:53:03 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1531772504==" Return-path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0138.outbound.protection.outlook.com [65.55.169.138]) by gabe.freedesktop.org (Postfix) with ESMTPS id 11EB16E944 for ; Tue, 7 Jul 2015 23:26:28 -0700 (PDT) Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Emil Velikov Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org --===============1531772504== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_FD5696F5CDD4B04D92C97DB96167DECA161DAC53SCYBEXDAG04amdc_" --_000_FD5696F5CDD4B04D92C97DB96167DECA161DAC53SCYBEXDAG04amdc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Emil, With our previous RFC patches to add interfaces to support GPU device enume= ration 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.0= 4 LTS) because of the conflict between the system libudev.so.1 (loaded by l= ibdrm) and the libudev.so.0 (bundled in steam-runtime and loaded by steam a= pplication). 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 su= ggestions about how we can support device enumeration with libdrm. https://wiki.debian.org/Steam https://github.com/ValveSoftware/steam-runtime/issues/13 Regards, Jammy --_000_FD5696F5CDD4B04D92C97DB96167DECA161DAC53SCYBEXDAG04amdc_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Emil,

 

With our previous RFC patches to add interfaces to s= upport GPU device enumeration support in libdrm, the udev mechanism was use= d. But we found that if we introduce the libudev dependency for libdrm, the= re will be some problem to run steam application on recent distributions (for example, Ubuntu 14.04 LTS) becaus= e of the conflict between the system libudev.so.1 (loaded by libdrm) and th= e 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 befo= re 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.

 

https://wiki.debian.org/Steam

https://github.com/ValveSoft= ware/steam-runtime/issues/13

 

Regards,

Jammy

 

--_000_FD5696F5CDD4B04D92C97DB96167DECA161DAC53SCYBEXDAG04amdc_-- --===============1531772504== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1531772504==--