Display switches off in full-screen mode (Ubuntu 21.10)

Hello,

A couple of days ago I upgraded Ubuntu on my PC to version 21.10. After upgrading I started having an issue with full-screen applications: when application opens in full-screen mode, my display switches off. Seems that not all applications are affected: for instance, browser and videos from online services work well, but videogames and videoplayer (VLC) don’t. However, affected applications don’t stop working, because they handle mouse and keyboard events properly. Also affected applications display a splash screen with no problems, but after that I get a black screen. It looks like…PC just sends the monitor to sleep mode under some circumstances.

Here are some points from my small investigation:

  • The problem started to take place after upgrade to Ubuntu 21.10. Ubuntu 21.04 worked fine
  • The screen literally switches off (NO black screen is rendered), because short time after that a “no signal” label appears on the screen and monitor’s LED indicates about sleep mode
  • It doesn’t seem to be some hardware issue (e.g. under-voltage), because in Windows full-screen mode for the same apps is operational. And yes, as it was told before, the previous release of Ubuntu works well too.
  • With X.ORG X video driver (nouveau) all applications work properly. So it doesn’t seem to be purely an Ubuntu problem
  • Application windows render properly in preview mode. When pressing a WIN key to minimize the affected app and open the Windows Preview, I can see contents of application window there
  • Re-installation of Nvidia driver didn’t resolved the issue; re-installation of applications too
  • There were some error records in syslog, but they are also printed there with Nvidia driver disabled. I found nothing special in syslog

For better demonstration I recorded a video. My apologies for quality and for not cropping less significant parts of the video - I had to record a screen on mobile phone, because screen recording doesn’t work well. There are also few comments left in subtitles, please enable them:

I hope this report was useful. Please let me know if any more information is needed from my side to troubleshoot this problem!

nvidia-bug-report.log.gz (534.7 KB)

You seem to have both nvidia and nouveau drivers loaded. You have to blacklist nouveau to use binary nvidia driver.

Thanks a lot for reply!

I probably had a nouveau enabled, indeed. Yesterday I tried to install a Nvidia driver from website, but got a notification that nouveau is already in use, so I cancelled the installation. But I thought that nouveau must have been uninstalled automatically when Nvidia driver installs.

