splitting off nvidia-graphics-drivers-legacy-340xx
Luca Boccassi
luca.boccassi at gmail.com
Wed Aug 5 22:52:51 UTC 2015
On Tue, 2015-08-04 at 12:33 +0200, Andreas Beckmann wrote:
> On 2015-08-04 00:02, Luca Boccassi wrote:
> > So installed 340.76-4 on my desktop, and everything seemed fine.
> >
> > The new module can be loaded and unloaded just fine:
>
> Good to know. Thanks for testing.
>
> How does it work if nvidia is not already loaded?
Again on my desktop:
$ lsmod | grep nvidia
$ sudo modprobe nvidia-uvm
$ lsmod | grep nvidia
nvidia_uvm 36864 0
nvidia 10514432 1 nvidia_uvm
drm 274432 4 i915,drm_kms_helper,nvidia
$ sudo modprobe -r nvidia
$ lsmod | grep nvidia
$ sudo modprobe nvidia-current-uvm
$ lsmod | grep nvidia
nvidia_uvm 36864 0
nvidia 10514432 1 nvidia_uvm
drm 274432 4 i915,drm_kms_helper,nvidia
$ sudo modprobe -r nvidia-current
$ lsmod | grep nvidia
$ sudo modprobe nvidia-current
$ lsmod | grep nvidia
nvidia 10514432 0
drm 274432 4 i915,drm_kms_helper,nvidia
$ sudo modprobe -r nvidia-current
rmmod: ERROR: Module nvidia_uvm is not currently loaded
modprobe: FATAL: Error running remove command for nvidia_current
$ lsmod | grep nvidia
Note the displayed error when modprobe'ing only nvidia-current but not
nvidia-current-uvm. It just complains but it works fine, so it is a bit
misleading. I wonder if we could do something about it? I tried playing
with modprobe.d/nvidia.conf, with using modprobe -r --ignore-remove
instead of rmmod, but no luck.
On my laptop testing modules individually is a bit harder since I need
to go through bumblebee. I'm not able to enable the card manually (by
tee'ing into /proc/acpi/bbswitch) and the modprobe'ing the modules, with
other versions of the drivers too. I thought this was possible once, or
did I imagine it?
Anyway, testing through bumblebee went fine as well.
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20150805/832d9989/attachment.sig>
More information about the pkg-nvidia-devel
mailing list