Package: bumblebee Version: 3.2.1-7 Severity: normal Dear Maintainer,
after running a simple cuda unit test that just runs a kernel on the nvidia gpu, bumblebee fails to unload the nvidia modules: | joe@paranoia:~$ cat /proc/acpi/bbswitch ;lsmod|grep nvidia | 0000:01:00.0 OFF | joe@paranoia:~$ optirun --no-xorg ~/Projekte/EXA-DUNE/patches/dune-patches/dune/patches/test/cuda-kernel-run ; echo $? | 0 | joe@paranoia:~$ cat /proc/acpi/bbswitch ;lsmod|grep nvidia | 0000:01:00.0 ON | nvidia_uvm 67454 0 | nvidia 8516549 1 nvidia_uvm | drm 249955 5 i915,drm_kms_helper,nvidia | i2c_core 46012 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia After switching the order of nvidia and nvidia-uvm in /etc/nvidia/nvidia-modprobe.conf (see #793386), I can manually unload the modules: | joe@paranoia:~$ sudo modprobe -r nvidia-current | joe@paranoia:~$ cat /proc/acpi/bbswitch ;lsmod|grep nvidia | 0000:01:00.0 ON | joe@paranoia:~$ optirun --no-xorg true ; echo $? | 0 | joe@paranoia:~$ cat /proc/acpi/bbswitch ;lsmod|grep nvidia | 0000:01:00.0 OFF As long as I only run programs that do not use the GPU at all (e.g. "true") or only use it to do graphics (e.g. "glxgears") I do not have this problem. Note that I have the current experimental nvidia-graphics-drivers (352.21-1) installed on a stable (jessie) system with a few packages from testing which are needed by nvidia-graphics-drivers: | nvidia-modprobe_349.16-1_amd64.deb | libvdpau1_1.1-1_amd64.deb | libvdpau-dev_1.1-1_amd64.deb I'm using cuda 7 from nvidia's ubuntu 14.10 repository: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1410/x86_64 Regards, Jö. -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (990, 'stable'), (1, 'proposed-updates'), (1, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages bumblebee depends on: ii bbswitch-dkms 0.8-1 ii dpkg 1.17.25 ii init-system-helpers 1.22 ii libbsd0 0.7.0-2 ii libc6 2.19-18 ii libglib2.0-0 2.42.1-1 ii libx11-6 2:1.6.2-3 Versions of packages bumblebee recommends: ii primus 0~20140711-1 Versions of packages bumblebee suggests: ii bumblebee-nvidia 3.2.1-7 -- Configuration Files: /etc/bumblebee/xorg.conf.nvidia changed: Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" Option "Interactive" "off" EndSection -- no debconf information -- Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics, University of Münster, Orleans-Ring 10, D-48149 Münster Tel: +49 251 83 35146 Fax: +49 251 83 32729 This message is protected by DoubleROT13 encryption Attempting to decode it violates the DMCA/WIPO acts
signature.asc
Description: Digital signature