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@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
signature.asc
Description: This is a digitally signed message part