Bug#924704: bumblebee-nvidia: nvidia-driver 410 doesn't appear to allow the unloading of the nvidia module

Luca Boccassi bluca at debian.org
Sun Mar 17 16:29:46 GMT 2019


As mentioned your hardware might not work with bbswitch and might
instead work with the kernel PM. Remove bbswitch and set
AlwaysUnloadKernelDriver=true in bumblebee's config file.

On Sat, 2019-03-16 at 22:22 -0400, Danfun360 wrote:
> Well, the good news is, the GLX alternative bug with legacy-390xx
> appears
> to have been fixed.
> 
> The bad news is that the main bug of bumblebeed failing to load at
> startup
> for whatever reason is still there. Have any suggestions for
> troubleshooting? (Also, since this bug affects both the latest
> nvidia-driver (410) as well as nvidia-driver-legacy-390xx, I'd prefer
> trying to work with 410)
> 
> On Sat, Mar 16, 2019 at 5:48 PM Luca Boccassi <bluca at debian.org>
> wrote:
> 
> > That's not the case anymore in buster, 390xx works fine with other
> > packages
> > 
> > On Sat, 16 Mar 2019, 21:03 Danfun360 <danfun360 at gmail.com wrote:
> > 
> > > I already tried legacy-390xx. As I said before, there doesn't
> > > seem to be
> > > equivalents of nvidia-cuda-toolkit and nvidia-cuda-dev that don't
> > > try to
> > > force the latest nvidia drivers. Also, bumblebee doesn't
> > > recognize the
> > > legacy-390xx drivers as a GLX alternative (I get an error stating
> > > such).
> > > 
> > > If I was to remove bbswitch, would I be unable to use PRIMUS?
> > > Also how
> > > would I go about with my VGA Passthrough setup?
> > > 
> > > On Sat, Mar 16, 2019 at 4:12 PM Luca Boccassi <bluca at debian.org>
> > > wrote:
> > > 
> > > > Control: severity -1 minor
> > > > 
> > > > Try switching to legacy-390xx, or removing bbswitch and using
> > > > the
> > > > kernel's power management, with these laptops it's always a
> > > > dice roll
> > > > on what will actually work
> > > > 
> > > > On Sat, 2019-03-16 at 14:19 -0400, Danfun360 wrote:
> > > > > The graphics card in my laptop is an Nvidia Geforce GTX 1050.
> > > > > 
> > > > > On Sat, Mar 16, 2019 at 7:20 AM Luca Boccassi <luca.boccassi@
> > > > > gmail.co
> > > > > m>
> > > > > wrote:
> > > > > 
> > > > > > What Nvidia card does your laptop have?
> > > > > > 
> > > > > > On Sat, 16 Mar 2019, 03:42 Daniel O. <danfun360 at gmail.com
> > > > > > wrote:
> > > > > > 
> > > > > > > Package: bumblebee-nvidia
> > > > > > > Version: 3.2.1-20
> > > > > > > Severity: grave
> > > > > > > Justification: renders package unusable
> > > > > > > 
> > > > > > > Dear Maintainer, I write this bug report because this
> > > > > > > bumblebee/bumblebeed
> > > > > > > doesn't work as it should.
> > > > > > > 
> > > > > > >    * What led up to the situation? Bumblebee used to work
> > > > > > > correctly when
> > > > > > > the
> > > > > > > nvidia driver was at 390. A few days ago it was upgraded
> > > > > > > to 410.
> > > > > > > At the
> > > > > > > time I
> > > > > > > was running Debian Buster (testing as of this writing).
> > > > > > > That's
> > > > > > > where
> > > > > > > things
> > > > > > > started to get problematic. It appears that the nvidia
> > > > > > > module
> > > > > > > couldn't be
> > > > > > > unloaded or something. bbswitch reported as "ON" without
> > > > > > > optirun,
> > > > > > > and as
> > > > > > > the
> > > > > > > nvidia drivers were considered in use, I was unable to
> > > > > > > unbind the
> > > > > > > nvidia
> > > > > > > driver
> > > > > > > for VGA Passthrough as I had been doing before.
> > > > > > >    * What exactly did you do (or not do) that was
> > > > > > > effective (or
> > > > > > >      ineffective)? I uninstalled every bumblebee and
> > > > > > > nvidia
> > > > > > > package. I
> > > > > > > then
> > > > > > > reinstalled everything. No luck. I then uninstalled
> > > > > > > everything
> > > > > > > and went
> > > > > > > for the
> > > > > > > legacy 390 package. Unfortunately there were problems
> > > > > > > with that:
> > > > > > > nvidia-cuba-
> > > > > > > toolkit and nvidia-cuba-dev require the latest nvidia
> > > > > > > driver
> > > > > > > installed.
> > > > > > > On top
> > > > > > > of that, bumblebee refused to see the legacy 390 drivers
> > > > > > > as a glx
> > > > > > > alternative.
> > > > > > > I uninstalled all the nvidia stuff again, switched to
> > > > > > > Debian Sid,
> > > > > > > and
> > > > > > > installed
> > > > > > > the latest nvidia drivers again (they were slightly more
> > > > > > > up to
> > > > > > > date on
> > > > > > > Sid than
> > > > > > > in Buster). Still no change.
> > > > > > >    * What was the outcome of this action? Bumblebee
> > > > > > > should be
> > > > > > > able to
> > > > > > > blacklist
> > > > > > > the nvidia driver and isolate it from the operating
> > > > > > > system in
> > > > > > > such a way
> > > > > > > that
> > > > > > > the system would run on the integrated GPU and run the
> > > > > > > discrete
> > > > > > > GPU for
> > > > > > > applications when called for.
> > > > > > >    * What outcome did you expect instead? The nvidia
> > > > > > > driver is
> > > > > > > not
> > > > > > > blacklisted,
> > > > > > > and the discrete GPU is in control.
> > > > > > > 
> > > > > > > On a different note, I tried posting a bug report
> > > > > > > upstream. It
> > > > > > > has some
> > > > > > > information this report might not have (vice versa is
> > > > > > > definitely
> > > > > > > the case,
> > > > > > > unfortunately). It can be found at https://github.com/Bum
> > > > > > > blebee-
> > > > > > > Project/Bumblebee/issues/1023
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > -- System Information:
> > > > > > > Debian Release: buster/sid
> > > > > > >   APT prefers unstable
> > > > > > >   APT policy: (500, 'unstable')
> > > > > > > Architecture: amd64 (x86_64)
> > > > > > > Foreign Architectures: i386
> > > > > > > 
> > > > > > > Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
> > > > > > > Kernel taint flags: TAINT_PROPRIETARY_MODULE,
> > > > > > > TAINT_OOT_MODULE,
> > > > > > > TAINT_UNSIGNED_MODULE
> > > > > > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
> > > > > > > (charmap=UTF-8),
> > > > > > > LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> > > > > > > Shell: /bin/sh linked to /usr/bin/dash
> > > > > > > Init: systemd (via /run/systemd/system)
> > > > > > > LSM: AppArmor: enabled
> > > > > > > 
> > > > > > > Versions of packages bumblebee-nvidia depends on:
> > > > > > > ii  bumblebee               3.2.1-20
> > > > > > > ii  glx-alternative-nvidia  0.9.1
> > > > > > > ii  nvidia-driver           410.104-1
> > > > > > > ii  nvidia-kernel-dkms      410.104-1
> > > > > > > 
> > > > > > > bumblebee-nvidia recommends no packages.
> > > > > > > 
> > > > > > > bumblebee-nvidia suggests no packages.
> > > > > > > 
> > > > > > > -- no debconf information
> > > > > > > 
> > > > > > > _______________________________________________
> > > > > > > pkg-nvidia-devel mailing list
> > > > > > > pkg-nvidia-devel at alioth-lists.debian.net
> > > > > > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/
> > > > > > > pkg-nvid
> > > > > > > ia-devel
> > > > > > 
> > > > > > 
> > > > 
> > > > --
> > > > Kind regards,
> > > > Luca Boccassi
> > > > 
-- 
Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list