Nvidia binary driver FTBS due to DKMS layer violation

Bug #1431753 reported by Stefan Bader
This bug affects 1611 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-331 (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned
nvidia-graphics-drivers-331-updates (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned
nvidia-graphics-drivers-340 (Ubuntu)
Fix Released
High
Alberto Milone
Trusty
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-340-updates (Ubuntu)
Fix Released
High
Alberto Milone
Trusty
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-346 (Ubuntu)
Fix Released
Undecided
Alberto Milone
Trusty
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-346-updates (Ubuntu)
Fix Released
Undecided
Alberto Milone
Trusty
Fix Released
Undecided
Unassigned

Bug Description

Filing this against the 340-updates version but possibly the same applies to older versions, too. The nvidia source package produces two individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm. The problem is that the DKMS build of the nvidia-uvm module runs compile steps inside the nvidia modules build directory. This is violating the DKMS assumption that each module can be build independently (there is no way of describing cross-modules dependencies and even more important, the autoinstall step after a new kernel is installed will run the modules build in parallel).

Since nvidia and nvidia-uvm are very dependent on each other the right course of action seems to be to combine both sources in one DKMS module that produces two kernel modules (this is supported by DKMS). For the transition this resulting dkms package needs to have a breaks/replaces for the nvidia-uvm package.

Stefan Bader (smb)
Changed in nvidia-graphics-drivers-340-updates (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in nvidia-graphics-drivers-340-updates (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
description: updated
Changed in nvidia-graphics-drivers-340-updates (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

This bug most likely affects the 331 drivers too because they also have the separate uvm module.

Also isn't this bug the source of Bug #1268257 which is simply enormus and currently affects 2376 users and I'm also affected by it. In Vivid I had multiple failed installs of nvidia modules for new kernels and the bug report always led me to Bug #1268257.

The drivers that make problems have or in the case of 346 had a separate -uvm package.

Changed in nvidia-graphics-drivers-346 (Ubuntu):
status: New → Fix Released
Changed in nvidia-graphics-drivers-346-updates (Ubuntu):
status: New → Fix Released
Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: New → Invalid
Changed in nvidia-graphics-drivers-331 (Ubuntu Trusty):
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: New → Invalid
Changed in nvidia-graphics-drivers-331-updates (Ubuntu Trusty):
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
Changed in nvidia-graphics-drivers-346 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-graphics-drivers-346-updates (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-340 (Ubuntu Trusty):
status: New → Confirmed
Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-340-updates (Ubuntu Trusty):
status: New → Confirmed
Changed in nvidia-graphics-drivers-346 (Ubuntu Trusty):
status: New → Confirmed
Changed in nvidia-graphics-drivers-346-updates (Ubuntu Trusty):
status: New → Confirmed
Changed in nvidia-graphics-drivers-340 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-340 - 340.76-0ubuntu2

---------------
nvidia-graphics-drivers-340 (340.76-0ubuntu2) vivid; urgency=medium

  * debian/rules,
    debian/templates/control.in,
    debian/templates/dkms_nvidia_uvm.conf.in,
    debian/templates/nvidia-graphics-drivers-uvm.dirs.in,
    debian/templates/nvidia-graphics-drivers-uvm.install.in,
    debian/templates/nvidia-graphics-drivers-uvm.postinst.in,
    debian/templates/nvidia-graphics-drivers-uvm.prerm.in:
    - Build nvidia and nvidia-uvm together, as the latter
      build depends on the former (LP: #1431753).
    - Merge the -uvm package into the main nvidia driver
      package, and provide a transitional package for -uvm.
    - Make sure to remove all upstream dkms.conf files.
 -- Alberto Milone <email address hidden> Mon, 30 Mar 2015 17:09:32 +0200

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-340-updates - 340.76-0ubuntu2

---------------
nvidia-graphics-drivers-340-updates (340.76-0ubuntu2) vivid; urgency=medium

  * debian/rules,
    debian/templates/control.in,
    debian/templates/dkms_nvidia_uvm.conf.in,
    debian/templates/nvidia-graphics-drivers-uvm.dirs.in,
    debian/templates/nvidia-graphics-drivers-uvm.install.in,
    debian/templates/nvidia-graphics-drivers-uvm.postinst.in,
    debian/templates/nvidia-graphics-drivers-uvm.prerm.in:
    - Build nvidia and nvidia-uvm together, as the latter
      build depends on the former (LP: #1431753).
    - Merge the -uvm package into the main nvidia driver
      package, and provide a transitional package for -uvm.
    - Make sure to remove all upstream dkms.conf files.
 -- Alberto Milone <email address hidden> Mon, 30 Mar 2015 17:14:52 +0200

Changed in nvidia-graphics-drivers-340-updates (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
KennoVO (kenno-xs4all) wrote :

Sorry, but 331 is still the most recent driver supported by the LTS release. While "LTS" doesn't seem to mean much to Canonical anymore, at least try to keep up the appearance. Especially for a bug that affects thousands of users, not all of whom will be willing/skilled to upgrade their kernels (and then upgrade them again and again every time short-term support runs out).

Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: Invalid → Confirmed
Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
KennoVO (kenno-xs4all) wrote :

Dear Alberto and others, Could you please please backport this fix to the 331 driver, which is the most recent one available for 14.04 LTS (Trusty)? Or at the very least explain why this might not be as trivial as it sounds? This bug impacts a massive amount of Trusty users, and failing to get a graphical interface every time the kernel is upgraded is quite high-profile; a lot of people are abandoning Ubuntu altogether for it. Our whole workplace may do so soon because one of the programs we use professionally requires the proprietary Nvidia driver and our support people cannot afford the time commitment to have everyone use the non-LTS branches.

I also feel I need to point out that the "users affected" and bug heat of this report ( lp:1431753 ) are misleadingly low. Most of the users who trigger this bug land at lp:1268257 . If you look at the stats of *that* bug and all the recent comments, the whole affair starts to look like a trainwreck. We tried to make lp:1268257 a duplicate of this bug ( lp:1431753 ), which would presumably bump the latter to the top of the priority list, but were prevented from doing so by a bug in Launchpad itself ( lp:1450251 ).

Revision history for this message
Alberto Milone (albertomilone) wrote :

I'm going to backport the fix together with the 346 release and with the 340 release in 14.04. Sorry for the inconvenience.

Revision history for this message
KennoVO (kenno-xs4all) wrote :

Alberto, thank you sooo much, that is great news. Especially since there seems to be another wave of bitter comments and confusion on lp:1268257 . Two questions:
- Am I understanding correctly that you'll fix the problem for the 331 driver AND that we'll have the option of using the 340 or 346 driver with the 3.13 kernel in 14.04 ? (For me personally, _either_ solution would work. Having newer drivers is always nice, but there might hypothetically be people with really old hardware who require the old driver.)
- Do you have any idea when either solution will be available to end-users?

Revision history for this message
Alberto Milone (albertomilone) wrote :

331 is the previous long term release. I plan to introduce 340 (the legacy driver) to migrate users from 331 (so that hardware support is the same), whereas 346 (the current long term release) will have to be installed manually (if your hardware is supported).

Revision history for this message
KennoVO (kenno-xs4all) wrote :

Nice! Will this work with the 3.13 kernel in 14.04 ? Also, do you have any idea when it will be available to end-users?

Revision history for this message
KennoVO (kenno-xs4all) wrote :

*bump*

Revision history for this message
Nailer1887 (barry-titterton) wrote :

This bug affects me for driver-331.

Revision history for this message
teo1978 (teo8976) wrote :

> We tried to make lp:1268257 a duplicate of this bug ( lp:1431753 ), which would presumably bump the latter to the top of the priority list, but were prevented from doing so by a bug in Launchpad itself ( lp:1450251 ).

I tried to edit duplicates of lp:1268257 to make duplicate of this bug ( lp:1431753 ), but after I succesfully managed to do it with a handful of them, it started to systematically time out.

It seems that lp:1450251 not only happens when the duplicate has a lot of duplicates, but also when the "target" has (and "a lot" is like around a dozen, it's really pathetic)

Revision history for this message
teo1978 (teo8976) wrote :

Ok I think I've found the way:
- pick each dupe of lp:1268257
- remove its duplicate status
- AFTER that, mark it as dupe of this one (1431753)

This way, the "fire" in this one will increase. I'll do a few until I get tired.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I am already working on it (I've been busy with other work). There's no need to make this any more complicated than it needs to be.

Revision history for this message
Pablo (pabloa98) wrote :

Still not fixed drivers version 331? Sorry I am so picky. I guess now I understand LTS meaning: bug fixing is long term, very long. In this case: 2 years.

Revision history for this message
Todd (dudemansomebody) wrote :

hahah couldnt agree more @pabloa98

Revision history for this message
rbscycle@yahoo.ca (rbscycle) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

SO, since I don't know that much .....
On one of my computers (HP s3720f) my display disappeared completely. I
tried a bunch of things. The last thing I tried seem to work:

$ sudo apt-get --purge remove xserver-xorg-video-nouveau
$ sudo ubuntu-drivers devices
A list of drivers will appear. Pick a driver to install and...
sudo apt-get install nvidia-172 (for example)

Interestingly enough, this computer (HP s3720f) has not complained about
any updates since ... at least not yet!!!

On 15-06-17 09:49 AM, Todd wrote:
> hahah couldnt agree more @pabloa98
>

--

Revision history for this message
Heath (heathnaylor) wrote :

This seems to me like a trivial bug fix, is this just nVidia not wanting to devote time to a fix?

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote :

No vendor cares about linux
On Thu, Jun 18, 2015 at 11:46 AM Heath <email address hidden> wrote:

> This seems to me like a trivial bug fix, is this just nVidia not wanting
> to devote time to a fix?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405694).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
paulwilson05 (paulwilson05) wrote :

I want zero downtime, top tier speed, and zero cost.

On Thu, Jun 18, 2015 at 2:09 PM, Kristian Erik Hermansen <
<email address hidden>> wrote:

> No vendor cares about linux
> On Thu, Jun 18, 2015 at 11:46 AM Heath <email address hidden> wrote:
>
> > This seems to me like a trivial bug fix, is this just nVidia not wanting
> > to devote time to a fix?
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1405694).
> > https://bugs.launchpad.net/bugs/1431753
> >
> > Title:
> > Nvidia binary driver FTBS due to DKMS layer violation
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1399042).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

--
Thanks,
-Paul

Revision history for this message
rbscycle@yahoo.ca (rbscycle) wrote :

That may be so. However, I care. I use Linux as my everyday computer
at home for everything. I use the "LTS" version because I expect less
problems, and don't really know a hell-of-a-lot about the "underneath"
workings of Linux. If this means I have to go to another distribution,
so be it.

On 15-06-18 03:09 PM, Kristian Erik Hermansen wrote:
> No vendor cares about linux
> On Thu, Jun 18, 2015 at 11:46 AM Heath <email address hidden> wrote:
>
>> This seems to me like a trivial bug fix, is this just nVidia not wanting
>> to devote time to a fix?
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1405694).
>> https://bugs.launchpad.net/bugs/1431753
>>
>> Title:
>> Nvidia binary driver FTBS due to DKMS layer violation
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>>

--

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote :

Just use Debian. No one considers Ubuntu secure any more after the privacy
violations embedded by Canonical.

On Thu, Jun 18, 2015 at 12:41 PM <email address hidden> <email address hidden>
wrote:

> That may be so. However, I care. I use Linux as my everyday computer
> at home for everything. I use the "LTS" version because I expect less
> problems, and don't really know a hell-of-a-lot about the "underneath"
> workings of Linux. If this means I have to go to another distribution,
> so be it.
>
>
> On 15-06-18 03:09 PM, Kristian Erik Hermansen wrote:
> > No vendor cares about linux
> > On Thu, Jun 18, 2015 at 11:46 AM Heath <email address hidden> wrote:
> >
> >> This seems to me like a trivial bug fix, is this just nVidia not wanting
> >> to devote time to a fix?
> >>
> >> --
> >> You received this bug notification because you are subscribed to a
> >> duplicate bug report (1405694).
> >> https://bugs.launchpad.net/bugs/1431753
> >>
> >> Title:
> >> Nvidia binary driver FTBS due to DKMS layer violation
> >>
> >> To manage notifications about this bug go to:
> >>
> >>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> >>
>
> --
>
>
> ** Attachment added: "ronnie6.png"
>
> https://bugs.launchpad.net/bugs/1431753/+attachment/4416893/+files/ronnie6.png
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405694).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Can you guys not litter the bug report?

On Fri, Jun 19, 2015 at 6:18 AM, Kristian Erik Hermansen <
<email address hidden>> wrote:

> Just use Debian. No one considers Ubuntu secure any more after the privacy
> violations embedded by Canonical.
>
> On Thu, Jun 18, 2015 at 12:41 PM <email address hidden> <email address hidden>
> wrote:
>
> > That may be so. However, I care. I use Linux as my everyday computer
> > at home for everything. I use the "LTS" version because I expect less
> > problems, and don't really know a hell-of-a-lot about the "underneath"
> > workings of Linux. If this means I have to go to another distribution,
> > so be it.
> >
> >
> > On 15-06-18 03:09 PM, Kristian Erik Hermansen wrote:
> > > No vendor cares about linux
> > > On Thu, Jun 18, 2015 at 11:46 AM Heath <email address hidden> wrote:
> > >
> > >> This seems to me like a trivial bug fix, is this just nVidia not
> wanting
> > >> to devote time to a fix?
> > >>
> > >> --
> > >> You received this bug notification because you are subscribed to a
> > >> duplicate bug report (1405694).
> > >> https://bugs.launchpad.net/bugs/1431753
> > >>
> > >> Title:
> > >> Nvidia binary driver FTBS due to DKMS layer violation
> > >>
> > >> To manage notifications about this bug go to:
> > >>
> > >>
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> > >>
> >
> > --
> >
> >
> > ** Attachment added: "ronnie6.png"
> >
> >
> https://bugs.launchpad.net/bugs/1431753/+attachment/4416893/+files/ronnie6.png
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1405694).
> > https://bugs.launchpad.net/bugs/1431753
> >
> > Title:
> > Nvidia binary driver FTBS due to DKMS layer violation
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1412105).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Pablo (pabloa98) wrote :

Could you fix it?

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote :

Can't fix binaries without patching
On Thu, Jun 18, 2015 at 4:35 PM Pablo <email address hidden> wrote:

> Could you fix it?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405694).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Stefan Bader (smb) wrote :

Alberto is rolling this back into older releases over time. To be fair it is an annoying issue but not one that is so fatal one would not be able to recover a system. In the majority of cases this ends up being just a false system issue notification. Because on kernel update the parallel builds are actually started 3 times. By now I just made it a habit of doing the following whenever kernel updates come in:

- run "dkms status" to see whether both nvidia modules appear for the latest kernel (bbswitch is always there)
- if one(or both) is missing, do "sudo dkms install -m <module> -v <module version> -k <kernel version>
   (the name and versions taken from the dkms status report)
- "sudo rm /var/crash/*nvidia*" to ignore the build failures before

When the fixed version of the driver hits this can be noticed by having only one module reported by dkms for nvidia. The *-uvm one will be gone and the module it produced will be part of the remaining dkms module which then produces two kernel modules.

Revision history for this message
Simon Reed (xubuntu-o) wrote :

"To be fair it is an annoying issue but not one that is so fatal one would not be able to recover a system."

It leaves the system not working. That's is more than just annoying. Also, I actually did re-install the operating system at least once because of this bug to try to get this PC working again. I actually spent about three days struggling with driver versions and trying to work out what the real problem was. I was also swopping out video cards to see if that helped. Any sane person would have gone out and bought a Windows licence and installed that instead.

"By now I just made it a habit of doing the following…"

Sadly, those instructions are the sort of reason people say Linux is not ready for the mainstream. How do I tell Auntie Margaret over the phone she just needs to "sudo dkms install -m <module> -v <module version> -k <kernel version>" ?

It might be trivial to an operating systems programmer with a computer science degree. But some of us want to USE Ubuntu-based operating systems for work purposes, not for working on.

I am sorry to add a whinge to this saga, but to imply it's just a nuisance and there's an easy workaround is not how it feels to some of the user community.

Revision history for this message
josh (joshuaglennmurphy) wrote :

Nima this really isn't the place for that talk. Will EVERYONE please keep
this thread on topic about this bug and only this bug please
On 19 Jun 2015 21:51, "Nima" <email address hidden> wrote:

> I want to go to another linux distribution ,
> Can any body give me a hint about it?
> CentOS or Opensuse? Which one is better?
> which one has a full resource of software like ,for example "ubuntu
> software center"?
> Thanks for any help in advance
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1412043).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Confirmed
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Zewbie (zewbie) wrote : RE: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

