Bug#764639: libgl1-nvidia-glx: failst to upgrade or install with KMS (nouveau) active

Luca Boccassi luca.boccassi at gmail.com
Wed Feb 22 10:29:55 UTC 2017


On Tue, 2017-02-21 at 20:56 +0000, Luca Boccassi wrote:
> On Mon, 2017-02-20 at 11:25 +0000, Luca Boccassi wrote:
> > On Sun, 2017-02-19 at 21:09 +0100, Andreas Beckmann wrote:
> > > Control: fixed -1 361.45.18-1
> > > 
> > > On 2017-02-11 00:06, Andreas Beckmann wrote:
> > > > Problem is that the 340xx driver (didn't check 304xx) does not
> > > > unregister the proc entries if it aborts loading (due to
> > > > nouveau
> > > > being
> > > > loaded already).
> > > 
> > > The missing nv_unregister_procfs() call was added upstream in the
> > > 361
> > > series.
> > > 
> > > The same problem seems to exist in 304xx. I've ported my patch to
> > > that
> > > legacy series, too, but I have no way to test it properly.
> > > 
> > > Luca, perhaps you could try the following (even if you have no
> > > 304xx
> > > requiring hardware, as long as the test machine has a nvidia
> > > gpu):
> > > * load nouveau module
> > > * load 304xx module (should fail, since another module has
> > > already
> > > grabbed the device)
> > > 
> > > I don't know if the relevant code path gets executed if no
> > > supported
> > > hardware is available ... if it is I would expect the 304xx
> > > module
> > > (without patch) to leave a stale /proc/driver/nvidia (requires
> > > reboot to
> > > get rid of it again), while the patched version leaves /proc
> > > clean.
> > > It's also possible that the problem is not (easily) reproducible
> > > on
> > > 304xx, since the initialization of the procfs entries seems to
> > > come
> > > much
> > > later.
> > 
> > I can certainly give it a spin, in the next couple of days
> > probably,
> > will report back how it goes.
> > 
> > Kind regards,
> > Luca Boccassi
> 
> It is surprisingly difficult to boot with only nouveau! Loads and
> loads
> of things trying to load the nvidia module.
> 
> Anyway, I just tried with the latest 378 kernel module, and it still
> leaves behind the /proc/driver/nvidia, if nouveau is loaded first.
> 
> Kind regards,
> Luca Boccassi

Ok I managed to fix everything that was trying to load nvidia modules.

Now booting with nouveau, I can't actually manage to reproduce the
stale /proc/driver/nvidia with any series - tried 304, 340 and 378. Not
sure what's going on...

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/20170222/39c3225b/attachment.sig>


More information about the pkg-nvidia-devel mailing list