post-352 drivers

Luca Boccassi luca.boccassi at gmail.com
Wed Feb 3 21:13:30 UTC 2016


On Wed, 2016-02-03 at 09:21 +0000, Luca Boccassi wrote:
> On Feb 3, 2016 08:54, "Andreas Beckmann" <anbe at debian.org> wrote:
> >
> > On 2016-02-03 02:40, Luca Boccassi wrote:
> > > DKMS is passing down ARCH=<binary ABI triplet> when it calls make. But
> > > conftest.sh uses $ARCH for the arch-specific Linux headers directory.
> > > I solved it by simply unsetting ARCH in the dkms.conf, and now it's
> > > building on all architectures, as upstream's Makefile will derive ARCH
> > > from uname if it's not set.
> >
> > Are you sure that's dkms setting this variable? I haven't seen this here
> > ... where amd64 built fine and armhf in a foreign-arch pbuilder
> > environment as well. Anyway, thanks for the fix.
> 
> I assumed it was dkms because that's the top of the chain, and when
> unsetting it there it wasn't defined anymore down the stack up to the
> makefile. This is in a very basic sid chroot with nothing but build
> dependencies installed, and tested by installing nvidia-kernel-dkms and
> calling dkms install.
> 
> Any idea what else could be setting that var?
> 
> Note that I haven't tested running with this yet, only the module build in
> all archs. I'll do that tonight.

I've run the drivers on my desktop, works fine.

Cannot test it on the optimus system though due to the missing xorg ABI
20.

Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list