Try fedora 21 not 22

Sent from my Sprint Samsung Galaxy S® 6.-------- Original message --------
From: Nima <email address hidden>
Date: 06/19/2015 3:43 AM (GMT-07:00)
To: <email address hidden>
Subject: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer
  violation

I want to go to another linux distribution ,
Can any body give me a hint about it?
CentOS or Opensuse? Which one is better?
which one has a full resource of software like ,for example "ubuntu software center"?
Thanks for any help in advance

--
You received this bug notification because you are subscribed to a
duplicate bug report (1382608).
https://bugs.launchpad.net/bugs/1431753

Title:
  Nvidia binary driver FTBS due to DKMS layer violation

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-331 source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-331-updates source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-340 source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-340-updates source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-346 source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-346-updates source package in Trusty:
  Confirmed

Bug description:
  Filing this against the 340-updates version but possibly the same
  applies to older versions, too. The nvidia source package produces two
  individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
  The problem is that the DKMS build of the nvidia-uvm module runs
  compile steps inside the nvidia modules build directory. This is
  violating the DKMS assumption that each module can be build
  independently (there is no way of describing cross-modules
  dependencies and even more important, the autoinstall step after a new
  kernel is installed will run the modules build in parallel).

  Since nvidia and nvidia-uvm are very dependent on each other the right
  course of action seems to be to combine both sources in one DKMS
  module that produces two kernel modules (this is supported by DKMS).
  For the transition this resulting dkms package needs to have a
  breaks/replaces for the nvidia-uvm package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions

Revision history for this message
teo1978 (teo8976) wrote :

> Nima this really isn't the place for that talk.

It has become the place since nobody has given a fuck about fixing this huge system-screwing bug for years (and even now, they insist in treating it as a minor annoyance).

Revision history for this message
Camil Staps (f7-info) wrote :

Zewbie, what is wrong with you? Did you not read #29 and #35? Do you have any idea how many people are getting an email when you comment on this bug? Have a little responsibility.

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

OSX is the way to go for sure...sorry for the annoying email alert

On Fri, Jun 19, 2015 at 4:32 AM Camil Staps <email address hidden> wrote:

> Zewbie, what is wrong with you? Did you not read #29 and #35? Do you
> have any idea how many people are getting an email when you comment on
> this bug? Have a little responsibility.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405694).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Jonners59 (jonathan-l-harrison) wrote :

Please stop this banter, clogging my emails up.

I sorted my PCs and laptops out with the following fix for now. Not had ANY issues since doing below:

Card driver
http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk

nVidia

Boot and after GRUB…
Control+ALT+F1
Sudo su
sudo update-pciids
sudo lspci -v -s 01:00.0

Sudo service lightdm stop (stopping lightdm)
sudo apt-get clean && apt-get autoclean && apt-get autoremove (a little cleaning)
sudo apt-get update && apt-get install –f (update source and fix)
sudo apt-get purge libvdpau-va-gl1 bumblebee* nvidia*
OR
dpkg -l | grep nvidia
 lists everything installed for nvidia
then remove everything except
  nvidia-cg-toolkit (if it or equivellent exists)
  nvidia-common
sudo apt-get purge nvidia-xxxx (where xxxx is anything from the list)

sudo apt-get autoremove
sudo dpkg-reconfigure nvidia-common (should return a message does not exist)
sudo apt-get install nvidia-352 nvidia-settings nvidia-prime nvidia-current nvidia-cg-toolkit nvidia-common
OR
Sudo apt-get install --reinstall nvidia-xxx-updates-uvm (install nvidia-xxx where xxx is driver version: 304, 331, 340, 349, 352 or current)

sudo apt-get install xserver-xorg-video-nouveau
sudo apt-get install linux-headers-generic
sudo apt-get clean && apt-get autoclean && apt-get autoremove
sudo apt-get apt-get upgrade && update && apt-get install –f
sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u
sudo shutdown –r now

Let the devs get on and do perm fix in the meantime.

Revision history for this message
Umut Yazgan (umut-yaz) wrote :

Hello how can I unsubscribe this?
On Jun 16, 2015 13:41, "Alberto Milone" <email address hidden>
wrote:

> I am already working on it (I've been busy with other work). There's no
> need to make this any more complicated than it needs to be.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1395993).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Confirmed
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Zewbie (zewbie) wrote : RE: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation
Download full text (4.1 KiB)

You may remove yourself from this thread at anytime, since you have seemed to have resolved this issue thanks and all the best.

Sent from my Sprint Samsung Galaxy S® 6.-------- Original message --------
From: Jonners59 <email address hidden>
Date: 06/19/2015 5:49 AM (GMT-07:00)
To: <email address hidden>
Subject: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer
  violation

Please stop this banter, clogging my emails up.

I sorted my PCs and laptops out with the following fix for now.  Not had
ANY issues since doing below:

Card driver
http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk

nVidia

Boot and after GRUB…
Control+ALT+F1
Sudo su
sudo update-pciids
sudo lspci -v -s 01:00.0

Sudo service lightdm stop (stopping lightdm)
sudo apt-get clean && apt-get autoclean && apt-get autoremove (a little cleaning)
sudo apt-get update && apt-get install –f  (update source and fix)
sudo apt-get purge libvdpau-va-gl1 bumblebee* nvidia*
OR
dpkg -l | grep nvidia
 lists everything installed for nvidia
then remove everything except
  nvidia-cg-toolkit (if it or equivellent exists)
  nvidia-common
sudo apt-get purge nvidia-xxxx (where xxxx is anything from the list)

sudo apt-get autoremove
sudo dpkg-reconfigure nvidia-common (should return a message does not exist)
sudo apt-get install nvidia-352 nvidia-settings nvidia-prime nvidia-current nvidia-cg-toolkit nvidia-common
OR
Sudo apt-get install --reinstall nvidia-xxx-updates-uvm     (install nvidia-xxx where xxx is driver version: 304, 331, 340, 349, 352 or current)

sudo apt-get install xserver-xorg-video-nouveau
sudo apt-get install linux-headers-generic
sudo apt-get clean && apt-get autoclean && apt-get autoremove
sudo apt-get apt-get upgrade && update && apt-get install –f
sudo update-alternatives --config x86_64-linux-gnu_gl_conf
sudo ldconfig -n
sudo update-initramfs -u
sudo shutdown –r now

Let the devs get on and do perm fix in the meantime.

--
You received this bug notification because you are subscribed to a
duplicate bug report (1382608).
https://bugs.launchpad.net/bugs/1431753

Title:
  Nvidia binary driver FTBS due to DKMS layer violation

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-331 source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-331-updates source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-340 source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-340-updates source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-346 source package in Trusty:
  Confirmed
Status in nvidia-graphics-drivers-346-updates source package in Trusty:
  Confirmed

Bug description:
  Filing this against the 340-updates version but possibly the same
  applies to older versions, too. ...

Read more...

Revision history for this message
Zewbie (zewbie) wrote :
Download full text (5.0 KiB)

Scroll  to the very bottom  and follow  the link

Sent from my Sprint Samsung Galaxy S® 6.-------- Original message --------
From: Umut Yazgan <email address hidden>
Date: 06/19/2015 6:06 AM (GMT-07:00)
To: <email address hidden>
Subject: Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer
  violation

Hello how can I unsubscribe this?
On Jun 16, 2015 13:41, "Alberto Milone" <email address hidden>
wrote:

