From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 84920] New: Radeon UVD error
Date: Sat, 11 Oct 2014 20:28:09 +0000
Message-ID:
Bug ID
84920
Summary
Radeon UVD error
Product
Mesa
Version
unspecified
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/r600
Assignee
dri-devel@lists.freedesktop.org
Reporter
barz621@gmail.com
I had this on occasion but couldn't reproduce it reliably:
Go to:
http://global.burton.com/on/demandware.store/Sites-Burton_GLOBAL-Site/default/Team-Riders
and move the cursor over the faces.
You will see many (toooo many) errors like the one below in the journal:
Oct 11 23:20:38 mainland kernel: [drm:radeon_uvd_cs_msg] *ERROR* No more free
UVD handles!
Oct 11 23:20:38 mainland kernel: [drm:radeon_cs_ib_chunk] *ERROR* Invalid
command stream !
Linux mainland 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64
GNU/Linux
glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
The dmesg is useless cause the error filled everything.
(In reply to Apostolos B. from comment #0)=20 > Oct 11 23:20:38 mainland kernel: [drm:radeon_uvd= _cs_msg] *ERROR* No more > free UVD handles! What browser do you use? Do you have video acceleration enabled in flash? It sounds like flash is trying to play a lot of videos at the same time.
No flash. HW acceleration is gst-vaapi with the vdpau driver for r600. Firefox
32.
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -
0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
I observe the same issue on virtual machine with VGA passthrough. The virtual
guest runs only Kodi media center session with autologin from lightdm display
manager.
The issue is easily reproducible when I do fast forward (FF).
Here's sample from dmesg:
[ 195.123895] perf interrupt took too long (10006 > 10000), lowering
kernel.perf_event_max_sample_rate to 12500
[ 457.994431] perf interrupt took too long (20020 > 20000), lowering
kernel.perf_event_max_sample_rate to 6250
[45310.627571] [drm:radeon_uvd_cs_msg] *ERROR* No more free UVD handles!
[45310.627575] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
... and lots of such messages ...
[45323.651977] [drm:radeon_uvd_cs_msg] *ERROR* No more free UVD handles!
[45323.651979] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
You see, that before doing FF there were some messages and long uptime without
any message. When I stop doing FF the messages stop.
The system is Debian GNU/Linux 8.0 Jesie
$ uname -a
Linux infmc 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03) i686
GNU/Linux
$ lspci -vnn | grep -A 10 VGA
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1002:6779] (prog-if
00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:3017]
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at fe800000 (64-bit, non-prefetchable) [size=128K]
I/O ports at c000 [size=256]
Expansion ROM at fe820000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: radeon
The graphics card is ASUS AMD R5 230 1G.
(In reply to Alexander from comment #3) > I observe the same issue on virtual machine with= VGA passthrough. The > virtual guest runs only Kodi media center session with autologin from > lightdm display manager. > The issue is easily reproducible when I do fast forward (FF). Do you run Kodi with the VA-API wrapper or the native VDPAU backend? The VA= -API wrapper isn't really supported any more, so the issue is most likely somewh= ere there. What happens here is that the hardware runs out of UVD handles because the software stack is trying to play a lot of streams at the same time.
| What | Removed | Added |
|---|---|---|
| Status | NEW | RESOLVED |
| Resolution | --- | MOVED |
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/529.