• How to report a bug on nouveau/testing

    From Quentin Aymard@21:1/5 to All on Fri Oct 11 15:20:01 2024
    Hi,

    Since a few day I am unable to start any application using
    electron/chromium on my laptop. I am using Debian Testing, kernel 6.10.11-amd64. So far, I've tried quite a variety of apps :
    zulip-desktop, signal-desktop, VS Code / Codium, Biwarden Directory
    Connector, discord, etc, all are failing with the same symptoms : on
    app startup, the window is displayed blank, then crash.

    I was able to find this trace in logs (this was a zulip startup) :

    qay kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
    qay kernel: #PF: supervisor read access in kernel mode
    qay kernel: #PF: error_code(0x0000) - not-present page
    qay kernel: PGD 0 P4D 0
    qay kernel: Oops: Oops: 0000 [#3] PREEMPT SMP PTI
    qay kernel: CPU: 11 PID: 35515 Comm: zulip Tainted: G D
    6.10.11-amd64 #1 Debian 6.10.11-1
    qay kernel: Hardware name: Dell Inc. XPS 15 9570/0D0T05, BIOS 1.31.0 03/13/2023 qay kernel: RIP: 0010:nvkm_gr_units+0x9/0x30 [nouveau]
    qay kernel: Code: 74 06 ff e0 cc 66 90 cc 31 c0 c3 cc cc cc cc 66 90
    90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44
    00 00 <48> 8b 07 48 8b 40 58 48 85 c0 74 06 ff e0 cc 66 90 cc 31 c0 c3
    cc
    qay kernel: RSP: 0018:ffffa9f206d0fcd8 EFLAGS: 00010246
    qay kernel: RAX: ffff95c9c0f2c000 RBX: ffffa9f206d0fdb0 RCX: ffff95c9d4e6c800 qay kernel: RDX: ffff95cb9df26800 RSI: ffff95c9c237c0c8 RDI: 0000000000000000 qay kernel: RBP: ffff95cade908600 R08: 000000000000000d R09: 0000000000000000 qay kernel: R10: 0000000000000010 R11: 0000000000000000 R12: ffffffffc0e190b0 qay kernel: R13: ffffa9f206d0fdb0 R14: ffff95c9d62ba800 R15: 0000000000000010 qay kernel: FS: 00007f1d1a272240(0000) GS:ffff95cd2c780000(0000) knlGS:0000000000000000
    qay kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    qay kernel: CR2: 0000000000000000 CR3: 000000020ac94006 CR4: 00000000003706f0 qay kernel: Call Trace:
    qay kernel: <TASK>
    qay kernel: ? __die+0x23/0x70
    qay kernel: ? page_fault_oops+0x173/0x5a0
    qay kernel: ? exc_page_fault+0x7e/0x180
    qay kernel: ? asm_exc_page_fault+0x26/0x30
    qay kernel: ? __pfx_nouveau_abi16_ioctl_getparam+0x10/0x10 [nouveau]
    qay kernel: ? nvkm_gr_units+0x9/0x30 [nouveau]
    qay kernel: ? tomoyo_init_request_info+0x99/0xc0
    qay kernel: nouveau_abi16_ioctl_getparam+0x298/0x340 [nouveau]
    qay kernel: ? drm_dev_enter+0x1d/0x60 [drm]
    qay kernel: drm_ioctl_kernel+0xb2/0x110 [drm]
    qay kernel: drm_ioctl+0x274/0x4e0 [drm]
    qay kernel: ? __pfx_nouveau_abi16_ioctl_getparam+0x10/0x10 [nouveau]
    qay kernel: nouveau_drm_ioctl+0x5a/0xb0 [nouveau]
    qay kernel: __x64_sys_ioctl+0x94/0xd0
    qay kernel: do_syscall_64+0x82/0x190
    qay kernel: ? do_syscall_64+0x8e/0x190
    qay kernel: ? syscall_exit_to_user_mode+0x77/0x210
    qay kernel: ? do_syscall_64+0x8e/0x190
    qay kernel: ? exc_page_fault+0x7e/0x180
    qay kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
    qay kernel: RIP: 0033:0x7f1d25c654bb
    qay kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10
    00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00
    0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00
    00
    qay kernel: RSP: 002b:00007ffe016d3000 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
    qay kernel: RAX: ffffffffffffffda RBX: 00002d940005d200 RCX: 00007f1d25c654bb qay kernel: RDX: 00007ffe016d30b0 RSI: 00000000c0106440 RDI: 0000000000000013 qay kernel: RBP: 00007ffe016d30b0 R08: 0000000000001c8c R09: 00001028087c0000 qay kernel: R10: 000000000000007c R11: 0000000000000246 R12: 00000000c0106440 qay kernel: R13: 0000000000000013 R14: 00002d9400030be0 R15: 0000000000000007 qay kernel: </TASK>
    qay kernel: Modules linked in: tls uinput xt_nat xt_tcpudp veth
    wireguard libchacha20poly1305 chacha_x86_64 poly1305_x86_64
    curve25519_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel
    udp_tunnel snd_seq_dummy snd_hrtimer snd_seq snd_seq_device
    typec_displayport xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat
    bridge stp llc nf_conntrack_netlink nf_conntrack nf_defrag_ipv6
    nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables
    libcrc32c overlay ccm algif_aead crypto_null des3_ede_x86_64
    des_generic libdes md4 qrtr rfcomm cmac algif_hash algif_skcipher
    af_alg bnep binfmt_misc nls_ascii nls_cp437 vfat snd_sof_pci_intel_cnl
    fat snd_sof_intel_hda_generic soundwire_intel
    soundwire_generic_allocation soundwire_cadence
    snd_sof_intel_hda_common snd_sof_intel_hda_mlink snd_sof_intel_hda
    snd_sof_pci snd_sof_xtensa_dsp intel_uncore_frequency intel_uncore_frequency_common snd_sof snd_sof_utils soundwire_bus
    snd_soc_avs snd_hda_codec_hdmi snd_soc_hda_codec snd_soc_skl
    snd_soc_hdac_hda x86_pkg_temp_thermal
    qay kernel: snd_hda_ext_core ath10k_pci intel_powerclamp
    snd_soc_sst_ipc snd_soc_sst_dsp coretemp snd_soc_acpi_intel_match
    ath10k_core snd_soc_acpi kvm_intel snd_ctl_led snd_soc_core snd_hda_codec_realtek ath snd_hda_codec_generic mac80211 snd_compress snd_pcm_dmaengine dell_laptop kvm snd_hda_scodec_component mei_wdt
    mei_pxp mei_hdcp intel_rapl_msr btusb snd_hda_intel uvcvideo
    snd_intel_dspcfg btrtl snd_intel_sdw_acpi btintel snd_hda_codec videobuf2_vmalloc btbcm rapl uvc libarc4 btmtk videobuf2_memops
    intel_cstate dell_wmi dell_smm_hwmon videobuf2_v4l2 intel_uncore
    cfg80211 dell_smbios bluetooth videodev snd_hda_core dcdbas pcspkr
    snd_hwdep dell_wmi_sysman snd_pcm firmware_attributes_class intel_wmi_thunderbolt dell_wmi_descriptor videobuf2_common wmi_bmof
    iTCO_wdt processor_thermal_device_pci_legacy ee1004 snd_timer mc processor_thermal_device intel_pmc_bxt processor_thermal_wt_hint snd
    cdc_acm iTCO_vendor_support watchdog processor_thermal_rfim soundcore
    rfkill processor_thermal_rapl ucsi_acpi mei_me typec_ucsi
    qay kernel: intel_rapl_common processor_thermal_wt_req processor_thermal_power_floor typec mei processor_thermal_mbox intel_soc_dts_iosf roles intel_pch_thermal int3403_thermal
    int340x_thermal_zone intel_pmc_core intel_vsec dell_smo8800
    int3400_thermal intel_hid pmt_telemetry ac pmt_class acpi_thermal_rel
    acpi_pad sparse_keymap joydev evdev serio_raw pkcs8_key_parser msr
    parport_pc ppdev lp parport efi_pstore configfs nfnetlink efivarfs
    ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic
    dm_crypt dm_mod hid_logitech_hidpp hid_logitech_dj r8153_ecm cdc_ether
    usbnet r8152 mii libphy usbhid i915 nouveau drm_gpuvm hid_multitouch
    drm_exec hid_generic gpu_sched drm_buddy i2c_algo_bit
    drm_display_helper ahci nvme libahci crc32_pclmul crc32c_intel
    nvme_core cec t10_pi libata rc_core drm_ttm_helper
    crc64_rocksoft_generic ttm i2c_hid_acpi rtsx_pci_sdmmc crc64_rocksoft
    i2c_hid ghash_clmulni_intel xhci_pci crc_t10dif drm_kms_helper
    scsi_mod xhci_hcd mmc_core hid crct10dif_generic intel_lpss_pci crct10dif_pclmul
    qay kernel: i2c_i801 sha512_ssse3 intel_lpss crc64 psmouse
    thunderbolt drm sha256_ssse3 usbcore mxm_wmi sha1_ssse3 rtsx_pci
    i2c_smbus crct10dif_common video idma64 scsi_common usb_common battery
    wmi button aesni_intel crypto_simd cryptd
    qay kernel: CR2: 0000000000000000
    qay kernel: ---[ end trace 0000000000000000 ]---
    qay kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on
    pipe A (start=83087 end=83091) time 73381 us, min 1073, max 1079,
    scanline start 1140, end 457
    qay kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on
    pipe A (start=83099 end=83103) time 72413 us, min 1073, max 1079,
    scanline start 1135, end 386
    qay kernel: RIP: 0010:nvkm_gr_units+0x9/0x30 [nouveau]
    qay kernel: Code: 74 06 ff e0 cc 66 90 cc 31 c0 c3 cc cc cc cc 66 90
    90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44
    00 00 <48> 8b 07 48 8b 40 58 48 85 c0 74 06 ff e0 cc 66 90 cc 31 c0 c3
    cc
    qay kernel: RSP: 0018:ffffa9f2173c39f0 EFLAGS: 00010246
    qay kernel: RAX: ffff95c9c0f2c000 RBX: ffffa9f2173c3ac8 RCX: ffff95c9d4e6c800 qay kernel: RDX: ffff95ca412f9400 RSI: ffff95c9c237c0c8 RDI: 0000000000000000 qay kernel: RBP: ffff95caefb36000 R08: 000000000000000d R09: 0000000000000000 qay kernel: R10: 0000000000000010 R11: 0000000000000000 R12: ffffffffc0e190b0 qay kernel: R13: ffffa9f2173c3ac8 R14: ffff95c9d62ba800 R15: 0000000000000010 qay kernel: FS: 00007f1d1a272240(0000) GS:ffff95cd2c780000(0000) knlGS:0000000000000000
    qay kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    qay kernel: CR2: 0000000000000000 CR3: 000000020ac94006 CR4: 00000000003706f0 qay kernel: note: zulip[35515] exited with irqs disabled

    I can't find a lot of useful informations on the internet, but ended
    up stumbling upon this Github issue : https://github.com/Murmele/Gittyup/issues/783#issuecomment-2232940229.
    Author seems to have encountered a very similar issue (albeit on
    flatpak apps) and blaming it on Nouveau, which I'm also using.

    There does not seem to be a nouveau-dedicated mailing list, so I'm a
    bit lost on how to report such a bug. Any idea ?

    Thanks.

    --

    Quentin AYMARD
    Pôle SecOps
    DSI/RSSI Adjoint
    q.aymard@atolcd.com - 03 45 58 26 19
    Gevrey-Chambertin / Dijon / Besançon / Paris / Lyon

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)