Bug 29606 - nouveau driver crashes when launching KDE
Summary: nouveau driver crashes when launching KDE
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-29 23:56 CEST by Bruno Cornec
Modified: 2021-10-30 14:35 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Bruno Cornec 2021-10-29 23:56:27 CEST
Description of problem:

Since some upgrades of mga8, KDE doesn't launch anymore, and I get a black screen with some KDE logo. Apps are running on the machine, but the Xorg server appears frozen. Unable to go to a terminal with CTRL-ALt-F2...

On the same system, LXDE works fine.

The culprit seems to be the nouveau driver as reported by this syslog entry:

Oct 29 22:58:13 victoria2 kernel: [  191.449672] nouveau 0000:05:00.0: gr: TRAP_CCACHE 00000001 [FAULT]
Oct 29 22:58:13 victoria2 kernel: [  191.449683] nouveau 0000:05:00.0: gr: TRAP_CCACHE 00000080 00000000 00000000 00000000 00000000 00000004 00000000
Oct 29 22:58:13 victoria2 kernel: [  191.449687] nouveau 0000:05:00.0: gr: 00200000 [] ch 8 [001f258000 firefox[20630]] subc 3 class 8297 mthd 13bc data 00000054
Oct 29 22:58:13 victoria2 kernel: [  191.449696] nouveau 0000:05:00.0: fb: trapped read at 00201eff00 on channel 8 [1f258000 firefox[20630]] engine 00 [PGRAPH] client 05 [CCACHE] subclient 00 [CB] reason 00000000 [PT_NOT_PRESENT]
Oct 29 22:58:28 victoria2 mgaapplet[21810]: ### Program is starting ###
Oct 29 22:58:28 victoria2 net_applet[21813]: ### Program is starting ###
Oct 29 22:58:30 victoria2 kernel: [  206.442331] nouveau 0000:05:00.0: firefox[20630]: failed to idle channel 8 [firefox[20630]]
Oct 29 22:58:30 victoria2 kernel: [  208.442330] nouveau 0000:05:00.0: gr: PGRAPH TLB flush idle timeout fail
Oct 29 22:58:30 victoria2 kernel: [  208.442337] nouveau 0000:05:00.0: gr: PGRAPH_STATUS 00000503 [BUSY DISPATCH CTXPROG CCACHE_PREGEOM]
Oct 29 22:58:30 victoria2 kernel: [  208.442340] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS0: 00000008 [CCACHE]
Oct 29 22:58:30 victoria2 kernel: [  208.442342] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS1: 00000000 []
Oct 29 22:58:30 victoria2 kernel: [  208.442344] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS2: 00000000 []
Oct 29 22:58:47 victoria2 kernel: [  223.442499] nouveau 0000:05:00.0: firefox[20630]: failed to idle channel 8 [firefox[20630]]
Oct 29 22:58:47 victoria2 kernel: [  225.442491] nouveau 0000:05:00.0: gr: PGRAPH TLB flush idle timeout fail
Oct 29 22:58:47 victoria2 kernel: [  225.442497] nouveau 0000:05:00.0: gr: PGRAPH_STATUS 00000503 [BUSY DISPATCH CTXPROG CCACHE_PREGEOM]
Oct 29 22:58:47 victoria2 kernel: [  225.442499] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS0: 00000008 [CCACHE]
Oct 29 22:58:47 victoria2 kernel: [  225.442501] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS1: 00000000 []
Oct 29 22:58:47 victoria2 kernel: [  225.442503] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS2: 00000000 []
Oct 29 22:58:49 victoria2 kernel: [  227.442603] nouveau 0000:05:00.0: gr: PGRAPH TLB flush idle timeout fail
Oct 29 22:58:49 victoria2 kernel: [  227.442609] nouveau 0000:05:00.0: gr: PGRAPH_STATUS 00000503 [BUSY DISPATCH CTXPROG CCACHE_PREGEOM]
Oct 29 22:58:49 victoria2 kernel: [  227.442612] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS0: 00000008 [CCACHE]
Oct 29 22:58:49 victoria2 kernel: [  227.442614] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS1: 00000000 []
Oct 29 22:58:49 victoria2 kernel: [  227.442615] nouveau 0000:05:00.0: gr: PGRAPH_VSTATUS2: 00000000 []
Oct 29 22:58:51 victoria2 kernel: [  229.482473] ------------[ cut here ]------------
Oct 29 22:58:51 victoria2 kernel: [  229.482482] nouveau 0000:05:00.0: timeout
Oct 29 22:58:51 victoria2 kernel: [  229.482578] WARNING: CPU: 9 PID: 20720 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c:108 g84_fifo_chan_engine_fini+0x299/0x300 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482579] Modules linked in: xfrm_user br_netfilter aufs xt_CHECKSUM ip6_tables bridge stp llc xt_recent ipt_IFWLOG ipt_psd xt_set ip_set_hash_ip ip_set ipt_REJECT nf_reject_ipv4 xt_multiport xt_conntrack xt_hashlimit xt_addrtype xt_mark iptable_mangle xt_MASQUERADE xt_CT xt_tcpudp iptable_raw nfnetlink_log xt_NFLOG nf_log_ipv4 nf_log_common xt_LOG nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nfnetlink nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter ipcomp xfrm_ipcomp ah4 esp4 xfrm_algo af_packet cfg80211 rfkill msr snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation snd_soc_core uvcvideo
Oct 29 22:58:51 victoria2 kernel: [  229.482611]  snd_compress videobuf2_vmalloc videobuf2_memops snd_pcm_dmaengine videobuf2_v4l2 videobuf2_common snd_usb_audio soundwire_cadence snd_hda_codec videodev intel_powerclamp snd_usbmidi_lib snd_rawmidi snd_hda_core coretemp iTCO_wdt snd_seq_device intel_cstate raid1 gpio_ich iTCO_vendor_support mc joydev ac97_bus snd_hwdep snd_pcm intel_uncore r8169 via82cxxx snd_timer ide_pci_generic realtek snd ide_core mdio_devres libphy i2c_i801 soundcore input_leds lpc_ich i2c_smbus i7core_edac i5500_temp cuse acpi_cpufreq evdev kvm_intel nfsd sch_fq_codel kvm auth_rpcgss nfs_acl lockd grace irqbypass binfmt_misc sunrpc fuse configfs nfs_ssc ip_tables x_tables ipv6 crc_ccitt autofs4 hid_jabra sr_mod hid_generic usbhid hid uhci_hcd crc32_pclmul crc32c_intel ehci_pci ghash_clmulni_intel ehci_hcd aesni_intel ata_generic pata_acpi crypto_simd cryptd ata_piix usbcore firewire_ohci serio_raw firewire_core pata_via crc_itu_t usb_common nouveau i2c_algo_bit video ttm drm_kms_helper cec mxm_wmi drm
Oct 29 22:58:51 victoria2 kernel: [  229.482651]  wmi button
Oct 29 22:58:51 victoria2 kernel: [  229.482655] CPU: 9 PID: 20720 Comm: firefox:disk$0 Tainted: G          I       5.10.75-server-1.mga8 #1
Oct 29 22:58:51 victoria2 kernel: [  229.482656] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X58 Extreme, BIOS P2.90 04/25/2011
Oct 29 22:58:51 victoria2 kernel: [  229.482690] RIP: 0010:g84_fifo_chan_engine_fini+0x299/0x300 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482693] Code: 10 48 8b 78 10 48 8b 57 50 48 85 d2 74 5c 48 89 14 24 e8 0a e3 4e e1 48 8b 14 24 48 c7 c7 e0 7b 33 c0 48 89 c6 e8 bb ed 78 e1 <0f> 0b 48 8b 73 78 44 89 f7 48 81 c6 20 25 00 00 e8 02 c2 32 e1 41
Oct 29 22:58:51 victoria2 kernel: [  229.482694] RSP: 0018:ffffa80b022f7a10 EFLAGS: 00010282
Oct 29 22:58:51 victoria2 kernel: [  229.482696] RAX: 0000000000000000 RBX: ffff98e084303800 RCX: ffff98e59ba58b28
Oct 29 22:58:51 victoria2 kernel: [  229.482697] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff98e59ba58b20
Oct 29 22:58:51 victoria2 kernel: [  229.482698] RBP: ffff98e099e8a008 R08: 0000000000000000 R09: ffffa80b022f7848
Oct 29 22:58:51 victoria2 kernel: [  229.482699] R10: ffffa80b022f7840 R11: ffffffffa26c4028 R12: 0000000000000020
Oct 29 22:58:51 victoria2 kernel: [  229.482700] R13: 0000000000000000 R14: 00000000003b003b R15: ffff98e084307000
Oct 29 22:58:51 victoria2 kernel: [  229.482702] FS:  00007f576eeff640(0000) GS:ffff98e59ba40000(0000) knlGS:0000000000000000
Oct 29 22:58:51 victoria2 kernel: [  229.482703] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 29 22:58:51 victoria2 kernel: [  229.482704] CR2: 00007f42d8004c10 CR3: 000000004a60a006 CR4: 00000000000206e0
Oct 29 22:58:51 victoria2 kernel: [  229.482705] Call Trace:
Oct 29 22:58:51 victoria2 kernel: [  229.482743]  nvkm_fifo_chan_child_fini+0x62/0xe0 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482766]  nvkm_oproxy_fini+0x2c/0x90 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482788]  nvkm_object_fini+0xbc/0x150 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482809]  nvkm_object_fini+0x73/0x150 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482831]  nvkm_ioctl_del+0x2f/0x50 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482852]  nvkm_ioctl+0xe1/0x180 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482872]  nvif_object_dtor+0x5a/0x80 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482905]  nouveau_channel_del+0x92/0x120 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482938]  nouveau_abi16_chan_fini.constprop.0+0x10b/0x190 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.482971]  nouveau_abi16_fini+0x2e/0x60 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.483005]  nouveau_drm_postclose+0x4c/0xd0 [nouveau]
Oct 29 22:58:51 victoria2 kernel: [  229.483027]  drm_file_free.part.0+0x211/0x2d0 [drm]
Oct 29 22:58:51 victoria2 kernel: [  229.483037]  drm_release+0x65/0xd0 [drm]
Oct 29 22:58:51 victoria2 kernel: [  229.483040]  __fput+0x8e/0x230
Oct 29 22:58:51 victoria2 kernel: [  229.483043]  task_work_run+0x62/0x90
Oct 29 22:58:51 victoria2 kernel: [  229.483046]  do_exit+0x35a/0xa20
Oct 29 22:58:51 victoria2 kernel: [  229.483048]  do_group_exit+0x33/0xa0
Oct 29 22:58:51 victoria2 kernel: [  229.483050]  get_signal+0x156/0x870
Oct 29 22:58:51 victoria2 kernel: [  229.483053]  ? update_load_avg+0x78/0x5a0
Oct 29 22:58:51 victoria2 kernel: [  229.483056]  arch_do_signal+0x30/0x7f0
Oct 29 22:58:51 victoria2 kernel: [  229.483058]  ? set_next_task_fair+0x6e/0xb0
Oct 29 22:58:51 victoria2 kernel: [  229.483060]  ? __check_object_size+0x46/0x150
Oct 29 22:58:51 victoria2 kernel: [  229.483064]  ? __x64_sys_futex+0x146/0x1c0
Oct 29 22:58:51 victoria2 kernel: [  229.483066]  exit_to_user_mode_prepare+0xd7/0x120
Oct 29 22:58:51 victoria2 kernel: [  229.483070]  syscall_exit_to_user_mode+0x2d/0x190
Oct 29 22:58:51 victoria2 kernel: [  229.483072]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 29 22:58:51 victoria2 kernel: [  229.483074] RIP: 0033:0x7f576f6a586a
Oct 29 22:58:51 victoria2 kernel: [  229.483075] Code: Unable to access opcode bytes at RIP 0x7f576f6a5840.
Oct 29 22:58:51 victoria2 kernel: [  229.483076] RSP: 002b:00007f576eefebc0 EFLAGS: 00000282 ORIG_RAX: 00000000000000ca
Oct 29 22:58:51 victoria2 kernel: [  229.483078] RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 00007f576f6a586a
Oct 29 22:58:51 victoria2 kernel: [  229.483079] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f576ef1dcc8
Oct 29 22:58:51 victoria2 kernel: [  229.483080] RBP: 00007f576ef1dca0 R08: 0000000000000000 R09: 0000000000000000
Oct 29 22:58:51 victoria2 kernel: [  229.483081] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
Oct 29 22:58:51 victoria2 kernel: [  229.483082] R13: 00007f576ef1dc78 R14: 00007f576ef1dcc8 R15: 00007f576eefebf0
Oct 29 22:58:51 victoria2 kernel: [  229.483085] ---[ end trace 18c3a928eb389c08 ]---
Oct 29 22:58:51 victoria2 kernel: [  229.483088] nouveau 0000:05:00.0: fifo: channel 8 [firefox[20630]] unload timeout


$ rpm -aq | grep nouveau
lib64vdpau-driver-nouveau-21.2.4-2.mga8
x11-driver-video-nouveau-1.0.17-1.mga8
lib64drm_nouveau2-2.4.107-3.mga8
libdrm_nouveau2-2.4.107-3.mga8
Comment 1 Marja Van Waes 2021-10-30 14:35:47 CEST
(In reply to Bruno Cornec from comment #0)
> Description of problem:
> 
> Since some upgrades of mga8, KDE doesn't launch anymore, and I get a black
> screen with some KDE logo. Apps are running on the machine, but the Xorg
> server appears frozen. Unable to go to a terminal with CTRL-ALt-F2...
> 
> On the same system, LXDE works fine.
> 
> The culprit seems to be the nouveau driver as reported by this syslog entry:
> 
Assigning to the kernel and driver maintainers. CC'ing KDE team

CC: (none) => kde, marja11
Assignee: bugsquad => kernel


Note You need to log in before you can comment on or make changes to this bug.