Kernel Panic: IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 Or "Failed to allocate fence signaling event"

This happens randomly.
So far it happened not everytime:

  • While switching to Virtual terminal from Xorg (ctrl-alt F1)
  • While changing PRIME Synchronization state while an opengl game was running via:
xrandr --output $OUTPUT --set "PRIME Synchronization" $state
  • While changing desktop resolution via:
xrandr --output DVI-D-0 --mode 1280x1024 --scale-from 1350x1080 --refresh 75 ; __GL_FSAA_MODE=1 LC_ALL=en_US $GAMEEXECUTABLE

I’m using a Dual head configuration, where one of the monitors runs via “reverse prime” and the output connector is from the integrated hd4000 intel card (Haswell), while the other display is attached directly to the nvidia card.

Kernel freezes completely, error messages are taken through netconsole module, pasting latest crashes:

set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.244130] BUG: unable to handle kernel paging request at fffffffffffffff0
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.245264] IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.246412] PGD 1a0c067
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.246412] PUD 1a0e067
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.247488] PMD 0
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.248548]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.250651] Oops: 0000 [#1] PREEMPT SMP
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.251680] Modules linked in: nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) ctr md4 xt_CHECKSUM iptable_mangle xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c crc32c_generic msr tun netconsole r8169 nct6775 hwmon_vid nls_utf8 cifs ccm dns_resolver input_leds mousedev arc4 rtl8187 mac80211 cfg80211 eeprom_93cx6 hid_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass pci_stub crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic ghash_clmulni_intel snd_hda_intel
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.258207]  pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd snd_hda_codec ttm snd_hda_core snd_hwdep i915 eeepc_wmi asus_wmi sparse_keymap snd_pcm rfkill evdev intel_cstate mac_hid iTCO_wdt iTCO_vendor_support led_class mxm_wmi intel_rapl_perf drm_kms_helper mii snd_timer drm intel_gtt snd syscopyarea sysfillrect thermal sysimgblt fan fb_sys_fops tpm_infineon battery video acpi_pad mei_me mei shpchp i2c_algo_bit soundcore i2c_i801 button lpc_ich wmi tpm_tis tpm_tis_core tpm fuse sg ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl sr_mod cdrom nfs lockd grace sunrpc fscache sd_mod ahci libahci libata scsi_mod [last unloaded: nvidia]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.263950] CPU: 0 PID: 24937 Comm: kworker/0:1 Tainted: P        W  O    4.11.9-1-ARCH #1
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.265091] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.266238] Workqueue: events nvkms_workqueue_callback [nvidia_modeset]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.267365] task: ffff880408274600 task.stack: ffffc90009ff4000
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.268469] RIP: 0010:nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.269575] RSP: 0018:ffffc90009ff7e08 EFLAGS: 00010286
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.270644] RAX: fffffffffffffff0 RBX: ffff88022e19ba80 RCX: 000000000001820b
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.271706] RDX: ffff8803e4b1da00 RSI: ffff8803e4b1da00 RDI: ffff880251c05400
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.272787] RBP: ffffc90009ff7e18 R08: 0000000000000000 R09: 0000000000000002
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.273823] R10: ffffc90009ff7e08 R11: 0000000001721608 R12: ffff8803e4b1da00
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.274836] R13: ffff88042fa1b800 R14: 0000000000000000 R15: ffff88042fa17900
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.275856] FS:  0000000000000000(0000) GS:ffff88042fa00000(0000) knlGS:0000000000000000
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.276846] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.277830] CR2: fffffffffffffff0 CR3: 0000000001a09000 CR4: 00000000001406f0
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.278820] Call Trace:
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.279843]  nvidia_drm_gem_prime_fence_event+0x2d/0x40 [nvidia_drm]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.280851]  nvkms_workqueue_callback+0x74/0xd0 [nvidia_modeset]
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.281861]  process_one_work+0x1e0/0x490
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.282886]  worker_thread+0x48/0x4e0
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.283884]  kthread+0x125/0x140
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.284881]  ? process_one_work+0x490/0x490
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.285917]  ? kthread_create_on_node+0x70/0x70
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.286910]  ret_from_fork+0x25/0x30
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.287902] Code: c0 74 08 48 89 df e8 40 9d d0 e0 48 83 c4 08 5b 5d c3 48 8b 53 70 8b 4b 40 48 8b 82 80 01 00 00 48 c1 e0 04 48 03 82 90 01 00 00 <39> 08 72 dc 48 8b 43 48 a8 01 74 8e eb 05 e8 bd 9b d0 e0 48 89
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.290015] RIP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm] RSP: ffffc90009ff7e08
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.291087] CR2: fffffffffffffff0
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.295429] ---[ end trace f8e42baf6890cb42 ]---
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.295431] Kernel panic - not syncing: Fatal exception
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.296513] Kernel Offset: disabled
set 26 11:49:23 arch_ups netconsole.sh[222]: [65676.297574] Rebooting in 120 seconds..
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183714] BUG: unable to handle kernel paging request at fffffffffffffff0
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183749] IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183768] PGD 1a0c067
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183768] PUD 1a0e067
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183778] PMD 0
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183797]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183815] Oops: 0000 [#1] PREEMPT SMP
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.183829] Modules linked in: nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) md4 xt_CHECKSUM iptable_mangle xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c crc32c_generic msr ctr tun netconsole r8169 nls_utf8 cifs ccm dns_resolver nct6775 hwmon_vid arc4 intel_rapl x86_pkg_temp_thermal rtl8187 mac80211 cfg80211 intel_powerclamp mousedev eeprom_93cx6 snd_hda_codec_realtek input_leds snd_hda_codec_hdmi snd_hda_codec_generic coretemp kvm_intel snd_hda_intel kvm irqbypass snd_hda_codec snd_hda_core snd_hwdep crct10dif_pclmul crc32_pclmul crc32c_intel
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184003]  snd_pcm snd_timer snd mxm_wmi iTCO_wdt iTCO_vendor_support ghash_clmulni_intel pcbc mei_me aesni_intel mei aes_x86_64 crypto_simd evdev glue_helper mac_hid eeepc_wmi asus_wmi sparse_keymap rfkill led_class soundcore i915 lpc_ich cryptd intel_cstate intel_rapl_perf i2c_i801 intel_gtt shpchp i2c_algo_bit mii fan thermal tpm_infineon battery tpm_tis tpm_tis_core tpm acpi_pad button video wmi pci_stub ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt fb_sys_fops fuse sg ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache hid_generic usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl nfs lockd grace sr_mod sunrpc cdrom fscache sd_mod ahci libahci libata scsi_mod [last unloaded: vboxdrv]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184171] CPU: 2 PID: 24 Comm: kworker/2:0 Tainted: P           O    4.11.9-1-ARCH #1
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184192] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184217] Workqueue: events nvkms_workqueue_callback [nvidia_modeset]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184237] task: ffff88041d226200 task.stack: ffffc90001990000
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184255] RIP: 0010:nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184274] RSP: 0018:ffffc90001993e08 EFLAGS: 00010286
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184290] RAX: fffffffffffffff0 RBX: ffff880409fbce80 RCX: 0000000000001d30
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184309] RDX: ffff88040f2acc00 RSI: ffff88040f2acc00 RDI: ffff88041af3f880
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184327] RBP: ffffc90001993e18 R08: 0000000000000000 R09: 0000000000000002
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184347] R10: ffffc90001993e08 R11: 00000000000001fd R12: ffff88040f2acc00
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184366] R13: ffff88042fb1b800 R14: 0000000000000000 R15: ffff88042fb17900
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184385] FS:  0000000000000000(0000) GS:ffff88042fb00000(0000) knlGS:0000000000000000
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184406] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184423] CR2: fffffffffffffff0 CR3: 0000000001a09000 CR4: 00000000001406e0
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184442] Call Trace:
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184454]  nvidia_drm_gem_prime_fence_event+0x2d/0x40 [nvidia_drm]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184477]  nvkms_workqueue_callback+0x74/0xd0 [nvidia_modeset]
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184497]  process_one_work+0x1e0/0x490
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184513]  worker_thread+0x48/0x4e0
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184526]  kthread+0x125/0x140
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184538]  ? process_one_work+0x490/0x490
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184552]  ? kthread_create_on_node+0x70/0x70
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184568]  ret_from_fork+0x25/0x30
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184581] Code: c0 74 08 48 89 df e8 40 9d e0 df 48 83 c4 08 5b 5d c3 48 8b 53 70 8b 4b 40 48 8b 82 80 01 00 00 48 c1 e0 04 48 03 82 90 01 00 00 <39> 08 72 dc 48 8b 43 48 a8 01 74 8e eb 05 e8 bd 9b e0 df 48 89
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184639] RIP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm] RSP: ffffc90001993e08
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.184661] CR2: fffffffffffffff0
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.187978] ---[ end trace cfd9b650c96312be ]---
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.187981] Kernel panic - not syncing: Fatal exception
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.188015] Kernel Offset: disabled
set 26 11:56:13 arch_ups netconsole.sh[222]: [  316.188029] Rebooting in 120 seconds..
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395381] BUG: unable to handle kernel paging request at fffffffffffffff0
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395416] IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395436] PGD 1a0c067
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395436] PUD 1a0e067
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395447] PMD 0
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395457]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395475] Oops: 0000 [#1] PREEMPT SMP
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395488] Modules linked in: md4 xt_CHECKSUM iptable_mangle xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c crc32c_generic msr netconsole ctr tun r8169 nls_utf8 cifs ccm dns_resolver nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) nct6775 hwmon_vid arc4 rtl8187 mac80211 cfg80211 eeprom_93cx6 input_leds mousedev snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi kvm eeepc_wmi snd_hda_intel asus_wmi sparse_keymap rfkill irqbypass iTCO_wdt snd_hda_codec snd_hda_core iTCO_vendor_support
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395662]  led_class mxm_wmi crct10dif_pclmul snd_hwdep crc32_pclmul crc32c_intel snd_pcm ghash_clmulni_intel evdev pcbc aesni_intel mac_hid aes_x86_64 crypto_simd snd_timer snd soundcore glue_helper cryptd mei_me shpchp mii lpc_ich intel_cstate i2c_i801 mei intel_rapl_perf i915 intel_gtt i2c_algo_bit wmi fan thermal battery tpm_infineon tpm_tis tpm_tis_core tpm acpi_pad button video pci_stub ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt fb_sys_fops fuse sg ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache hid_generic usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl nfs lockd grace sr_mod cdrom sunrpc fscache sd_mod ahci libahci libata scsi_mod [last unloaded: vboxdrv]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395828] CPU: 0 PID: 25911 Comm: kworker/0:2 Tainted: P           O    4.11.9-1-ARCH #1
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395850] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395877] Workqueue: events nvkms_workqueue_callback [nvidia_modeset]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395896] task: ffff88040666b800 task.stack: ffffc90009de4000
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395915] RIP: 0010:nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395934] RSP: 0018:ffffc90009de7e08 EFLAGS: 00010286
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395950] RAX: fffffffffffffff0 RBX: ffff8802c3bbe600 RCX: 0000000000000006
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395969] RDX: ffff8802bde91200 RSI: ffff8802bde91200 RDI: ffff88041aa35880
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.395987] RBP: ffffc90009de7e18 R08: 0000000000000000 R09: 0000000000000002
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396006] R10: ffffc90009de7e08 R11: 0000000000000186 R12: ffff8802bde91200
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396026] R13: ffff88042fa1b800 R14: 0000000000000000 R15: ffff88042fa17900
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396045] FS:  0000000000000000(0000) GS:ffff88042fa00000(0000) knlGS:0000000000000000
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396067] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396083] CR2: fffffffffffffff0 CR3: 0000000001a09000 CR4: 00000000001406f0
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396102] Call Trace:
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396122]  nvidia_drm_gem_prime_fence_event+0x2d/0x40 [nvidia_drm]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396145]  nvkms_workqueue_callback+0x74/0xd0 [nvidia_modeset]
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396165]  process_one_work+0x1e0/0x490
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396179]  worker_thread+0x48/0x4e0
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396193]  kthread+0x125/0x140
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396206]  ? process_one_work+0x490/0x490
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396221]  ? kthread_create_on_node+0x70/0x70
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396237]  ret_from_fork+0x25/0x30
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396250] Code: c0 74 08 48 89 df e8 40 0d d0 e0 48 83 c4 08 5b 5d c3 48 8b 53 70 8b 4b 40 48 8b 82 80 01 00 00 48 c1 e0 04 48 03 82 90 01 00 00 <39> 08 72 dc 48 8b 43 48 a8 01 74 8e eb 05 e8 bd 0b d0 e0 48 89
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396313] RIP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm] RSP: ffffc90009de7e08
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.396336] CR2: fffffffffffffff0
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.399759] ---[ end trace 39b5354b4eb46176 ]---
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.399762] Kernel panic - not syncing: Fatal exception
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.399794] Kernel Offset: disabled
set 26 15:47:07 arch_ups netconsole.sh[222]: [ 1359.399808] Rebooting in 120 seconds..
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732154] BUG: unable to handle kernel paging request at fffffffffffffff0
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732187] IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732207] PGD 1a0c067
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732208] PUD 1a0e067
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732219] PMD 0
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732229]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732247] Oops: 0000 [#1] PREEMPT SMP
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732261] Modules linked in: nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) msr md4 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c crc32c_generic ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ctr tun netconsole r8169 nls_utf8 cifs ccm dns_resolver nct6775 hwmon_vid arc4 rtl8187 mousedev mac80211 cfg80211 eeprom_93cx6 input_leds intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic kvm pci_stub snd_hda_intel snd_hda_codec crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel eeepc_wmi
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732442]  snd_hda_core pcbc evdev asus_wmi aesni_intel mac_hid iTCO_wdt sparse_keymap mxm_wmi iTCO_vendor_support snd_hwdep aes_x86_64 crypto_simd glue_helper cryptd intel_cstate rfkill led_class snd_pcm intel_rapl_perf mii ttm i915 drm_kms_helper drm intel_gtt syscopyarea sysfillrect snd_timer sysimgblt thermal fan acpi_pad battery snd mei_me soundcore video tpm_infineon button fb_sys_fops shpchp mei i2c_algo_bit lpc_ich i2c_i801 wmi tpm_tis tpm_tis_core tpm fuse sg ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache hid_generic usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio irqbypass vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl nfs lockd grace sunrpc sr_mod cdrom fscache sd_mod ahci libahci libata scsi_mod [last unloaded: vfio_pci]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732622] CPU: 0 PID: 29219 Comm: kworker/0:2 Tainted: P        W  O    4.11.9-1-ARCH #1
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732645] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732673] Workqueue: events nvkms_workqueue_callback [nvidia_modeset]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732693] task: ffff88041be8aa00 task.stack: ffffc900023f4000
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732712] RIP: 0010:nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732733] RSP: 0018:ffffc900023f7e08 EFLAGS: 00010286
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732750] RAX: fffffffffffffff0 RBX: ffff8803e3aee380 RCX: 00000000000004d8
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732770] RDX: ffff8803dcc9b800 RSI: ffff8803dcc9b800 RDI: ffff88040ffb0d80
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732790] RBP: ffffc900023f7e18 R08: 0000000000000000 R09: 0000000000000002
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732810] R10: ffffc900023f7e08 R11: 0000000000000063 R12: ffff8803dcc9b800
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732830] R13: ffff88042fa1b800 R14: 0000000000000000 R15: ffff88042fa17900
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732852] FS:  0000000000000000(0000) GS:ffff88042fa00000(0000) knlGS:0000000000000000
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732875] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732892] CR2: fffffffffffffff0 CR3: 0000000001a09000 CR4: 00000000001406f0
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732912] Call Trace:
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732925]  nvidia_drm_gem_prime_fence_event+0x2d/0x40 [nvidia_drm]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732950]  nvkms_workqueue_callback+0x74/0xd0 [nvidia_modeset]
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732970]  process_one_work+0x1e0/0x490
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732985]  worker_thread+0x48/0x4e0
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.732999]  kthread+0x125/0x140
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733012]  ? process_one_work+0x490/0x490
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733027]  ? kthread_create_on_node+0x70/0x70
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733044]  ret_from_fork+0x25/0x30
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733057] Code: c0 74 08 48 89 df e8 40 9d 2f e1 48 83 c4 08 5b 5d c3 48 8b 53 70 8b 4b 40 48 8b 82 80 01 00 00 48 c1 e0 04 48 03 82 90 01 00 00 <39> 08 72 dc 48 8b 43 48 a8 01 74 8e eb 05 e8 bd 9b 2f e1 48 89
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733121] RIP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm] RSP: ffffc900023f7e08
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.733144] CR2: fffffffffffffff0
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.736418] ---[ end trace 3caf6451cfb41a7d ]---
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.736420] Kernel panic - not syncing: Fatal exception
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.736454] Kernel Offset: disabled
set 27 13:11:52 arch_ups netconsole.sh[222]: [73493.736468] Rebooting in 120 seconds..
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944355] BUG: unable to handle kernel paging request at fffffffffffffff0
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944388] IP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944407] PGD 1a0c067
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944407] PUD 1a0e067
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944418] PMD 0
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944428]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944445] Oops: 0000 [#1] PREEMPT SMP
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944459] Modules linked in: udf crc_itu_t nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) msr xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c crc32c_generic ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ctr ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter tun md4 netconsole nct6775 hwmon_vid nls_utf8 cifs ccm dns_resolver r8169 arc4 rtl8187 mac80211 cfg80211 eeprom_93cx6 input_leds mousedev snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel eeepc_wmi asus_wmi sparse_keymap intel_rapl iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp evdev coretemp rfkill mac_hid led_class
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944631]  mxm_wmi kvm_intel kvm snd_hda_codec crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel snd_hda_core pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf mii fan snd_hwdep i915 snd_pcm thermal tpm_infineon lpc_ich acpi_pad battery mei_me mei video i2c_i801 snd_timer snd soundcore button shpchp intel_gtt i2c_algo_bit wmi tpm_tis tpm_tis_core tpm pci_stub ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt fb_sys_fops fuse sg ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache hid_generic usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio irqbypass vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl nfs lockd grace sunrpc sr_mod fscache cdrom sd_mod ahci libahci libata scsi_mod [last unloaded: vfio_pci]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944805] CPU: 0 PID: 13721 Comm: kworker/0:1 Tainted: P           O    4.11.9-1-ARCH #1
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944827] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944856] Workqueue: events nvkms_workqueue_callback [nvidia_modeset]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944875] task: ffff8804096f8000 task.stack: ffffc9000b60c000
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944894] RIP: 0010:nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944915] RSP: 0000:ffffc9000b60fe08 EFLAGS: 00010286
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944931] RAX: fffffffffffffff0 RBX: ffff88041a636280 RCX: 000000000003b51e
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944951] RDX: ffff88033c412800 RSI: ffff88033c412800 RDI: ffff88041a50ec00
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944970] RBP: ffffc9000b60fe18 R08: 0000000000000000 R09: 0000000000000002
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.944990] R10: ffffc9000b60fe08 R11: 0000000000000000 R12: ffff88033c412800
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945010] R13: ffff88042fa1b800 R14: 0000000000000000 R15: ffff88042fa17900
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945030] FS:  0000000000000000(0000) GS:ffff88042fa00000(0000) knlGS:0000000000000000
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945053] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945070] CR2: fffffffffffffff0 CR3: 00000003650f9000 CR4: 00000000001406f0
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945090] Call Trace:
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945102]  nvidia_drm_gem_prime_fence_event+0x2d/0x40 [nvidia_drm]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945125]  nvkms_workqueue_callback+0x74/0xd0 [nvidia_modeset]
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945144]  process_one_work+0x1e0/0x490
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945159]  worker_thread+0x48/0x4e0
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945172]  kthread+0x125/0x140
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945184]  ? process_one_work+0x490/0x490
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945199]  ? kthread_create_on_node+0x70/0x70
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945214]  ret_from_fork+0x25/0x30
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945227] Code: c0 74 08 48 89 df e8 40 7d 2f e1 48 83 c4 08 5b 5d c3 48 8b 53 70 8b 4b 40 48 8b 82 80 01 00 00 48 c1 e0 04 48 03 82 90 01 00 00 <39> 08 72 dc 48 8b 43 48 a8 01 74 8e eb 05 e8 bd 7b 2f e1 48 89
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945290] RIP: nvidia_drm_gem_prime_fence_signal+0xa0/0x100 [nvidia_drm] RSP: ffffc9000b60fe08
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.945312] CR2: fffffffffffffff0
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.948696] ---[ end trace 032a666ab523ca24 ]---
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.948698] Kernel panic - not syncing: Fatal exception
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.948717] Kernel Offset: disabled
set 29 13:08:14 arch_ups netconsole.sh[222]: [172476.948731] Rebooting in 120 seconds..

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