Anyway, I’ve just tried to blacklist a nouveau driver (using this guide https://linuxconfig.org/how-to-disable-nouveau-nvidia-driver-on-ubuntu-18-04-bionic-beaver-linux ), but it didn’t resolved the problem, unfortunately.

However, after blacklisting nouveau I tried to switch to another driver - from “nvidia-driver-470 (proprietary, tested)” to “nvidia-driver-470 (proprietary)” and surprisingly it resolved the problem. Seems that the issue is fixed in upcoming release of the driver.

UPD: I didn’t noticed that the branch that I switched to is actually a server build: “nvidia-driver-470-server (proprietary)”, not “nvidia-driver-470 (proprietary)”, but it works fine: no FPS drops, no black screens.

You could see in you dmesg, that nvidia_drm was crashing (not good).

Taken from here:

The nvidia-driver-440 meta package includes i386 libraries whereas the nvidia-driver-440-server meta package does not. These are required for running Steam.

Do you mean this line?

WARNING: CPU: 14 PID: 4237 at /var/lib/dkms/nvidia/470.74/build/nvidia-drm/nvidia-drm-drv.c:574 nv_drm_master_set+0x27/0x30 [nvidia_drm]

I can’t find any other evidence that any library crashed.

Also just tried to install a driver from Nvidia website (as I mentioned above, my first attempt failed due nouveau driver, this time it was fine; the file I’m trying is NVIDIA-Linux-x86_64-470.74.run) and now having the same issue as in original post. Seems that non-server driver packages have some component which causes the trouble. Curious if the reason might be those i386 libraries provided with nvidia-driver-440 metapackage.

You shouldn’t use the .run file installer. Install from Ubuntu Software & Updates or through the graphics drivers ppa.
Uninstall the .run file stuff with the --uninstall parameter.

I don’t know why it crashes, nvidia would need to look into it.
Those are the lines in dmesg I’m talking about:

[17552.713217] ------------[ cut here ]------------
[17552.713220] WARNING: CPU: 8 PID: 30295 at /var/lib/dkms/nvidia/470.74/build/nvidia-drm/nvidia-drm-drv.c:574 nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713226] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 nvidia_uvm(POE) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common nvidia_drm(POE) x86_pkg_temp_thermal snd_hda_intel nvidia_modeset(POE) intel_powerclamp snd_intel_dspcfg nvidia(POE) snd_intel_sdw_acpi snd_hda_codec coretemp snd_hda_core mei_hdcp snd_hwdep kvm_intel snd_pcm kvm snd_seq_midi snd_seq_midi_event snd_rawmidi crct10dif_pclmul drm_kms_helper
[17552.713243] ghash_clmulni_intel snd_seq aesni_intel ucsi_ccg snd_seq_device cec crypto_simd typec_ucsi input_leds joydev rc_core snd_timer cryptd typec fb_sys_fops syscopyarea sysfillrect intel_cstate snd sysimgblt mei_me soundcore ee1004 mei intel_wmi_thunderbolt wmi_bmof efi_pstore mac_hid acpi_tad acpi_pad sch_fq_codel msr nfsd parport_pc ppdev auth_rpcgss lp nfs_acl lockd parport drm grace sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid ahci i2c_i801 crc32_pclmul xhci_pci e1000e libahci i2c_smbus i2c_nvidia_gpu xhci_pci_renesas wmi video
[17552.713264] CPU: 8 PID: 30295 Comm: gpu-manager Tainted: P W OE 5.13.0-19-generic #19-Ubuntu
[17552.713265] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z590 Phantom Gaming 4, BIOS P1.40 02/22/2021
[17552.713266] RIP: 0010:nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713269] Code: 00 66 90 0f 1f 44 00 00 55 48 8b 47 38 48 8b 78 20 48 8b 05 cb 6c 00 00 48 89 e5 48 8b 40 28 e8 df 8e 59 d6 84 c0 74 02 5d c3 <0f> 0b 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
[17552.713270] RSP: 0018:ffffa1524643fb20 EFLAGS: 00010246
[17552.713271] RAX: 0000000000000000 RBX: ffff8fe0b5ad4000 RCX: 0000000000000008
[17552.713271] RDX: ffffffffc1112e58 RSI: 0000000000000292 RDI: ffffffffc1112e20
[17552.713272] RBP: ffffa1524643fb20 R08: 0000000000000008 R09: ffffa1524643fb08
[17552.713272] R10: 0000000000000000 R11: ffff8fdf4dff5b62 R12: ffff8fe1caf9b740
[17552.713273] R13: ffff8fdf5101a000 R14: 0000000000000000 R15: ffff8fdf5101a000
[17552.713274] FS: 00007f26b6936b80(0000) GS:ffff8fe29fc00000(0000) knlGS:0000000000000000
[17552.713275] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17552.713275] CR2: 00007f26b70b73ea CR3: 0000000179684005 CR4: 0000000000770ee0
[17552.713276] PKRU: 55555554
[17552.713276] Call Trace:
[17552.713278] drm_new_set_master+0x7b/0x100 [drm]
[17552.713300] drm_master_open+0x6e/0xa0 [drm]
[17552.713308] drm_open+0xf8/0x250 [drm]
[17552.713317] drm_stub_open+0xb7/0x140 [drm]
[17552.713327] chrdev_open+0xf7/0x250
[17552.713330] ? cdev_dynamic_release+0x80/0x80
[17552.713331] do_dentry_open+0x154/0x370
[17552.713333] vfs_open+0x2d/0x30
[17552.713334] do_open+0x205/0x3d0
[17552.713335] path_openat+0x10e/0x2b0
[17552.713336] do_filp_open+0xa2/0x140
[17552.713337] ? __check_object_size+0x1c/0x20
[17552.713338] do_sys_openat2+0x9b/0x150
[17552.713339] __x64_sys_openat+0x55/0x90
[17552.713341] do_syscall_64+0x61/0xb0
[17552.713342] ? do_syscall_64+0x6e/0xb0
[17552.713343] ? syscall_exit_to_user_mode+0x27/0x50
[17552.713345] ? do_syscall_64+0x6e/0xb0
[17552.713345] ? do_syscall_64+0x6e/0xb0
[17552.713346] ? do_syscall_64+0x6e/0xb0
[17552.713347] entry_SYSCALL_64_after_hwframe+0x44/0xae
[17552.713349] RIP: 0033:0x7f26b6e8566b
[17552.713350] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25
[17552.713351] RSP: 002b:00007ffefb01dbf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[17552.713352] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f26b6e8566b
[17552.713352] RDX: 0000000000000002 RSI: 00007ffefb01dcc0 RDI: 00000000ffffff9c
[17552.713353] RBP: 00007ffefb01dcc0 R08: 0000000000000000 R09: 00007ffefb01db00
[17552.713353] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[17552.713353] R13: 00005646c0f35d7e R14: 0000000000000000 R15: 00007f26b7112c40
[17552.713355] —[ end trace 442d5e461ecb5383 ]—
[17552.713405] ------------[ cut here ]------------
[17552.713405] WARNING: CPU: 8 PID: 30295 at /var/lib/dkms/nvidia/470.74/build/nvidia-drm/nvidia-drm-drv.c:574 nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713408] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 nvidia_uvm(POE) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common nvidia_drm(POE) x86_pkg_temp_thermal snd_hda_intel nvidia_modeset(POE) intel_powerclamp snd_intel_dspcfg nvidia(POE) snd_intel_sdw_acpi snd_hda_codec coretemp snd_hda_core mei_hdcp snd_hwdep kvm_intel snd_pcm kvm snd_seq_midi snd_seq_midi_event snd_rawmidi crct10dif_pclmul drm_kms_helper
[17552.713422] ghash_clmulni_intel snd_seq aesni_intel ucsi_ccg snd_seq_device cec crypto_simd typec_ucsi input_leds joydev rc_core snd_timer cryptd typec fb_sys_fops syscopyarea sysfillrect intel_cstate snd sysimgblt mei_me soundcore ee1004 mei intel_wmi_thunderbolt wmi_bmof efi_pstore mac_hid acpi_tad acpi_pad sch_fq_codel msr nfsd parport_pc ppdev auth_rpcgss lp nfs_acl lockd parport drm grace sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid ahci i2c_i801 crc32_pclmul xhci_pci e1000e libahci i2c_smbus i2c_nvidia_gpu xhci_pci_renesas wmi video
[17552.713439] CPU: 8 PID: 30295 Comm: gpu-manager Tainted: P W OE 5.13.0-19-generic #19-Ubuntu
[17552.713440] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z590 Phantom Gaming 4, BIOS P1.40 02/22/2021
[17552.713440] RIP: 0010:nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713442] Code: 00 66 90 0f 1f 44 00 00 55 48 8b 47 38 48 8b 78 20 48 8b 05 cb 6c 00 00 48 89 e5 48 8b 40 28 e8 df 8e 59 d6 84 c0 74 02 5d c3 <0f> 0b 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
[17552.713442] RSP: 0018:ffffa1524643fb10 EFLAGS: 00010246
[17552.713443] RAX: 0000000000000000 RBX: ffff8fe0b5ad4000 RCX: 0000000000000008
[17552.713444] RDX: ffffffffc1112e58 RSI: 0000000000000292 RDI: ffffffffc1112e20
[17552.713444] RBP: ffffa1524643fb10 R08: 0000000000000008 R09: ffffa1524643faf8
[17552.713445] R10: 0000000000000000 R11: ffff8fdf4dff5b62 R12: ffff8fe1caf9b740
[17552.713445] R13: ffff8fdf5101a000 R14: 0000000000000000 R15: ffff8fdf5101a000
[17552.713446] FS: 00007f26b6936b80(0000) GS:ffff8fe29fc00000(0000) knlGS:0000000000000000
[17552.713446] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17552.713447] CR2: 00007f26b70b73ea CR3: 0000000179684005 CR4: 0000000000770ee0
[17552.713447] PKRU: 55555554
[17552.713448] Call Trace:
[17552.713448] drm_new_set_master+0x7b/0x100 [drm]
[17552.713458] drm_master_open+0x6e/0xa0 [drm]
[17552.713466] drm_open+0xf8/0x250 [drm]
[17552.713474] drm_stub_open+0xb7/0x140 [drm]
[17552.713484] chrdev_open+0xf7/0x250
[17552.713485] ? cdev_dynamic_release+0x80/0x80
[17552.713486] do_dentry_open+0x154/0x370
[17552.713487] vfs_open+0x2d/0x30
[17552.713488] do_open+0x205/0x3d0
[17552.713489] path_openat+0x10e/0x2b0
[17552.713490] ? __cond_resched+0x1a/0x50
[17552.713491] ? dput+0x5c/0x180
[17552.713492] do_filp_open+0xa2/0x140
[17552.713493] ? __check_object_size+0x1c/0x20
[17552.713494] do_sys_openat2+0x9b/0x150
[17552.713495] __x64_sys_openat+0x55/0x90
[17552.713497] do_syscall_64+0x61/0xb0
[17552.713498] ? do_syscall_64+0x6e/0xb0
[17552.713498] ? do_syscall_64+0x6e/0xb0
[17552.713499] ? do_syscall_64+0x6e/0xb0
[17552.713500] ? do_syscall_64+0x6e/0xb0
[17552.713501] ? do_syscall_64+0x6e/0xb0
[17552.713502] entry_SYSCALL_64_after_hwframe+0x44/0xae
[17552.713503] RIP: 0033:0x7f26b6e8566b
[17552.713504] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25
[17552.713504] RSP: 002b:00007ffefb01dbf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[17552.713505] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f26b6e8566b
[17552.713505] RDX: 0000000000000002 RSI: 00007ffefb01dcc0 RDI: 00000000ffffff9c
[17552.713506] RBP: 00007ffefb01dcc0 R08: 0000000000000000 R09: 00007ffefb01db00
[17552.713506] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[17552.713507] R13: 00005646c0f35d7e R14: 0000000000000000 R15: 00007f26b7112c40
[17552.713508] —[ end trace 442d5e461ecb5384 ]—
[17552.713531] ------------[ cut here ]------------
[17552.713531] WARNING: CPU: 8 PID: 30295 at /var/lib/dkms/nvidia/470.74/build/nvidia-drm/nvidia-drm-drv.c:574 nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713533] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 nvidia_uvm(POE) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common nvidia_drm(POE) x86_pkg_temp_thermal snd_hda_intel nvidia_modeset(POE) intel_powerclamp snd_intel_dspcfg nvidia(POE) snd_intel_sdw_acpi snd_hda_codec coretemp snd_hda_core mei_hdcp snd_hwdep kvm_intel snd_pcm kvm snd_seq_midi snd_seq_midi_event snd_rawmidi crct10dif_pclmul drm_kms_helper
[17552.713547] ghash_clmulni_intel snd_seq aesni_intel ucsi_ccg snd_seq_device cec crypto_simd typec_ucsi input_leds joydev rc_core snd_timer cryptd typec fb_sys_fops syscopyarea sysfillrect intel_cstate snd sysimgblt mei_me soundcore ee1004 mei intel_wmi_thunderbolt wmi_bmof efi_pstore mac_hid acpi_tad acpi_pad sch_fq_codel msr nfsd parport_pc ppdev auth_rpcgss lp nfs_acl lockd parport drm grace sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid ahci i2c_i801 crc32_pclmul xhci_pci e1000e libahci i2c_smbus i2c_nvidia_gpu xhci_pci_renesas wmi video
[17552.713563] CPU: 8 PID: 30295 Comm: gpu-manager Tainted: P W OE 5.13.0-19-generic #19-Ubuntu
[17552.713564] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z590 Phantom Gaming 4, BIOS P1.40 02/22/2021
[17552.713564] RIP: 0010:nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713566] Code: 00 66 90 0f 1f 44 00 00 55 48 8b 47 38 48 8b 78 20 48 8b 05 cb 6c 00 00 48 89 e5 48 8b 40 28 e8 df 8e 59 d6 84 c0 74 02 5d c3 <0f> 0b 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
[17552.713566] RSP: 0018:ffffa1524643fa60 EFLAGS: 00010246
[17552.713567] RAX: 0000000000000000 RBX: ffff8fe0b5ad4000 RCX: 0000000000000008
[17552.713567] RDX: ffffffffc1112e58 RSI: 0000000000000296 RDI: ffffffffc1112e20
[17552.713568] RBP: ffffa1524643fa60 R08: 0000000000000008 R09: ffffa1524643fa48
[17552.713568] R10: 0000000000000000 R11: ffff8fdf4dff5b62 R12: ffff8fe1caf9b740
[17552.713569] R13: ffff8fdf5101a000 R14: 0000000000000000 R15: ffff8fdf5101a000
[17552.713569] FS: 00007f26b6936b80(0000) GS:ffff8fe29fc00000(0000) knlGS:0000000000000000
[17552.713570] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17552.713570] CR2: 00007f26b70b73ea CR3: 0000000179684005 CR4: 0000000000770ee0
[17552.713571] PKRU: 55555554
[17552.713571] Call Trace:
[17552.713572] drm_new_set_master+0x7b/0x100 [drm]
[17552.713580] drm_master_open+0x6e/0xa0 [drm]
[17552.713587] drm_open+0xf8/0x250 [drm]
[17552.713595] drm_stub_open+0xb7/0x140 [drm]
[17552.713605] chrdev_open+0xf7/0x250
[17552.713606] ? cdev_dynamic_release+0x80/0x80
[17552.713607] do_dentry_open+0x154/0x370
[17552.713608] vfs_open+0x2d/0x30
[17552.713609] do_open+0x205/0x3d0
[17552.713610] path_openat+0x10e/0x2b0
[17552.713610] ? filename_lookup+0x138/0x1c0
[17552.713611] ? mntput_no_expire+0x4c/0x2a0
[17552.713613] do_filp_open+0xa2/0x140
[17552.713614] ? __check_object_size+0x1c/0x20
[17552.713615] do_sys_openat2+0x9b/0x150
[17552.713616] __x64_sys_openat+0x55/0x90
[17552.713617] do_syscall_64+0x61/0xb0
[17552.713618] ? iterate_dir+0x121/0x1c0
[17552.713620] ? __x64_sys_getdents64+0xd5/0x120
[17552.713621] ? __ia32_sys_getdents+0x120/0x120
[17552.713622] ? exit_to_user_mode_prepare+0x37/0xb0
[17552.713624] ? syscall_exit_to_user_mode+0x27/0x50
[17552.713625] ? do_syscall_64+0x6e/0xb0
[17552.713626] ? do_syscall_64+0x6e/0xb0
[17552.713626] ? do_syscall_64+0x6e/0xb0
[17552.713627] ? do_syscall_64+0x6e/0xb0
[17552.713628] ? do_syscall_64+0x6e/0xb0
[17552.713629] ? do_syscall_64+0x6e/0xb0
[17552.713630] entry_SYSCALL_64_after_hwframe+0x44/0xae
[17552.713631] RIP: 0033:0x7f26b6e8566b
[17552.713631] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25
[17552.713632] RSP: 002b:00007ffefb01dbf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[17552.713633] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f26b6e8566b
[17552.713633] RDX: 0000000000000002 RSI: 00007ffefb01dcc0 RDI: 00000000ffffff9c
[17552.713634] RBP: 00007ffefb01dcc0 R08: 0000000000000000 R09: 00007ffefb01db00
[17552.713634] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[17552.713634] R13: 00005646c0f35d7e R14: 0000000000000000 R15: 00007f26b7112c40
[17552.713635] —[ end trace 442d5e461ecb5385 ]—
[17552.713653] ------------[ cut here ]------------
[17552.713653] WARNING: CPU: 8 PID: 30295 at /var/lib/dkms/nvidia/470.74/build/nvidia-drm/nvidia-drm-drv.c:574 nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713655] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc nf_tables nfnetlink overlay binfmt_misc nls_iso8859_1 nvidia_uvm(POE) snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic ledtrig_audio snd_compress ac97_bus snd_pcm_dmaengine snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common nvidia_drm(POE) x86_pkg_temp_thermal snd_hda_intel nvidia_modeset(POE) intel_powerclamp snd_intel_dspcfg nvidia(POE) snd_intel_sdw_acpi snd_hda_codec coretemp snd_hda_core mei_hdcp snd_hwdep kvm_intel snd_pcm kvm snd_seq_midi snd_seq_midi_event snd_rawmidi crct10dif_pclmul drm_kms_helper
[17552.713670] ghash_clmulni_intel snd_seq aesni_intel ucsi_ccg snd_seq_device cec crypto_simd typec_ucsi input_leds joydev rc_core snd_timer cryptd typec fb_sys_fops syscopyarea sysfillrect intel_cstate snd sysimgblt mei_me soundcore ee1004 mei intel_wmi_thunderbolt wmi_bmof efi_pstore mac_hid acpi_tad acpi_pad sch_fq_codel msr nfsd parport_pc ppdev auth_rpcgss lp nfs_acl lockd parport drm grace sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid ahci i2c_i801 crc32_pclmul xhci_pci e1000e libahci i2c_smbus i2c_nvidia_gpu xhci_pci_renesas wmi video
[17552.713685] CPU: 8 PID: 30295 Comm: gpu-manager Tainted: P W OE 5.13.0-19-generic #19-Ubuntu
[17552.713686] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z590 Phantom Gaming 4, BIOS P1.40 02/22/2021
[17552.713687] RIP: 0010:nv_drm_master_set+0x27/0x30 [nvidia_drm]
[17552.713688] Code: 00 66 90 0f 1f 44 00 00 55 48 8b 47 38 48 8b 78 20 48 8b 05 cb 6c 00 00 48 89 e5 48 8b 40 28 e8 df 8e 59 d6 84 c0 74 02 5d c3 <0f> 0b 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
[17552.713689] RSP: 0018:ffffa1524643faa0 EFLAGS: 00010246
[17552.713689] RAX: 0000000000000000 RBX: ffff8fe0b5ad4000 RCX: 0000000000000008
[17552.713690] RDX: ffffffffc1112e58 RSI: 0000000000000296 RDI: ffffffffc1112e20
[17552.713690] RBP: ffffa1524643faa0 R08: 0000000000000008 R09: ffffa1524643fa88
[17552.713690] R10: 0000000000000000 R11: ffff8fdf4dff5b62 R12: ffff8fe1caf9b740
[17552.713691] R13: ffff8fdf5101a000 R14: 0000000000000000 R15: ffff8fdf5101a000
[17552.713691] FS: 00007f26b6936b80(0000) GS:ffff8fe29fc00000(0000) knlGS:0000000000000000
[17552.713692] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17552.713692] CR2: 00007f26b70b73ea CR3: 0000000179684005 CR4: 0000000000770ee0
[17552.713693] PKRU: 55555554
[17552.713693] Call Trace:
[17552.713693] drm_new_set_master+0x7b/0x100 [drm]
[17552.713703] drm_master_open+0x6e/0xa0 [drm]
[17552.713711] drm_open+0xf8/0x250 [drm]
[17552.713720] drm_stub_open+0xb7/0x140 [drm]
[17552.713729] chrdev_open+0xf7/0x250
[17552.713730] ? cdev_dynamic_release+0x80/0x80
[17552.713731] do_dentry_open+0x154/0x370
[17552.713733] vfs_open+0x2d/0x30
[17552.713734] do_open+0x205/0x3d0
[17552.713735] path_openat+0x10e/0x2b0
[17552.713736] ? __virt_addr_valid+0x49/0x70
[17552.713740] do_filp_open+0xa2/0x140
[17552.713742] ? __check_object_size+0x1c/0x20
[17552.713743] ? alloc_fd+0x53/0x170
[17552.713744] do_sys_openat2+0x9b/0x150
[17552.713746] __x64_sys_openat+0x55/0x90
[17552.713747] do_syscall_64+0x61/0xb0
[17552.713748] ? exit_to_user_mode_prepare+0x37/0xb0
[17552.713749] ? syscall_exit_to_user_mode+0x27/0x50
[17552.713751] ? do_syscall_64+0x6e/0xb0
[17552.713752] ? exit_to_user_mode_prepare+0x37/0xb0
[17552.713753] ? syscall_exit_to_user_mode+0x27/0x50
[17552.713754] ? __x64_sys_close+0x11/0x40
[17552.713756] ? do_syscall_64+0x6e/0xb0
[17552.713756] ? syscall_exit_to_user_mode+0x27/0x50
[17552.713758] ? do_syscall_64+0x6e/0xb0
[17552.713759] ? do_syscall_64+0x6e/0xb0
[17552.713760] ? do_syscall_64+0x6e/0xb0
[17552.713761] ? do_syscall_64+0x6e/0xb0
[17552.713762] entry_SYSCALL_64_after_hwframe+0x44/0xae
[17552.713764] RIP: 0033:0x7f26b6e8566b
[17552.713765] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 91 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25
[17552.713766] RSP: 002b:00007ffefb01dbf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[17552.713767] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f26b6e8566b
[17552.713767] RDX: 0000000000000002 RSI: 00007ffefb01dcc0 RDI: 00000000ffffff9c
[17552.713768] RBP: 00007ffefb01dcc0 R08: 0000000000000000 R09: 00007ffefb01db00
[17552.713768] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[17552.713769] R13: 00005646c0f35d7e R14: 0000000000000000 R15: 00007f26b7112c40
[17552.713770] —[ end trace 442d5e461ecb5386 ]—

Okay, thanks for hint!

I uninstalled that driver from .run file, yes. Just wanted to check if driver on the website is more recent than driver in “Ubuntu Software & Updates” and if it has the issue fixed. However, installation of .run driver had no effect, so I switched back to nvidia-driver-470.

I don’t believe than I’m the only Nvidia user who had upgraded to Ubuntu 21.10, so if it’s some general Ubuntu+Nvidia issue, there must be much more bug reports than my one :D. It must be something very special in my system.
Probably, there are some manually compiled libraries installed on my PC (gtk, gtkmm, etc - I needed them for application development) which might conflict with Nvidia components. I’ll try to check how nvidia-driver-470 and nvidia-driver-470-server differ in terms of files/libs; maybe I’ll find any similar file names there.

I too experienced the same issue (Ubuntu 21.10, Nvidia 470.74 drivers) and the fix is here

This is what needs to be done:

Launch the “NVidia X Server Settings” app (nvidia-settings from terminal)
X Server Display Configuration
Advanced …
Turn on “Force Full Composition Pipeline”
Click on Apply
Quit

I can confirm that the “Force Full Composition Pipeline” configuration resolves the problem in my case too.
Thank you very much for this suggestion!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.