Bug#864477: nvidia_icd.json does not refer to correct library when non-GLVND driver variant is installed

Luca Boccassi luca.boccassi at gmail.com
Sun Jun 11 17:00:08 UTC 2017


On Sat, 2017-06-10 at 22:51 +0100, Luca Boccassi wrote:
> On June 10, 2017 7:48:55 PM GMT+01:00, Andreas Beckmann <anbe at debian.
> org> wrote:
> > On 2017-06-10 17:36, Luca Boccassi wrote:
> > > Andreas, given we ship it in /usr/share, perhaps the easiest
> > > thing
> > > would be to modify in the maintainer scripts (via config-package-
> > > dev
> > > maybe) in the non-GLVND GLX package. What do you think?
> > 
> > No way. Anything that would trigger debsums is forbidden :-)
> > 
> > Luckily we don't have alternatives for that case :-)
> > So it will probably be diversions + shipping the alternate json in
> > non-glvnd libgl1-nvidia-glx.
> 
> Yes that's what I meant, sorry wrote in a hurry :-) - config-package-
> dev automates generating dpkg-divert snippets for the maintainer
> scripts, I've used it a lot and I find it quite handy. It's a build-
> time tool. We can do it manually too of course!
> 
> I'll give it a test tomorrow for the alternate json and check that it
> works with the applications I've got.
> 
> Kind regards,
> Luca Boccassi

Having libGL.so.1 in the ICD works when running with the non-glvnd
stuff as far as I can see.

I tested DOTA 2 in Vulkan mode and a couple of OpenGL games.

But unfortunately I don't think we can use dpkg-divert as the libgl-
nvidia-glx packages are multiarch (and amd64 + i386 is needed for most
stuff) so they clash :-(

Shall we add a conflict on nvidia-vulkan-common to the non-glvnd
libraries? I guess another solution would be to have a nvidia-vulkan-
common-nonglvnd that conflicts and ships the modified file, but it
seems a bit ugly. It's not very "common" for starters :-)

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20170611/469b8106/attachment.sig>


More information about the pkg-nvidia-devel mailing list