nouveau breaks 24.04 desktop

Bug #2052744 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

nouveau: detected PR support, will not use DSM
nouveau 0000:01:00.0: NVIDIA GP107 (137000a1)
usb 3-3: new high-speed USB device number 2 using xhci_hcd
nouveau 0000:01:00.0: bios: version 86.07.90.00.51
nouveau 0000:01:00.0: pmu: firmware unavailable
nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
nouveau 0000:01:00.0: DRM: BIT table 'A' not found
nouveau 0000:01:00.0: DRM: BIT table 'L' not found
nouveau 0000:01:00.0: DRM: Pointer to TMDS table not found
nouveau 0000:01:00.0: DRM: DCB version 4.1
nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
nouveau 0000:01:00.0: [drm] No compatible format found
nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes

nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ PRIVRING ]
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 122124 [ PRIVRING ]
# above two repeat a lot

And also stuff like this

nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ TIMEOUT ]
------------[ cut here ]------------
nouveau 0000:01:00.0: timeout
WARNING: CPU: 3 PID: 6419 at drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c:1792 gf100_gr_init_ctxctl_ext+0x573/0x590 [nouveau]
Modules linked in: rfcomm snd_seq_dummy snd_hrtimer nft_masq vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock ccm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc overlay qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi x86_pkg_temp_thermal snd_hda_codec intel_powerclamp
 snd_hda_core coretemp snd_hwdep snd_pcm uvcvideo kvm_intel snd_seq_midi iwlmvm btusb videobuf2_vmalloc snd_seq_midi_event btrtl uvc cmdlinepart kvm snd_rawmidi videobuf2_memops btintel dell_laptop spi_nor videobuf2_v4l2 mac80211 snd_seq irqbypass btbcm processor_thermal_device_pci_legacy dell_wmi mtd videodev snd_seq_device rapl btmtk processor_thermal_device pmt_telemetry dell_smbios libarc4 mei_hdcp mei_pxp bluetooth pmt_class intel_rapl_msr dell_smm_hwmon iwlwifi videobuf2_common dcdbas snd_timer i2c_i801 dell_wmi_sysman spi_intel_pci intel_cstate processor_thermal_rfim dell_wmi_ddv ecdh_generic mc ecc ledtrig_audio firmware_attributes_class dell_wmi_descriptor wmi_bmof snd i2c_smbus spi_intel mei_me cfg80211 processor_thermal_mbox soundcore essiv mei authenc processor_thermal_rapl intel_rapl_common intel_skl_int3472_tps68470 intel_soc_dts_iosf intel_vsec igen6_edac tps68470_regulator int3403_thermal clk_tps68470 int340x_thermal_zone int3400_thermal intel_hid intel_skl_int3472_discrete input_leds
 acpi_thermal_rel sparse_keymap acpi_pad joydev acpi_tad serio_raw mac_hid nbd msr parport_pc ppdev lp parport efi_pstore dmi_sysfs ip_tables x_tables autofs4 dm_crypt zfs(PO) spl(O) raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log hid_sensor_custom nvme hid_sensor_hub nvme_core nvme_common intel_ishtp_hid hid_multitouch ahci hid_generic libahci i915 nouveau crct10dif_pclmul crc32_pclmul polyval_clmulni mxm_wmi polyval_generic drm_exec ghash_clmulni_intel gpu_sched drm_buddy sha256_ssse3 drm_ttm_helper i2c_algo_bit sha1_ssse3 ttm aesni_intel drm_display_helper cec i2c_hid_acpi rc_core intel_lpss_pci crypto_simd i2c_hid ucsi_acpi intel_ish_ipc drm_kms_helper hid typec_ucsi xhci_pci cryptd intel_lpss psmouse thunderbolt video idma64 intel_ishtp vmd drm xhci_pci_renesas typec wmi pinctrl_tigerlake
