An other test using 5.9.1-050901-lowlatency, display is not breaking
anymore but there are still issues in logs after the video has been
played once:


export DISPLAY=:0 ;  while true ; do mpv 'http://youtu.be/9J5CHTFWnTc' ; sleep 
10 ;  done

 (+) Video --vid=1 (*) (h264 1280x720)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [gpu] 1280x720 vaapi[nv12]
AV: 00:00:33 / 00:00:33 (99%) A-V:  0.000 Cache: 0.0s


Exiting... (End of file)
 (+) Video --vid=1 (*) (h264 1280x720)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [gpu] 1280x720 vaapi[nv12]
radeon: The kernel rejected CS, see dmesg for more information (-22).
radeon: The kernel rejected CS, see dmesg for more information (-22).


Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

radeon: The kernel rejected CS, see dmesg for more information (-22).


On later times, I am not sure VAAPI is still used (yuv420p vs vaapi[nv12]):


 (+) Video --vid=1 (*) (h264 1280x720)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
[ffmpeg/video] h264: No support for codec h264 profile 100.
VO: [gpu] 1280x720 yuv420p
AV: 00:00:31 / 00:00:33 (92%) A-V:  0.000 Cache: 2.1s/433KB


dmesg is pretty much the same as:

https://launchpadlibrarian.net/502954026/CurrentDmesg.txt

[   99.002309] radeon 0000:01:00.0: ring 5 stalled for more than 10080msec
[   99.002317] radeon 0000:01:00.0: GPU lockup (current fence id 
0x00000000000003fb last fence id 0x00000000000003ff on ring 5)
[   99.012046] radeon 0000:01:00.0: couldn't schedule ib
[   99.012107] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD 
(-22)!
[   99.028154] radeon 0000:01:00.0: Saved 1433 dwords of commands on ring 0.


Once I managed to get backtrace around DRM parts, I'll share it if it
happens again.

Do you need more informations ?

Meanwhile let me crosslink this issue to:

https://gitlab.freedesktop.org/drm/amd/-/issues/630

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

Title:
  radeon:  GPU lockup when restarting a video on RV730

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi,

  I suspect there is an issue with radeon driver for video acceleration,
  I haven't investigated yet but I would investigate resources releases of VPU 
driver.

  
  As suggested on other (obsolete) bug:

  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1574130?comments=all

  
  I thought it was a VLC bug but actually it's also replicated using mpv:

  Just run

  mpv
  
https://conf.tube/download/videos/ea60f030-90c1-4e8e-9782-bef14dd3b1d1-1080.mp4

  It appears to work as expected

  Stop with Esc

  and run again

  Process will be stuck on creating window frame 
  and then once windows is starting to show the video,
  desktop's frame buffer will become garbage:

  video's first frame looks like blicking in this triangle mess.

  
  system is still usable,
  audio is still playing.

  I logged using ssh and reported details using:

  ubuntu-bug linux

  
  I hope collected data is not mixed with my client's host.

  I can give more details or test patches.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: linux-image-5.8.0-25-generic 5.8.0-25.26
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  Uname: Linux 5.8.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDmesg:
   Error: command ['pkexec', 'dmesg'] failed with exit code 127: 
polkit-agent-helper-1: error response to PolicyKit daemon: 
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
   Error executing command as another user: Not authorized
   
   This incident has been reported.
  Date: Wed Oct 21 16:02:27 2020
  IwConfig:
   lo        no wireless extensions.
   
   enp2s0    no wireless extensions.
   
   docker0   no wireless extensions.
  MachineType: Dell Inc. Precision T1500
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-25-generic 
root=UUID=036d3d8c-98d4-48ec-a18b-dce21dcf0bb5 ro initrd=initrd.gz splash quiet 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.8.0-25-generic N/A
   linux-backports-modules-5.8.0-25-generic  N/A
   linux-firmware                            1.190
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to groovy on 2020-10-13 (8 days ago)
  acpidump:
   Error: command ['pkexec', '/usr/share/apport/dump_acpi_tables.py'] failed 