> I am already working on it (I've been busy with other work). There's no
> need to make this any more complicated than it needs to be.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1395993).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
>   Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
>   Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
>   Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
>   Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
>   Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
>   Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
>   Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
>   Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
>   Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
>   Confirmed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
>   Confirmed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
>   Confirmed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
>   Confirmed
>
> Bug description:
>   Filing this against the 340-updates version but possibly the same
>   applies to older versions, too. The nvidia source package produces two
>   individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
>   The problem is that the DKMS build of the nvidia-uvm module runs
>   compile steps inside the nvidia modules build directory. This is
>   violating the DKMS assumption that each module can be build
>   independently (there is no way of describing cross-modules
>   dependencies and even more important, the autoinstall step after a new
>   kernel is installed will run the modules build in parallel).
>
>   Since nvidia and nvidia-uvm are very dependent on each other the right
>   course of action seems to be to combine both sources in one DKMS
>   module that produces two kernel modules (this is supported by DKMS).
>   For the transition this resulting dkms package needs to have a
>   breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

--
You received this bug notification because you are subscribed to a
duplicate bug report (1382608).
https://bugs.launchpad.net/bugs/1431753

Title:
  Nvidia binary driver FTBS due to DKMS layer violation

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed
Status in nvidia-graphics...

Read more...

Revision history for this message
İsmail Arılık (msms6174) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation
Download full text (7.5 KiB)

Friends, are you kidding? It is enough, please do not pollute this thread
any longer! If you wonder anything, please google it first. If you cannot
find anything, open a new issue in a related place. Be more responsive
please!

Sorry, I have also made dirty the mail thread but these were necessary to
tell.
Scroll to the very bottom and follow the link

Sent from my Sprint Samsung Galaxy S® 6.-------- Original message --------
From: Umut Yazgan <email address hidden>
Date: 06/19/2015 6:06 AM (GMT-07:00)
To: <email address hidden>
Subject: Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer
  violation

Hello how can I unsubscribe this?
On Jun 16, 2015 13:41, "Alberto Milone" <email address hidden>
wrote:

> I am already working on it (I've been busy with other work). There's no
> need to make this any more complicated than it needs to be.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1395993).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Confirmed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Confirmed
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
>
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>
...

Read more...

Revision history for this message
Umut Yazgan (umut-yaz) wrote :
Download full text (7.6 KiB)

Thanks!
On Jun 19, 2015 15:31, "Zewbie" <email address hidden> wrote:

> Scroll to the very bottom and follow the link
>
>
> Sent from my Sprint Samsung Galaxy S® 6.-------- Original message --------
> From: Umut Yazgan <email address hidden>
> Date: 06/19/2015 6:06 AM (GMT-07:00)
> To: <email address hidden>
> Subject: Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer
> violation
>
> Hello how can I unsubscribe this?
> On Jun 16, 2015 13:41, "Alberto Milone" <email address hidden>
> wrote:
>
> > I am already working on it (I've been busy with other work). There's no
> > need to make this any more complicated than it needs to be.
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1395993).
> > https://bugs.launchpad.net/bugs/1431753
> >
> > Title:
> > Nvidia binary driver FTBS due to DKMS layer violation
> >
> > Status in nvidia-graphics-drivers-331 package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-340 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-331 source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-340 source package in Trusty:
> > Confirmed
> > Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> > Confirmed
> > Status in nvidia-graphics-drivers-346 source package in Trusty:
> > Confirmed
> > Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> > Confirmed
> >
> > Bug description:
> > Filing this against the 340-updates version but possibly the same
> > applies to older versions, too. The nvidia source package produces two
> > individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> > The problem is that the DKMS build of the nvidia-uvm module runs
> > compile steps inside the nvidia modules build directory. This is
> > violating the DKMS assumption that each module can be build
> > independently (there is no way of describing cross-modules
> > dependencies and even more important, the autoinstall step after a new
> > kernel is installed will run the modules build in parallel).
> >
> > Since nvidia and nvidia-uvm are very dependent on each other the right
> > course of action seems to be to combine both sources in one DKMS
> > module that produces two kernel modules (this is supported by DKMS).
> > For the transition this resulting dkms package needs to have a
> > breaks/replaces for the nvidia-uvm package.
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug...

Read more...

Revision history for this message
Pablo (pabloa98) wrote :

Nima,

I moved to SteamOS. I am afraid you have to format your OS drive though. For me is important my NVidia works correctly for games and work projects. I know they will take care of that part.

In general I like Debian or Debian variants. They have a huge number of packages.

Revision history for this message
Nima (nima-slt) wrote :
Download full text (3.2 KiB)

Thank you Zewbie

Best Regards,
Nima Soltani
----------------------------------------------------------
Graduate Student of Physical Chemistry
Department of Chemistry,
Sharif University of Technology.
=================================

On Sat, Jun 20, 2015 at 1:07 AM, Nima Soltani <email address hidden> wrote:

> Thanks alot
>
> Best Regards,
> Nima Soltani
> ----------------------------------------------------------
> Graduate Student of Physical Chemistry
> Department of Chemistry,
> Sharif University of Technology.
> =================================
>
> On Fri, Jun 19, 2015 at 11:29 PM, Pablo <email address hidden> wrote:
>
>> Nima,
>>
>> I moved to SteamOS. I am afraid you have to format your OS drive though.
>> For me is important my NVidia works correctly for games and work
>> projects. I know they will take care of that part.
>>
>> In general I like Debian or Debian variants. They have a huge number of
>> packages.
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1268257).
>> https://bugs.launchpad.net/bugs/1431753
>>
>> Title:
>> Nvidia binary driver FTBS due to DKMS layer violation
>>
>> Status in nvidia-graphics-drivers-331 package in Ubuntu:
>> Confirmed
>> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
>> Confirmed
>> Status in nvidia-graphics-drivers-340 package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-346 package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-331 source package in Trusty:
>> Triaged
>> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
>> Triaged
>> Status in nvidia-graphics-drivers-340 source package in Trusty:
>> Confirmed
>> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
>> Confirmed
>> Status in nvidia-graphics-drivers-346 source package in Trusty:
>> Confirmed
>> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
>> Confirmed
>>
>> Bug description:
>> Filing this against the 340-updates version but possibly the same
>> applies to older versions, too. The nvidia source package produces two
>> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
>> The problem is that the DKMS build of the nvidia-uvm module runs
>> compile steps inside the nvidia modules build directory. This is
>> violating the DKMS assumption that each module can be build
>> independently (there is no way of describing cross-modules
>> dependencies and even more important, the autoinstall step after a new
>> kernel is installed will run the modules build in parallel).
>>
>> Since nvidia and nvidia-uvm are very dependent on each other the right
>> course of action seems to be to combine both sources in one DKMS
>> module that produces two kernel modules (this is supported by DKMS).
>> For the transition this resulting dkms package needs to have a
>> breaks/replaces for the nvidia-uvm package.
>>
>> To manage notifications about this ...

Read more...

Revision history for this message
Alberto Milone (albertomilone) wrote :

Just an update. I filed an SRU, and uploaded all the new nvidia packages (that will also fix this problem) in LP: #1465706 . The SRU team will review it and make it available for testing. You might want to keep an eye on it, and provide feedback when the packages are approved and available for testing.

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-346 into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346/346.82-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nvidia-graphics-drivers-346 (Ubuntu Trusty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Changed in nvidia-graphics-drivers-346-updates (Ubuntu Trusty):
status: Confirmed → Fix Committed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-346-updates into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346-updates/346.82-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nvidia-graphics-drivers-340 (Ubuntu Trusty):
status: Confirmed → Fix Committed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-340 into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/340.76-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nvidia-graphics-drivers-340-updates (Ubuntu Trusty):
status: Confirmed → Fix Committed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-340-updates into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/340.76-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
snurfle (snurfle) wrote :

Congrats on this (assuming it finally resolves this bug!)

Unfortunately, I just spent $250 on an AMD card specifically because of all the issues from the nvidia (lol!)

Revision history for this message
John Feole (jfeole) wrote : Re: [Bug 1431753] Please test proposed package
Download full text (4.0 KiB)

Hi Adam,

I've never used this -proposed repo and had a coupla questions..(my son son
Sean Feole works for Canonical as well)

I've been using Ubuntu for work/home use since 2006 or so when i was at Sun
and heard about it via Solaris Engineering...

Anyway, I enabled the -proposed repo, and I see a lot of stuff. My
question is, can I deselect all the other stuff and only load the NVIDIA
346 stuff? Guess my real question is, what stuff do I need to install to
rectify this NVIDIA bug..?

Thank You,
John Feole

On Thu, Jul 23, 2015 at 4:15 PM, Adam Conrad <adconrad@0c3.net> wrote:

> Hello Stefan, or anyone else affected,
>
> Accepted nvidia-graphics-drivers-340 into trusty-proposed. The package
> will build now and be available at https://launchpad.net/ubuntu/+source
> /nvidia-graphics-drivers-340/340.76-0ubuntu0.1 in a few hours, and then
> in the -proposed repository.
>
> Please help us by testing this new package. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed. Your feedback will aid us getting this update
> out to other Ubuntu users.
>
> If this package fixes the bug for you, please add a comment to this bug,
> mentioning the version of the package you tested, and change the tag
> from verification-needed to verification-done. If it does not fix the
> bug for you, please add a comment stating that, and change the tag to
> verification-failed. In either case, details of your testing will help
> us make a better decision.
>
> Further information regarding the verification process can be found at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> advance!
>
> ** Changed in: nvidia-graphics-drivers-340-updates (Ubuntu Trusty)
> Status: Confirmed => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Committed
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvi...

Read more...

Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Download full text (4.8 KiB)

Hi John,

I think that after you add the repository, just doing an update will
install the updated new packages.

On Fri, Jul 24, 2015 at 10:46 AM, John Feole <email address hidden>
wrote:

> Hi Adam,
>
> I've never used this -proposed repo and had a coupla questions..(my son son
> Sean Feole works for Canonical as well)
>
> I've been using Ubuntu for work/home use since 2006 or so when i was at Sun
> and heard about it via Solaris Engineering...
>
> Anyway, I enabled the -proposed repo, and I see a lot of stuff. My
> question is, can I deselect all the other stuff and only load the NVIDIA
> 346 stuff? Guess my real question is, what stuff do I need to install to
> rectify this NVIDIA bug..?
>
> Thank You,
> John Feole
>
> On Thu, Jul 23, 2015 at 4:15 PM, Adam Conrad <adconrad@0c3.net> wrote:
>
> > Hello Stefan, or anyone else affected,
> >
> > Accepted nvidia-graphics-drivers-340 into trusty-proposed. The package
> > will build now and be available at https://launchpad.net/ubuntu/+source
> > /nvidia-graphics-drivers-340/340.76-0ubuntu0.1 in a few hours, and then
> > in the -proposed repository.
> >
> > Please help us by testing this new package. See
> > https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> > enable and use -proposed. Your feedback will aid us getting this update
> > out to other Ubuntu users.
> >
> > If this package fixes the bug for you, please add a comment to this bug,
> > mentioning the version of the package you tested, and change the tag
> > from verification-needed to verification-done. If it does not fix the
> > bug for you, please add a comment stating that, and change the tag to
> > verification-failed. In either case, details of your testing will help
> > us make a better decision.
> >
> > Further information regarding the verification process can be found at
> > https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> > advance!
> >
> > ** Changed in: nvidia-graphics-drivers-340-updates (Ubuntu Trusty)
> > Status: Confirmed => Fix Committed
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1431753
> >
> > Title:
> > Nvidia binary driver FTBS due to DKMS layer violation
> >
> > Status in nvidia-graphics-drivers-331 package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-340 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-331 source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-340 source package in Trusty:
> > Fix Committed
> > Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> > Fix Committed
> > Status in nvidia-graphics-drivers-346 source package in T...

Read more...

Revision history for this message
Per-Inge (per-inge-hallin) wrote :
Download full text (7.9 KiB)