CPU: 3 PID: 6419 Comm: gnome-shell Tainted: P O 6.6.0-14-generic #14-Ubuntu
Hardware name: Dell Inc. Inspiron 7400/072W08, BIOS 1.16.0 04/13/2022
RIP: 0010:gf100_gr_init_ctxctl_ext+0x573/0x590 [nouveau]
Code: 8b 40 10 48 8b 78 10 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 6f c0 b6 ed 48 89 da 48 c7 c7 f5 22 99 c0 48 89 c6 e8 0d 05 13 ed <0f> 0b b8 f0 ff ff ff e9 f7 fd ff ff e8 5c 97 18 ee 66 66 2e 0f 1f
RSP: 0018:ffffc9000e67bb50 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8881022dec30 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000e67bba0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888111968000
R13: ffff8881119400d0 R14: ffff888111940290 R15: 0000000000510420
FS: 0000760121c3d600(0000) GS:ffff88847f580000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000076011830e000 CR3: 00000001699dc006 CR4: 0000000000f70ee0
PKRU: 55555554
Call Trace:
 <TASK>
 ? show_regs+0x6d/0x80
 ? __warn+0x89/0x160
 ? gf100_gr_init_ctxctl_ext+0x573/0x590 [nouveau]
 ? report_bug+0x17e/0x1b0
 ? handle_bug+0x51/0xa0
 ? exc_invalid_op+0x18/0x80
 ? asm_exc_invalid_op+0x1b/0x20
 ? gf100_gr_init_ctxctl_ext+0x573/0x590 [nouveau]
 gf100_gr_init+0x592/0x620 [nouveau]
 gf100_gr_init_+0xab/0x160 [nouveau]
 nvkm_gr_init+0x1a/0x30 [nouveau]
 nvkm_engine_init+0x41/0xe0 [nouveau]
 nvkm_subdev_init_+0x59/0x150 [nouveau]
 nvkm_subdev_ref+0xa0/0xe0 [nouveau]
 nvkm_engine_ref+0x1b/0x40 [nouveau]
 nvkm_ioctl_new+0x13c/0x2e0 [nouveau]
 ? __pfx_nvkm_uchan_object_new+0x10/0x10 [nouveau]
 ? __pfx_gf100_gr_object_new+0x10/0x10 [nouveau]
 nvkm_ioctl+0x132/0x2b0 [nouveau]
 nvkm_client_ioctl+0xe/0x20 [nouveau]
 nvif_client_ioctl+0x1c/0x30 [nouveau]
 usif_ioctl+0x295/0x430 [nouveau]
 nouveau_drm_ioctl+0xb8/0xc0 [nouveau]
 __x64_sys_ioctl+0xa0/0xf0
 do_syscall_64+0x59/0x90
 ? exit_to_user_mode_prepare+0x30/0xb0
 ? irqentry_exit_to_user_mode+0x17/0x20
 ? irqentry_exit+0x43/0x50
 ? exc_page_fault+0x94/0x1b0
 entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x760127ff48ef
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 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffcd21c10b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00005eea73b102d0 RCX: 0000760127ff48ef
RDX: 00005eea73b1a8a0 RSI: 00000000c0386447 RDI: 0000000000000013
RBP: 00005eea73b1a8a0 R08: 00005eea73b0fd20 R09: 00005eea73b102d0
R10: 00005eea73b10300 R11: 0000000000000246 R12: 00000000c0386447
R13: 0000000000000013 R14: 0000000000000000 R15: 00005eea73b1a8d8
 </TASK>
---[ end trace 0000000000000000 ]---
nouveau 0000:01:00.0: gr: init failed, -16

Whilst previous ubuntu releases were able to continue with accelerated Intel graphics, the v6.6 kernel appears to result in black screen and all of these things crashing.

It seems to me that nouveau is no longer suitable for any recent cards. And yet the kernel modalias declares it as auto-loadable for any NVIDIA cards ever.

I think we should either stop building nouveau, or drop its modalias, or restrict its modalias to just the old cards - if we can even test that it still works with them.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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