With the above patch, I still have the screen freeze but without Kernel oops.
I will compile and my own Linux Kernel 4.15 (18.04 LTS) for Ubuntu 20.04 (soon LTS) as Intel Graphics i915 is unusable on my Dell XPS 13 connected to external screen and XFCE4 i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} i915 0000:00:02.0: Resetting chip for hang on rcs0 [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} Asynchronous wait on fence i915:xfwm4[1901]:57922 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:57922 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Asynchronous wait on fence i915:xfwm4[1901]:57926 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:57926 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} i915 0000:00:02.0: Resetting chip for hang on rcs0 [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001} i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Asynchronous wait on fence i915:xfwm4[1901]:5792a timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:5792a timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... Asynchronous wait on fence i915:xfwm4[1901]:5792e timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:5792e timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for stuck wait on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Asynchronous wait on fence i915:xfwm4[1901]:57932 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:57932 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Asynchronous wait on fence i915:xfwm4[1901]:57936 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:57936 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 Asynchronous wait on fence i915:xfwm4[1901]:57938 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:57938 timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering. i915 0000:00:02.0: Resetting chip for hang on rcs0 ... Asynchronous wait on fence i915:xfwm4[1901]:5793a timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) Asynchronous wait on fence i915:xfwm4[1901]:5793a timed out (hint:intel_atomic_commit_ready+0x0/0x54 [i915]) i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 i915 0000:00:02.0: Resetting rcs0 for hang on rcs0 ... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1868551 Title: Screen freezes : NULL pointer dereference i915_active_acquire since Linux 5.4 Status in linux package in Ubuntu: Confirmed Bug description: uname -a Linux xps 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:47:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Focal Fossa (development branch) Release: 20.04 Codename: focal [ 2556.956079] BUG: kernel NULL pointer dereference, address: 0000000000000040 [ 2556.956084] #PF: supervisor read access in kernel mode [ 2556.956084] #PF: error_code(0x0000) - not-present page [ 2556.956085] PGD 0 P4D 0 [ 2556.956088] Oops: 0000 [#1] SMP NOPTI [ 2556.956090] CPU: 2 PID: 1685 Comm: xfwm4 Not tainted 5.4.0-14-generic #17-Ubuntu [ 2556.956092] Hardware name: Dell Inc. XPS 13 7390/0G2D0W, BIOS 1.2.0 10/03/2019 [ 2556.956161] RIP: 0010:i915_active_acquire+0xe/0x80 [i915] [ 2556.956163] Code: 00 48 c7 c6 11 4d 6b c0 e8 af a1 d6 c7 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 <8b> 47 38 48 89 fb 85 c0 74 17 8d 50 01 f0 0f b1 53 38 75 f2 45 31 [ 2556.956164] RSP: 0018:ffffac17c13279c8 EFLAGS: 00010286 [ 2556.956165] RAX: 0000000000000000 RBX: ffff983831d3e480 RCX: 0000000000000000 [ 2556.956166] RDX: ffff983783475200 RSI: ffff983831d3e480 RDI: 0000000000000008 [ 2556.956167] RBP: ffffac17c13279e0 R08: 0000000000000000 R09: ffff98382d6b6520 [ 2556.956168] R10: 0000000000006cc0 R11: ffff983838b4db00 R12: ffff983783475200 [ 2556.956169] R13: 0000000000000008 R14: ffff983783475200 R15: ffff98382d6b6400 [ 2556.956170] FS: 00007f9031c28f00(0000) GS:ffff98383e500000(0000) knlGS:0000000000000000 [ 2556.956171] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2556.956172] CR2: 0000000000000040 CR3: 000000046eac6001 CR4: 00000000003606e0 [ 2556.956173] Call Trace: [ 2556.956199] i915_active_ref+0x24/0x200 [i915] [ 2556.956223] i915_vma_move_to_active+0x74/0xf0 [i915] [ 2556.956245] eb_submit+0xff/0x440 [i915] [ 2556.956267] i915_gem_do_execbuffer+0x88e/0xc20 [i915] [ 2556.956271] ? sock_def_readable+0x40/0x70 [ 2556.956274] ? __kmalloc_node+0x205/0x320 [ 2556.956294] i915_gem_execbuffer2_ioctl+0x2c3/0x3d0 [i915] [ 2556.956314] ? i915_gem_execbuffer_ioctl+0x2d0/0x2d0 [i915] [ 2556.956330] drm_ioctl_kernel+0xae/0xf0 [drm] [ 2556.956338] drm_ioctl+0x234/0x3d0 [drm] [ 2556.956358] ? i915_gem_execbuffer_ioctl+0x2d0/0x2d0 [i915] [ 2556.956361] ? vfs_writev+0xc3/0xf0 [ 2556.956363] do_vfs_ioctl+0x407/0x670 [ 2556.956365] ? fput+0x13/0x15 [ 2556.956367] ? __sys_recvmsg+0x88/0xa0 [ 2556.956369] ksys_ioctl+0x67/0x90 [ 2556.956371] __x64_sys_ioctl+0x1a/0x20 [ 2556.956373] do_syscall_64+0x57/0x190 [ 2556.956376] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 2556.956377] RIP: 0033:0x7f9032b3f68b [ 2556.956379] Code: 0f 1e fa 48 8b 05 05 28 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d5 27 0d 00 f7 d8 64 89 01 48 [ 2556.956380] RSP: 002b:00007ffee39a0078 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2556.956381] RAX: ffffffffffffffda RBX: 000055a8abeb6e48 RCX: 00007f9032b3f68b [ 2556.956382] RDX: 00007ffee39a0090 RSI: 0000000040406469 RDI: 000000000000000d [ 2556.956382] RBP: 00007ffee39a0120 R08: 0000000000000001 R09: 0000000000000000 [ 2556.956383] R10: 00007ffee39a0140 R11: 0000000000000246 R12: 00007f9022a4f460 [ 2556.956384] R13: 0000000000000000 R14: 00007ffee39a0090 R15: 000000000000000d [ 2556.956385] Modules linked in: ccm rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat typec_displayport iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables cmac nfnetlink algif_hash ip6table_filter ip6_tables iptable_filter algif_skcipher af_alg bpfilter bridge stp llc snd_sof_pci snd_sof_intel_hda_common 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 snd_soc_acpi snd_hda_codec_hdmi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine bnep snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep snd_pcm nls_iso8859_1 mei_hdcp intel_rapl_msr snd_seq_midi snd_seq_midi_event dell_laptop ledtrig_audio snd_rawmidi x86_pkg_temp_thermal intel_powerclamp coretemp joydev kvm_intel kvm cdc_ether intel_cstate intel_rapl_perf snd_seq usbnet serio_raw iwlmvm r8152 [ 2556.956409] wmi_bmof mii mac80211 dell_wmi dell_smbios dcdbas snd_seq_device uvcvideo intel_wmi_thunderbolt dell_wmi_descriptor videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_timer libarc4 videobuf2_common snd videodev btusb input_leds hid_multitouch mc iwlwifi btrtl btbcm soundcore btintel bluetooth rtsx_pci_ms cfg80211 memstick ecdh_generic ecc mei_me mei processor_thermal_device intel_rapl_common ucsi_acpi intel_soc_dts_iosf typec_ucsi typec int3403_thermal int340x_thermal_zone mac_hid acpi_pad int3400_thermal acpi_tad acpi_thermal_rel intel_hid sparse_keymap sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 xfs btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt uas usb_storage usbhid hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rtsx_pci_sdmmc i915 psmouse i2c_i801 nvme i2c_algo_bit drm_kms_helper aesni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_simd intel_lpss_pci nvme_core cryptd thunderbolt intel_lpss glue_helper rtsx_pci [ 2556.956436] drm idma64 virt_dma wmi i2c_hid hid pinctrl_cannonlake pinctrl_intel video [ 2556.956441] CR2: 0000000000000040 [ 2556.956443] ---[ end trace de83f1a5004a6b5f ]--- [ 2556.956467] RIP: 0010:i915_active_acquire+0xe/0x80 [i915] [ 2556.956468] Code: 00 48 c7 c6 11 4d 6b c0 e8 af a1 d6 c7 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 <8b> 47 38 48 89 fb 85 c0 74 17 8d 50 01 f0 0f b1 53 38 75 f2 45 31 [ 2556.956469] RSP: 0018:ffffac17c13279c8 EFLAGS: 00010286 [ 2556.956470] RAX: 0000000000000000 RBX: ffff983831d3e480 RCX: 0000000000000000 [ 2556.956471] RDX: ffff983783475200 RSI: ffff983831d3e480 RDI: 0000000000000008 [ 2556.956472] RBP: ffffac17c13279e0 R08: 0000000000000000 R09: ffff98382d6b6520 [ 2556.956473] R10: 0000000000006cc0 R11: ffff983838b4db00 R12: ffff983783475200 [ 2556.956474] R13: 0000000000000008 R14: ffff983783475200 R15: ffff98382d6b6400 [ 2556.956475] FS: 00007f9031c28f00(0000) GS:ffff98383e500000(0000) knlGS:0000000000000000 [ 2556.956476] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2556.956477] CR2: 0000000000000040 CR3: 000000046eac6001 CR4: 00000000003606e0 [ 2726.251982] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier off [ 2729.482616] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier on [ 2795.952106] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier off [ 2799.211692] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier on [ 2801.199389] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier off [ 2804.460009] r8152 4-1.3.2:1.0 enx4865ee114b7b: carrier on ubuntu-bug linux *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ..... *** Problem in linux-image-5.4.0-14-generic The problem cannot be reported: This is not an official Ubuntu package. Please remove any third party package and try again. Press any key to continue... apt show linux-image-5.4.0-14-generic Package: linux-image-5.4.0-14-generic Version: 5.4.0-14.17 Built-Using: linux-5.4 (= 5.4.0-14.17) Status: install ok installed Priority: optional Section: kernel Source: linux-signed-5.4 Maintainer: Canonical Kernel Team <kernel-t...@lists.ubuntu.com> Installed-Size: 11.6 MB Provides: aufs-dkms, fuse-module, ivtv-modules, kvm-api-4, linux-image, redhat-cluster-modules, spl-dkms, spl-modules, virtualbox-guest-dkms, virtualbox-guest-modules, zfs-dkms, zfs-modules Depends: kmod, linux-base (>= 4.5ubuntu1~16.04.1), linux-modules-5.4.0-14-generic Recommends: grub-pc | grub-efi-amd64 | grub-efi-ia32 | grub | lilo, initramfs-tools | linux-initramfs-tool Suggests: fdutils, linux-doc | linux-5.4-source-5.4.0, linux-5.4-tools, linux-headers-5.4.0-14-generic Conflicts: linux-image-unsigned-5.4.0-14-generic Download-Size: unknown APT-Manual-Installed: no APT-Sources: /var/lib/dpkg/status Description: Signed kernel image generic A kernel image for generic. This version of it is signed with Canonical's UEFI/Opal signing key. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu21 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: gbaconniere 1914 F.... pulseaudio CurrentDesktop: XFCE DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2019-11-19 (124 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20191119) MachineType: Dell Inc. XPS 13 7390 Package: linux (not installed) ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-18-generic root=UUID=d9356c11-56a5-478c-b853-283a48be11f8 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24 RelatedPackageVersions: linux-restricted-modules-5.4.0-18-generic N/A linux-backports-modules-5.4.0-18-generic N/A linux-firmware 1.187 Tags: focal Uname: Linux 5.4.0-18-generic x86_64 UnreportableReason: This report is about a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo _MarkForUpload: False dmi.bios.date: 10/03/2019 dmi.bios.vendor: Dell Inc. dmi.bios.version: 1.2.0 dmi.board.name: 0G2D0W dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 10 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr1.2.0:bd10/03/2019:svnDellInc.:pnXPS137390:pvr:rvnDellInc.:rn0G2D0W:rvrA00:cvnDellInc.:ct10:cvr: dmi.product.family: XPS dmi.product.name: XPS 13 7390 dmi.product.sku: 0962 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1868551/+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