The fix seems to have now come to 24.04.1 with NVIDIA 535 drivers (and
works yeah!)

Just in case there's others using CUDA with podman, you might need to
update your configs now that the /dev/dri/card0 is missing:

sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml

-- 
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/2062426

Title:
  simple-framebuffer: swiotlb buffer is full

Status in linux package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-550 package in Ubuntu:
  Confirmed

Bug description:
  [   29.548909] ------------[ cut here ]------------
  [   29.548912] simple-framebuffer simple-framebuffer.0: 
drm_WARN_ON(map->is_iomem)
  [   29.548924] WARNING: CPU: 7 PID: 2700 at 
drivers/gpu/drm/drm_gem_shmem_helper.c:319 drm_gem_shmem_vmap+0x1a5/0x1e0
  [   29.548932] Modules linked in: nf_tables libcrc32c snd_seq_dummy 
snd_hrtimer ccm qrtr binfmt_misc nvidia_uvm(POE) nvidia_drm(POE) 
nvidia_modeset(POE) nls_iso8859_1 nvidia(POE) intel_rapl_msr intel_rapl_common 
snd_hda_codec_hdmi snd_hda_intel rtl8192ee snd_intel_dspcfg snd_intel_sdw_acpi 
btcoexist snd_hda_codec snd_usb_audio rtl_pci snd_hda_core snd_usbmidi_lib 
rtlwifi snd_hwdep snd_ump snd_seq_midi edac_mce_amd snd_seq_midi_event 
snd_rawmidi mac80211 mc kvm_amd snd_seq snd_pcm snd_seq_device kvm joydev 
snd_timer input_leds cfg80211 snd irqbypass soundcore libarc4 rapl video 
wmi_bmof ccp k10temp i2c_piix4 gpio_amdpt mac_hid msr parport_pc ppdev lp 
parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 dm_crypt 
hid_generic usbhid hid crct10dif_pclmul crc32_pclmul polyval_clmulni 
polyval_generic r8169 ghash_clmulni_intel sha256_ssse3 sha1_ssse3 ahci xhci_pci 
realtek libahci xhci_pci_renesas wmi aesni_intel crypto_simd cryptd
  [   29.549044] CPU: 7 PID: 2700 Comm: Xorg Tainted: P           OE      
6.8.0-22-generic #22-Ubuntu
  [   29.549047] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./A320M-DVS R4.0, BIOS P4.00 07/16/2020
  [   29.549049] RIP: 0010:drm_gem_shmem_vmap+0x1a5/0x1e0
  [   29.549054] Code: 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 44 a6 ec ff 48 c7 
c1 73 62 82 9f 4c 89 ea 48 c7 c7 b2 3d 82 9f 48 89 c6 e8 4b 3f 44 ff <0f> 0b 48 
8b 83 f0 00 00 00 4c 89 e6 48 8b 38 e8 f7 48 f5 ff b8 fb
  [   29.549056] RSP: 0018:ffffb6da8304ba08 EFLAGS: 00010246
  [   29.549060] RAX: 0000000000000000 RBX: ffffa0778c558a00 RCX: 
0000000000000000
  [   29.549062] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 
0000000000000000
  [   29.549063] RBP: ffffb6da8304ba28 R08: 0000000000000000 R09: 
0000000000000000
  [   29.549065] R10: 0000000000000000 R11: 0000000000000000 R12: 
ffffa0778cdaa6c8
  [   29.549067] R13: ffffa07781d2efc0 R14: ffffa0778cdaa6c8 R15: 
ffffa0778cdaa6c8
  [   29.549069] FS:  00007e8343530ac0(0000) GS:ffffa07a8e580000(0000) 
knlGS:0000000000000000
  [   29.549071] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [   29.549073] CR2: 0000567a82464778 CR3: 000000014044e000 CR4: 
