radeon is crashing and logging [drm:radeon_crtc_page_flip_target [radeon]] *ERROR* failed to pin new rbo buffer before flip

Bug #2021520 reported by ossi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-5.15 (Ubuntu)
New
Undecided
Unassigned

Bug Description

symptom:
   -terminal stutters when scrolling
   -problems occurs randomly(1:4) when booting

# lsb_release -rd
Description: Ubuntu 20.04.6 LTS
Release: 20.04

Fix:
# service lightdm stop
# service lightdm start
   -"service restart" will not fix it ie. errors keep coming

dmesg:
radeon 0000:01:05.0: 00000000b42b74bd pin failed
[ 391.887939] [drm:radeon_crtc_page_flip_target [radeon]] *ERROR* failed to pin new rbo buffer before flip
[ 392.061046] radeon 0000:01:05.0: 00000000b42b74bd pin failed
[ 392.061069] [drm:radeon_crtc_page_flip_target [radeon]] *ERROR* failed to pin new rbo buffer before flip
[ 392.117842] radeon 0000:01:05.0: 00000000b42b74bd pin failed
[ 392.117874] [drm:radeon_crtc_page_flip_target [radeon]] *ERROR* failed to pin new rbo buffer before flip

After "Fix", this is found on dmesg:
  437.202768] ------------[ cut here ]------------