I enabled proposed and updated.
During the upgrade I got a notification about "broken packages", but the
notification was removed.
After the upgrade System Settings/Software & Updates/Additional Drivers was
set to version 340.76 from nvidia-340-updates. However Nvidia X Server
Settings still said that the 331.113 driver was used.
Changed to version 346.82 from nvidia-346 (proprietary, tested).
The changed went OK and now Nvidia X Server Settings shows that the 346.82
driver is used.

2015-07-24 2:59 GMT+02:00 Vadim Peretokin <email address hidden>:

> Hi John,
>
> I think that after you add the repository, just doing an update will
> install the updated new packages.
>
> On Fri, Jul 24, 2015 at 10:46 AM, John Feole <email address hidden>
> wrote:
>
> > Hi Adam,
> >
> > I've never used this -proposed repo and had a coupla questions..(my son
> son
> > Sean Feole works for Canonical as well)
> >
> > I've been using Ubuntu for work/home use since 2006 or so when i was at
> Sun
> > and heard about it via Solaris Engineering...
> >
> > Anyway, I enabled the -proposed repo, and I see a lot of stuff. My
> > question is, can I deselect all the other stuff and only load the NVIDIA
> > 346 stuff? Guess my real question is, what stuff do I need to install to
> > rectify this NVIDIA bug..?
> >
> > Thank You,
> > John Feole
> >
> > On Thu, Jul 23, 2015 at 4:15 PM, Adam Conrad <adconrad@0c3.net> wrote:
> >
> > > Hello Stefan, or anyone else affected,
> > >
> > > Accepted nvidia-graphics-drivers-340 into trusty-proposed. The package
> > > will build now and be available at
> https://launchpad.net/ubuntu/+source
> > > /nvidia-graphics-drivers-340/340.76-0ubuntu0.1 in a few hours, and then
> > > in the -proposed repository.
> > >
> > > Please help us by testing this new package. See
> > > https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
> to
> > > enable and use -proposed. Your feedback will aid us getting this
> update
> > > out to other Ubuntu users.
> > >
> > > If this package fixes the bug for you, please add a comment to this
> bug,
> > > mentioning the version of the package you tested, and change the tag
> > > from verification-needed to verification-done. If it does not fix the
> > > bug for you, please add a comment stating that, and change the tag to
> > > verification-failed. In either case, details of your testing will help
> > > us make a better decision.
> > >
> > > Further information regarding the verification process can be found at
> > > https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you
> in
> > > advance!
> > >
> > > ** Changed in: nvidia-graphics-drivers-340-updates (Ubuntu Trusty)
> > > Status: Confirmed => Fix Committed
> > >
> > > --
> > > You received this bug notification because you are subscribed to the
> bug
> > > report.
> > > https://bugs.launchpad.net/bugs/1431753
> > >
> > > Title:
> > > Nvidia binary driver FTBS due to DKMS layer violation
> > >
> > > Status in nvidia-graphics-drivers-331 package in Ubuntu:
> > > Confirmed
> > > Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> > > Confirmed
> > > Status in nvidia-graphics-drivers-340 package in U...

Read more...

tags: added: verification-done
removed: verification-needed
Revision history for this message
Marc Peña (pachulo) wrote :

Installed the nvidia-340 package from trusty-proposed and it did solve the bug.
Didn't observe any regressions in my 3.13 kernel installation.

Thanks a lot!

Revision history for this message
A.J.Mac (macbunch) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

My Bug problem has also been solved. How can I stop receiving these but reports?
Many regards.

Sent from my ASUS

-------- Original Message --------
From:Marc Peña <email address hidden>
Sent:Sat, 25 Jul 2015 20:35:46 +0200
To:<email address hidden>
Subject:[Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

Installed the nvidia-340 package from trusty-proposed and it did solve the bug.
Didn't observe any regressions in my 3.13 kernel installation.

Thanks a lot!

--
You received this bug notification because you are subscribed to a
duplicate bug report (1410036).
https://bugs.launchpad.net/bugs/1431753

Title:
  Nvidia binary driver FTBS due to DKMS layer violation

Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-331 source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-331-updates source package in Trusty:
  Triaged
Status in nvidia-graphics-drivers-340 source package in Trusty:
  Fix Committed
Status in nvidia-graphics-drivers-340-updates source package in Trusty:
  Fix Committed
Status in nvidia-graphics-drivers-346 source package in Trusty:
  Fix Committed
Status in nvidia-graphics-drivers-346-updates source package in Trusty:
  Fix Committed

Bug description:
  Filing this against the 340-updates version but possibly the same
  applies to older versions, too. The nvidia source package produces two
  individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
  The problem is that the DKMS build of the nvidia-uvm module runs
  compile steps inside the nvidia modules build directory. This is
  violating the DKMS assumption that each module can be build
  independently (there is no way of describing cross-modules
  dependencies and even more important, the autoinstall step after a new
  kernel is installed will run the modules build in parallel).

  Since nvidia and nvidia-uvm are very dependent on each other the right
  course of action seems to be to combine both sources in one DKMS
  module that produces two kernel modules (this is supported by DKMS).
  For the transition this resulting dkms package needs to have a
  breaks/replaces for the nvidia-uvm package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions

Revision history for this message
Mateusz Stachowski (stachowski-mateusz) wrote :

A.J.Mac (macbunch) you can mute mail or edit the things that you will get notified about on the right side it's between "Duplicates of this bug" and "Other bug subscribers".

Anyway there shouldn't be much more e-mails about this bug now that it's been verified for Trusty. I would expect only one e-mail about the package released to trusty-updates the regular repo.

Revision history for this message
KennoVO (kenno-xs4all) wrote :

Fix confirmed on 2 very different machines both running Ubuntu 14.04 "Trusty" with the 3.13 kernel. Detailed notes:

AMD workstation with only a discrete nvidia GPU (nothing else)
====================================================
Synaptic complained about conflicts when selecting updated driver from trusty-proposed (something involving nvidia-libopencl1-* vs nvidia-opencl-icd-* IIRC). Installing through aptitude worked better. No further issues when rebooting, updating the kernel and rebooting again.

Intel laptop running bumblebee
==========================
Blank screen after updating. Solutions tried:
(1) starting the kernel with nogpumanager and removing /etc/X11/xorg.conf generated by gpu-manager
(2) removing the newly created file /etc/prime-discrete
(3) sudo sed -i 's/-current/-346-updates/g' /etc/bumblebee/bumblebee.conf
(4) adding lines for 340 and 346 to /etc/modprobe.d/bumblebee.conf

Applying all of the above fixed the problem, and (1)-(3) without (4) didn't, so it's very likely that (4) is necessary. What I cannot tell is which of (1)-(3) are also necessary and which are optional.(*) Bottom line is that special precautions should be taken to prevent bumblebee from breaking when rolling this out.

(*) I could of course figure that out by reverting the changes one-by-one, but this bug already robbed me of an outrageous amount of my time and all of my goodwill, so you're on your own. Thanks a lot for finally fixing it, though.

Revision history for this message
mat (drmtiede-k) wrote :
Download full text (5.8 KiB)

After routine kernel-update yesterday, today blank screen like KennoVO,
bongos rumbling on start but without video.

After booting with previous kernel I applied the solutions KennoVO
suggested, (2)-(3)-(4) but not (1) as I didn't know what I was doing and
didn't understand how it had to be done. But in the end after reboot it
worked. No errors or other failures.

I must say that while Ubuntu 10 and 12 were simply great, rapid booting,
almost no bugs, this 14.04 has caused me a lot of grievance - slow on boot,
updates that cause more problems than they solve, updates almost every time
I turn on the computer (just like Windows...). Iif I didn't have an allergy
towards Windows I would long have turned my back on Ubuntu. And if You add
to it that Chromium has a sloppy Flash-player that doesn't work half the
times, and the alternative Firefox is pretty slow.
Takes a lot of passion to stick to Ubuntu...

2015-07-27 1:35 GMT+02:00 KennoVO <email address hidden>:

> Fix confirmed on 2 very different machines both running Ubuntu 14.04
> "Trusty" with the 3.13 kernel. Detailed notes:
>
> AMD workstation with only a discrete nvidia GPU (nothing else)
> ====================================================
> Synaptic complained about conflicts when selecting updated driver from
> trusty-proposed (something involving nvidia-libopencl1-* vs
> nvidia-opencl-icd-* IIRC). Installing through aptitude worked better. No
> further issues when rebooting, updating the kernel and rebooting again.
>
> Intel laptop running bumblebee
> ==========================
> Blank screen after updating. Solutions tried:
> (1) starting the kernel with nogpumanager and removing /etc/X11/xorg.conf
> generated by gpu-manager
> (2) removing the newly created file /etc/prime-discrete
> (3) sudo sed -i 's/-current/-346-updates/g' /etc/bumblebee/bumblebee.conf
> (4) adding lines for 340 and 346 to /etc/modprobe.d/bumblebee.conf
>
> Applying all of the above fixed the problem, and (1)-(3) without (4)
> didn't, so it's very likely that (4) is necessary. What I cannot tell is
> which of (1)-(3) are also necessary and which are optional.(*) Bottom
> line is that special precautions should be taken to prevent bumblebee
> from breaking when rolling this out.
>
> (*) I could of course figure that out by reverting the changes one-by-
> one, but this bug already robbed me of an outrageous amount of my time
> and all of my goodwill, so you're on your own. Thanks a lot for finally
> fixing it, though.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1411919).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidi...

Read more...

Revision history for this message
KennoVO (kenno-xs4all) wrote :

Mat, I am happy you got past your blank-screen problem, even though the things mentioned in my previous post may or may not have played a role in solving it.

To be perfectly clear toward other people who come across this discussion, the points (1)-(4) in my previous post DO NOT represent a step-by-step solution for getting a graphical desktop back after running a routine kernel upgrade. They are a few things *I* tried for the specific case of APPLYING THE DRIVERS FROM TRUSTY-PROPOSED TO AN EXISTING BUMBLEBEE SETUP. And it's quite likely some of them are not useful or even harmful.

Revision history for this message
mat (drmtiede-k) wrote :
Download full text (4.3 KiB)

What I don't understand, the proposed drivers are they already implemented
in the routine update (I thought they had to be updated manually)?
Otherwise I might have had a completely different problem with the
bumblebee and nvidia drivers, solved by chance with Your approach.

2015-07-27 18:33 GMT+02:00 KennoVO <email address hidden>:

> Mat, I am happy you got past your blank-screen problem, even though the
> things mentioned in my previous post may or may not have played a role
> in solving it.
>
> To be perfectly clear toward other people who come across this
> discussion, the points (1)-(4) in my previous post DO NOT represent a
> step-by-step solution for getting a graphical desktop back after running
> a routine kernel upgrade. They are a few things *I* tried for the
> specific case of APPLYING THE DRIVERS FROM TRUSTY-PROPOSED TO AN
> EXISTING BUMBLEBEE SETUP. And it's quite likely some of them are not
> useful or even harmful.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1411919).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Committed
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Committed
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bug...

Read more...

Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-346 into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346/346.82-0ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Hello Stefan, or anyone else affected,

Accepted nvidia-graphics-drivers-346-updates into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346-updates/346.82-0ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-done
removed: verification-needed
Revision history for this message
tadiv (tadiv-comcast) wrote :

Can someone please publist steps to test this package - the https://wiki.ubuntu.com/Testing/EnableProposed info is too generic for my skill level - as and example, I don't know the package name...

Thanks,
Tom

Revision history for this message
Sezer Yalcin (sy-y) wrote :

This fix works for me although I could not properly test any 3D applications. My Steam client is acting weird and does not see my installed games anymore, complaining about partition being non-executable. Also it was hanging at after entering password. I had to create a new user and start fresh.

Hardware: GTX 770M with 3GB on Asus G751-JX laptop.

Here are simple steps to test without getting too much into "proposed": (for 14.04)
1) Run "Software & Updates" application,
2) Click on "Updates" tab,
3) Tick on "Pre-release updates (trusty-proposed)" and hit Close button.
4) Authorize the change and close. It will ask for refreshing software information. Hit Reload and allow this.
5) Run the same app again on item 1 above and go to "Additional Drivers" tab. Now you should see 346 and 340 builds. Chose what you need and hit "Apply Changes"
6) After you are done, reboot first to test. You can repeat steps 1-3 again and disable proposed in order to avoid installing proposed packages for other applications.

Revision history for this message
Sezer Yalcin (sy-y) wrote :

Related to my comment above, I confirm that Steam application works fine with 331 but causes issues with 346. It complains about not enough disk space(not true) and partition having no execute bit(not true)

Although I can't test again, I believe unity-greeter hanging issue I experienced (after entering password) was also due to changes in 346 build.

Revision history for this message
KennoVO (kenno-xs4all) wrote :

Sezer, you're not going to believe this, but the issue you're having with steam has nothing to to with the nvidia driver, but is caused by a completely unrelated kernel bug that just happened to occur at the same time people started testing the fix for the nvidia driver; see lp:1479093 . The fix for the kernel bug is already released, so just upgrade your kernel yet again, and your steam problem will go away.

I have to add that I also got confused by wine not working anymore after applying the nvidia patch (and upgrading the kernel for the first time in many months in order to test it), and it took me almost 2 hours to figure out the problem was unrelated. This whole affair is turning into one of the most frustrating experiences I've ever had with Ubuntu.

Revision history for this message
Richard Elkins (texadactyl) wrote :

I am running Xubuntu 14.04.02 up-to-date and was plagued by 331.113 nvidia-related crashes. After enabling repository
trusty-proposed, apt-get update, apt-get dist-upgrade, and rebooting, I have no more nvidia issues. Also, the unrelated proposed modules which were downloaded and applied have yielded no undesirable side effects.

Hardware overview:
Zotac IONITX-F-E Mini-ITX motherboard
      * CPU Intel Atom 330 (1.6GHz, dual-core)
      * NVIDIA GeForce 9400 ("ION" version 1)
      * FSB 533 MHz
RAM 4GB
Video support:
      * Kernel module - nvidiafb
      * Xorg video driver - nvidia-340 (previously nvidia-331)

Thank you to all for this welcome fix.

Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for nvidia-graphics-drivers-340 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-346 - 346.82-0ubuntu0.2

