[Kernel-packages] [Bug 1911055] Re: [modeset][nvidia] suspend/resume broken in nvidia-460 : Display engine push buffer channel allocation failed

2022-01-16 Thread Tolga Durak
I'm also having the identical problem with external monitor connected
via only HDMI. No problem with DisplayPort.

Screen does not wake up from sleeping when using refresh rate 240 Hz. It
is fine with 60 Hz.

My graphics card is RTX 2070 Mobile

Using Ubuntu 20.04.3 LTS and Nvidia driver 470.86

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu.
https://bugs.launchpad.net/bugs/1911055

Title:
  [modeset][nvidia] suspend/resume broken in nvidia-460 : Display engine
  push buffer channel allocation failed

Status in nvidia-graphics-drivers-460 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-470 package in Ubuntu:
  Confirmed

Bug description:
  After a recent update to nvidia-460, suspend then resume results in a
  black screen, then a hang for around 120 seconds, and then the text:

  nvidia-modeset: ERROR: GPU:0: Display engine push buffer channel allocation 
failed: 0x65 (Call timed out [NV_ERR_TIMEOUT])
  nvidia-modeset: ERROR: GPU:0: Failed to allocate display engine core DMA push 
buffer
  nvidia-modeset: ERROR: GPU:0: Display engine push buffer channel allocation 
failed: 0x65 (Call timed out [NV_ERR_TIMEOUT])
  nvidia-modeset: ERROR: GPU:0: Failed to allocate display engine core DMA push 
buffer

  dmesg shows:

  [  188.352670] ACPI: Waking up from system sleep state S3
  ...
  [  309.142164] nvidia-modeset: ERROR: GPU:0: Display engine push buffer 
channel allocation failed: 0x65 (Call timed out [NV_ERR_TIMEOUT])
  [  309.142319] nvidia-modeset: ERROR: GPU:0: Failed to allocate display 
engine core DMA push buffer
  [  313.142165] nvidia-modeset: ERROR: GPU:0: Display engine push buffer 
channel allocation failed: 0x65 (Call timed out [NV_ERR_TIMEOUT])
  [  313.142348] nvidia-modeset: ERROR: GPU:0: Failed to allocate display 
engine core DMA push buffer
  [  313.151885] acpi LNXPOWER:08: Turning OFF
  [  313.151898] acpi LNXPOWER:04: Turning OFF
  [  313.152351] acpi LNXPOWER:03: Turning OFF
  [  313.153064] acpi LNXPOWER:02: Turning OFF
  ...
  [  325.010192] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for 