[ 437.202781] WARNING: CPU: 0 PID: 1525 at drivers/gpu/drm/ttm/ttm_bo.c:409 ttm_bo_release+0x304/0x330 [ttm]
[ 437.202809] Modules linked in: snd_seq_dummy vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio snd_hda_intel snd_seq_midi snd_seq_midi_event snd_intel_dspcfg binfmt_misc snd_rawmidi edac_mce_amd snd_intel_sdw_acpi snd_hda_codec kvm_amd snd_hda_core ccp snd_seq snd_hwdep kvm snd_pcm wmi_bmof snd_seq_device input_leds serio_raw k10temp snd_timer snd soundcore mac_hid sch_fq_codel cuse vmwgfx w83627ehf hwmon_vid msr nfsd auth_rpcgss parport_pc nfs_acl ppdev lockd lp grace parport ramoops reed_solomon pstore_blk sunrpc pstore_zone efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c pata_acpi hid_generic radeon nouveau usbhid mxm_wmi i2c_algo_bit drm_ttm_helper ttm pata_atiixp drm_kms_helper syscopyarea i2c_piix4 sysfillrect sysimgblt fb_sys_fops ahci cec r8169 rc_core video hid drm realtek libahci wmi
[ 437.202901] CPU: 0 PID: 1525 Comm: Xorg Tainted: G OE 5.15.0-72-generic #79~20.04.1-Ubuntu
[ 437.202906] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./A780LM-S, BIOS P1.30 05/07/2010
[ 437.202909] RIP: 0010:ttm_bo_release+0x304/0x330 [ttm]
[ 437.202920] Code: 8d b3 b8 fe ff ff e8 7b 3f e1 ff 48 8b 73 08 4c 89 e7 e8 5f 29 00 00 48 8b 7b 98 e9 4e fd ff ff e8 e1 46 07 e6 e9 7f fd ff ff <0f> 0b e9 20 fd ff ff e8 10 3f 07 e6 e9 f2 fe ff ff be 03 00 00 00
[ 437.202923] RSP: 0018:ffffba4a4055bc68 EFLAGS: 00010202
[ 437.202927] RAX: 0000000000000001 RBX: ffff91b4a67229d8 RCX: 0000000000000000
[ 437.202930] RDX: 0000000000000001 RSI: ffff91b4a5d2edb8 RDI: ffff91b4a67229d8
[ 437.202932] RBP: ffffba4a4055bc90 R08: ffff91b4a67229d8 R09: 0000000000000064
[ 437.202934] R10: 0000000000000010 R11: ffff91b49b8a2c10 R12: ffff91b5597946f0
[ 437.202937] R13: ffff91b49abdce98 R14: ffff91b4a6722878 R15: ffff91b49abdce40
[ 437.202939] FS: 00007fd045224a40(0000) GS:ffff91b56fc00000(0000) knlGS:0000000000000000
[ 437.202942] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 437.202944] CR2: 0000564569e509d0 CR3: 0000000053ed0000 CR4: 00000000000006f0
[ 437.202948] Call Trace:
[ 437.202951] <TASK>
[ 437.202957] ttm_bo_put+0x34/0x50 [ttm]
[ 437.202966] radeon_bo_unref+0x1e/0x30 [radeon]
[ 437.203072] radeon_gem_object_free+0x34/0x50 [radeon]
[ 437.203124] drm_gem_object_free+0x1d/0x30 [drm]
[ 437.203204] drm_gem_dmabuf_release+0x42/0x60 [drm]
[ 437.203244] dma_buf_release+0x46/0xa0
[ 437.203252] __dentry_kill+0x102/0x180
[ 437.203257] dput+0x1cc/0x320
[ 437.203260] __fput+0xf4/0x280
[ 437.203265] ____fput+0xe/0x20
[ 437.203268] task_work_run+0x70/0xb0
[ 437.203272] do_exit+0x363/0xad0
[ 437.203276] do_group_exit+0x43/0xb0
[ 437.203279] __x64_sys_exit_group+0x18/0x20
[ 437.203283] do_syscall_64+0x5c/0xc0
[ 437.203289] ? exit_to_user_mode_prepare+0x3d/0x1c0
[ 437.203294] ? do_user_addr_fault+0x1e0/0x660
[ 437.203298] ? irqentry_exit_to_user_mode+0x9/0x20
[ 437.203302] ? irqentry_exit+0x1d/0x30
[ 437.203304] ? exc_page_fault+0x89/0x170
[ 437.203308] entry_SYSCALL_64_after_hwframe+0x61/0xcb
[ 437.203312] RIP: 0033:0x7fd045550146
[ 437.203316] Code: Unable to access opcode bytes at RIP 0x7fd04555011c.
[ 437.203317] RSP: 002b:00007ffcae6144d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 437.203320] RAX: ffffffffffffffda RBX: 00007fd0456558a0 RCX: 00007fd045550146
[ 437.203323] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[ 437.203325] RBP: 0000000000000000 R08: 00000000000000e7 R09: fffffffffffffc80
[ 437.203327] R10: 00007fd04600bd80 R11: 0000000000000246 R12: 00007fd0456558a0
[ 437.203329] R13: 00000000000008c2 R14: 00007fd04565e2e8 R15: 0000000000000000
[ 437.203333] </TASK>
[ 437.203335] ---[ end trace 2d2d7974cecbb8fc ]---

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.15.0-72.79~20.04.1-generic 5.15.98
Uname: Linux 5.15.0-72-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.26
Architecture: amd64
BootLog: Error: [Errno 13] Lupa evätty: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: MATE
Date: Mon May 29 18:42:24 2023
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 6.1.38, 5.15.0-71-generic, x86_64: installed
 virtualbox, 6.1.38, 5.15.0-72-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000] [1002:9616] (prog-if 00 [VGA controller])
   Subsystem: ASRock Incorporation RS780L [Radeon 3000] [1849:9616]
 NVIDIA Corporation GT218 [GeForce 310] [10de:0a63] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: NVIDIA Corporation GT218 [GeForce 310] [10de:0733]
InstallationDate: Installed on 2022-03-25 (430 days ago)
InstallationMedia: Ubuntu-MATE 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819.1)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.15.0-72-generic root=UUID=f6d633a6-5f94-43dd-87ff-8fe339d4895e ro rootflags=subvol=@ tsc=nowatchdog quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/07/2010
dmi.bios.release: 8.15
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.30
dmi.board.name: A780LM-S
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.30:bd05/07/2010:br8.15:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnA780LM-S:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.107-8ubuntu1~20.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 21.2.6-0ubuntu0.1~20.04.2
version.libgl1-mesa-glx: libgl1-mesa-glx 21.2.6-0ubuntu0.1~20.04.2
version.xserver-xorg-core: xserver-xorg-core 2:1.20.13-1ubuntu1~20.04.8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
ossi (kerminen) wrote :
tags: added: dualgpu hybrid nouveau radeon
summary: - added nvidia card and got problem with radeon
+ radeon is crashing and logging [drm:radeon_crtc_page_flip_target
+ [radeon]] *ERROR* failed to pin new rbo buffer before flip
affects: xorg (Ubuntu) → linux-hwe-5.15 (Ubuntu)
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.