---------------
nvidia-graphics-drivers-346 (346.82-0ubuntu0.2) trusty-proposed; urgency=medium

  * debian/templates/control.in:
    - Add conflicts/replaces for old releases of nvidia-opencl-icd-331 and
      of nvidia-opencl-icd-331-updates, and for the current releases of
      nvidia-opencl-icd-304 and of nvidia-opencl-icd-304-updates that still
      conflict with and replace opencl-icd (LP: #1465706).

nvidia-graphics-drivers-346 (346.82-0ubuntu0.1) trusty-proposed; urgency=medium

  * Initial release (LP: #1465706, LP: #1431753).

 -- Alberto Milone <email address hidden> Wed, 29 Jul 2015 12:33:47 +0200

Changed in nvidia-graphics-drivers-346 (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-340-updates - 340.76-0ubuntu0.1

---------------
nvidia-graphics-drivers-340-updates (340.76-0ubuntu0.1) trusty-proposed; urgency=medium

  * Initial release (LP: #1465706, LP: #1431753).
  * Changes in this backport, compared to wily:
    - Try to clean up the libraries and links left by the 331 series.
    - Allow nvidia-opencl-icd-$flavour to replace nvidia-opencl-icd-331 and
      nvidia-opencl-icd-331-updates for a smooth upgrade.

 -- Alberto Milone <email address hidden> Thu, 25 Jun 2015 11:46:49 +0200

Changed in nvidia-graphics-drivers-340-updates (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-346-updates - 346.82-0ubuntu0.2

---------------
nvidia-graphics-drivers-346-updates (346.82-0ubuntu0.2) trusty-proposed; urgency=medium

  * debian/templates/control.in:
    - Add conflicts/replaces for old releases of nvidia-opencl-icd-331 and
      of nvidia-opencl-icd-331-updates, and for the current releases of
      nvidia-opencl-icd-304 and of nvidia-opencl-icd-304-updates that still
      conflict with and replace opencl-icd (LP: #1465706).

nvidia-graphics-drivers-346-updates (346.82-0ubuntu0.1) trusty-proposed; urgency=medium

  * Initial release (LP: #1465706, LP: #1431753).
  * Changes in this backport, compared to wily:
    - Make nvidia-libopencl1-$flavour the default alternative dependency
      instead of ocl-icd-libopencl1 (which is still in universe in trusty).

 -- Alberto Milone <email address hidden> Wed, 29 Jul 2015 12:30:05 +0200

Changed in nvidia-graphics-drivers-346-updates (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-graphics-drivers-340 - 340.76-0ubuntu0.1

---------------
nvidia-graphics-drivers-340 (340.76-0ubuntu0.1) trusty-proposed; urgency=medium

  * Initial release (LP: #1465706, LP: #1431753).
  * Changes in this backport, compared to wily:
    - Try to clean up the libraries and links left by the 331 series.
    - Allow nvidia-opencl-icd-$flavour to replace nvidia-opencl-icd-331 and
      nvidia-opencl-icd-331-updates for a smooth upgrade.

 -- Alberto Milone <email address hidden> Thu, 25 Jun 2015 11:42:38 +0200

Changed in nvidia-graphics-drivers-340 (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Naël (nathanael-naeri) wrote :

Packages nvidia-331-* are now transitional packages for version 340 where this bug has been fixed, so I guess they can be marked as Fix Released too. Thanks everyone involved esp. Alberto for your work.

Revision history for this message
ciro santoro (cirux88) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

I installed last updates on my ubuntu 14.04 and, after reboot, it starts
and remains with a black screen.. I listened the ubuntu welcome sound and
nothing appens :(

2015-08-08 20:51 GMT+02:00 Nathanaël Naeri <email address hidden>:

> Packages nvidia-331-* are now transitional packages for version 340
> where this bug has been fixed, so I guess they can be marked as Fix
> Released too. Thanks everyone involved esp. Alberto for your work.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1409930).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Released
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

--
Ciro Santoro

Revision history for this message
Jerry (jerrywone) wrote :
Download full text (5.3 KiB)

I flagged as security, since holds back kernel updates which escalated sec
probs, if not causes them. Ianal
On Aug 11, 2015 3:21 AM, "ciro santoro" <email address hidden> wrote:

> I installed last updates on my ubuntu 14.04 and, after reboot, it starts
> and remains with a black screen.. I listened the ubuntu welcome sound and
> nothing appens :(
>
> 2015-08-08 20:51 GMT+02:00 Nathanaël Naeri <email address hidden>:
>
> > Packages nvidia-331-* are now transitional packages for version 340
> > where this bug has been fixed, so I guess they can be marked as Fix
> > Released too. Thanks everyone involved esp. Alberto for your work.
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1409930).
> > https://bugs.launchpad.net/bugs/1431753
> >
> > Title:
> > Nvidia binary driver FTBS due to DKMS layer violation
> >
> > Status in nvidia-graphics-drivers-331 package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> > Confirmed
> > Status in nvidia-graphics-drivers-340 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346 package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> > Fix Released
> > Status in nvidia-graphics-drivers-331 source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> > Triaged
> > Status in nvidia-graphics-drivers-340 source package in Trusty:
> > Fix Released
> > Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> > Fix Released
> > Status in nvidia-graphics-drivers-346 source package in Trusty:
> > Fix Released
> > Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> > Fix Released
> >
> > Bug description:
> > Filing this against the 340-updates version but possibly the same
> > applies to older versions, too. The nvidia source package produces two
> > individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> > The problem is that the DKMS build of the nvidia-uvm module runs
> > compile steps inside the nvidia modules build directory. This is
> > violating the DKMS assumption that each module can be build
> > independently (there is no way of describing cross-modules
> > dependencies and even more important, the autoinstall step after a new
> > kernel is installed will run the modules build in parallel).
> >
> > Since nvidia and nvidia-uvm are very dependent on each other the right
> > course of action seems to be to combine both sources in one DKMS
> > module that produces two kernel modules (this is supported by DKMS).
> > For the transition this resulting dkms package needs to have a
> > breaks/replaces for the nvidia-uvm package.
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
> >
>
>
> --
> Ciro Santoro
>
> --
> You received this bug notification because you are subscribed ...

Read more...

Revision history for this message
teo1978 (teo8976) wrote :

So, I'm lucky enough to be able to USE my machine just because I'm not actually using NVidia drivers?

My problem with this bug is "only" that I get an error message about something crashing every time there's a kernel update. I thought that was it, but I see there are people whose system stop booting or becomes unusable because of this, WTF!
That is, what, everybody using ubuntu 14.04 with an NVidia card that doesn't have the Optimus technology (which renders the nvidia card useless on linux, but on the up side, avoids this bug, apparently)?
And it's been a year without fixing.

I'm done with Ubuntu.

Revision history for this message
Alberto Milone (albertomilone) wrote :

@ciro: that could be caused by a number of things. If you can ssh into the machine, or VT switch by pressing CTRL+ALT+F2, please collect the following data:

1) the output of dkms status
2) the dmesg output
3) /var/log/Xorg.0.log
4) /var/log/gpu-manager.log

Revision history for this message
Peter Varlien (pvarlien) wrote :
Download full text (5.4 KiB)

I had the same experience.

It turned out thet my xorg.conf file had been renamed with a .back suffix. I copied it back and restarted, and all was good.

On August 11, 2015 9:14:05 AM CEST, ciro santoro <email address hidden> wrote:
>I installed last updates on my ubuntu 14.04 and, after reboot, it
>starts
>and remains with a black screen.. I listened the ubuntu welcome sound
>and
>nothing appens :(
>
>2015-08-08 20:51 GMT+02:00 Nathanaël Naeri
><email address hidden>:
>
>> Packages nvidia-331-* are now transitional packages for version 340
>> where this bug has been fixed, so I guess they can be marked as Fix
>> Released too. Thanks everyone involved esp. Alberto for your work.
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1409930).
>> https://bugs.launchpad.net/bugs/1431753
>>
>> Title:
>> Nvidia binary driver FTBS due to DKMS layer violation
>>
>> Status in nvidia-graphics-drivers-331 package in Ubuntu:
>> Confirmed
>> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
>> Confirmed
>> Status in nvidia-graphics-drivers-340 package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-346 package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
>> Fix Released
>> Status in nvidia-graphics-drivers-331 source package in Trusty:
>> Triaged
>> Status in nvidia-graphics-drivers-331-updates source package in
>Trusty:
>> Triaged
>> Status in nvidia-graphics-drivers-340 source package in Trusty:
>> Fix Released
>> Status in nvidia-graphics-drivers-340-updates source package in
>Trusty:
>> Fix Released
>> Status in nvidia-graphics-drivers-346 source package in Trusty:
>> Fix Released
>> Status in nvidia-graphics-drivers-346-updates source package in
>Trusty:
>> Fix Released
>>
>> Bug description:
>> Filing this against the 340-updates version but possibly the same
>> applies to older versions, too. The nvidia source package produces
>two
>> individual dkms packages: nvidia-340-updates,
>nvidia-340-updates-uvm.
>> The problem is that the DKMS build of the nvidia-uvm module runs
>> compile steps inside the nvidia modules build directory. This is
>> violating the DKMS assumption that each module can be build
>> independently (there is no way of describing cross-modules
>> dependencies and even more important, the autoinstall step after a
>new
>> kernel is installed will run the modules build in parallel).
>>
>> Since nvidia and nvidia-uvm are very dependent on each other the
>right
>> course of action seems to be to combine both sources in one DKMS
>> module that produces two kernel modules (this is supported by
>DKMS).
>> For the transition this resulting dkms package needs to have a
>> breaks/replaces for the nvidia-uvm package.
>>
>> To manage notifications about this bug go to:
>>
>>
>https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>>
>
>
>--
>Ciro Santoro
>
>--
>You received this bug notification because you are subscribed t...

Read more...

Revision history for this message
Alexander (sturmlocke86) wrote :

@teo1978:

Yeah, I fully agree. I recommended Ubuntu LTS to everyone I know that has been willing to either give Ubuntu a try or to users that have completely switched from Windows. My words, after they asked me why I recommend LTS over normal Ubuntu: "Use LTS if you prefer stability, support and reliability."

And now I am eating my own words.

It's nice to see this bug is getting fixed... finally... but it's sad it took so long in the first place. A lot of my friends were left with an unstable or malfunctioning system and that's a real show stopping issue, especially because the issue came unexpected after updating the system as usual. Ever since reporting this bug, I have switched to an AMD 6000 series GPU, using the open and free AMD drivers Ubuntu ships and activates at default. It's been awesome so far, gaming-wise as well.

So, personally, I am not going to lose any sleep over this issue anymore. But my friends are still using Nvidia hardware + Ubuntu 14.04.2/3 LTS and I'd like to know if the faulty Nvidia drivers (331.x?) available via the Ubuntu repos have been replaced with the drivers mentioned in this bug report that include the fix - or is the solution to activate the unstable testing/proposed repo the only way out of this mess?

Any kind of feedback is appreciated!

Thanks!

Cheers,
Alex

Revision history for this message
Alberto Milone (albertomilone) wrote :

Just to make it clear, the status of this bug report was marked as "Fix released" because the fix was actually released, and it's available to you as long as you have the "trusty-updates" repositories enabled (which should be enabled by default).

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 31-05-15 03:23:09, KennoVO wrote:
> Nice! Will this work with the 3.13 kernel in 14.04 ? Also, do you have
> any idea when it will be available to end-users?

Yes, the update is available in 14.04, and works with the kernels 14.04
ships with.

Revision history for this message
Alexander (sturmlocke86) wrote :

@Alberto:

PERFECT! Thanks for the info! I'll let my family and friends know ASAP.

One more question: Does "trusty-updates" mean the Nvidia "-updates" repo?

And because I am very pleased by this work, I'll donate some cash to Ubuntu tonight.

Again; thank you, even though it took a while.

Cheers,
Alex

Revision history for this message
Alexander (sturmlocke86) wrote :

Oh btw, for everyone else interested in this subject, Canonical wants to improve the situation for Nvidia users in the future: http://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-Better-Gaming-Drivers

+1 @Jorge Castro!

This is something that openSUSE has been doing for many years and I welcome the idea.

Cheers,
Alex

Revision history for this message
teo1978 (teo8976) wrote :

> Just to make it clear, the status of this bug report was marked as
> "Fix released" because the fix was actually released, and it's available
> to you as long as you have the "trusty-updates" repositories enabled
> (which should be enabled by default).

The latest status updates are about drivers 340+ versions. 331/Trusty is still confirmed/triaged. Last time I checked, I had 331 installed. And I remember getting the crash at some kernel update not long ago, but I don't know when the last kernel update was.

So, will my 331 drivers be automagically replaced with 340, or with whatever version fixes the bug? (or perhaps they have already?) Because otherwise, the bug is not fixed for me nor for the millions of people having ubuntu 14.04 with 331 drivers. Anyway, if that's not going to be automatic, what should I do to get that?

For a bug to be "fix released", it requires that the issue must disappear without me doing anything except for accepting the automatic updates.

@Alexander donating money to Ubuntu? I hope you are kidding. That money is going to be wasted in making Ubuntu worse, which is the only thing Canonical does (whenever it does change something). Just see how Nautilus "evolves" or how grub still bricks a machine on dist-upgrade, just to name the top examples that come to my mind.
You'd better donate directly to Alberto Milone or to whomever actually is actually doing something useful, or even something non-destructive.
Canonical has stopped giving a shit about desktop a while ago; apparently they are "focusing" on mobile (is Ubuntu mobile even a fucking thing?!?)

> Canonical wants to improve the situation for Nvidia users in the future

OMFG, "whants to" and "in the future"? For god's sake. It's been what? 20 years since NVidia has been the leader in the market of GPUs?

I am DEFINITELY done with Ubuntu. How long it will take for me to switch to OpenSUSE is just a matter of how damn lazy I am.

(and you can bet I'll never buy a machine with an NVidia card again)

Revision history for this message
teo1978 (teo8976) wrote :

> http://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-Better-Gaming-Drivers

Btw that's going to be practically useless as long as there's no support on linux for Optimus. Most computers with NVidia cards now seem to have that shit.

Revision history for this message
Sezer Yalcin (sy-y) wrote :

Please keep your subjective comments to yourself. This is a bug report.
Even Linus said Nvidia is very ignorant about linux. So if you need graphics with less issues, but Intel which really pays attention to linux. or Use ATI and see the worst!

Nvidia's self packaged drivers always fail at distro specific script. So they really don't care much. Their target customer is GTA5 players who spend rich dad's money, not blender users with limited budget.

After ATI experience, I am glad Nvidia works somehow.

Revision history for this message
teo1978 (teo8976) wrote :

> Please keep your subjective comments to yourself

I think my comments were pretty objective.
Ubuntu fails at providing a decent user experience, and it's getting worse.
Ubuntu sucks at supporting NVidia (which is probably mostly NVidia's fault, but other distros do better nonetheless).
Ubuntu spends very little effort in improving its desktop operating system since their interest have moved to mobile.
Ubuntu fails at fixing bugs in a decent time.

Now all of this may well be OT here, but they are facts, with little margin of subjectivity.

Revision history for this message
josh (joshuaglennmurphy) wrote :

Dude no one cares this is a bug reporting place not an opinion catcher.
On 12 Aug 2015 11:46, "teo1978" <email address hidden> wrote:

> > Please keep your subjective comments to yourself
>
> I think my comments were pretty objective.
> Ubuntu fails at providing a decent user experience, and it's getting worse.
> Ubuntu sucks at supporting NVidia (which is probably mostly NVidia's
> fault, but other distros do better nonetheless).
> Ubuntu spends very little effort in improving its desktop operating system
> since their interest have moved to mobile.
> Ubuntu fails at fixing bugs in a decent time.
>
> Now all of this may well be OT here, but they are facts, with little
> margin of subjectivity.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1412043).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Released
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
el_gallo_azul (el-gallo-azul) wrote :
Download full text (5.4 KiB)

Yeah
(*pffffff*)  De: josh <email address hidden>
 Para: <email address hidden>
 Enviado: Miércoles 12 de agosto de 2015 9:16
 Asunto: Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

Dude no one cares this is a bug reporting place not an opinion catcher.
On 12 Aug 2015 11:46, "teo1978" <email address hidden> wrote:

> > Please keep your subjective comments to yourself
>
> I think my comments were pretty objective.
> Ubuntu fails at providing a decent user experience, and it's getting worse.
> Ubuntu sucks at supporting NVidia (which is probably mostly NVidia's
> fault, but other distros do better nonetheless).
> Ubuntu spends very little effort in improving its desktop operating system
> since their interest have moved to mobile.
> Ubuntu fails at fixing bugs in a decent time.
>
> Now all of this may well be OT here, but they are facts, with little
> margin of subjectivity.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1412043).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
>  Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
>  Confirmed
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
>  Confirmed
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
>  Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
>  Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
>  Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
>  Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
>  Triaged
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
>  Triaged
> Status in nvidia-graphics-drivers-340 source package in Trusty:
>  Fix Released
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
>  Fix Released
> Status in nvidia-graphics-drivers-346 source package in Trusty:
>  Fix Released
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
>  Fix Released
>
> Bug description:
>  Filing this against the 340-updates version but possibly the same
>  applies to older versions, too. The nvidia source package produces two
>  individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
>  The problem is that the DKMS build of the nvidia-uvm module runs
>  compile steps inside the nvidia modules build directory. This is
>  violating the DKMS assumption that each module can be build
>  independently (there is no way of describing cross-modules
>  dependencies and even more important, the autoinstall step after a new
>  kernel is installed will run the modules build in parallel).
>
>  Since nvidia and nvidia-uvm are very dependent on each other the right
>  course of action seems to be to combine both sources in one DKMS
>  module that produces two kernel modules (this is supported by DKMS).
>  For the transition this resulting dkms package needs to have a
>  breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-d...

Read more...

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 11-08-15 22:45:43, teo1978 wrote:
> So, will my 331 drivers be automagically replaced with 340, or with
> whatever version fixes the bug? (or perhaps they have already?) Because
> otherwise, the bug is not fixed for me nor for the millions of people
> having ubuntu 14.04 with 331 drivers. Anyway, if that's not going to be
> automatic, what should I do to get that?

Yes, 331 will be replaced by 340 through a system update. If you prefer
346 you can install it manually from our repositories (as long as your
graphics card is supported).

Revision history for this message
Anna (jaruzanka) wrote :

After upgrading my 331 drivers to 340 I got black screen.

This solution worked for me: http://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/

Revision history for this message
teo1978 (teo8976) wrote :

> Yes, 331 will be replaced by 340 through a system update.

Nice, but is it possible that it not only replaces 331 by 340 but ALSO ENABLES THEM?

Because I'm under the impression that that just happened to me, and that's a bug.

Ages ago, when I first enabled NVidia drivers, I had this problem that every time I would connect and disconnect an external screen, the computer would start to randomly freeze at any moment. It turned out it was because the lack of support of NVidia drivers for Optimus technology on Linux. So I SWITCHED TO NOUVEAU, and had never been using NVidia drivers ever since, which was/is the only option for those like me who have an Optimus device. And that issue disappeared (though the NVidia drivers were still installed and gave me the compile error at every kernel upgrade).

Now, THE FREEZING ISSUE HAS REAPPEARED.
I suspect the update not only replaced 331 with 340 drivers, but also enabled them while I had explicitly disabled them in favour of Nouveau.

Please how do I disable them again?
And please change back the status of this bug until this part is fixed too.

Revision history for this message
teo1978 (teo8976) wrote :

and I'm pretty sure it's also the cause of this:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1483388

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 12-08-15 13:33:31, teo1978 wrote:
> > Yes, 331 will be replaced by 340 through a system update.
>
> Nice, but is it possible that it not only replaces 331 by 340 but ALSO
> ENABLES THEM?
>
> Because I'm under the impression that that just happened to me, and
> that's a bug.
>
> Ages ago, when I first enabled NVidia drivers, I had this problem that
> every time I would connect and disconnect an external screen, the
> computer would start to randomly freeze at any moment. It turned out it
> was because the lack of support of NVidia drivers for Optimus technology
> on Linux. So I SWITCHED TO NOUVEAU, and had never been using NVidia
> drivers ever since, which was/is the only option for those like me who
> have an Optimus device. And that issue disappeared (though the NVidia
> drivers were still installed and gave me the compile error at every
> kernel upgrade).
>
> Now, THE FREEZING ISSUE HAS REAPPEARED.
> I suspect the update not only replaced 331 with 340 drivers, but also enabled them while I had explicitly disabled them in favour of Nouveau.
>
> Please how do I disable them again?
> And please change back the status of this bug until this part is fixed too.

If you uninstall the drivers, you won't get any updates. Also, this bug
report shouldn't affect you at all if the nvidia drivers are not
installed.

Revision history for this message
teo1978 (teo8976) wrote :

They are installed.
The issue is that they were configured not to be used, and now they are.
I don't remember where the setting is but you decide whether to use nVidia drivers or not, even without uninstalling them.
And this setting shouldn't be changed by the update: the fact that it is is a bug.

Revision history for this message
teo1978 (teo8976) wrote :

And I'm pretty scared of uninstalling the drivers without first disabling them, because I don't trust at all the package uninstallation process to handle things well.

Revision history for this message
teo1978 (teo8976) wrote :

Indeed, I think I installed Bumblebee, because I thought that it would handle automatic switching between intel and nvidia as needed, but no way! it turns out it just allows you (or is supposed to allow, because I never managed to do even that) to manually run stuff on NVidia. So, in practice I have (or used to have until this update) bumblebee, nvidia drivers, and the intel GPU actually used all the time with the nvidia card just sleeping and useless. And I don't care, as long as my system doesn't start freezing every time I unplug the external screen.
All was fine (except for the errors showing up at kernel updates), and now everything is broken again (i.e. nvidia drivers being used, and causing random freezes because they don't support Optimus - or at least that's the diagnosis I was given when I first had the problem a couple of years ago)

Revision history for this message
Anna (jaruzanka) wrote :

I have a smilar case as teo1978. - I have a dell laptop with Optimus technology with both Intel and Nvidia GPU.

Before the upgrade from 331 to 340 I never managed to get the Nvidia GPU running, so I just used Intel instead. After the upgrade, the Nvidia GPU was turned on by default but something was wrong with the configuration in the xorg.conf file. Because of this I got a black screen after rebooting.

The solution that I linked a few posts up actually has a thorough explanation of what happened. It shows how to fix the xorg.conf file and how to prevent ubuntu from changing it back after reboot (it was crucial for me).

After all that my laptop started to actually use the Nvidia GPU for both daily use and manually running simulation on GPU.

Revision history for this message
teo1978 (teo8976) wrote :

So, the issue I pointed out is definitely confirmed.

Please, whoever can, change back the status at least for 340-Tursty, because the fix is partially broken.

Revision history for this message
teo1978 (teo8976) wrote :

Or should we file a separate bug?

Revision history for this message
dino99 (9d9) wrote :

hey all users still complaining:

- be sure to have a clean nvidia driver installation: not a system where the driver receive upgrades but still with borked settings behind the scene
- so "sudo apt-get purge nvidia*" is mandatory first, then install the required driver

- as the '331' driver is now deprecated, and replaced by the '340' one, that means the still opened '331' are useless

So this report is closed now; meaning you need to open a new report if you really need

Revision history for this message
Robin (robingape) wrote :

Teo,

the Optimus issue is definitely a *separate bug*, requiring its own
resolution.

R.

On 13/08/15 14:48, teo1978 wrote:
> Or should we file a separate bug?
>

dino99 (9d9)
Changed in nvidia-graphics-drivers-331-updates (Ubuntu Trusty):
status: Triaged → Invalid
Changed in nvidia-graphics-drivers-331-updates (Ubuntu):
status: Confirmed → Invalid
Changed in nvidia-graphics-drivers-331 (Ubuntu Trusty):
assignee: Alberto Milone (albertomilone) → nobody
status: Triaged → Invalid
Changed in nvidia-graphics-drivers-331-updates (Ubuntu Trusty):
assignee: Alberto Milone (albertomilone) → nobody
Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Alberto Milone (albertomilone) wrote :

Just to clarify:

1) Do not install the driver unless you want to use it. Uninstalling the driver will not break your system. By design a driver will be enabled if you install it. We keep an option to disable the driver but that's only to be used by gpu-manager (which is part of ubuntu-drivers-common), in order to support hybrid graphics. That is not meant to be disabled manually.

2) Optimus is supported by the NVIDIA driver. @teo1978 feel free to file a separate bug report about the external screen issue.

3) Optimus seems to fail with 340 on some systems, and even with 346 on others. We moved from the "modesetting" driver (which NVIDIA recommend but it's not the only driver that works) to "intel" because some systems didn't work (either at all or correctly). On such systems using the modesetting driver is the only solution. Please file a separate bug report about this (and file it against "ubuntu-drivers-common")

Revision history for this message
teo1978 (teo8976) wrote :

> Teo,

> the Optimus issue is definitely a *separate bug*, requiring its own
> resolution.

I was not talking about the optimus issue.
I was talking about the fact that the update of the NVidia drivers overwrote some system settings that shouldn't have been touched. Before the update, my system was set up to not use nVidia drivers; after the update, it was set to use them. That's a bug in the update that was released.

I'm not quite sure whether or not that should be considered a separate issue, because it is an issue directly caused by the fix to this issue. That is, the fix to this issue caused a bug of its own.

Revision history for this message
teo1978 (teo8976) wrote :

> hey all users still complaining:
>
> - be sure to

No man, if one had a system that was working and properly set up, and after getting an update it is broken (or something that was correctly configured gets misconfigured, or any configuration unnecessarily changed at all), there is a bug.

We aren't supposed to "be sure to" anything. The updates should make sure to not screw up a working system.

The bug should NOT be closed, unless a new one is opened for the issue caused by the fix to this bug.

I am not going to waste my time reconfiguring my system every time a new update comes out and screws up the settings that I already had to manually fix.

Revision history for this message
teo1978 (teo8976) wrote :

> 2) Optimus is supported by the NVIDIA driver.

That's not what NVidia told me. I asked for support and they told me it's officially unsupported on Linux.
And what I can tell for sure is that it doesn't work. The screen switching issue is well known.

Revision history for this message
teo1978 (teo8976) wrote :

> By design a driver will be enabled if you install it.

However, if it is disable when you UPGRADE the driver, it shouldn't be reenabled.

> We keep an option to disable the driver but [...] That is not meant to be disabled manually.

I don't know about now, but at the time I installed the driver, there was a nice graphical interface, accessible somewhere from the System Settings menu (back when Ubuntu had a menu), where you could choose whether to use NVidia proprietary drivers. And I chose not to.
It wasn't some arcane command line that I found out by googling around, it was something that was made accessible to a "normal user". If things have changed since, you must take into account that there are machines still around that have been upgraded since those times. I can't remember exactly which Ubuntu version that was. It may have been 13.04, or 12.something

Revision history for this message
teo1978 (teo8976) wrote :

> Uninstalling the driver will not break your system

On another machine, merely *installing* it did break the system. So forgive me if I'm skeptical that uninstalling it "will not" break my system. I take that as a "should not".

Revision history for this message
teo1978 (teo8976) wrote :

@albertomilone please see https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1483388 and mark its importance as critical (prevents boot) as soon as possible.

Also feel free to correct anything that may be wrong in the report.

Revision history for this message
Alberto Milone (albertomilone) wrote : Re: [Bug 1431753] Re: Nvidia binary driver FTBS due to DKMS layer violation

On 13-08-15 16:50:40, teo1978 wrote:
> > By design a driver will be enabled if you install it.
>
> However, if it is disable when you UPGRADE the driver, it shouldn't be
> reenabled.

Right, that usually doesn't happen when you upgrade to a new version of
the same driver (for example upgrading nvidia-331 from 331.19 to
331.25). However, when you are migrated to a different driver package,
e.g. from nvidia-331 to nvidia-340, you will lose your settings, because
they are different packages and they provide different alternatives
(note: the alternatives are what allows you to enable or disable a
driver).

This, while unfortunate, is not a bug, and we cannot change it, due to
the way alternatives work.

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 13-08-15 16:45:47, teo1978 wrote:
> > 2) Optimus is supported by the NVIDIA driver.
>
> That's not what NVidia told me. I asked for support and they told me it's officially unsupported on Linux.
> And what I can tell for sure is that it doesn't work. The screen switching issue is well known.

That only means that, if something goes wrong, you're on your own (at
least as far as NVIDIA are concerned). Support for Optimus is something
that we provide using our own system. What the NVIDIA driver supports is
part of the RandR 1.4, which we use for Optimus.

I won't comment on the screen switching issue, unless I see the relevant
logs (in a separate bug report), as it could depend on a number of
things (including your hardware configuration).

Revision history for this message
teo1978 (teo8976) wrote :

> Right, that usually doesn't happen when you upgrade to a new version of
> the same driver (for example upgrading nvidia-331 from 331.19 to
> 331.25). However, when you are migrated to a different driver package,
> e.g. from nvidia-331 to nvidia-340, you will lose your settings, because
> they are different packages and they provide different alternatives

Yes, I know. But since in this case installing a different driver packages was forced by an update (without even a warning or asking for confirmation, btw), whatever process was responsible for that should take that into account and take care of "migrating" the settings.

> This, while unfortunate, is not a bug,

Yes it is. You are only giving a diagnosis of the exact cause of the bug (which by the way I already knew), but that doesn't make it less of a bug.

> and we cannot change it, due to
> the way alternatives work.

I seriously doubt that's IMPOSSIBLE to fix. It may not be easy, but if you can do it manually, it can be done automatically. You only need to produce a script that looks at the settings (alternatives, or whatever) before uninstalling the old package, and then applies them (with all the necessary remappings and modifications) after installing the new one.
It may be a lot of work but it's NECESSARY and it was part of fixing this issue. A part that hasn't been done.

Revision history for this message
teo1978 (teo8976) wrote :

> Support for Optimus is something that we provide using our own system

Cool! (except it doesn't work, but I'll file a separate bug, though I'm surprised there's none already if it's supposed to work, as it's widely known that it doesn't at all)

So this page (among a few that I remember having read) must be out of date?
https://wiki.ubuntu.com/Ubuntu/Wishlist?highlight=%28nvidia%29%7C%28optimus%29
"""
Whish list
- NVIDIA Optimus integration (though this may be up to NVIDIA, not Canonical)
"""

Revision history for this message
teo1978 (teo8976) wrote :

I knew it must have already been reported.
Here it is:
https://bugs.launchpad.net/xorg-server/+bug/1220426

Importance undecided and unassigned sinse 2013

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 14-08-15 10:52:23, teo1978 wrote:
> > This, while unfortunate, is not a bug,
>
> Yes it is. You are only giving a diagnosis of the exact cause of the bug
> (which by the way I already knew), but that doesn't make it less of a
> bug.
>

The alternatives switched back to automatic mode, and in automatic mode
the nvidia alternative has a higher priority than mesa's (which is what
you want).

You can either select the mesa alternative, call ldconfig, and update
the initramfs, or uninstall the nvidia package (as I recommended).

> > and we cannot change it, due to
> > the way alternatives work.
>
> I seriously doubt that's IMPOSSIBLE to fix. It may not be easy, but if you can do it manually, it can be done automatically. You only need to produce a script that looks at the settings (alternatives, or whatever) before uninstalling the old package, and then applies them (with all the necessary remappings and modifications) after installing the new one.
> It may be a lot of work but it's NECESSARY and it was part of fixing
> this issue. A part that hasn't been done.

Such work is not "necessary", as yours is really an unsupported corner
case. If you insist on keeping the nvidia driver installed and disabled,
against what we recommend, that is your problem.

Revision history for this message
teo1978 (teo8976) wrote :

> Such work is not "necessary", as yours is really an unsupported corner
> case. If you insist on keeping the nvidia driver installed and disabled,
> against what we recommend, that is your problem.

And how was I supposed to know what you "recommend"?

Back in the days when I installed Ubuntu on my machine, there was a friendly interface somewhere like "Software & Updates" > "Additional Drivers" or something, where I could choose to install and use the NVidia drivers.
Then, when I saw they wouldn't work, I went to the same interface and chose not to use them. No warning appeared telling me that was "not recommended" or that I should uninstall the drivers.

Should I have read the whole Ubuntu documentation, like "Let's see if what I just did through the standard interface is not recommended, and if they recommend doing something else like uninstalling the driver".

It's not that I "insist" in keeping the driver installed and disabled. I did that ages ago and forgot about it. And I very much doubt it's that much of a "corner case". Right in this thread you have another user to whom the exact same thing happened.

And even if we are few, we got in our situation by just using what then was the user interface (I mean, we didn't tinkle and mess around with stuff), so if we got to a situation that was not supported, something was wrong in Ubuntu in the first place, and if we got into a situation which was then supported and then stopped being, then it's Ubuntu responsibility to make sure that automatic updates take that into account and keep things working.

And also, if a piece of software is designed in such a way that if you stop using it yoy have to uninstall it otherwise it may be harmful, it is badly designed.

Revision history for this message
teo1978 (teo8976) wrote :

If you have a machine that works, and you run automatic updates, and your machine stops working, there's a bug. If there's anything wrong in the machine configuration when you are updating, it must be detected, a warning given, and the option to continue at your own risk or skip that update.

Revision history for this message
Jerry (jerrywone) wrote :
Download full text (3.1 KiB)

Unfortunately, to get newer versions and hopefully out of Nvidia kernel
update hell, I went from LTS to the next regular unsupported, hoping to go
beyond that one to contemporary, but all went astray into unstable and
unbootable, probably in the filing to upgrade multiple times, repository
problems and bugs in same...

Possibly waiting a bit on 15.10alpha to mature and upgrade nonbootable disk
from cdr/dvdr/usbstick/netboot to get back to a working system.

Waiting for godot was too frustrating.

On Fri, Aug 14, 2015, 09:36 teo1978 <email address hidden> wrote:

> If you have a machine that works, and you run automatic updates, and
> your machine stops working, there's a bug. If there's anything wrong in
> the machine configuration when you are updating, it must be detected, a
> warning given, and the option to continue at your own risk or skip that
> update.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1405597).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Invalid
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Invalid
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Invalid
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Invalid
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Released
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscript...

Read more...

Revision history for this message
Alberto Milone (albertomilone) wrote :

On 14-08-15 13:24:50, teo1978 wrote:
> > Such work is not "necessary", as yours is really an unsupported corner
> > case. If you insist on keeping the nvidia driver installed and disabled,
> > against what we recommend, that is your problem.
>
> And how was I supposed to know what you "recommend"?
>
> Back in the days when I installed Ubuntu on my machine, there was a friendly interface somewhere like "Software & Updates" > "Additional Drivers" or something, where I could choose to install and use the NVidia drivers.
> Then, when I saw they wouldn't work, I went to the same interface and chose not to use them. No warning appeared telling me that was "not recommended" or that I should uninstall the drivers.
>

Different use cases were supported in 12.04. For example, you could have
multiple nvidia drivers installed at the same time. That changed after
12.04.

> And also, if a piece of software is designed in such a way that if you
> stop using it yoy have to uninstall it otherwise it may be harmful, it
> is badly designed.

Ok, that implies that all drivers are badly designed. It's your opinion.
This, however, is a bug report.

Now please stop posting, as this bug report is closed.

Revision history for this message
teo1978 (teo8976) wrote :

> Different use cases were supported in 12.04

That's my point: you can't just drop supported usecases and do nothing about it. If I'm doing something supported and I upgrade, and that's not supported any more, the upgrade MUST guide me through a way to fix whatever is wrong.

> Now please stop posting, as this bug report is closed.

I'm posting because it must be reopened.

Revision history for this message
teo1978 (teo8976) wrote :

> > And also, if a piece of software is designed in such a way that if you
> > stop using it yoy have to uninstall it otherwise it may be harmful, it
> > is badly designed.
>
> Ok, that implies that all drivers are badly designed. It's your opinion.

Don't pretend you are stupid when you aren't. This driver used to have an option (nicely accessible through user interface) which allowed to just not use it. It was *designed* to be either used or not used. And when not used, it would do nothing and interfere with nothing.
So, the newer version doesn't that anymore? Then you can't replace one version with another without performing some check. The update is incomplete and buggy if it does that.

Revision history for this message
graingert (tagrain) wrote :

Guys it's a closed source driver. I'm being a hypocrite here, but chillax.
On 14 Aug 2015 21:16, "teo1978" <email address hidden> wrote:

> > > And also, if a piece of software is designed in such a way that if you
> > > stop using it yoy have to uninstall it otherwise it may be harmful, it
> > > is badly designed.
> >
> > Ok, that implies that all drivers are badly designed. It's your opinion.
>
> Don't pretend you are stupid when you aren't. This driver used to have an
> option (nicely accessible through user interface) which allowed to just not
> use it. It was *designed* to be either used or not used. And when not used,
> it would do nothing and interfere with nothing.
> So, the newer version doesn't that anymore? Then you can't replace one
> version with another without performing some check. The update is
> incomplete and buggy if it does that.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1411195).
> https://bugs.launchpad.net/bugs/1431753
>
> Title:
> Nvidia binary driver FTBS due to DKMS layer violation
>
> Status in nvidia-graphics-drivers-331 package in Ubuntu:
> Invalid
> Status in nvidia-graphics-drivers-331-updates package in Ubuntu:
> Invalid
> Status in nvidia-graphics-drivers-340 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346 package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates package in Ubuntu:
> Fix Released
> Status in nvidia-graphics-drivers-331 source package in Trusty:
> Invalid
> Status in nvidia-graphics-drivers-331-updates source package in Trusty:
> Invalid
> Status in nvidia-graphics-drivers-340 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-340-updates source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346 source package in Trusty:
> Fix Released
> Status in nvidia-graphics-drivers-346-updates source package in Trusty:
> Fix Released
>
> Bug description:
> Filing this against the 340-updates version but possibly the same
> applies to older versions, too. The nvidia source package produces two
> individual dkms packages: nvidia-340-updates, nvidia-340-updates-uvm.
> The problem is that the DKMS build of the nvidia-uvm module runs
> compile steps inside the nvidia modules build directory. This is
> violating the DKMS assumption that each module can be build
> independently (there is no way of describing cross-modules
> dependencies and even more important, the autoinstall step after a new
> kernel is installed will run the modules build in parallel).
>
> Since nvidia and nvidia-uvm are very dependent on each other the right
> course of action seems to be to combine both sources in one DKMS
> module that produces two kernel modules (this is supported by DKMS).
> For the transition this resulting dkms package needs to have a
> breaks/replaces for the nvidia-uvm package.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1431753/+subscriptions
>

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Are you aware that each comment triggers THOUSAND of emails to other users?

