bugs in libvdpau_radeonsi.so and amdgpu(or radeon) driver freeze the system

Bug #1858199 reported by smzhou
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1. In 4.15 kernel serires ,vlc or mpv video player with hardware acceleration output will freeze the system in minutes ,the desktop screen display content was frozen ,but sometime the audio will continue to play for about 10 seconds to one miniute,then the system dead。I have to reset the machine to reboot. When upgrade to 5.3.24 kernel,amdgpu still hanged immediately,but play video through vdpau in radeon driver the system will no hang immediately,the freqency of hanging is about serveral times a day。 some times web browser in virtualbox guest randomly hangs the system。

2. installing amdgpu-pro driver download from amd official site (version of 18.40-697810,18.50-756341,19.10-785425,19.30-934563) are all the same problem with above.

3. remove libvdpau_radeonsi.so.1.0.0 in the system from ubuntu or installed in /opt/amdgpu by amdgpu-pro driver solved the problem . the system has never been freezing for several weeks ,but the problem happened again when I restore the libvdpau_radeonsi.so file。

4.When use amdgpu driver the vlc output sound via display output port (through an active hdmi adaptor to hdmi monitor) was glitches ,the sound seem missing or dropped in every 2~3 seconds,but when use radeon driver the sound was normal.the audio problem is the same with 4.15 kernel when using kernel 5.3.24. But mplayer sound is always good ,testing with audio output of pulseaduio and alsa ,the kernel driver only affected the sound of vlc (tested with all available audio output ),the other applications was normal.

5. Test with the ubuntu 19.10 live image desktop is the same problem。

6. My system have four monitors,graphics card is R7 360 ,recognized as (from lspci) :
6.02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E].
infomation from uname -a :
Linux smzhou-desktop 5.3.0-24-lowlatency #26~18.04.2-Ubuntu SMP PREEMPT Tue Nov 26 14:39:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
smzhou (shimingzhou1980) wrote :

when enable radeon driver the kernel boot parameters is :
BOOT_IMAGE=/boot/vmlinuz-5.3.0-24-lowlatency root=UUID=012b0ab8-e26f-4057-90c0-f4d52523776d ro security=tomoyo noquiet TOMOYO_trigger=/lib/systemd/systemd nosplash scsi_mod.use_blk_mq=1 iommu=soft intel_iommu=off vt.default_utf8=1 resume=UUID=58e322f4-390e-4748-a477-5dabd940e873 "acpi_osi=Windows 2012" radeon.si_support=1 radeon.audio=1 radeon.cik_support=1 amdgpu.si_support=0 amdgpu.cik_support=0 amdgpu.dc=0 amdgpu.dc=0 amdgpu.audio=0

when enable amdgpu driver the kernel boot parameters is :

BOOT_IMAGE=/boot/vmlinuz-5.3.0-24-lowlatency root=UUID=012b0ab8-e26f-4057-90c0-f4d52523776d ro security=tomoyo noquiet TOMOYO_trigger=/lib/systemd/systemd nosplash scsi_mod.use_blk_mq=1 iommu=soft intel_iommu=off vt.default_utf8=1 resume=UUID=58e322f4-390e-4748-a477-5dabd940e873 "acpi_osi=Windows 2012" i915.disable_power_well=0 radeon.si_support=0 radeon.audio=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.audio=1

By the way . integrated audio is always ok ,the audio problem was only affected in hdmi output to monitor.

Revision history for this message
smzhou (shimingzhou1980) wrote :

on kernel 4.15 serires I have some times sucessfully login to dump the kernel error message by ssh when the system was frozen . the attachment was the dmesg error message dump several weeks ago.

Revision history for this message
smzhou (shimingzhou1980) wrote :

if you need furthure information and test I would like to provide.

Revision history for this message
smzhou (shimingzhou1980) wrote :

disable iommu or enable iommu by add "iommu=soft intel_iommu=off " or "iommu=on intel_iommu=on" take the same result.But disable intel_iommu it seems the graphical desktop response very smoothly.

Revision history for this message
smzhou (shimingzhou1980) wrote :

today ,I test 5.3.24 generic kernel ,and use mpv vdpau and vaapi hardware acceleration to play video ,the system don't freeze up to now for a day .The problem seems only occur in lowlatency kernel .

Revision history for this message
smzhou (shimingzhou1980) wrote :

the test is radeon driver.

Revision history for this message
firefoxfans (firefoxfans) wrote :

I have changed the system to centos7 ,the system is stable .I think It should not be a hardware problem.

Revision history for this message
Oibaf (oibaf) wrote :

smzhou, ubuntu 19.10 is no longer supported, can you try with a newer Ubuntu release?

Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mesa (Ubuntu) because there has been no activity for 60 days.]

Changed in mesa (Ubuntu):
status: Incomplete → Expired
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.