Bug#756522: bumblebee-nvidia: cannot access secondary gpu - error: Permission denied

Vincent Cheng vcheng at debian.org
Fri Nov 21 08:56:24 UTC 2014


Hi Marek,

On Fri, Nov 21, 2014 at 12:38 AM, Marek Rusinowski
<marekrusinowski at gmail.com> wrote:
> On Fri, 21 Nov 2014 00:06:11 -0800 Vincent Cheng <vcheng at debian.org> wrote:
>> On Wed, Nov 19, 2014 at 4:36 AM, Marek Rusinowski
>> <marekrusinowski at gmail.com> wrote:
>> > On Fri, 12 Sep 2014 13:13:43 +0200 Christian Lachner
>> > <christian.lachner at gmail.com> wrote:
>> >> Hello everybody,
>> >>
>> >> jkwong888 at https://github.com/Bumblebee-Project/Bumblebee/issues/580
>> >> came up with a fix that actually solves the problem - at least for me.
>> >>
>> >> Turns out that appending the following screen-section to
>> >> /etc/bumblebee/xorg.conf.nvidia makes bumblebee work:
>> >>
>> >> Section "Screen"
>> >>     Identifier "Default Screen"
>> >>     Device "DiscreteNvidia"
>> >> EndSection
>> >>
>> >> After a restart of bumblebeed, optirun works properly.
>> >>
>> >>
>> > Hello,
>> >
>> > I have debian jessie.
>> >
>> >   kernel 3.16.0-4-amd64
>> >   nvidia driver 340.46-3
>> >   bumblebee 3.2.1-7
>> >   xserver-xorg 1:7.7+7
>> >   xserver-common 2:1.16.1.901-1
>> >
>> > And unfortunately after appending those lines nothing changed. I have
>> > got
>> > same error and I'm unable to run programs using optirun.
>>
>> Please attach a copy of:
>> - output of "dkms status" and your current kernel version (e.g. "uname
>> -a")
>> - output of "optirun -vv glxgears -info"
>> - /var/log/Xorg.8.log and dmesg after a failed attempt at running optirun
>>
>> Regards,
>> Vincent
>>
>>
> # dkms status
> bbswitch, 0.8, 3.16.0-4-amd64, x86_64: installed
> nvidia-current, 340.46, 3.16.0-4-amd64, x86_64: installed
> # uname -a
> Linux laptop 3.16.0-4-amd64 #1 SMP Debian 3.16.7-2 (2014-11-06) x86_64
> GNU/Linux

Your /var/log/Xorg.8.log:

[    61.330] (II) LoadModule: "nvidia"
[    61.330] (WW) Warning, couldn't open module nvidia
[    61.330] (II) UnloadModule: "nvidia"
[    61.330] (II) Unloading nvidia
[    61.330] (EE) Failed to load module "nvidia" (module does not exist, 0)

...suggests that you may need to set KernelDriver=nvidia-current in
/etc/bumblebee/bumblebee.conf, restart bumblebeed, and rerun optirun.
Also check to make sure that xserver-xorg-video-nvidia is installed.

Regards,
Vincent



More information about the pkg-nvidia-devel mailing list