Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Julien ROBIN
Hi Luca,

It's interesting that you can get it working, it's also a little bit surprising : it means that there is something wrong with my hardware or software settings - and for setting the entire system, I followed the very most straightforward standard installation... anyway, hard or soft, let's investigate :

Here is the additional information :

The command "reportbug -N 822330 nvidia-driver" gives nothing, after less than 1 second it closes without saying anything.
In compensation, here is attached to this email, syslog content and Xorg.8.log, it's telling a lot of things but as I know that a lot of warning, errors etc are "normal" or common to all kind of different problems source, I let you investigate !


xserver-xorg-legacy is not installed, update-glx is installed as 0.7.2~bpo8+1 and set to "auto", on "/usr/lib/nvidia/bumblebee" for providing "/usr/lib/glx" (it already was).
After a reboot no difference.

As you can't reproduce the bug, feel free to ask me about any additional test or information
Best regards,

Julien ROBIN

syslog-extract.txt (7K) Download Attachment
Xorg.8.log (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Vincent Cheng-2
Hi Julien,

On Sat, Apr 23, 2016 at 4:15 PM, Julien ROBIN <[hidden email]> wrote:
> Hi Luca,
>
> It's interesting that you can get it working, it's also a little bit surprising : it means that there is something wrong with my hardware or software settings - and for setting the entire system, I followed the very most straightforward standard installation... anyway, hard or soft, let's investigate :
>
> Here is the additional information :
>
> The command "reportbug -N 822330 nvidia-driver" gives nothing, after less than 1 second it closes without saying anything.

reportbug's GUI can be a bit buggy; I suggest using the text interface
instead if it crashes for you (sed -i 's/ui gtk2/ui text/g'
~/.reportbugrc).

> In compensation, here is attached to this email, syslog content and Xorg.8.log, it's telling a lot of things but as I know that a lot of warning, errors etc are "normal" or common to all kind of different problems source, I let you investigate !

From your Xorg.8.log:

[    57.784] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU
at PCI:1:0:0.  Please
[    57.784] (EE) NVIDIA(GPU-0):     check your system's kernel log
for additional error
[    57.784] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8:
Common Problems in the
[    57.784] (EE) NVIDIA(GPU-0):     README for additional information.
[    57.784] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA
graphics device!

I suggest trying out upstream's suggestions in [1], i.e. adding
"rcutree.rcu_idle_gp_delay=1" to your grub command line and/or using a
more up-to-date kernel from jessie-backports.

Regards,
Vincent

[1] https://github.com/Bumblebee-Project/Bumblebee/issues/615

Reply | Threaded
Open this post in threaded view
|

Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Julien ROBIN
Hi Vincent,

I already tried that grub modification (rcutree.rcu_idle_gp_delay=1) a lot of times in the past but probably in different conditions, because here, it worked !

In summary now, here is how you can simply get it working, following all that I did (I made a new fresh legacy-bios install just to be double sure !)

   0 - You need a computer with an Intel Display + Nvidia discrete card (mine is Asus R510JK - DM086H, with up to date bios, i5-4200H and GeForce 850M)
   1 - the simplest and minimalist net-installer for example (amd64 - 8.4.0 - started and installed as efi or legacy-bios, workaround work for both)
   2 - in my case, I work with : apt-get install lightdm lxde-core aptitude mesa-utils (I also added leafpad, synaptic and chromium, realtek and WiFi drivers + wicd, xarchiver pavucontrol for having sound card selection, and xbacklight for screen light intensity)
   3 - modify /etc/default/grub to add rcutree.rcu_idle_gp_delay=1 into GRUB_CMD_LINE and GRUB_CMD_LINE_DEFAULT, then "update-grub" as root and "reboot".
   4 - aptitude -t jessie-backports install bumblebee-nvidia, rebooted and it works ! Today it installs bumblebee 3.2.1-10~bpo8+1, and nvidia 352.79-1~bpo8+1 and a lot of others things.

Having already tried that grub modification in the past without success for what seemed to be the same error, before I can confirm you that this workaround doesn't work with the standard jessie's bumblebee installation - and all the sub-packages that comes with - it would be more nearly sure for me to try again and look if the error logs were the same !

Thanks for your help, and :

I would suggest adding this simple procedure, for those who need a version >340.96 of the nvidia driver, into the Debian bumblebee installation's wiki :

  1 - with backports enabled into source.list, apt-get update and aptitude -t jessie-backports install bumblebee-nvidia
  2 - modify /etc/default/grub to add rcutree.rcu_idle_gp_delay=1 into GRUB_CMD_LINE and GRUB_CMD_LINE_DEFAULT, then "update-grub" and "reboot"
      (or may be, 2bis, use the backported version of the kernel, but I didn't tested it)

And last thing : is this backported simple and full installation of bumblebee-nvidia working for anyone without the second point ? I didn't tested the newer backported kernel, because few days in the past, I had game crashes and kernel panics every few minutes with a more recent kernel on ubuntu 15.10, that's why I will first give it a try with 3.16 before upgrading if I really need :)

Thanks again for you help, I hope this thread could have clarified things for others people trying to play with Debian !

Best regards,
Julien ROBIN

Reply | Threaded
Open this post in threaded view
|

Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Luca Boccassi
Hi Vincent,

Thanks for the suggestion!

On Sun, 2016-04-24 at 14:35 +0200, Julien ROBIN wrote:

> Hi Vincent,
>
> I already tried that grub modification (rcutree.rcu_idle_gp_delay=1) a lot of times in the past but probably in different conditions, because here, it worked !
>
> In summary now, here is how you can simply get it working, following all that I did (I made a new fresh legacy-bios install just to be double sure !)
>
>    0 - You need a computer with an Intel Display + Nvidia discrete card (mine is Asus R510JK - DM086H, with up to date bios, i5-4200H and GeForce 850M)
>    1 - the simplest and minimalist net-installer for example (amd64 - 8.4.0 - started and installed as efi or legacy-bios, workaround work for both)
>    2 - in my case, I work with : apt-get install lightdm lxde-core aptitude mesa-utils (I also added leafpad, synaptic and chromium, realtek and WiFi drivers + wicd, xarchiver pavucontrol for having sound card selection, and xbacklight for screen light intensity)
>    3 - modify /etc/default/grub to add rcutree.rcu_idle_gp_delay=1 into GRUB_CMD_LINE and GRUB_CMD_LINE_DEFAULT, then "update-grub" as root and "reboot".
>    4 - aptitude -t jessie-backports install bumblebee-nvidia, rebooted and it works ! Today it installs bumblebee 3.2.1-10~bpo8+1, and nvidia 352.79-1~bpo8+1 and a lot of others things.
>
> Having already tried that grub modification in the past without success for what seemed to be the same error, before I can confirm you that this workaround doesn't work with the standard jessie's bumblebee installation - and all the sub-packages that comes with - it would be more nearly sure for me to try again and look if the error logs were the same !
>
> Thanks for your help, and :
>
> I would suggest adding this simple procedure, for those who need a version >340.96 of the nvidia driver, into the Debian bumblebee installation's wiki :
>
>   1 - with backports enabled into source.list, apt-get update and aptitude -t jessie-backports install bumblebee-nvidia
>   2 - modify /etc/default/grub to add rcutree.rcu_idle_gp_delay=1 into GRUB_CMD_LINE and GRUB_CMD_LINE_DEFAULT, then "update-grub" and "reboot"
>       (or may be, 2bis, use the backported version of the kernel, but I didn't tested it)
>
> And last thing : is this backported simple and full installation of bumblebee-nvidia working for anyone without the second point ? I didn't tested the newer backported kernel, because few days in the past, I had game crashes and kernel panics every few minutes with a more recent kernel on ubuntu 15.10, that's why I will first give it a try with 3.16 before upgrading if I really need :)
>
> Thanks again for you help, I hope this thread could have clarified things for others people trying to play with Debian !
>
> Best regards,
> Julien ROBIN
Hi Julien,

Thanks for helping digging into this!

I just tried, and without the kernel cmdline workaround it works for me
on both 3.16 and 4.4 from backports.

I can only assume at this point that the issue is hardware-specific.

I have a Dell Latitude E5540 with an Haswell i7-4600U and a GT720M.

I'll document this workaround in the debian/README.source, not much else
we can do I'm afraid.

Kind regards,
Luca Boccassi

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Vincent Cheng-2
Hi Luca,

On Sun, Apr 24, 2016 at 6:04 AM, Luca Boccassi <[hidden email]> wrote:

> I can only assume at this point that the issue is hardware-specific.

Yep, sounds like it's indeed hardware-specific.

> I'll document this workaround in the debian/README.source, not much else
> we can do I'm afraid.

Probably not d/README.source, since that doesn't actually get shipped
in the binary package. This specific workaround is actually already
documented in d/README.Debian and on the Debian wiki entry for
bumblebee [1].

Regards,
Vincent

[1] https://wiki.debian.org/Bumblebee