00000000003506f0
  [   29.549075] Call Trace:
  [   29.549078]  <TASK>
  [   29.549082]  ? show_regs+0x6d/0x80
  [   29.549087]  ? __warn+0x89/0x160
  [   29.549092]  ? drm_gem_shmem_vmap+0x1a5/0x1e0
  [   29.549096]  ? report_bug+0x17e/0x1b0
  [   29.549103]  ? handle_bug+0x51/0xa0
  [   29.549108]  ? exc_invalid_op+0x18/0x80
  [   29.549112]  ? asm_exc_invalid_op+0x1b/0x20
  [   29.549121]  ? drm_gem_shmem_vmap+0x1a5/0x1e0
  [   29.549125]  ? drm_gem_shmem_vmap+0x1a5/0x1e0
  [   29.549130]  drm_gem_shmem_object_vmap+0x9/0x20
  [   29.549133]  drm_gem_vmap+0x26/0x80
  [   29.549138]  drm_gem_vmap_unlocked+0x2b/0x50
  [   29.549142]  drm_gem_fb_vmap+0x40/0x150
  [   29.549147]  drm_gem_begin_shadow_fb_access+0x25/0x40
  [   29.549150]  drm_atomic_helper_prepare_planes.part.0+0x142/0x1e0
  [   29.549155]  drm_atomic_helper_prepare_planes+0x5d/0x70
  [   29.549160]  drm_atomic_helper_commit+0x84/0x160
  [   29.549164]  drm_atomic_commit+0x99/0xd0
  [   29.549167]  ? __pfx___drm_printfn_info+0x10/0x10
  [   29.549173]  drm_atomic_helper_set_config+0x82/0xd0
  [   29.549176]  drm_mode_setcrtc+0x535/0x8b0
  [   29.549187]  ? __pfx_drm_mode_setcrtc+0x10/0x10
  [   29.549191]  drm_ioctl_kernel+0xbc/0x120
  [   29.549194]  ? srso_return_thunk+0x5/0x5f
  [   29.549200]  drm_ioctl+0x2d4/0x550
  [   29.549204]  ? __pfx_drm_mode_setcrtc+0x10/0x10
  [   29.549214]  __x64_sys_ioctl+0xa3/0xf0
  [   29.549220]  do_syscall_64+0x85/0x180
  [   29.549223]  ? srso_return_thunk+0x5/0x5f
  [   29.549226]  ? count_memcg_events.constprop.0+0x2a/0x50
  [   29.549231]  ? srso_return_thunk+0x5/0x5f
  [   29.549234]  ? handle_mm_fault+0xad/0x380
  [   29.549238]  ? srso_return_thunk+0x5/0x5f
  [   29.549241]  ? do_user_addr_fault+0x338/0x6b0
  [   29.549245]  ? srso_return_thunk+0x5/0x5f
  [   29.549248]  ? irqentry_exit_to_user_mode+0x7b/0x260
  [   29.549252]  ? srso_return_thunk+0x5/0x5f
  [   29.549255]  ? irqentry_exit+0x43/0x50
  [   29.549258]  ? srso_return_thunk+0x5/0x5f
  [   29.549261]  ? exc_page_fault+0x94/0x1b0
  [   29.549265]  entry_SYSCALL_64_after_hwframe+0x6e/0x76
  [   29.549269] RIP: 0033:0x7e8343924ded
  [   29.549283] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 
10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 
00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
  [   29.549285] RSP: 002b:00007ffeea092ae0 EFLAGS: 00000246 ORIG_RAX: 
0000000000000010
  [   29.549288] RAX: ffffffffffffffda RBX: 0000567a826da2f0 RCX: 
00007e8343924ded
  [   29.549290] RDX: 00007ffeea092b70 RSI: 00000000c06864a2 RDI: 
0000000000000013
  [   29.549292] RBP: 00007ffeea092b30 R08: 0000000000000000 R09: 
0000567a82f52a40
  [   29.549294] R10: 0000000000000000 R11: 0000000000000246 R12: 
00007ffeea092b70
  [   29.549295] R13: 00000000c06864a2 R14: 0000000000000013 R15: 
0000567a82465ba8
  [   29.549303]  </TASK>
  [   29.549304] ---[ end trace 0000000000000000 ]---

  
  [How to recreate]

  Unknown, was reported in logfile yet PC was operating OK without any
  application crashes.

  [Other info]

  OS: Ubuntu Noble Numbat (development branch) x86_64 
  Kernel: 6.8.0-22-generic 
  Uptime: 5 hours, 9 mins 
  Packages: 2301 (dpkg), 8 (flatpak), 10 (snap) 
  Shell: bash 5.2.21 
  Resolution: 1360x768, 1360x768 
  DE: GNOME 46.0 
  WM: Mutter 
  WM Theme: Adwaita 
  Theme: Yaru [GTK2/3] 
  Icons: Yaru [GTK2/3] 
  Terminal: guake 
  CPU: AMD Ryzen 5 2600 (12) @ 3.400GHz 
  GPU: NVIDIA GeForce GTX 960 
  Memory: 3619MiB / 15914MiB 

  [NVIDIA-SMI]
  
+-----------------------------------------------------------------------------------------+
  | NVIDIA-SMI 550.67                 Driver Version: 550.67         CUDA 
Version: 12.4     |
  
|-----------------------------------------+------------------------+----------------------+
  | GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile 
Uncorr. ECC |
  | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util 
 Compute M. |
  |                                         |                        |          
     MIG M. |
  
|=========================================+========================+======================|
  |   0  NVIDIA GeForce GTX 960         Off |   00000000:06:00.0  On |          
        N/A |
  | 35%   27C    P8             15W /  208W |      79MiB /   4096MiB |      1%  
    Default |
  |                                         |                        |          
        N/A |
  
+-----------------------------------------+------------------------+----------------------+
                                                                                
           
  
+-----------------------------------------------------------------------------------------+
  | Processes:                                                                  
            |
  |  GPU   GI   CI        PID   Type   Process name                             
 GPU Memory |
  |        ID   ID                                                              
 Usage      |
  
|=========================================================================================|
  |    0   N/A  N/A      3638      G   /usr/bin/gnome-shell                     
      61MiB |
  |    0   N/A  N/A      4456    C+G   /usr/libexec/xdg-desktop-portal-gnome    
      11MiB |
  
+-----------------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2062426/+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

Reply via email to