[amdgpu] Radeon GPU Lockup & freeze of app using gpu, most likely due to dpm

Bug #2012467 reported by Yash Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have dedicated AMD Radeon R5 M430 gpu. Whenever I start an app (for example kdenlive) with DRI_PRIME=1 or just the "Launch with Discrete graphics" option in app menu, the app just freezes and I have to force close. Sometimes the whole system freezes and I have to force reboot

The issue resolves when I disable dpm via amdgpu.dpm=0 in /etc/default/grub, but that heavily reduces the gpu performance in apps. The issue isn't probably from mesa since disabling dpm solves the problem.

Ways to recreate - start any heavy app with discrete graphics card
I even tried the latest mainline kernel(6.2.7) and problem still exists

Also, this issue wasn't happening in ubuntu 20.04 LTS, it started happening since the power settings started to show up, which further makes me suspect dpm as the cause of this

Please help me with this issue, let me know if additional logs are needed

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-67-generic 5.15.0-67.74
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: yash 1388 F.... pulseaudio
 /dev/snd/pcmC1D0p: yash 1388 F...m pulseaudio
 /dev/snd/controlC0: yash 1388 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 22 11:03:19 2023
InstallationDate: Installed on 2020-08-06 (957 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
MachineType: HP HP Notebook
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-67-generic root=UUID=a51c74d4-f884-4734-ab16-c420ea362262 ro net.ifnames=0 biosdevname=0 video=SVIDEO-1:d
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-67-generic N/A
 linux-backports-modules-5.15.0-67-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.10
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-04-24 (331 days ago)
dmi.bios.date: 11/20/2020
dmi.bios.release: 15.50
dmi.bios.vendor: Insyde
dmi.bios.version: F.50
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 81F0
dmi.board.vendor: HP
dmi.board.version: 63.53
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 63.53
dmi.modalias: dmi:bvnInsyde:bvrF.50:bd11/20/2020:br15.50:efr63.53:svnHP:pnHPNotebook:pvrType1ProductConfigId:rvnHP:rn81F0:rvr63.53:cvnHP:ct10:cvrChassisVersion:skuW6T43PA#ACJ:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Notebook
dmi.product.sku: W6T43PA#ACJ
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Revision history for this message
Yash Patil (androygaming) wrote :
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
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.