display device DELL 2209WA (HDMI-0)
  [  325.010577] BUG: kernel NULL pointer dereference, address: 0050
  [  325.010579] #PF: supervisor read access in kernel mode
  [  325.010580] #PF: error_code(0x) - not-present page
  [  325.010580] PGD 0 P4D 0
  [  325.010582] Oops:  [#1] SMP PTI
  [  325.010583] CPU: 9 PID: 2247 Comm: Xorg Tainted: P   O  
5.4.0-60-generic #67-Ubuntu
  [  325.010584] Hardware name: Razer Blade/DANA_MB, BIOS 01.01 08/31/2018
  [  325.010595] RIP: 0010:_nv000112kms+0xd/0x30 [nvidia_modeset]
  [  325.010596] Code: 16 00 74 06 83 7e 0c 02 77 03 31 c0 c3 c7 46 0c 01 00 00 
00 b8 01 00 00 00 c3 0f 1f 00 0f b7 46 04 0f b7 56 08 39 d0 0f 47 c2 <3b> 47 18 
77 06 83 7e 10 02 77 08 31 c0 c3 0f 1f 44 00 00 c7 46 10
  [  325.010597] RSP: 0018:b89542e5b8a8 EFLAGS: 00010246
  [  325.010598] RAX: 0280 RBX: 0038 RCX: 
03ff
  [  325.010598] RDX: 0280 RSI: b89542e5bba0 RDI: 
0038
  [  325.010599] RBP: b89542e5b9c8 R08:  R09: 
c379e440
  [  325.010600] R10:  R11:  R12: 
b89542e5b948
  [  325.010600] R13: b89542e5b948 R14: b89542e5b930 R15: 
c3a50e60
  [  325.010601] FS:  7feb4c09ea80() GS:8e46ada4() 
knlGS:
  [  325.010602] CS:  0010 DS:  ES:  CR0: 80050033
  [  325.010602] CR2: 0050 CR3: 0004772e2006 CR4: 
003606e0
  [  325.010603] Call Trace:
  [  325.010610]  ? _nv002768kms+0x96/0xd0 [nvidia_modeset]
  [  325.010616]  ? _nv002328kms+0xb5/0x110 [nvidia_modeset]
  [  325.010624]  ? _nv000742kms+0x168/0x370 [nvidia_modeset]
  [  325.010823]  ? _nv036002rm+0x62/0x70 [nvidia]
  [  325.010910]  ? os_get_current_tick+0x2c/0x50 [nvidia]
  [  325.010921]  ? _nv002771kms+0x433/0x600 [nvidia_modeset]
  [  325.010928]  ? _nv002771kms+0x3fc/0x600 [nvidia_modeset]
  [  325.010930]  ? __schedule+0x2eb/0x740
  [  325.010935]  ? _nv000742kms+0x40/0x40 [nvidia_modeset]
  [  325.010939]  ? nvkms_alloc+0x6a/0xa0 [nvidia_modeset]
  [  325.010944]  ? _nv000742kms+0x40/0x40 [nvidia_modeset]
  [  325.010948]  ? _nv000744kms+0x2a/0x40 [nvidia_modeset]
  [  325.010952]  ? nvKmsIoctl+0x96/0x1d0 [nvidia_modeset]
  [  325.010957]  ? nvkms_ioctl_common+0x42/0x80 [nvidia_modeset]
  [  325.010961]  ? nvkms_ioctl+0xc4/0x100 [nvidia_modeset]
  [  325.011016]  ? nvidia_frontend_unlocked_ioctl+0x3b/0x50 [nvidia]
  [  325.011017]  ? do_vfs_ioctl+0x407/0x670
  [  325.011019]  ? do_user_addr_fault+0x216/0x450
  [  325.011020]  ? ksys_ioctl+0x67/0x90
  [  325.011021]  ? __x64_sys_ioctl+0x1a/0x20
  [  325.011023]  ? do_syscall_64+0x57/0x190
  [  325.011024]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
  [  325.011025] Modules linked in: rfcomm ccm aufs 

[Kernel-packages] [Bug 1951166] [NEW] nvidia_drm error at the end of kernel ring buffer (dmesg)

2021-11-16 Thread Tolga Durak
Public bug reported:

Recently, I have noticed an error about nvidia_drm logged several times
on my kernel ring buffer output occasionally.

I am using the Nvidia driver version 470.82 on Ubuntu 20.04.03 LTS with
kernel version 5.11.0-40-generic.

My graphics card is RTX 2070 Mobile and I am using it via external
G-SYNC monitor.

Some output log describing the error from dmesg command:

[16166.980676] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership
[19268.970816] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership
[19268.970930] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nvidia-driver-470 470.82.00-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 17 01:20:13 2021
InstallationDate: Installed on 2021-09-24 (53 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
SourcePackage: nvidia-graphics-drivers-470
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nvidia-graphics-drivers-470 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-470 in Ubuntu.
https://bugs.launchpad.net/bugs/1951166

Title:
  nvidia_drm error at the end of kernel ring buffer (dmesg)

Status in nvidia-graphics-drivers-470 package in Ubuntu:
  New

Bug description:
  Recently, I have noticed an error about nvidia_drm logged several
  times on my kernel ring buffer output occasionally.

  I am using the Nvidia driver version 470.82 on Ubuntu 20.04.03 LTS
  with kernel version 5.11.0-40-generic.

  My graphics card is RTX 2070 Mobile and I am using it via external
  G-SYNC monitor.

  Some output log describing the error from dmesg command:

  [16166.980676] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership
  [19268.970816] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership
  [19268.970930] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU 
ID 0x0100] Failed to grab modeset ownership

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: nvidia-driver-470 470.82.00-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
  Uname: Linux 5.11.0-40-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Nov 17 01:20:13 2021
  InstallationDate: Installed on 2021-09-24 (53 days ago)
  InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
  SourcePackage: nvidia-graphics-drivers-470
  UpgradeStatus: No upgrade log present (probably fresh install)

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp