temporary freeze under opengl, not xrender, 18.10 & kernel 4.20

Bug #1811159 reported by Harry Coin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Several times an hour, usually when switching focus from one window to another, all but the mouse will stop changing for a few seconds to a minute or so. If a video is playing the sound will proceed as if normal but the screen will not change. The shape of the mouse will not change.

This is with stock ubuntu 18.10 under opengl with nouveau and i915 drivers active (xrandr). I tried using the latest possible ubuntu-compiled kernel, 4.20 with exactly the same results. This did not happen before sometime after the cosmic native initial install. When I change kde to 'xrender' -- the problem disappears.

The oft reported dmesg content is:

[83492.038575] WARNING: CPU: 2 PID: 2114 at drivers/gpu/drm/nouveau/nvif/vmm.c:71 nvif_vmm_put+0x6d/0x80 [nouveau]
[83492.038576] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache rfcomm ebtable_filter ebtables ip6table_filter ip6_tables devlink iptable_filter bpfilter cmac bnep bridge stp llc snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel kvmgt vfio_mdev crct10dif_pclmul crc32_pclmul nouveau mdev vfio_iommu_type1 ghash_clmulni_intel vfio aesni_intel kvm aes_x86_64 crypto_simd snd_hda_codec_hdmi cryptd uvcvideo ttm glue_helper videobuf2_vmalloc snd_hda_intel irqbypass videobuf2_memops btusb intel_cstate drm_kms_helper snd_hda_codec snd_usb_audio videobuf2_v4l2 btrtl dell_wmi videobuf2_common dell_smbios btbcm snd_seq_dummy intel_rapl_perf btintel sparse_keymap drm dcdbas videodev dell_wmi_descriptor snd_seq_oss snd_usbmidi_lib snd_hda_core mxm_wmi media joydev input_leds 8250_dw wmi_bmof snd_seq_midi snd_hwdep snd_seq_midi_event bluetooth snd_pcm snd_rawmidi mei_me idma64 snd_seq snd_seq_device i2c_algo_bit
[83492.038598] mei fb_sys_fops syscopyarea sysfillrect mac_hid virt_dma ecdh_generic sysimgblt snd_timer snd soundcore acpi_pad sch_fq_codel parport_pc ppdev lp sunrpc parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c hid_generic usbhid uas hid usb_storage alx i2c_i801 ahci mdio intel_lpss_pci libahci intel_lpss wmi pinctrl_sunrisepoint video pinctrl_intel
[83492.038611] CPU: 2 PID: 2114 Comm: Xorg Not tainted 4.20.0-042000-generic #201812232030
[83492.038611] Hardware name: Dell Inc. XPS 8910/0WPMFG, BIOS 1.1.7 07/17/2018
[83492.038625] RIP: 0010:nvif_vmm_put+0x6d/0x80 [nouveau]
[83492.038626] Code: 00 00 48 8d 55 e0 be 02 00 00 00 48 c7 45 e0 00 00 00 00 48 89 45 e8 e8 a1 e5 ff ff 85 c0 75 0a 48 c7 43 08 00 00 00 00 eb b7 <0f> 0b eb f2 e8 ba c3 7e cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
[83492.038627] RSP: 0018:ffffba4a0308fbc0 EFLAGS: 00010282
[83492.038628] RAX: 00000000fffffffe RBX: ffffba4a0308fbf0 RCX: 0000000000000000
[83492.038629] RDX: 0000000000000010 RSI: ffffba4a0308fb30 RDI: ffffba4a0308fbd0
[83492.038629] RBP: ffffba4a0308fbe0 R08: ffffffffc0d05b90 R09: 0000000000000000
[83492.038630] R10: ffff91cc290bd310 R11: 0000000000000030 R12: ffffba4a0308fc28
[83492.038630] R13: ffff91cc2bec60b0 R14: 0000000000000000 R15: ffff91cc290ba800
[83492.038631] FS: 00007f5a5f2f0a80(0000) GS:ffff91cc2ea80000(0000) knlGS:0000000000000000
[83492.038632] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[83492.038633] CR2: 00007f5a5800c000 CR3: 000000043f42e003 CR4: 00000000003606e0
[83492.038633] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[83492.038634] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[83492.038634] Call Trace:
[83492.038659] nouveau_vma_del+0x75/0xc0 [nouveau]
[83492.038682] nouveau_gem_object_close+0x1e0/0x1f0 [nouveau]
[83492.038692] drm_gem_object_release_handle+0x34/0xa0 [drm]
[83492.038698] drm_gem_handle_delete+0x61/0x90 [drm]
[83492.038703] ? drm_gem_handle_create+0x40/0x40 [drm]
[83492.038709] drm_gem_close_ioctl+0x25/0x30 [drm]
[83492.038715] drm_ioctl_kernel+0xad/0xf0 [drm]
[83492.038720] drm_ioctl+0x237/0x420 [drm]
[83492.038726] ? drm_gem_handle_create+0x40/0x40 [drm]
[83492.038728] ? do_iter_write+0xdd/0x190
[83492.038750] nouveau_drm_ioctl+0x73/0xc0 [nouveau]
[83492.038752] do_vfs_ioctl+0xa9/0x640
[83492.038754] ? __sys_recvmsg+0x88/0xa0
[83492.038755] ksys_ioctl+0x67/0x90
[83492.038756] __x64_sys_ioctl+0x1a/0x20
[83492.038758] do_syscall_64+0x5a/0x110
[83492.038759] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[83492.038760] RIP: 0033:0x7f5a606273c7
[83492.038761] Code: 00 00 90 48 8b 05 c9 3a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 99 3a 0d 00 f7 d8 64 89 01 48
[83492.038762] RSP: 002b:00007ffd2a2c6438 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[83492.038763] RAX: ffffffffffffffda RBX: 0000555e65a090c0 RCX: 00007f5a606273c7
[83492.038763] RDX: 00007ffd2a2c6470 RSI: 0000000040086409 RDI: 0000000000000012
[83492.038764] RBP: 00007ffd2a2c6470 R08: 0000555e64a01d78 R09: 0000000000000001
[83492.038764] R10: 0000000000000000 R11: 0000000000003246 R12: 0000000040086409
[83492.038765] R13: 0000000000000012 R14: 0000555e64a01d78 R15: 0000555e64e6f970
[83492.038766] ---[ end trace b258991726de021b ]---

The only other 'abnormalities' in the dmesg are:

Jan 8 14:07:59 ceo1homenx kernel: [ 25.399713] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 3e6684 [ IBUS ]
Jan 8 14:07:59 ceo1homenx kernel: [ 25.403269] [drm] failed to retrieve link info, disabling eDP
Jan 8 14:07:59 ceo1homenx kernel: [ 25.411183] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xorg 1:7.7+19ubuntu8
Uname: Linux 4.20.0-042000-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: KDE
Date: Wed Jan 9 16:09:04 2019
DistUpgraded: Fresh install
DistroCodename: cosmic
DistroVariant: ubuntu
ExtraDebuggingInterest: No
GraphicsCard:
 Subsystem: Dell HD Graphics 530 [1028:072a]
 NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:105f]
 NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ZOTAC International (MCO) Ltd. GK208B [GeForce GT 710] [19da:5360]
InstallationDate: Installed on 2018-10-08 (93 days ago)
InstallationMedia: Kubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20181007)
MachineType: Dell Inc. XPS 8910
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.20.0-042000-generic root=UUID=a1f4f4a2-97c0-42a4-a4f7-a5c163e22d3e ro rootflags=subvol=@ intel_iommu=on
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/17/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.7
dmi.board.asset.tag: qfllcceo1
dmi.board.name: 0WPMFG
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.asset.tag: qfllcceo1
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvr1.1.7:bd07/17/2018:svnDellInc.:pnXPS8910:pvr1.1.7:rvnDellInc.:rn0WPMFG:rvrA00:cvnDellInc.:ct3:cvrNotSpecified:
dmi.product.family: XPS
dmi.product.name: XPS 8910
dmi.product.sku: 072A
dmi.product.version: 1.1.7
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.95-1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.2-0ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.1-3ubuntu2.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-3

Revision history for this message
Harry Coin (hcoin) wrote :
Revision history for this message
Harry Coin (hcoin) wrote :

And... spoke too soon. It happens under xrender as well. Shorter freezes, frequency is the same.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears the nouveau kernel driver is crashing, which may well be the main problem here. And thanks for testing kernel 4.20 already.

As a workaround please try installing the official Nvidia driver.

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
affects: xorg-server (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Brad Figg (brad-figg)
tags: added: cscc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.