with exit code 127: polkit-agent-helper-1: pam_authenticate failed: 
Authentication failure
   Error executing command as another user: Not authorized
   
   This incident has been reported.
  dmi.bios.date: 01/13/2011
  dmi.bios.release: 8.15
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.4.0
  dmi.board.name: 0XC7MM
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.4.0:bd01/13/2011:br8.15:svnDellInc.:pnPrecisionT1500:pvr00:rvnDellInc.:rn0XC7MM:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.family: 0
  dmi.product.name: Precision T1500
  dmi.product.sku: 0
  dmi.product.version: 00
  dmi.sys.vendor: Dell Inc.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  rzr        4431 F.... pulseaudio
   /dev/snd/controlC1:  rzr        4431 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 20.10
  IwConfig:
   lo        no wireless extensions.
   
   enp2s0    no wireless extensions.
   
   docker0   no wireless extensions.
  MachineType: Dell Inc. Precision T1500
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-25-generic 
root=UUID=036d3d8c-98d4-48ec-a18b-dce21dcf0bb5 ro initrd=initrd.gz splash quiet 
vt.handoff=7
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  RebootRequiredPkgs:
   linux-image-unsigned-5.9.1-050901-generic
   linux-base
   linux-image-unsigned-5.9.1-050901-lowlatency
   linux-base
  RelatedPackageVersions:
   linux-restricted-modules-5.8.0-25-generic N/A
   linux-backports-modules-5.8.0-25-generic  N/A
   linux-firmware                            1.190
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
  Tags:  groovy
  Uname: Linux 5.8.0-25-generic x86_64
  UpgradeStatus: Upgraded to groovy on 2020-10-13 (8 days ago)
  UserGroups: adm cdrom dialout dip docker lpadmin netdev plugdev sambashare 
sudo
  _MarkForUpload: True
  dmi.bios.date: 01/13/2011
  dmi.bios.release: 8.15
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.4.0
  dmi.board.name: 0XC7MM
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.4.0:bd01/13/2011:br8.15:svnDellInc.:pnPrecisionT1500:pvr00:rvnDellInc.:rn0XC7MM:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.family: 0
  dmi.product.name: Precision T1500
  dmi.product.sku: 0
  dmi.product.version: 00
  dmi.sys.vendor: Dell Inc.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  rzr        4431 F.... pulseaudio
   /dev/snd/pcmC0D0p:   rzr        4431 F...m pulseaudio
   /dev/snd/controlC1:  rzr        4431 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 20.10
  IwConfig:
   lo        no wireless extensions.
   
   enp2s0    no wireless extensions.
   
   docker0   no wireless extensions.
  MachineType: Dell Inc. Precision T1500
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-25-generic 
root=UUID=036d3d8c-98d4-48ec-a18b-dce21dcf0bb5 ro initrd=initrd.gz splash quiet 
vt.handoff=7
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  RebootRequiredPkgs:
   linux-image-unsigned-5.9.1-050901-generic
   linux-base
   linux-image-unsigned-5.9.1-050901-lowlatency
   linux-base
  RelatedPackageVersions:
   linux-restricted-modules-5.8.0-25-generic N/A
   linux-backports-modules-5.8.0-25-generic  N/A
   linux-firmware                            1.190
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
  Tags:  groovy
  Uname: Linux 5.8.0-25-generic x86_64
  UpgradeStatus: Upgraded to groovy on 2020-10-13 (8 days ago)
  UserGroups: adm cdrom dialout dip docker lpadmin netdev plugdev sambashare 
sudo
  _MarkForUpload: True
  dmi.bios.date: 01/13/2011
  dmi.bios.release: 8.15
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 2.4.0
  dmi.board.name: 0XC7MM
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr2.4.0:bd01/13/2011:br8.15:svnDellInc.:pnPrecisionT1500:pvr00:rvnDellInc.:rn0XC7MM:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.family: 0
  dmi.product.name: Precision T1500
  dmi.product.sku: 0
  dmi.product.version: 00
  dmi.sys.vendor: Dell Inc.

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