Please respect them, and use private messages with your exchanges with Alberto.

This particular bug is FIXED. it might have triggered regressions, or something new I do not know, and opening new bugs is the correct way to handle it.

You can't close the same bug twice, and you can't reopen a fixed bug.

Leave with the design of LP, and go in a new bug.

thanks.

Revision history for this message
teo1978 (teo8976) wrote :

> Are you aware that each comment triggers THOUSAND of emails to other users?

Are you aware that you can unsubscribe if you want to?

> You can't close the same bug twice, and you can't reopen a fixed bug.

No I can't but there are definitely people who can.

> This particular bug is FIXED. it might have triggered regressions,
> and opening new bugs is the correct way to handle it.

Well that's a way of seeing it (I'd say a bugfix that fixes half of the bug or does it in the wrong way is not a complete fix and hence leaves the bug not fixed).

Ok, I'll go open a new issue.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

>Are you aware that you can unsubscribe if you want to?

yes, but this doesn't change the point.

>No I can't but there are definitely people who can.

it would be useless.

>Well that's a way of seeing it (I'd say a bugfix that fixes half of the bug or does it in the wrong way is not a complete fix and hence >leaves the bug not fixed).
>
>Ok, I'll go open a new issue.

this is how debhelper works, and how the syntax of closing bugs works on LP and Debian.
if you want to fix this bug go on the new open bug and help Alberto with the stuff he requested.

Unfortunately dealing with closed and proprietary software is not so easy, and I'm telling this with my Debian Developer hat on.

Sorry for that, but posting here will annoy people, and for sure not help you.

And since I'm a DD, I'll follow the bug you created, and try to help there, because I'm not bothered by your mails, but other people are.
(thinking about freedom is also caring about other people's issues)

Revision history for this message
KennoVO (kenno-xs4all) wrote :
Download full text (4.4 KiB)

The Optimus issue most definitely must be filed as a separate bug (and comments on it go there). In order for a bug tracking system like this to work well, the technical scope of a bug must be narrowly defined; that's software development good practice 101. If the scope of a bug is vague or allowed to creep, no developer will touch the "assign to me" button with a 10-foot pole. In fact, this is exactly the reason why lp:1268257 has been sitting there for 18 months without any progress; the error description consisted of a *symptom* that could have a very large number of causes, so nobody was willing to go look into all of them. It was only after it was realized that lp:1431753 was the cause in the vast majority of cases that things started moving. In this context, kudos go to teo1978 for forcing the breakthrough by finding and applying a workaround for lp:1450251 . You guys have to forgive him for being a bit testy. Even the most patient person would throw a fit after waiting 18 moths for a trivial-looking fix to a bug that made thousands of users lose their GUI every few weeks, and then getting another show-stopping problem when applying that fix!

Anyhow, the scope of *this* bug is the DKMS violation, which is fully fixed. From a *technical* perspective, the Optimus issue is an entirely unrelated bug. The fact that it's triggered by the present fix does not matter a this stage.

<slightly offtopic>Just to set the record straight (you might want to use part of this in the description of the new bug): there are (at least) 2 separate ways to get Optimus support working in Ubuntu:
(1) nvidia-prime : allows you to switch between running the whole desktop on Intel or Nvidia. The choice is made in the nvidia control panel and takes effect when logging out and back in. It's far from a perfect solution but at least it's easy to use.
(2) bumblebee : allows you to specify on which card to run a given program at the command-line (or by editing the application launcher). I personally prefer this route because it gives me more granular control and doesn't force you to log out, but novice users may find it cumbersome.
It appears that the configuration files of the packages that are involved in both (1) and (2) did not anticipate drivers newer than 331 to be used with 14.04, resulting in a blank screen upon login. The fix for (1) is in Anna's link: http://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/ . As for (2), see my post: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1431753/comments/62 .
Now, if canonical was really serious about LTS, they would have a sufficiently large and professional team working on this. The person responsible for the nvidia driver would have remembered to contacted the people responsible for the gpu-manager and bumblebee packages, or at the very least have been reminded of it by my post, which I made when the fix was still in the "proposed" stage. The actual release of the fix would have been delayed while those other developers would be updating the configuration files of their respective packages (that's, like, less than an hour of work), and th...

Read more...

Revision history for this message
teo1978 (teo8976) wrote :

> From a *technical* perspective, the Optimus issue is an entirely unrelated bug.
> The fact that it's triggered by the present fix does not matter a this stage.

I was not talking about the Optimus issue (I never argued that should be part of this issue, though I admit I did make some OT comment about that).
I was talking about the fact that the update that fixes THIS very issue causes the reenabling of NVidia drivers which were previously disabled, hence changing a system configuration that should not be touched.

But anyway, since I've been told that the fact that the fix to this bug is broken is a separate bug, I've filed a separate bug. That wouldn't have generated such a long exchange if Alberto didn't insist in claiming that the fix is not broken at all, that everything is ok, and that there is no additional problem to be fixed.

Revision history for this message
Alexander (sturmlocke86) wrote :

Sup guys,

quick update: Seems Alberto was right, my family and friends switched back to Nouveau via the driver utility and were then able to install the new "tested" and "recommended" Nvidia drivers 346.82 via the stable repo provided by Ubuntu. No need to use -updates. System stability and speed has been restored! I can't verify this myself, since I have given up on Nvidia (running on AMD and Intel + Open Source drivers now), thus: I have added a screenshot that a friend sent me to this post, showing the new drivers available to Nvidia users.

Thanks @whoever fixed this!

Cheers,
Alex

Revision history for this message
J K Cunningham (jeffrey-jkcunningham) wrote :

On 08/14/2015 01:46 PM, teo1978 wrote:
>> Are you aware that each comment triggers THOUSAND of emails to other
> users?
>
> Are you aware that you can unsubscribe if you want to?
>
>
I unsubscribed from this bug report days ago and it's still sending me
your silly tirades.
Would you please STFU?

Revision history for this message
Robin (robingape) wrote :

JK,

the link you need to fully unsubscribe is well hidden:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1431753/+subscriptions,
and then the bottom link, assuming that you are signed in to launchpad.

HTH

R.

On 15/08/15 02:33, J K Cunningham wrote:
> On 08/14/2015 01:46 PM, teo1978 wrote:
>>> Are you aware that each comment triggers THOUSAND of emails to other
>> users?
>>
>> Are you aware that you can unsubscribe if you want to?
>>
>>
> I unsubscribed from this bug report days ago and it's still sending me
> your silly tirades.
> Would you please STFU?
>

Revision history for this message
J K Cunningham (jeffrey-jkcunningham) wrote :

Much obliged.
--Jeff

On 08/15/2015 03:03 AM, Robin wrote:
> JK,
>
> the link you need to fully unsubscribe is well hidden:
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340-updates/+bug/1431753/+subscriptions,
> and then the bottom link, assuming that you are signed in to launchpad.
>
> HTH
>
> R.
>
> On 15/08/15 02:33, J K Cunningham wrote:
>> On 08/14/2015 01:46 PM, teo1978 wrote:
>>>> Are you aware that each comment triggers THOUSAND of emails to other
>>> users?
>>>
>>> Are you aware that you can unsubscribe if you want to?
>>>
>>>
>> I unsubscribed from this bug report days ago and it's still sending me
>> your silly tirades.
>> Would you please STFU?
>>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.