I updated kernel to 4.13.4 and nvidia drivers to 387.12
Had just another crash, but this time the kernel message is a bit different:

ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.086872] [drm:nvidia_drm_fence_context_create [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate fence signaling event
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.086889] [drm:nvidia_drm_fence_context_create [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to import fence semaphore surface
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.086919] BUG: unable to handle kernel NULL pointer dereference at 00000000000008f8
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087108] IP: _nv007418rm+0x4b/0x280 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087123] PGD 0
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087123] P4D 0
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087132]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087150] Oops: 0000 [#1] PREEMPT SMP
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087164] Modules linked in: ctr md4 xt_CHECKSUM iptable_mangle xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter devlink vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c crc32c_generic tun netconsole nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) nls_utf8 cifs ccm dns_resolver msr nct6775 hwmon_vid arc4 rtl8187 eeprom_93cx6 mac80211 input_leds mousedev cfg80211 hid_generic pci_stub r8169 snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel vboxvideo(C) ttm kvm evdev mac_hid iTCO_wdt mei_me mei i915 snd_hda_codec_realtek snd_hda_codec_generic iTCO_vendor_support
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087341]  mii eeepc_wmi asus_wmi sparse_keymap rfkill led_class wmi_bmof mxm_wmi snd_hda_intel crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc tpm_infineon tpm_tis snd_hda_codec aesni_intel aes_x86_64 crypto_simd glue_helper drm_kms_helper cryptd drm intel_cstate intel_rapl_perf intel_gtt syscopyarea tpm_tis_core sysfillrect sysimgblt tpm fb_sys_fops snd_hda_core snd_hwdep snd_pcm i2c_algo_bit fan snd_timer snd soundcore thermal acpi_pad battery button i2c_i801 lpc_ich video shpchp wmi fuse sg crypto_user ip_tables x_tables ext4 crc16 mbcache jbd2 fscrypto usbhid hid uas usb_storage ehci_pci ehci_hcd usbcore usb_common serio irqbypass vfio_virqfd vfio_iommu_type1 vfio nfsv3 nfs_acl nfs lockd grace sr_mod cdrom sunrpc fscache sd_mod ahci libahci libata scsi_mod [last unloaded: vboxdrv]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087528] CPU: 0 PID: 22532 Comm: Xorg Tainted: P         C O    4.13.4-1-ARCH #1
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087549] Hardware name: ASUS All Series/Z97-K, BIOS 2604 05/20/2015
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087568] task: ffff9ddb5d632d00 task.stack: ffffb46fc18e0000
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087731] RIP: 0010:_nv007418rm+0x4b/0x280 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087748] RSP: 0018:ffffb46fc18e3a40 EFLAGS: 00010202
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087764] RAX: 0000000000000002 RBX: ffff9ddae9b50b48 RCX: 0000000000020000
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087784] RDX: 0000000000000001 RSI: ffff9ddb28c42988 RDI: 00000000000004a0
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087804] RBP: ffff9ddb28c42940 R08: ffff9ddb5be633c8 R09: ffff9ddb28c42978
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087825] R10: 0000000059dc757a R11: 0000000000000000 R12: ffff9ddb28c42c78
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087845] R13: 00000000000004a0 R14: ffff9ddb3e03ac30 R15: 0000000000000063
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087865] FS:  00007f580d7cf940(0000) GS:ffff9ddb6fa00000(0000) knlGS:0000000000000000
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087888] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087904] CR2: 00000000000008f8 CR3: 0000000408cc0000 CR4: 00000000001406f0
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.087925] Call Trace:
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088084]  ? _nv030238rm+0x1c/0x30 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088212]  ? _nv007829rm+0x2e/0x60 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088339]  ? _nv033643rm+0x59f/0x1140 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088471]  ? _nv003407rm+0x32/0x60 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088583]  ? _nv004884rm+0x4b/0x80 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088695]  ? _nv003722rm+0x107/0x170 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088809]  ? _nv001091rm+0x4d/0xa0 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.088921]  ? _nv005460rm+0x25c/0x350 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089033]  ? _nv010676rm+0x28/0x40 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089145]  ? _nv032945rm+0xba/0xe0 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089258]  ? _nv007799rm+0x241/0x4b0 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089371]  ? _nv007791rm+0x39/0x200 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089509]  ? _nv007788rm+0x168/0x290 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089623]  ? _nv031839rm+0x2b/0x70 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089736]  ? _nv000205rm+0x43/0x90 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089850]  ? _nv007832rm+0x95/0x160 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.089964]  ? _nv007050rm+0xd5/0x150 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090077]  ? _nv001311rm+0x132/0x260 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090191]  ? _nv006998rm+0x141/0x150 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090309]  ? _nv001193rm+0x4b0/0x830 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090430]  ? rm_ioctl+0x73/0x100 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090446]  ? check_stack_object+0x71/0x90
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090508]  ? nvidia_ioctl+0x1a1/0x5e0 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090570]  ? nvidia_frontend_unlocked_ioctl+0x40/0x50 [nvidia]
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090657]  ? do_vfs_ioctl+0xa5/0x600
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090670]  ? handle_mm_fault+0xb7/0x200
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090684]  ? __fget+0x6e/0x90
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090695]  ? SyS_ioctl+0x79/0x90
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.090709]  ? entry_SYSCALL_64_fastpath+0x1a/0xa5
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.091551] Code: 45 00 01 0f 84 dc 01 00 00 48 83 7d 20 00 0f 84 35 01 00 00 48 83 7d 28 00 0f 84 a1 01 00 00 48 8b 45 18 48 c1 e8 10 48 89 45 10 <41> 80 bd 58 04 00 00 00 0f 85 ca 00 00 00 49 8b 7d 00 45 31 ff
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.093428] RIP: _nv007418rm+0x4b/0x280 [nvidia] RSP: ffffb46fc18e3a40
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.094292] CR2: 00000000000008f8
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.098353] ---[ end trace 2a6e3edf6c83f7b3 ]---
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.098355] Kernel panic - not syncing: Fatal exception
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.099243] Kernel Offset: 0x3000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
ott 10 09:23:38 arch_ups netconsole.sh[216]: [59064.100172] Rebooting in 120 seconds..

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

An update, with the following configuration:
linux 4.13.9-1
nvidia-dkms 387.22-3
xorg-server 1.19.5-1

I can finally switch prime synchronization via:

xrandr --output $OUTPUT --set "PRIME Synchronization"

The kernel does not crash badly as before anymore, or at least it seems so.

However, the following:

xrandr --output DVI-D-0 --mode 1280x1024 --scale-from 1350x1080 --refresh 75 ; __GL_FSAA_MODE=1 LC_ALL=en_US $GAMEEXECUTABLE

While in he past leaded to kernel crash, now leads to xorg crash, with subsequent:
https://devtalk.nvidia.com/default/topic/1024982/linux/387-12-drm-nvidia_drm_gem_fence_attach-nvidia_drm-error-nvidia-drm-gpu-id-0x00000100-failed-to-l-/

I think transforms like scaling are not yet implemented in the xserver. Aaron Plattner explained this in a thread somewhere in this forum.

Rolling back to previous stable driver makes them work, so it is “just” a bug.
Also it does not happens every single time; basic resize transformations worked form me since years.

Interesting to know, since e.g. --scale 2x2 didn’t work so far.