I had the same issue in a ZBook G5 but interestingly enough I got this
working.

Some background: I had used the Nvidia drive 460 with success. However
due to a small mishap, I had to reinstall Ubuntu. Second time around,
though I go the error reported here. I tried installing the drives
directly via the "Software & Updates -> Additional Driver" application
and via the packages (never NVIDIAs scripts). But these did not work.
But the following 2 steps seemed to get this doing:

1. Configure the use of the suspend and resume scripts shown here: 
https://download.nvidia.com/XFree86/Linux-x86_64/460.39/README/powermanagement.html

2. Use the "Software & Updates -> Additional Driver" application but use
the "NVIDIA Server Driver metapackage  ... (proprietery)" and *not* the
"NVIDIA driver metapackage ... (proprietary, tested)"

Tests show both NVIDia profiles work now on resume.

It would be interresting to get feedback from others. If this in fact
does work, then one needs to know what is the diffference between the
above two options.

HTHs

-- 
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

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: 0000000000000050
  [  325.010579] #PF: supervisor read access in kernel mode
  [  325.010580] #PF: error_code(0x0000) - not-present page
  [  325.010580] PGD 0 P4D 0
  [  325.010582] Oops: 0000 [#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:ffffb89542e5b8a8 EFLAGS: 00010246
  [  325.010598] RAX: 0000000000000280 RBX: 0000000000000038 RCX: 
00000000000003ff
  [  325.010598] RDX: 0000000000000280 RSI: ffffb89542e5bba0 RDI: 
0000000000000038
  [  325.010599] RBP: ffffb89542e5b9c8 R08: 0000000000000000 R09: 
ffffffffc379e440
  [  325.010600] R10: 0000000000000000 R11: 00000000ffffffff R12: 
ffffb89542e5b948
  [  325.010600] R13: ffffb89542e5b948 R14: ffffb89542e5b930 R15: 
ffffffffc3a50e60
  [  325.010601] FS:  00007feb4c09ea80(0000) GS:ffff8e46ada40000(0000) 
knlGS:0000000000000000
  [  325.010602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  325.010602] CR2: 0000000000000050 CR3: 00000004772e2006 CR4: 
00000000003606e0
  [  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 overlay cmac algif_hash 
algif_skcipher af_alg bnep snd_sof_pci snd_sof_intel_hda_common nvidia_uvm(O) 
snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc snd_sof 
snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match nvidia_drm(PO) 
snd_soc_acpi nvidia_modeset(PO) snd_soc_core snd_compress ac97_bus 
snd_pcm_dmaengine nls_iso8859_1 intel_rapl_msr mei_hdcp intel_rapl_common 
nvidia(PO) x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_usb_audio 
snd_hda_intel snd_usbmidi_lib iwlmvm snd_intel_dspcfg snd_hda_codec 
snd_seq_midi kvm_intel snd_seq_midi_event snd_hda_core snd_hwdep mac80211 kvm 
snd_rawmidi libarc4 snd_pcm rapl intel_cstate snd_seq mxm_wmi dcdbas 
intel_wmi_thunderbolt wmi_bmof dell_wmi_descriptor snd_seq_device 8250_dw 
snd_timer iwlwifi uvcvideo btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm 
btintel videobuf2_v4l2 cfg80211 bluetooth
  [  325.011042]  videobuf2_common joydev videodev input_leds ecdh_generic 
mei_me snd mc ecc hid_multitouch mei soundcore intel_pch_thermal mac_hid 
acpi_pad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 
btrfs zstd_compress dm_crypt raid10 raid456 async_raid6_recov async_memcpy 
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear 
hid_microsoft ff_memless usbhid hid_generic i915 crct10dif_pclmul crc32_pclmul 
i2c_algo_bit ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea 
sysfillrect sysimgblt nvme crypto_simd fb_sys_fops cryptd glue_helper nvme_core 
thunderbolt drm i2c_i801 intel_lpss_pci intel_lpss r8169 ahci idma64 i2c_hid 
realtek libahci virt_dma hid wmi video pinctrl_cannonlake pinctrl_intel
  [  325.011059] CR2: 0000000000000050
  [  325.011060] ---[ end trace 95cdb20056e1c4ac ]---
  [  325.011066] RIP: 0010:_nv000112kms+0xd/0x30 [nvidia_modeset]
  [  325.011067] 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.011067] RSP: 0018:ffffb89542e5b8a8 EFLAGS: 00010246
  [  325.011068] RAX: 0000000000000280 RBX: 0000000000000038 RCX: 
00000000000003ff
  [  325.011069] RDX: 0000000000000280 RSI: ffffb89542e5bba0 RDI: 
0000000000000038
  [  325.011069] RBP: ffffb89542e5b9c8 R08: 0000000000000000 R09: 
ffffffffc379e440
  [  325.011070] R10: 0000000000000000 R11: 00000000ffffffff R12: 
ffffb89542e5b948
  [  325.011071] R13: ffffb89542e5b948 R14: ffffb89542e5b930 R15: 
ffffffffc3a50e60
  [  325.011071] FS:  00007feb4c09ea80(0000) GS:ffff8e46ada40000(0000) 
knlGS:0000000000000000
  [  325.011072] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  325.011073] CR2: 0000000000000050 CR3: 00000004772e2006 CR4: 
00000000003606e0

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-modules-nvidia-460-5.4.0-60-generic 5.4.0-60.67
  ProcVersionSignature: Ubuntu 5.4.0-60.67-generic 5.4.78
  Uname: Linux 5.4.0-60-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jan 11 20:29:31 2021
  InstallationDate: Installed on 2020-01-06 (371 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 
(20190805)
  SourcePackage: linux-restricted-modules
  UpgradeStatus: Upgraded to focal on 2020-10-09 (94 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/+bug/1911055/+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

Reply via email to