[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread Kai-Heng Feng
Alberto, this requires you :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread craigleat
The crux of the problem is an API mismatch between the kernel module and
the nvidia driver. The problem arises in the normal course of applying
updates and not from user tinkering (see #1).

$ uname -a
Linux OptiPlex-380 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

$ journalctl -b -k | grep -m 1 -A 3 "API mismatch"
Dec 11 21:07:00 OptiPlex-380 kernel: NVRM: API mismatch: the client has the 
version
   455.38, but
 NVRM: this kernel module has the version 
440.100.
   Please
 NVRM: make sure that this kernel module 
and all
   NVIDIA driver
 NVRM: components have the same version.
 
$ apt-cache depends linux-modules-nvidia-455-generic
linux-modules-nvidia-455-generic
  Depends: linux-modules-nvidia-455-5.4.0-54-generic
  Depends: nvidia-kernel-common-455
  Depends: nvidia-kernel-common-455

There's no nvidia kernel module for 455 and 5.4.0-47 and hence the
broken system. Boot 5.4.0-54 and everything works. Upgrade[boot]
5.4.0-57 and the system breaks again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread Kai-Heng Feng
focal-updates only has nvidia-driver-450.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread craigleat
$ sudo apt update
...
$ sudo apt install nvidia-drivers-455
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package nvidia-drivers-455
$ sudo apt install nvidia-driver-455
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package nvidia-driver-455

I no longer have focal-proposed enabled. Not sure if that makes a
difference.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread Kai-Heng Feng
Something like `sudo apt install nvidia-drivers-455` should do.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread craigleat
>"it looks like the user installed the driver through
>the nvidia installer, and then used our packages.
>The perfect recipe for disaster."

Thanks for continuing to look into this. I don't believe I have an
nvidia installer, only nvidia settings.

I can't test with a live disk, because the nvidia install requires a
restart. I'm happy to purge everything nvidia and reinstall if that
helps. Please provide the commands you wish to be executed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-11 Thread Kai-Heng Feng
>From the nvidia package maintainer "it looks like the user installed the
driver through the nvidia installer, and then used our packages. The
perfect recipe for disaster."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-10 Thread Kai-Heng Feng
** Also affects: nvidia-graphics-drivers-440 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-09 Thread craigleat
The display wakes up correctly with 5.4.0-57 and the nouveau driver.
The display wakes up correctly with 5.4.0-47 and the nvidia driver.

It doesn't seem possible to fix the API mismatch with 5.4.0-57 and the nvidia 
driver. 
linux-generic pulled in the 5.4.0-57 kernel and the 450 nvidia server, but 
there is no 450 client available.
A manual install of the 440 server is not possible. 
linux-modules-nvidia-440-server-generic depends on 
nvidia-kernel-common-440-server and this package does not exist. There is one 
named nvidia-kernel-common-440.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-09 Thread Kai-Heng Feng
That's right. Please fix the nvidia installation. It's not a kernel bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-09 Thread craigleat
>From the Xorg log:

[10.479] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please 
see the
[10.479] (EE) NVIDIA: system's kernel log for additional error messages 
and
[10.479] (EE) NVIDIA: consult the NVIDIA README for details.
[10.479] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please 
see the
[10.479] (EE) NVIDIA: system's kernel log for additional error messages 
and
[10.479] (EE) NVIDIA: consult the NVIDIA README for details.
[10.479] (EE) [drm] Failed to open DRM device for (null): -2
[10.479] (EE) [drm] Failed to open DRM device for pci::01:00.0: -2
[10.479] (WW) Falling back to old probe method for modesetting
[10.479] (II) Loading sub module "fbdevhw"
[10.479] (II) LoadModule: "fbdevhw"
[10.480] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[10.481] (II) Module fbdevhw: vendor="X.Org Foundation"
[10.481]compiled for 1.20.8, module version = 0.0.2
[10.481]ABI class: X.Org Video Driver, version 24.1
[10.481] (**) FBDEV(1): claimed PCI slot 1@0:0:0
[10.481] (II) FBDEV(1): using default device
[10.481] (EE) Screen 0 deleted because of no matching config section.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-09 Thread Kai-Heng Feng
Dec 09 16:46:50 OptiPlex-380 kernel: NVRM: API mismatch: the client has the 
version 440.100, but
 NVRM: this kernel module has the version 
450.80.02.  Please
 NVRM: make sure that this kernel module 
and all NVIDIA driver
 NVRM: components have the same version.

Other than that I don't see any error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-09 Thread craigleat
`journalctl -b -1 -k` seems to miss the last boot. I did `journalctl -b
-k` instead. See log attached.

** Attachment added: "journalctl -b -k.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+attachment/5442276/+files/journalctl%20-b%20-k.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-08 Thread Kai-Heng Feng
Ok, can you please reproduce the issue, and attach `journactl -b -1 -k`
which collect kernel log from last boot?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-08 Thread craigleat
I tested with 5.4.0-57.63 (that's the version installed by the
linux-generic meta package).
Still not working for me.

On Tue, 8 Dec 2020 at 03:41, Kai-Heng Feng <1900...@bugs.launchpad.net>
wrote:

> Can you please test 5.4.0.57.60 from -proposed?
>
> ** Changed in: linux (Ubuntu)
>Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1900584
>
> Title:
>   Regression: suspend/wake-up no longer working properly
>
> Status in linux package in Ubuntu:
>   Incomplete
>
> Bug description:
>   With kernel 5.4.0-47.51, suspend (and resuming thereafter) works
>   flawlessly. With 5.4.0-48.52 and later versions, the display refuses
>   to wake up after a suspend.
>
>   Display adaptor:
>   Nvidia driver version: 440.100
>   Screens: 1
>   GPU: GeForce GT 710
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.04
>   Package: linux-image-5.4.0-48-generic 5.4.0-48.52
>   ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
>   Uname: Linux 5.4.0-47-generic x86_64
>   NonfreeKernelModules: nvidia_modeset nvidia
>   ApportVersion: 2.20.11-0ubuntu27.8
>   Architecture: amd64
>   AudioDevicesInUse:
>USERPID ACCESS COMMAND
>/dev/snd/controlC1:  craig  1332 F pulseaudio
>/dev/snd/controlC0:  craig  1332 F pulseaudio
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   Date: Mon Oct 19 20:15:38 2020
>   InstallationDate: Installed on 2020-09-04 (44 days ago)
>   InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64
> (20200731)
>   IwConfig:
>enx582c80139263  no wireless extensions.
>
>lono wireless extensions.
>
>enp2s0no wireless extensions.
>   MachineType: Dell Inc. OptiPlex 380
>   ProcFB: 0 VESA VGA
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-47-generic
> root=UUID=90130dae-9aab-4a03-9308-cf17561e3af2 ro quiet splash vt.handoff=7
>   RelatedPackageVersions:
>linux-restricted-modules-5.4.0-47-generic N/A
>linux-backports-modules-5.4.0-47-generic  N/A
>linux-firmware1.187.3
>   RfKill:
>
>   SourcePackage: linux
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 02/24/2011
>   dmi.bios.vendor: Dell Inc.
>   dmi.bios.version: A05
>   dmi.board.name: 01TKCC
>   dmi.board.vendor: Dell Inc.
>   dmi.board.version: A01
>   dmi.chassis.type: 15
>   dmi.chassis.vendor: Dell Inc.
>   dmi.modalias:
> dmi:bvnDellInc.:bvrA05:bd02/24/2011:svnDellInc.:pnOptiPlex380:pvr:rvnDellInc.:rn01TKCC:rvrA01:cvnDellInc.:ct15:cvr:
>   dmi.product.name: OptiPlex 380
>   dmi.sys.vendor: Dell Inc.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-07 Thread Kai-Heng Feng
Can you please test 5.4.0.57.60 from -proposed?

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-07 Thread Uriel Tunn
Belay that last post. Workaround was working perfectly, tested over a
dozen times. But behavior has now returned to normal: crash on resume.
So a big NM, still searching.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900584] Re: Regression: suspend/wake-up no longer working properly

2020-12-07 Thread Uriel Tunn
Many bug reports on this, kernel breaks with both Nvidia and AMD
graphics on resume from suspend.

Permanent upstream fix is needed, meanwhile posted a workaround that
returns a functional suspend command:
https://askubuntu.com/a/1217890/165265

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900584

Title:
  Regression: suspend/wake-up no longer working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs