Bug 85613

Summary: still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video
Product: Mesa Reporter: Arthur Marsh <arthur.marsh>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Arthur Marsh 2014-10-29 17:47:09 UTC
I have a video sample online that still gives me a segfault when playing back under vlc. It plays back fine under mpv and mplayer using vdpau.

Debian bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766058

VLC bug report:

https://trac.videolan.org/vlc/ticket/12644

VLC have closed the bug on their side claiming that it's a vdpau driver issue.

video sample:

http://www.users.on.net/~arthur.marsh/VTS_01_1.VOB (152 Megabytes)

I'm using vlc 2.2.0~pre4-2 on Debian unstable with mesa 10.3.2-1 using a Radeon 3850HD card and am happy to run further tests and rebuild mesa with patches.

Arthur.
Comment 1 Alex Deucher 2014-10-29 19:26:29 UTC
this sounds like a duplicate of bug 85267.  Does this patch help?
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae879718c4086fc5905070e7f26dfa2757df0c86
Comment 2 Arthur Marsh 2014-10-29 20:13:39 UTC
This problem is with mesa 10.3.2-1 which has that patch applied.
Comment 3 Michel Dänzer 2014-10-30 07:21:34 UTC
*** Bug 85268 has been marked as a duplicate of this bug. ***
Comment 4 Michel Dänzer 2014-10-30 07:23:50 UTC
From bug 85268:

> ==13424== Invalid read of size 8
> ==13424==    at 0x1A6A4291: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424==    by 0x1A6C0127: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424==    by 0x1A627314: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424==    by 0x189B4092: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
> ==13424==    by 0x30D0E8DCF4: picture_Release (in /usr/lib/libvlccore.so.8.0.0)
> ==13424==    by 0x30D0E6D095: ThreadDisplayPreparePicture (in /usr/lib/libvlccore.so.8.0.0)
> ==13424==    by 0x30D0E6D12B: ThreadDisplayPicture (in /usr/lib/libvlccore.so.8.0.0)
> ==13424==    by 0x30D0E6DEB2: Thread (in /usr/lib/libvlccore.so.8.0.0)
> ==13424==    by 0x30022080A3: start_thread (pthread_create.c:309)
> ==13424==  Address 0x6780940 is 480 bytes inside a block of size 10,760 free'd
> ==13424==    at 0x4A08E90: free (vg_replace_malloc.c:473)
> ==13424==    by 0x1A6A44CA: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424==    by 0x1A628489: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
> ==13424==    by 0x189B370D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
> ==13424==    by 0x30D0E9028E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
> ==13424==    by 0x1715EE48: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
> ==13424==    by 0x1715AA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
> ==13424==    by 0x306F7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
> ==13424==    by 0x306F6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
> ==13424==    by 0x306F6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
> ==13424==    by 0x306F7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
> ==13424==    by 0x1715C18C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)

Looks like VLC destroys the VDPAU surface after the VDPAU decoder, and the Gallium VDPAU state tracker chokes on that.
Comment 5 Arthur Marsh 2014-10-30 08:34:32 UTC
Sorry if I'm not being clear. A problem reported earlier under mesa 10.3.1 in https://bugs.freedesktop.org/show_bug.cgi?id=85267 was fixed by the patch: 

http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae879718c4086fc5905070e7f26dfa2757df0c86
r600g: Drop references to destroyed blend state
which I understand was incorporated into mesa 10.3.2

With vlc from Debian unstable 2.2.0-pre3-104-g836a443 and mesa 10.3.2-1 playing the file at http://www.users.on.net/~arthur.marsh/VTS_01_1.VOB I see the following.

$ valgrind vlc VTS_01_1.VOB
==6333== Memcheck, a memory error detector
==6333== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==6333== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==6333== Command: vlc VTS_01_1.VOB
==6333==
VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443)
[0000000004c5f3a8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
==6333== Thread 8:
==6333== Invalid write of size 1
==6333==    at 0x315FC045B7: BOSA_ST_InitComponentLoader (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x1BA9BADB: InitOmxCore (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9A99C: OpenGeneric (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9B6DF: OpenDecoder (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0446C82: EsOutSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0xd7661b0 is 0 bytes after a block of size 2,048 alloc'd
==6333==    at 0x4A07C20: malloc (vg_replace_malloc.c:296)
==6333==    by 0x315FC0452E: BOSA_ST_InitComponentLoader (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==6333==    by 0x1BA9BADB: InitOmxCore (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9A99C: OpenGeneric (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x1BA9B6DF: OpenDecoder (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==6333==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==6333==
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
[000000000d72a488] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 4682 ms)
[000000000d72a488] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
==6333== Thread 11:
==6333== Invalid read of size 8
==6333==    at 0x1E7DF731: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D805092: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x1D804724: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==  Address 0x13e6e200 is 480 bytes inside a block of size 10,760 free'd
==6333==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==6333==    by 0x1E7DF96A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E763499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D80470D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x1BEAC19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==
==6333== Invalid read of size 8
==6333==    at 0x1E7DF76E: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D805092: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x1D804724: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==  Address 0x13e6e210 is 496 bytes inside a block of size 10,760 free'd
==6333==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==6333==    by 0x1E7DF96A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E763499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1D80470D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x1BEAEE68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x1BEAAA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==6333==    by 0x1BEAC19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==6333==
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
[0000000013ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[000000000d72a488] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 4689 ms)
[000000000d72a488] core input error: ES_OUT_RESET_PCR called
==6333== Thread 13:
==6333== Invalid read of size 8
==6333==    at 0x1E7DF731: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046E284: Thread (in /usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0x13e6e200 is 32 bytes before a block of size 32 in arena "client"
==6333==
==6333== Jump to the invalid address stated on the next line
==6333==    at 0x60: ???
==6333==    by 0x1E7DF736: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in /usr/lib/libvlccore.so.8.0.0)
==6333==  Address 0x60 is not stack'd, malloc'd or (recently) free'd
==6333==
==6333==
==6333== Process terminating with default action of signal 11 (SIGSEGV)
==6333==  Bad permissions for mapped region at address 0x60
==6333==    at 0x60: ???
==6333==    by 0x1E7DF736: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E7FB677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x1E762324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==6333==    by 0x2379EA42: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x2379C3CA: OutputClose (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==6333==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A79FF: filter_chain_DeleteFilterInternal (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A7FA7: filter_chain_Reset (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F04A801C: filter_chain_Delete (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F046872B: vout_ManageDisplay (in /usr/lib/libvlccore.so.8.0.0)
==6333==    by 0x30F047906B: vout_ManageWrapper (in /usr/lib/libvlccore.so.8.0.0)
==6333==
==6333== HEAP SUMMARY:
==6333==     in use at exit: 20,069,429 bytes in 55,213 blocks
==6333==   total heap usage: 577,372 allocs, 522,159 frees, 211,273,187 bytes allocated
==6333==
==6333== LEAK SUMMARY:
==6333==    definitely lost: 30,532 bytes in 51 blocks
==6333==    indirectly lost: 67,996 bytes in 1,064 blocks
==6333==      possibly lost: 13,355,146 bytes in 3,719 blocks
==6333==    still reachable: 6,615,755 bytes in 50,379 blocks
==6333==         suppressed: 0 bytes in 0 blocks
==6333== Rerun with --leak-check=full to see details of leaked memory
==6333==
==6333== For counts of detected and suppressed errors, rerun with: -v
==6333== ERROR SUMMARY: 41 errors from 5 contexts (suppressed: 1 from 1)
Killed
Comment 6 Michel Dänzer 2014-10-30 08:44:25 UTC
I can't seem to reproduce the crash with radeonsi. Do you use any particular vlc command line or configuration options?
Comment 7 Arthur Marsh 2014-10-30 09:08:01 UTC
No, no vlc options.

The hardware is Asus M3A78 Pro motherboard with an AMD Athlon(tm) II X4 640 Processor (quad core) and Radeon 3850HD.

The only other Radeon I could try on this machine without getting extra hardware is the on-board RS780 (Radeon 3200HD).
Comment 8 Andreas Boll 2014-10-30 09:32:41 UTC
It seems Arthur is using shader-based decoding instead of UVD based decoding, which is less tested nowadays.

@Arthur: UVD based decoding for your card is available with linux kernel >= 3.18-rc1 and the corresponding UVD firmware [1].


[1] http://people.freedesktop.org/~agd5f/radeon_ucode/R600_uvd.bin
Comment 9 Arthur Marsh 2014-10-30 10:04:57 UTC
Thanks for the URL for the R600_uvd.bin file. I added it to /lib/firmware/radeon and rebooted (currently on 3.18.0-rc2+, Linus git head), and no longer saw the failure to load R600_uvd.bin error in dmesg. (Is there a specific way to tell that R600_uvd.bin is loaded apart from the absence of an error message with recent kernels?)

Running vlc on its own on the same file still segfaulted, but vlc under valgrind played the whole VOB file without problems:

$ valgrind vlc VTS_01_1.VOB
==4234== Memcheck, a memory error detector
==4234== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==4234== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==4234== Command: vlc VTS_01_1.VOB
==4234==
VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443)
[0000000004c5f3a8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
==4234== Thread 7:
==4234== Invalid write of size 1
==4234==    at 0x315FC045B7: BOSA_ST_InitComponentLoader (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x1AC1DADB: InitOmxCore (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1C99C: OpenGeneric (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1D6DF: OpenDecoder (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0446C82: EsOutSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==  Address 0x13c43bd0 is 0 bytes after a block of size 2,048 alloc'd
==4234==    at 0x4A07C20: malloc (vg_replace_malloc.c:296)
==4234==    by 0x315FC0452E: BOSA_ST_InitComponentLoader (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x315FC055A7: OMX_Init (in /usr/lib/libomxil-bellagio.so.0.0.0)
==4234==    by 0x1AC1DADB: InitOmxCore (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1C99C: OpenGeneric (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x1AC1D6DF: OpenDecoder (in /usr/lib/vlc/plugins/codec/libomxil_plugin.so)
==4234==    by 0x30F048FCD4: module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F049029D: vlc_module_load (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F043FAD5: CreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04426D4: input_DecoderNew (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F0445825: EsCreateDecoder (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F04466BA: EsSelect (in /usr/lib/libvlccore.so.8.0.0)
==4234==
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (jitter of 5213 ms ignored)
[0000000014b2c548] core decoder error: Could not convert timestamp 0
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 334 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 636 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
==4234== Thread 10:
==4234== Invalid read of size 8
==4234==    at 0x1DB64731: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C987092: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x1C986724: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==  Address 0x1455a490 is 480 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Invalid read of size 8
==4234==    at 0x1DB6476E: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C987092: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x1C986724: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==  Address 0x1455a4a0 is 496 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Thread 13:
==4234== Invalid read of size 8
==4234==    at 0x1DB64731: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x2291FA42: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x2291ED64: VideoRender (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x30F04A84AB: filter_chain_VideoFilter (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046DE7A: ThreadDisplayPicture (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046E252: Thread (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x3001E080A3: start_thread (pthread_create.c:309)
==4234==  Address 0x1455a490 is 480 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
==4234== Invalid read of size 8
==4234==    at 0x1DB6476E: destroy_video_buffer_private (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DB80677: vl_video_buffer_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE7324: vlVdpVideoSurfaceDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x2291FA42: SurfaceDestroy (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x2291ED64: VideoRender (in /usr/lib/vlc/plugins/vdpau/libvdpau_chroma_plugin.so)
==4234==    by 0x30F04A84AB: filter_chain_VideoFilter (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046DE7A: ThreadDisplayPicture (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x30F046E252: Thread (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x3001E080A3: start_thread (pthread_create.c:309)
==4234==  Address 0x1455a4a0 is 496 bytes inside a block of size 10,760 free'd
==4234==    at 0x4A08E90: free (vg_replace_malloc.c:473)
==4234==    by 0x1DB6496A: vl_mpeg12_destroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1DAE8499: vlVdpDecoderDestroy (in /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1.0.0)
==4234==    by 0x1C98670D: Close (in /usr/lib/vlc/plugins/vdpau/libvdpau_avcodec_plugin.so)
==4234==    by 0x30F049078E: vlc_module_unload (in /usr/lib/libvlccore.so.8.0.0)
==4234==    by 0x1B030E68: vlc_va_Delete (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x1B02CA59: ffmpeg_GetFormat (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==    by 0x305A7FD5E0: ff_get_format (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DDBC8: decode_chunks (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A6DF8C8: mpeg_decode_frame (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x305A7FBE1A: avcodec_decode_video2 (in /usr/lib/x86_64-linux-gnu/libavcodec.so.56.1.0)
==4234==    by 0x1B02E19C: DecodeVideo (in /usr/lib/vlc/plugins/codec/libavcodec_plugin.so)
==4234==
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 641 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[0000000013a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 1745 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[000000000d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 3879 ms)
[000000000d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
==4234==
==4234== HEAP SUMMARY:
==4234==     in use at exit: 638,815 bytes in 7,656 blocks
==4234==   total heap usage: 821,406 allocs, 813,750 frees, 322,653,925 bytes allocated
==4234==
==4234== LEAK SUMMARY:
==4234==    definitely lost: 31,161 bytes in 84 blocks
==4234==    indirectly lost: 115,198 bytes in 393 blocks
==4234==      possibly lost: 5,052 bytes in 85 blocks
==4234==    still reachable: 487,404 bytes in 7,094 blocks
==4234==         suppressed: 0 bytes in 0 blocks
==4234== Rerun with --leak-check=full to see details of leaked memory
==4234==
==4234== For counts of detected and suppressed errors, rerun with: -v
==4234== ERROR SUMMARY: 70 errors from 5 contexts (suppressed: 1 from 1)

Running vlc under gdb gave a segfault:

$ gdb --args vlc VTS_01_1.VOB
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...Reading symbols from /usr/lib/debug/.build-id/58/9bf4b8c3dbcf8534df80318b7a759270e409d6.debug...done.
done.
(gdb) run
Starting program: /usr/bin/vlc VTS_01_1.VOB
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.2.0-pre4 Weatherwax (revision 2.2.0-pre3-104-g836a443)
[New Thread 0x7ffff670c700 (LWP 4296)]
[New Thread 0x7ffff5f0b700 (LWP 4297)]
[New Thread 0x7ffff4658700 (LWP 4298)]
[New Thread 0x7ffff4123700 (LWP 4299)]
[00000000006090b8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7fffeaba0700 (LWP 4300)]
[New Thread 0x7fffe31c4700 (LWP 4301)]
[Thread 0x7ffff4658700 (LWP 4298) exited]
[Thread 0x7fffe31c4700 (LWP 4301) exited]
[New Thread 0x7fffe31c4700 (LWP 4302)]
[New Thread 0x7ffff4658700 (LWP 4303)]
[New Thread 0x7fffe08a6700 (LWP 4304)]
[New Thread 0x7fffe07a5700 (LWP 4305)]
[Thread 0x7fffe07a5700 (LWP 4305) exited]
[New Thread 0x7fffcc700700 (LWP 4306)]
[New Thread 0x7fffe07a5700 (LWP 4308)]
[New Thread 0x7fffca8b8700 (LWP 4309)]
[New Thread 0x7fffc3fff700 (LWP 4310)]
[00007fffe40014b8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x7fffe4c64c00] warning: first frame is no keyframe
[New Thread 0x7fffc02ba700 (LWP 4311)]
[New Thread 0x7fffc01b9700 (LWP 4312)]
[00007fffe40014b8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[mpeg2video @ 0x7fffe4c64c00] warning: first frame is no keyframe

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc02ba700 (LWP 4311)]
0x0000000f0000000f in ?? ()
(gdb) bt
#0  0x0000000f0000000f in ?? ()
#1  0x00007fffc8ed2737 in pipe_sampler_view_reference (view=0x0,
    ptr=<optimized out>)
    at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151
#2  destroy_video_buffer_private (private=0x7fffc40f1700)
    at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103
#3  0x00007fffc8eee678 in vl_video_buffer_set_associated_data (
    destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0,
    vbuf=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200
#4  vl_video_buffer_destroy (buffer=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265
#5  0x00007fffc8e55325 in vlVdpVideoSurfaceDestroy (surface=4)
    at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140
#6  0x00007fffc06c4a43 in SurfaceDestroy (opaque=<optimized out>)
    at picture.c:48
#7  0x00007fffc06c3d65 in VideoRender (filter=0x7fffb8054408,
    src=0x7fffb803c010) at chroma.c:670
#8  0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90,
    f=0x7fffb8054408) at misc/filter_chain.c:230
#9  filter_chain_VideoFilter (p_chain=0x7fffb8026c20, p_pic=<optimized out>)
    at misc/filter_chain.c:248
#10 0x00000030f046de7b in ThreadDisplayRenderPicture (
    is_forced=<optimized out>, vout=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at video_output/video_output.c:1038
#11 ThreadDisplayPicture (vout=0x7fffc4026588, deadline=0x7fffb8053550)
    at video_output/video_output.c:1149
#12 0x00000030f046e253 in Thread (object=0x7fffc4026588)
    at video_output/video_output.c:1579
#13 0x0000003001e080a4 in start_thread (arg=0x7fffc02ba700)
    at pthread_create.c:309
#14 0x00000030016e5cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) bt full
#0  0x0000000f0000000f in ?? ()
No symbol table info available.
#1  0x00007fffc8ed2737 in pipe_sampler_view_reference (view=0x0,
    ptr=<optimized out>)
    at ../../../../../src/gallium/auxiliary/util/u_inlines.h:151
        old_view = <optimized out>
#2  destroy_video_buffer_private (private=0x7fffc40f1700)
    at ../../../../../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:103
        priv = 0x7fffc40f1700
        i = <optimized out>
#3  0x00007fffc8eee678 in vl_video_buffer_set_associated_data (
    destroy_associated_data=0x0, associated_data=0x0, vcodec=0x0,
    vbuf=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:200
No locals.
#4  vl_video_buffer_destroy (buffer=0x7fffc407e030)
    at ../../../../../src/gallium/auxiliary/vl/vl_video_buffer.c:265
        buf = 0x7fffc407e030
        i = <optimized out>
#5  0x00007fffc8e55325 in vlVdpVideoSurfaceDestroy (surface=4)
    at ../../../../../../src/gallium/state_trackers/vdpau/surface.c:140
        p_surf = 0x7fffc407df00
#6  0x00007fffc06c4a43 in SurfaceDestroy (opaque=<optimized out>)
    at picture.c:48
---Type <return> to continue, or q <return> to quit---
        field = <optimized out>
        frame = 0x7fffc407e2d0
        err = <optimized out>
#7  0x00007fffc06c3d65 in VideoRender (filter=0x7fffb8054408,
    src=0x7fffb803c010) at chroma.c:670
        sys = 0x7fffb8046910
        dst = 0x7fffb8011f20
        field = 0x7fffc40a9ce0
        features = {4}
        enables = {0}
        attrs = {3, 0}
        values = {0x7fffb8045c58, 0x0}
        count = 0
        csc = {{1.40129846e-45, 0, 6.86636248e-44, 4.59163468e-41}, {0, 0,
            1.2751816e-43, 6.72623263e-44}, {0, 0, 0, 0}}
        swap = 48
        output = 13
        structure = (unknown: 3288543744)
        past = {6, 4}
        surface = 0
        future = {3}
        src_rect = {x0 = 0, y0 = 0, x1 = 720, y1 = 576}
        dst_rect = {x0 = 0, y0 = 0, x1 = 1024, y1 = 576}
#8  0x00000030f04a84ac in FilterChainVideoFilter (p_pic=0x7fffb8012a90,
---Type <return> to continue, or q <return> to quit---
    f=0x7fffb8054408) at misc/filter_chain.c:230
        p_filter = 0x7fffb8054408
#9  filter_chain_VideoFilter (p_chain=0x7fffb8026c20, p_pic=<optimized out>)
    at misc/filter_chain.c:248
No locals.
#10 0x00000030f046de7b in ThreadDisplayRenderPicture (
    is_forced=<optimized out>, vout=<optimized out>)
    at video_output/video_output.c:1038
        render_subtitle_date = 140736280472208
        torender = 0x7fffb8012a90
        fmt_spu = {i_chroma = 810959958, i_width = 1024, i_height = 576,
          i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
          i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
          i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
          i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
          i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
          p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
        fmt_spu_rot = {i_chroma = 810959958, i_width = 1024, i_height = 576,
          i_x_offset = 0, i_y_offset = 0, i_visible_width = 1024,
          i_visible_height = 576, i_bits_per_pixel = 0, i_sar_num = 1,
          i_sar_den = 1, i_frame_rate = 50, i_frame_rate_base = 2,
          i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0,
          i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0,
          p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
---Type <return> to continue, or q <return> to quit---
        vd = 0x7fffb8001268
        subpic = 0x7fffb8053550
#11 ThreadDisplayPicture (vout=0x7fffc4026588, deadline=0x7fffb8053550)
    at video_output/video_output.c:1149
        paused = 104
        first = 144
        date = 140736482417888
        render_delay = 140736481839248
        date_next = 140736280460416
        date_refresh = 0
#12 0x00000030f046e253 in Thread (object=0x7fffc4026588)
    at video_output/video_output.c:1579
        cmd = {type = 3, u = {boolean = 240, time = 140736280508656,
            time_ptr = 0x7fffb801b8f0, string = 0x7fffb801b8f0 "\001",
            integer = -1207846672, pair = {a = -1207846672, b = 32767},
            pause = {is_on = 240, date = 0}, message = {channel = -1207846672,
              string = 0x0}, border = {left = 3087120624, top = 32767,
              right = 0, bottom = 0}, window = {x = 3087120624, y = 32767,
              width = 0, height = 0}, cfg = 0x7fffb801b8f0,
            subpicture = 0x7fffb801b8f0}}
        picture_interlaced = 184
        interlacing = {is_interlaced = true, date = 549030922}
        deadline = 0
#13 0x0000003001e080a4 in start_thread (arg=0x7fffc02ba700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fffc02ba700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736417474304,
                1398939773732191827, 1, 206160662624, 210189606848,
                140736417474304, -1399062469116625325, 1371921745088544339},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#14 0x00000030016e5cbd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb)
Comment 10 Christian König 2014-10-30 10:08:14 UTC
(In reply to Andreas Boll from comment #8)
> It seems Arthur is using shader-based decoding instead of UVD based
> decoding, which is less tested nowadays.

Correct, and the problem is well known. It's just that the shader based decoding has a race condition when destroying surfaces.

If the surfaces are destroy before the decoder it works fine (like mplayer/mpv does it), but if the surfaces are destroyed after the decoder is destroyed you run into this crash.
Comment 11 Andreas Boll 2014-10-30 10:10:52 UTC
Could you attach your dmesg output.
It should print: [drm] UVD initialized successfully.
Comment 12 Arthur Marsh 2014-10-30 10:18:15 UTC
Thanks, I did get the message:

[   12.372261] [drm] UVD initialized successfully.

$ dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.0-rc2+ (root@am64) (gcc version 4.9.1 (Debian 4.9.1-19) ) #1317 SMP PREEMPT Thu Oct 30 13:49:30 ACDT 2014
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.17.0+ root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture radeon.audio=1
[    0.000000] tseg: 0000000000
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000100-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e4000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cffaffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000cffb0000-0x00000000cffbdfff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000cffbe000-0x00000000cffdffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000cffe0000-0x00000000cfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff700000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000022fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.5 present.
[    0.000000] DMI: System manufacturer System Product Name/M3A78 PRO, BIOS 1701    01/27/2011
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x230000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-EFFFF uncachable
[    0.000000]   F0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000000 mask FFFF80000000 write-back
[    0.000000]   1 base 000080000000 mask FFFFC0000000 write-back
[    0.000000]   2 base 0000C0000000 mask FFFFF0000000 write-back
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] TOM2: 0000000230000000 aka 8960M
[    0.000000] x86 PAT enabled: cpu 0, old 0x7010600070106, new 0x7010600070106
[    0.000000] e820: update [mem 0xd0000000-0xffffffff] usable ==> reserved
[    0.000000] e820: last_pfn = 0xcffb0 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [ffff8800000ff780]
[    0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672
[    0.000000] Using GB pages for direct mapping
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000]  [mem 0x00000000-0x000fffff] page 4k
[    0.000000] BRK [0x22ff2f000, 0x22ff2ffff] PGTABLE
[    0.000000] BRK [0x22ff30000, 0x22ff30fff] PGTABLE
[    0.000000] BRK [0x22ff31000, 0x22ff31fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x22d400000-0x22d5fffff]
[    0.000000]  [mem 0x22d400000-0x22d5fffff] page 2M
[    0.000000] BRK [0x22ff32000, 0x22ff32fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x22c000000-0x22d3fffff]
[    0.000000]  [mem 0x22c000000-0x22d3fffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x200000000-0x22bffffff]
[    0.000000]  [mem 0x200000000-0x22bffffff] page 2M
[    0.000000] init_memory_mapping: [mem 0x00100000-0xcffaffff]
[    0.000000]  [mem 0x00100000-0x001fffff] page 4k
[    0.000000]  [mem 0x00200000-0x3fffffff] page 2M
[    0.000000]  [mem 0x40000000-0xbfffffff] page 1G
[    0.000000]  [mem 0xc0000000-0xcfdfffff] page 2M
[    0.000000]  [mem 0xcfe00000-0xcffaffff] page 4k
[    0.000000] BRK [0x22ff33000, 0x22ff33fff] PGTABLE
[    0.000000] BRK [0x22ff34000, 0x22ff34fff] PGTABLE
[    0.000000] init_memory_mapping: [mem 0x100000000-0x1ffffffff]
[    0.000000]  [mem 0x100000000-0x1ffffffff] page 1G
[    0.000000] init_memory_mapping: [mem 0x22d600000-0x22fffffff]
[    0.000000]  [mem 0x22d600000-0x22fffffff] page 2M
[    0.000000] RAMDISK: [mem 0x22d76e000-0x22e5fffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FA820 000024 (v02 ACPIAM)
[    0.000000] ACPI: XSDT 0x00000000CFFB0100 00005C (v01 012711 OEMXSDT  20110127 MSFT 00000097)
[    0.000000] ACPI: FACP 0x00000000CFFB0290 0000F4 (v03 012711 OEMFACP  20110127 MSFT 00000097)
[    0.000000] ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32 (20140926/tbfadt-618)
[    0.000000] ACPI: DSDT 0x00000000CFFB0450 0090C5 (v01 P0020  P0020000 00000000 INTL 20051117)
[    0.000000] ACPI: FACS 0x00000000CFFBE000 000040
[    0.000000] ACPI: APIC 0x00000000CFFB0390 00007C (v01 012711 OEMAPIC  20110127 MSFT 00000097)
[    0.000000] ACPI: MCFG 0x00000000CFFB0410 00003C (v01 012711 OEMMCFG  20110127 MSFT 00000097)
[    0.000000] ACPI: OEMB 0x00000000CFFBE040 000071 (v01 012711 AMI_OEM  20110127 MSFT 00000097)
[    0.000000] ACPI: SRAT 0x00000000CFFB9520 0000E8 (v03 AMD    FAM_F_10 00000002 AMD  00000001)
[    0.000000] ACPI: HPET 0x00000000CFFB9610 000038 (v01 012711 OEMHPET  20110127 MSFT 00000097)
[    0.000000] ACPI: SSDT 0x00000000CFFB9650 00088C (v01 A M I  POWERNOW 00000001 AMD  00000001)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000]  [ffffea0000000000-ffffea0007bfffff] PMD -> [ffff880224e00000-ffff88022bffffff] on node 0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   [mem 0x100000000-0x22fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0xcffaffff]
[    0.000000]   node   0: [mem 0x100000000-0x22fffffff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x22fffffff]
[    0.000000] On node 0 totalpages: 2096974
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 22 pages reserved
[    0.000000]   DMA zone: 3998 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 11591 pages used for memmap
[    0.000000]   DMA32 zone: 847792 pages, LIFO batch:31
[    0.000000]   Normal zone: 17024 pages used for memmap
[    0.000000]   Normal zone: 1245184 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled)
[    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8300 base: 0xfed00000
[    0.000000] smpboot: Allowing 6 CPUs, 2 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000e3fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e4000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xcffb0000-0xcffbdfff]
[    0.000000] PM: Registered nosave memory: [mem 0xcffbe000-0xcffdffff]
[    0.000000] PM: Registered nosave memory: [mem 0xcffe0000-0xcfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xd0000000-0xff6fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xff700000-0xffffffff]
[    0.000000] e820: [mem 0xd0000000-0xff6fffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:6 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff88022d400000 s84544 r8192 d30144 u262144
[    0.000000] pcpu-alloc: s84544 r8192 d30144 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 - -
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 2068281
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.17.0+ root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture radeon.audio=1
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] Memory: 8150456K/8387896K available (5292K kernel code, 804K rwdata, 2432K rodata, 904K init, 13804K bss, 237440K reserved)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS:4352 nr_irqs:472 0
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000000] ... CHAINHASH_SIZE:          32768
[    0.000000]  memory used by lock dependency info: 8159 kB
[    0.000000]  per task-struct memory footprint: 1920 bytes
[    0.000000] allocated 33554432 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 3007.815 MHz processor
[    0.000075] Calibrating delay loop (skipped), value calculated using timer frequency.. 6015.63 BogoMIPS (lpj=12031260)
[    0.000149] pid_max: default: 32768 minimum: 301
[    0.000220] ACPI: Core revision 20140926
[    0.006957] ACPI: All ACPI Tables successfully acquired
[    0.007150] Security Framework initialized
[    0.007196] AppArmor: AppArmor disabled by boot time parameter
[    0.007231] Yama: becoming mindful.
[    0.007316] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.007358] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.008210] Initializing cgroup subsys memory
[    0.008261] Initializing cgroup subsys devices
[    0.008315] Initializing cgroup subsys freezer
[    0.008368] Initializing cgroup subsys net_cls
[    0.008405] Initializing cgroup subsys blkio
[    0.008444] Initializing cgroup subsys perf_event
[    0.008481] Initializing cgroup subsys net_prio
[    0.008559] CPU: Physical Processor ID: 0
[    0.008600] CPU: Processor Core ID: 0
[    0.008634] mce: CPU supports 6 MCE banks
[    0.008672] LVT offset 0 assigned for vector 0xf9
[    0.008709] process: using AMD E400 aware idle routine
[    0.008745] Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8
Last level dTLB entries: 4KB 512, 2MB 128, 4MB 64, 1GB 0
[    0.008928] Freeing SMP alternatives memory: 20K (ffffffff81bad000 - ffffffff81bb2000)
[    0.010330] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.050000] smpboot: CPU0: AMD Athlon(tm) II X4 640 Processor (fam: 10, model: 05, stepping: 03)
[    0.154935] Performance Events: AMD PMU driver.
[    0.155008] ... version:                0
[    0.155042] ... bit width:              48
[    0.155076] ... generic registers:      4
[    0.155111] ... value mask:             0000ffffffffffff
[    0.155145] ... max period:             00007fffffffffff
[    0.155180] ... fixed-purpose events:   0
[    0.155213] ... event mask:             000000000000000f
[    0.155398] process: System has AMD C1E enabled
[    0.155443] process: Switch to broadcast mode on CPU0
[    0.179704] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.187853] x86: Booting SMP configuration:
[    0.187897] .... node  #0, CPUs:      #1
[    0.201129] process: Switch to broadcast mode on CPU1
[    0.207665]  #2
[    0.220833] process: Switch to broadcast mode on CPU2
[    0.227645]  #3
[    0.240755] x86: Booted up 1 node, 4 CPUs
[    0.240820] process: Switch to broadcast mode on CPU3
[    0.240858] smpboot: Total of 4 processors activated (24062.52 BogoMIPS)
[    0.242619] devtmpfs: initialized
[    0.249091] PM: Registering ACPI NVS region [mem 0xcffbe000-0xcffdffff] (139264 bytes)
[    0.249780] pinctrl core: initialized pinctrl subsystem
[    0.250321] NET: Registered protocol family 16
[    0.259431] cpuidle: using governor ladder
[    0.271390] cpuidle: using governor menu
[    0.271462] node 0 link 0: io port [1000, ffffff]
[    0.271465] TOM: 00000000d0000000 aka 3328M
[    0.271500] Fam 10h mmconf [mem 0xe0000000-0xefffffff]
[    0.271503] node 0 link 0: mmio [a0000, bffff]
[    0.271506] node 0 link 0: mmio [d0000000, dfffffff]
[    0.271512] node 0 link 0: mmio [e0000000, efffffff] ==> none
[    0.271514] node 0 link 0: mmio [f0000000, ffefffff]
[    0.271516] TOM2: 0000000230000000 aka 8960M
[    0.271551] bus: [bus 00-07] on node 0 link 0
[    0.271552] bus: 00 [io  0x0000-0xffff]
[    0.271554] bus: 00 [mem 0x000a0000-0x000bffff]
[    0.271555] bus: 00 [mem 0xd0000000-0xdfffffff]
[    0.271556] bus: 00 [mem 0xf0000000-0xffffffff]
[    0.271558] bus: 00 [mem 0x230000000-0xfcffffffff]
[    0.271698] ACPI: bus type PCI registered
[    0.271733] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.272009] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.272049] PCI: not using MMCONFIG
[    0.272083] PCI: Using configuration type 1 for base access
[    0.272118] PCI: Using configuration type 1 for extended access
[    0.285402] ACPI: Added _OSI(Module Device)
[    0.285442] ACPI: Added _OSI(Processor Device)
[    0.285478] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.285513] ACPI: Added _OSI(Processor Aggregator Device)
[    0.292352] ACPI: Executed 2 blocks of module-level executable AML code
[    0.297278] ACPI: Interpreter enabled
[    0.297331] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-580)
[    0.297473] ACPI: (supports S0 S1 S3 S4 S5)
[    0.297516] ACPI: Using IOAPIC for interrupt routing
[    0.297627] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.298556] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.299030] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.310677] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.310726] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.310813] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.311685] PCI host bridge to bus 0000:00
[    0.311722] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.311757] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.311793] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.311829] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.311864] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000dffff]
[    0.311900] pci_bus 0000:00: root bus resource [mem 0xd0000000-0xdfffffff]
[    0.311936] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfebfffff]
[    0.311995] pci 0000:00:00.0: [1022:9600] type 00 class 0x060000
[    0.312359] pci 0000:00:02.0: [1022:9603] type 01 class 0x060400
[    0.312421] pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
[    0.312563] pci 0000:00:02.0: System wakeup disabled by ACPI
[    0.312702] pci 0000:00:06.0: [1022:9606] type 01 class 0x060400
[    0.312763] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold
[    0.312850] pci 0000:00:06.0: System wakeup disabled by ACPI
[    0.313008] pci 0000:00:11.0: [1002:4391] type 00 class 0x010601
[    0.313033] pci 0000:00:11.0: reg 0x10: [io  0xc000-0xc007]
[    0.313044] pci 0000:00:11.0: reg 0x14: [io  0xb000-0xb003]
[    0.313055] pci 0000:00:11.0: reg 0x18: [io  0xa000-0xa007]
[    0.313066] pci 0000:00:11.0: reg 0x1c: [io  0x9000-0x9003]
[    0.313077] pci 0000:00:11.0: reg 0x20: [io  0x8000-0x800f]
[    0.313088] pci 0000:00:11.0: reg 0x24: [mem 0xfe9ff800-0xfe9ffbff]
[    0.313311] pci 0000:00:12.0: [1002:4397] type 00 class 0x0c0310
[    0.313326] pci 0000:00:12.0: reg 0x10: [mem 0xfe9fe000-0xfe9fefff]
[    0.313482] pci 0000:00:12.0: System wakeup disabled by ACPI
[    0.313617] pci 0000:00:12.1: [1002:4398] type 00 class 0x0c0310
[    0.313633] pci 0000:00:12.1: reg 0x10: [mem 0xfe9fd000-0xfe9fdfff]
[    0.313780] pci 0000:00:12.1: System wakeup disabled by ACPI
[    0.313920] pci 0000:00:12.2: [1002:4396] type 00 class 0x0c0320
[    0.313942] pci 0000:00:12.2: reg 0x10: [mem 0xfe9ff000-0xfe9ff0ff]
[    0.314045] pci 0000:00:12.2: supports D1 D2
[    0.314046] pci 0000:00:12.2: PME# supported from D0 D1 D2 D3hot
[    0.314135] pci 0000:00:12.2: System wakeup disabled by ACPI
[    0.314277] pci 0000:00:13.0: [1002:4397] type 00 class 0x0c0310
[    0.314292] pci 0000:00:13.0: reg 0x10: [mem 0xfe9fc000-0xfe9fcfff]
[    0.314450] pci 0000:00:13.0: System wakeup disabled by ACPI
[    0.314585] pci 0000:00:13.1: [1002:4398] type 00 class 0x0c0310
[    0.314600] pci 0000:00:13.1: reg 0x10: [mem 0xfe9fb000-0xfe9fbfff]
[    0.314747] pci 0000:00:13.1: System wakeup disabled by ACPI
[    0.314891] pci 0000:00:13.2: [1002:4396] type 00 class 0x0c0320
[    0.314914] pci 0000:00:13.2: reg 0x10: [mem 0xfe9fa800-0xfe9fa8ff]
[    0.315017] pci 0000:00:13.2: supports D1 D2
[    0.315018] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
[    0.315104] pci 0000:00:13.2: System wakeup disabled by ACPI
[    0.315246] pci 0000:00:14.0: [1002:4385] type 00 class 0x0c0500
[    0.315334] pci 0000:00:14.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
[    0.315511] pci 0000:00:14.1: [1002:439c] type 00 class 0x01018a
[    0.315531] pci 0000:00:14.1: reg 0x10: [io  0x0000-0x0007]
[    0.315542] pci 0000:00:14.1: reg 0x14: [io  0x0000-0x0003]
[    0.315553] pci 0000:00:14.1: reg 0x18: [io  0x0000-0x0007]
[    0.315563] pci 0000:00:14.1: reg 0x1c: [io  0x0000-0x0003]
[    0.315574] pci 0000:00:14.1: reg 0x20: [io  0xff00-0xff0f]
[    0.315598] pci 0000:00:14.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.315634] pci 0000:00:14.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.315670] pci 0000:00:14.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.315705] pci 0000:00:14.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.315928] pci 0000:00:14.2: [1002:4383] type 00 class 0x040300
[    0.315953] pci 0000:00:14.2: reg 0x10: [mem 0xfe9f4000-0xfe9f7fff 64bit]
[    0.316036] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[    0.316122] pci 0000:00:14.2: System wakeup disabled by ACPI
[    0.316256] pci 0000:00:14.3: [1002:439d] type 00 class 0x060100
[    0.316489] pci 0000:00:14.4: [1002:4384] type 01 class 0x060401
[    0.316609] pci 0000:00:14.4: System wakeup disabled by ACPI
[    0.316744] pci 0000:00:14.5: [1002:4399] type 00 class 0x0c0310
[    0.316759] pci 0000:00:14.5: reg 0x10: [mem 0xfe9f9000-0xfe9f9fff]
[    0.316906] pci 0000:00:14.5: System wakeup disabled by ACPI
[    0.317046] pci 0000:00:18.0: [1022:1200] type 00 class 0x060000
[    0.317210] pci 0000:00:18.1: [1022:1201] type 00 class 0x060000
[    0.317365] pci 0000:00:18.2: [1022:1202] type 00 class 0x060000
[    0.317523] pci 0000:00:18.3: [1022:1203] type 00 class 0x060000
[    0.317686] pci 0000:00:18.4: [1022:1204] type 00 class 0x060000
[    0.317947] pci 0000:01:00.0: [1002:9505] type 00 class 0x030000
[    0.317962] pci 0000:01:00.0: reg 0x10: [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.317973] pci 0000:01:00.0: reg 0x18: [mem 0xfeaf0000-0xfeafffff 64bit]
[    0.317980] pci 0000:01:00.0: reg 0x20: [io  0xd000-0xd0ff]
[    0.317993] pci 0000:01:00.0: reg 0x30: [mem 0xfeac0000-0xfeadffff pref]
[    0.318033] pci 0000:01:00.0: supports D1 D2
[    0.318128] pci 0000:01:00.1: [1002:aa18] type 00 class 0x040300
[    0.318143] pci 0000:01:00.1: reg 0x10: [mem 0xfeaec000-0xfeaeffff 64bit]
[    0.318210] pci 0000:01:00.1: supports D1 D2
[    0.323359] pci 0000:00:02.0: PCI bridge to [bus 01]
[    0.323406] pci 0000:00:02.0:   bridge window [io  0xd000-0xdfff]
[    0.323410] pci 0000:00:02.0:   bridge window [mem 0xfea00000-0xfeafffff]
[    0.323414] pci 0000:00:02.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.323555] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[    0.323574] pci 0000:02:00.0: reg 0x10: [io  0xe800-0xe8ff]
[    0.323598] pci 0000:02:00.0: reg 0x18: [mem 0xfebff000-0xfebfffff 64bit]
[    0.323614] pci 0000:02:00.0: reg 0x20: [mem 0xfdff0000-0xfdffffff 64bit pref]
[    0.323624] pci 0000:02:00.0: reg 0x30: [mem 0xfebc0000-0xfebdffff pref]
[    0.323710] pci 0000:02:00.0: supports D1 D2
[    0.323712] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.331339] pci 0000:00:06.0: PCI bridge to [bus 02]
[    0.331385] pci 0000:00:06.0:   bridge window [io  0xe000-0xefff]
[    0.331388] pci 0000:00:06.0:   bridge window [mem 0xfeb00000-0xfebfffff]
[    0.331392] pci 0000:00:06.0:   bridge window [mem 0xfdf00000-0xfdffffff 64bit pref]
[    0.331554] pci 0000:00:14.4: PCI bridge to [bus 03] (subtractive decode)
[    0.331599] pci 0000:00:14.4:   bridge window [io  0x0000-0x0cf7] (subtractive decode)
[    0.331601] pci 0000:00:14.4:   bridge window [io  0x0d00-0xffff] (subtractive decode)
[    0.331603] pci 0000:00:14.4:   bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
[    0.331605] pci 0000:00:14.4:   bridge window [mem 0x000d0000-0x000dffff] (subtractive decode)
[    0.331607] pci 0000:00:14.4:   bridge window [mem 0xd0000000-0xdfffffff] (subtractive decode)
[    0.331609] pci 0000:00:14.4:   bridge window [mem 0xf0000000-0xfebfffff] (subtractive decode)
[    0.331644] pci_bus 0000:00: on NUMA node 0
[    0.333309] ACPI: PCI Interrupt Link [LNKA] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.333746] ACPI: PCI Interrupt Link [LNKB] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.334180] ACPI: PCI Interrupt Link [LNKC] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.334612] ACPI: PCI Interrupt Link [LNKD] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.335046] ACPI: PCI Interrupt Link [LNKE] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.335492] ACPI: PCI Interrupt Link [LNKF] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.335925] ACPI: PCI Interrupt Link [LNKG] (IRQs 4 10 11 12 14 15) *0, disabled.
[    0.336327] ACPI: PCI Interrupt Link [LNKH] (IRQs 4 7 10 11 12 14 15) *0, disabled.
[    0.336913] ACPI: Enabled 1 GPEs in block 00 to 1F
[    0.337576] vgaarb: setting as boot device: PCI:0000:01:00.0
[    0.337621] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    0.337661] vgaarb: loaded
[    0.337695] vgaarb: bridge control possible 0000:01:00.0
[    0.338038] PCI: Using ACPI for IRQ routing
[    0.347539] PCI: pci_cache_line_size set to 64 bytes
[    0.347613] e820: reserve RAM buffer [mem 0x0009f000-0x0009ffff]
[    0.347623] e820: reserve RAM buffer [mem 0xcffb0000-0xcfffffff]
[    0.348173] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[    0.348359] hpet0: 4 comparators, 32-bit 14.318180 MHz counter
[    0.350519] Switched to clocksource hpet
[    0.360271] pnp: PnP ACPI init
[    0.360704] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.360840] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.361390] system 00:02: [mem 0xfec00000-0xfec00fff] could not be reserved
[    0.361432] system 00:02: [mem 0xfee00000-0xfee00fff] has been reserved
[    0.361470] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.361673] system 00:03: [io  0x04d0-0x04d1] has been reserved
[    0.361713] system 00:03: [io  0x040b] has been reserved
[    0.361749] system 00:03: [io  0x04d6] has been reserved
[    0.361784] system 00:03: [io  0x0c00-0x0c01] has been reserved
[    0.361820] system 00:03: [io  0x0c14] has been reserved
[    0.361855] system 00:03: [io  0x0c50-0x0c51] has been reserved
[    0.361891] system 00:03: [io  0x0c52] has been reserved
[    0.361927] system 00:03: [io  0x0c6c] has been reserved
[    0.361962] system 00:03: [io  0x0c6f] has been reserved
[    0.361998] system 00:03: [io  0x0cd0-0x0cd1] has been reserved
[    0.362033] system 00:03: [io  0x0cd2-0x0cd3] has been reserved
[    0.362069] system 00:03: [io  0x0cd4-0x0cd5] has been reserved
[    0.362105] system 00:03: [io  0x0cd6-0x0cd7] has been reserved
[    0.362140] system 00:03: [io  0x0cd8-0x0cdf] has been reserved
[    0.362176] system 00:03: [io  0x0800-0x089f] could not be reserved
[    0.362212] system 00:03: [io  0x0b00-0x0b3f] has been reserved
[    0.362248] system 00:03: [io  0x0900-0x090f] has been reserved
[    0.362284] system 00:03: [io  0x0910-0x091f] has been reserved
[    0.362320] system 00:03: [io  0xfe00-0xfefe] has been reserved
[    0.362356] system 00:03: [mem 0xffb80000-0xffbfffff] has been reserved
[    0.362392] system 00:03: [mem 0xfec10000-0xfec1001f] has been reserved
[    0.362430] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.362544] pnp 00:04: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[    0.362663] pnp 00:05: Plug and Play ACPI device, IDs PNP0f03 PNP0f13 (active)
[    0.363459] pnp 00:06: [dma 0 disabled]
[    0.363528] pnp 00:06: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.363809] system 00:07: [io  0x0e00-0x0e0f] has been reserved
[    0.363849] system 00:07: [io  0x0e80-0x0e8f] has been reserved
[    0.363885] system 00:07: [io  0x0f40-0x0f4f] has been reserved
[    0.363921] system 00:07: [io  0x0a30-0x0a3f] has been reserved
[    0.363959] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.364069] system 00:08: [mem 0xe0000000-0xefffffff] has been reserved
[    0.364110] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.364331] system 00:09: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.364372] system 00:09: [mem 0x000c0000-0x000cffff] could not be reserved
[    0.364408] system 00:09: [mem 0x000e0000-0x000fffff] could not be reserved
[    0.364445] system 00:09: [mem 0x00100000-0xcfffffff] could not be reserved
[    0.364481] system 00:09: [mem 0xfec00000-0xffffffff] could not be reserved
[    0.364518] system 00:09: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.364671] pnp: PnP ACPI: found 10 devices
[    0.382525] pci 0000:00:14.0: BAR 6: assigned [mem 0xf0000000-0xf00007ff pref]
[    0.382570] pci 0000:00:02.0: PCI bridge to [bus 01]
[    0.382606] pci 0000:00:02.0:   bridge window [io  0xd000-0xdfff]
[    0.382644] pci 0000:00:02.0:   bridge window [mem 0xfea00000-0xfeafffff]
[    0.382681] pci 0000:00:02.0:   bridge window [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.382722] pci 0000:00:06.0: PCI bridge to [bus 02]
[    0.382757] pci 0000:00:06.0:   bridge window [io  0xe000-0xefff]
[    0.382794] pci 0000:00:06.0:   bridge window [mem 0xfeb00000-0xfebfffff]
[    0.382831] pci 0000:00:06.0:   bridge window [mem 0xfdf00000-0xfdffffff 64bit pref]
[    0.382871] pci 0000:00:14.4: PCI bridge to [bus 03]
[    0.382918] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
[    0.382920] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
[    0.382922] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
[    0.382924] pci_bus 0000:00: resource 7 [mem 0x000d0000-0x000dffff]
[    0.382925] pci_bus 0000:00: resource 8 [mem 0xd0000000-0xdfffffff]
[    0.382927] pci_bus 0000:00: resource 9 [mem 0xf0000000-0xfebfffff]
[    0.382929] pci_bus 0000:01: resource 0 [io  0xd000-0xdfff]
[    0.382930] pci_bus 0000:01: resource 1 [mem 0xfea00000-0xfeafffff]
[    0.382932] pci_bus 0000:01: resource 2 [mem 0xd0000000-0xdfffffff 64bit pref]
[    0.382934] pci_bus 0000:02: resource 0 [io  0xe000-0xefff]
[    0.382936] pci_bus 0000:02: resource 1 [mem 0xfeb00000-0xfebfffff]
[    0.382937] pci_bus 0000:02: resource 2 [mem 0xfdf00000-0xfdffffff 64bit pref]
[    0.382939] pci_bus 0000:03: resource 4 [io  0x0000-0x0cf7]
[    0.382941] pci_bus 0000:03: resource 5 [io  0x0d00-0xffff]
[    0.382943] pci_bus 0000:03: resource 6 [mem 0x000a0000-0x000bffff]
[    0.382944] pci_bus 0000:03: resource 7 [mem 0x000d0000-0x000dffff]
[    0.382946] pci_bus 0000:03: resource 8 [mem 0xd0000000-0xdfffffff]
[    0.382948] pci_bus 0000:03: resource 9 [mem 0xf0000000-0xfebfffff]
[    0.383071] NET: Registered protocol family 2
[    0.383637] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.383837] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes)
[    0.386995] TCP: Hash tables configured (established 65536 bind 65536)
[    0.387143] TCP: reno registered
[    0.387199] UDP hash table entries: 4096 (order: 7, 655360 bytes)
[    0.387654] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes)
[    0.388481] NET: Registered protocol family 1
[    0.666548] pci 0000:01:00.0: Video device with shadowed ROM
[    0.666559] PCI: CLS 64 bytes, default 64
[    0.666785] Unpacking initramfs...
[    0.938280] Freeing initrd memory: 14920K (ffff88022d76e000 - ffff88022e600000)
[    0.938337] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.938374] software IO TLB [mem 0xcbfb0000-0xcffb0000] (64MB) mapped at [ffff8800cbfb0000-ffff8800cffaffff]
[    0.939056] microcode: CPU0: patch_level=0x010000c8
[    0.939123] microcode: CPU1: patch_level=0x010000c8
[    0.939193] microcode: CPU2: patch_level=0x010000c8
[    0.939243] microcode: CPU3: patch_level=0x010000c8
[    0.939518] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.939568] LVT offset 1 assigned for vector 0x400
[    0.939617] IBS: LVT offset 1 assigned
[    0.939712] perf: AMD IBS detected (0x0000001f)
[    0.940602] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.940810] audit: initializing netlink subsys (disabled)
[    0.940932] audit: type=2000 audit(1414662129.820:1): initialized
[    0.941766] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.942288] VFS: Disk quotas dquot_6.5.2
[    0.942368] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.942726] msgmni has been set to 15948
[    0.944814] alg: No test for stdrng (krng)
[    0.944975] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.945259] io scheduler noop registered
[    0.945303] io scheduler deadline registered
[    0.945402] io scheduler cfq registered (default)
[    0.945952] pcieport 0000:00:02.0: irq 24 for MSI/MSI-X
[    0.946300] pcieport 0000:00:06.0: irq 25 for MSI/MSI-X
[    0.946444] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.946590] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.946870] GHES: HEST is not enabled!
[    0.947062] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.967704] serial 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.969330] Linux agpgart interface v0.103
[    0.970094] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[    0.970612] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.970883] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.971440] mousedev: PS/2 mouse device common for all mice
[    0.971753] rtc_cmos 00:01: RTC can wake from S4
[    0.972151] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    0.972219] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.972395] TCP: cubic registered
[    0.972542] NET: Registered protocol family 10
[    0.973303] mip6: Mobile IPv6
[    0.973419] NET: Registered protocol family 17
[    0.973461] mpls_gso: MPLS GSO support
[    0.974991] registered taskstats version 1
[    0.976301] rtc_cmos 00:01: setting system clock to 2014-10-30 09:42:10 UTC (1414662130)
[    0.976533] PM: Hibernation image not present or could not be loaded.
[    0.977798] Freeing unused kernel memory: 904K (ffffffff81acb000 - ffffffff81bad000)
[    0.977842] Write protecting the kernel read-only data: 10240k
[    0.980911] Freeing unused kernel memory: 844K (ffff88022eb2d000 - ffff88022ec00000)
[    0.985176] Freeing unused kernel memory: 1664K (ffff88022ee60000 - ffff88022f000000)
[    0.993396] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    1.007851] systemd-udevd[76]: starting version 204
[    1.038670] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.038733] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.039025] r8169 0000:02:00.0: irq 26 for MSI/MSI-X
[    1.040623] r8169 0000:02:00.0 eth0: RTL8168c/8111c at 0xffffc9000000a000, 00:23:54:5e:5d:d5, XID 1c4000c0 IRQ 26
[    1.040685] r8169 0000:02:00.0 eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko]
[    1.041212] ACPI: bus type USB registered
[    1.041330] usbcore: registered new interface driver usbfs
[    1.041462] usbcore: registered new interface driver hub
[    1.045719] usbcore: registered new device driver usb
[    1.048627] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.050313] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.052260] ehci-pci: EHCI PCI platform driver
[    1.052576] SCSI subsystem initialized
[    1.052721] QUIRK: Enable AMD PLL fix
[    1.052818] ehci-pci 0000:00:12.2: EHCI Host Controller
[    1.053039] ehci-pci 0000:00:12.2: new USB bus registered, assigned bus number 1
[    1.053136] ehci-pci 0000:00:12.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[    1.053180] ehci-pci 0000:00:12.2: applying AMD SB600/SB700 USB freeze workaround
[    1.053243] ehci-pci 0000:00:12.2: debug port 1
[    1.053416] ehci-pci 0000:00:12.2: irq 17, io mem 0xfe9ff000
[    1.056361] libata version 3.00 loaded.
[    1.061677] ehci-pci 0000:00:12.2: USB 2.0 started, EHCI 1.00
[    1.062183] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.062224] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.062262] usb usb1: Product: EHCI Host Controller
[    1.062298] usb usb1: Manufacturer: Linux 3.18.0-rc2+ ehci_hcd
[    1.062334] usb usb1: SerialNumber: 0000:00:12.2
[    1.064085] hub 1-0:1.0: USB hub found
[    1.064160] hub 1-0:1.0: 6 ports detected
[    1.072062] ehci-pci 0000:00:13.2: EHCI Host Controller
[    1.072116] ehci-pci 0000:00:13.2: new USB bus registered, assigned bus number 2
[    1.072160] ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[    1.072200] ehci-pci 0000:00:13.2: applying AMD SB600/SB700 USB freeze workaround
[    1.072252] ehci-pci 0000:00:13.2: debug port 1
[    1.072345] ehci-pci 0000:00:13.2: irq 19, io mem 0xfe9fa800
[    1.081664] ehci-pci 0000:00:13.2: USB 2.0 started, EHCI 1.00
[    1.081896] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.081937] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.081976] usb usb2: Product: EHCI Host Controller
[    1.082014] usb usb2: Manufacturer: Linux 3.18.0-rc2+ ehci_hcd
[    1.082050] usb usb2: SerialNumber: 0000:00:13.2
[    1.082679] hub 2-0:1.0: USB hub found
[    1.082734] hub 2-0:1.0: 6 ports detected
[    1.084356] ohci-pci: OHCI PCI platform driver
[    1.086774] scsi host0: pata_atiixp
[    1.087285] scsi host1: pata_atiixp
[    1.090116] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[    1.090159] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xff08 irq 15
[    1.090968] ahci 0000:00:11.0: version 3.0
[    1.091327] ahci 0000:00:11.0: irq 27 for MSI/MSI-X
[    1.091458] ahci 0000:00:11.0: AHCI 0001.0100 32 slots 6 ports 3 Gbps 0x3f impl SATA mode
[    1.091508] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part ccc
[    1.096063] scsi host2: ahci
[    1.096504] scsi host3: ahci
[    1.097599] scsi host4: ahci
[    1.101082] scsi host5: ahci
[    1.103054] scsi host6: ahci
[    1.103764] scsi host7: ahci
[    1.104475] ata3: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ff900 irq 27
[    1.104523] ata4: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ff980 irq 27
[    1.104563] ata5: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ffa00 irq 27
[    1.104607] ata6: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ffa80 irq 27
[    1.104647] ata7: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ffb00 irq 27
[    1.104695] ata8: SATA max UDMA/133 abar m1024@0xfe9ff800 port 0xfe9ffb80 irq 27
[    1.105216] ohci-pci 0000:00:12.0: OHCI PCI host controller
[    1.105515] ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 3
[    1.105659] ohci-pci 0000:00:12.0: irq 16, io mem 0xfe9fe000
[    1.165748] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    1.165794] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.165832] usb usb3: Product: OHCI PCI host controller
[    1.165867] usb usb3: Manufacturer: Linux 3.18.0-rc2+ ohci_hcd
[    1.165903] usb usb3: SerialNumber: 0000:00:12.0
[    1.166476] hub 3-0:1.0: USB hub found
[    1.166532] hub 3-0:1.0: 3 ports detected
[    1.167244] ohci-pci 0000:00:12.1: OHCI PCI host controller
[    1.167291] ohci-pci 0000:00:12.1: new USB bus registered, assigned bus number 4
[    1.167383] ohci-pci 0000:00:12.1: irq 16, io mem 0xfe9fd000
[    1.225557] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.225602] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.225640] usb usb4: Product: OHCI PCI host controller
[    1.225675] usb usb4: Manufacturer: Linux 3.18.0-rc2+ ohci_hcd
[    1.225711] usb usb4: SerialNumber: 0000:00:12.1
[    1.226249] hub 4-0:1.0: USB hub found
[    1.226304] hub 4-0:1.0: 3 ports detected
[    1.226990] ohci-pci 0000:00:13.0: OHCI PCI host controller
[    1.227036] ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 5
[    1.227154] ohci-pci 0000:00:13.0: irq 18, io mem 0xfe9fc000
[    1.285505] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    1.285550] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.285588] usb usb5: Product: OHCI PCI host controller
[    1.285623] usb usb5: Manufacturer: Linux 3.18.0-rc2+ ohci_hcd
[    1.285658] usb usb5: SerialNumber: 0000:00:13.0
[    1.286181] hub 5-0:1.0: USB hub found
[    1.286236] hub 5-0:1.0: 3 ports detected
[    1.286923] ohci-pci 0000:00:13.1: OHCI PCI host controller
[    1.286969] ohci-pci 0000:00:13.1: new USB bus registered, assigned bus number 6
[    1.287057] ohci-pci 0000:00:13.1: irq 18, io mem 0xfe9fb000
[    1.345420] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    1.345464] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.345502] usb usb6: Product: OHCI PCI host controller
[    1.345537] usb usb6: Manufacturer: Linux 3.18.0-rc2+ ohci_hcd
[    1.345572] usb usb6: SerialNumber: 0000:00:13.1
[    1.346141] hub 6-0:1.0: USB hub found
[    1.346199] hub 6-0:1.0: 3 ports detected
[    1.346907] ohci-pci 0000:00:14.5: OHCI PCI host controller
[    1.346953] ohci-pci 0000:00:14.5: new USB bus registered, assigned bus number 7
[    1.347042] ohci-pci 0000:00:14.5: irq 18, io mem 0xfe9f9000
[    1.373351] usb 1-4: new high-speed USB device number 2 using ehci-pci
[    1.393289] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.405333] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    1.405378] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.405415] usb usb7: Product: OHCI PCI host controller
[    1.405450] usb usb7: Manufacturer: Linux 3.18.0-rc2+ ohci_hcd
[    1.405485] usb usb7: SerialNumber: 0000:00:14.5
[    1.406022] hub 7-0:1.0: USB hub found
[    1.406077] hub 7-0:1.0: 2 ports detected
[    1.425262] ata5: SATA link down (SStatus 0 SControl 300)
[    1.425373] ata6: SATA link down (SStatus 0 SControl 300)
[    1.429282] ata7: SATA link down (SStatus 0 SControl 300)
[    1.433234] ata8: SATA link down (SStatus 0 SControl 300)
[    1.506892] usb 1-4: New USB device found, idVendor=0bc2, idProduct=2300
[    1.506940] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.506976] usb 1-4: Product: Portable
[    1.507011] usb 1-4: Manufacturer: Seagate
[    1.507048] usb 1-4: SerialNumber: 2GH5GFZD
[    1.511899] usb-storage 1-4:1.0: USB Mass Storage device detected
[    1.512286] usb-storage 1-4:1.0: Quirks match for vid 0bc2 pid 2300: 200000
[    1.512520] scsi host8: usb-storage 1-4:1.0
[    1.512840] usbcore: registered new interface driver usb-storage
[    1.513477] usbcore: registered new interface driver uas
[    1.539883] usb 2-1: New USB device found, idVendor=0bda, idProduct=2838
[    1.539926] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.539962] usb 2-1: Product: RTL2838UHIDIR
[    1.539997] usb 2-1: Manufacturer: Realtek
[    1.592997] ata4: softreset failed (device not ready)
[    1.593043] ata4: applying PMP SRST workaround and retrying
[    1.596974] ata3: softreset failed (device not ready)
[    1.597020] ata3: applying PMP SRST workaround and retrying
[    1.764827] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.766292] ata4.00: ATAPI: HL-DT-ST DVDRAM GH24NSB0, LM01, max UDMA/133
[    1.767982] ata4.00: configured for UDMA/133
[    1.768705] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.770020] ata3.00: ATA-8: ST3500418AS, CC49, max UDMA/133
[    1.770062] ata3.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    1.771678] ata3.00: configured for UDMA/133
[    1.772584] scsi 2:0:0:0: Direct-Access     ATA      ST3500418AS      CC49 PQ: 0 ANSI: 5
[    1.775250] scsi 3:0:0:0: CD-ROM            HL-DT-ST DVDRAM GH24NSB0  LM01 PQ: 0 ANSI: 5
[    1.792953] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    1.793276] sd 2:0:0:0: [sda] Write Protect is off
[    1.793320] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.793461] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.804308] sr 3:0:0:0: [sr0] scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.804353] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.805220] sr 3:0:0:0: Attached scsi CD-ROM sr0
[    1.808453] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    1.808784] sr 3:0:0:0: Attached scsi generic sg1 type 5
[    1.847457]  sda: sda1 sda2 sda3 sda4 sda5
[    1.849940] sd 2:0:0:0: [sda] Attached SCSI disk
[    1.936695] tsc: Refined TSC clocksource calibration: 3007.804 MHz
[    2.510130] scsi 8:0:0:0: Direct-Access     Seagate  Portable         0130 PQ: 0 ANSI: 4
[    2.511860] sd 8:0:0:0: Attached scsi generic sg2 type 0
[    2.512478] sd 8:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[    2.513392] sd 8:0:0:0: [sdb] Write Protect is off
[    2.513436] sd 8:0:0:0: [sdb] Mode Sense: 2f 08 00 00
[    2.514215] sd 8:0:0:0: [sdb] No Caching mode page found
[    2.514260] sd 8:0:0:0: [sdb] Assuming drive cache: write back
[    2.544613]  sdb: sdb1 sdb2
[    2.549272] sd 8:0:0:0: [sdb] Attached SCSI disk
[    2.935482] Switched to clocksource tsc
[    4.089985] floppy0: no floppy controllers found
[    4.199314] PM: Starting manual resume from disk
[    4.199367] PM: Hibernation image partition 8:4 present
[    4.199369] PM: Looking for hibernation image.
[    4.200097] PM: Image not found (code -22)
[    4.200101] PM: Hibernation image not present or could not be loaded.
[    4.214980] EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem
[    4.262079] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[    4.542099] random: nonblocking pool is initialized
[    7.349586] systemd-udevd[410]: starting version 204
[    8.976987] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[    8.977042] ACPI: Power Button [PWRB]
[    8.977195] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    8.977236] ACPI: Power Button [PWRF]
[    9.035180] wmi: Mapper loaded
[    9.315428] ACPI: processor limited to max C-state 1
[    9.421164] acpi-cpufreq: overriding BIOS provided _PSD data
[    9.545990] ACPI Warning: SystemIO range 0x0000000000000b00-0x0000000000000b07 conflicts with OpRegion 0x0000000000000b00-0x0000000000000b0f (\SOR1) (20140926/utaddress-258)
[    9.546148] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    9.717191] input: PC Speaker as /devices/platform/pcspkr/input/input4
[    9.896673] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05
[    9.897074] sp5100_tco: PCI Revision ID: 0x3a
[    9.897169] sp5100_tco: failed to find MMIO address, giving up.
[   10.145397] [drm] Initialized drm 1.1.0 20060810
[   11.136937] kvm: Nested Virtualization enabled
[   11.136993] kvm: Nested Paging enabled
[   11.269419] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5
[   11.328188] [drm] radeon kernel modesetting enabled.
[   11.331101] [drm] initializing kernel modesetting (RV670 0x1002:0x9505 0x1462:0x1121).
[   11.331206] [drm] register mmio base: 0xFEAF0000
[   11.331247] [drm] register mmio size: 65536
[   11.332262] ATOM BIOS: 113
[   11.332357] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[   11.332406] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[   11.332444] [drm] Detected VRAM RAM=512M, BAR=256M
[   11.332479] [drm] RAM width 256bits DDR
[   11.333092] [TTM] Zone  kernel: Available graphics memory: 4084404 kiB
[   11.333136] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   11.333172] [TTM] Initializing pool allocator
[   11.333228] [TTM] Initializing DMA pool allocator
[   11.333684] [drm] radeon: 512M of VRAM memory ready
[   11.333723] [drm] radeon: 512M of GTT memory ready.
[   11.333815] [drm] Loading RV670 Microcode
[   11.920624] floppy0: no floppy controllers found
[   12.053944] Error: Driver 'pcspkr' is already registered, aborting...
[   12.090169] [drm] Internal thermal controller with fan control
[   12.090719] [drm] radeon: power management initialized
[   12.151486] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   12.154424] [drm] PCIE gen 2 link speeds already enabled
[   12.162053] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
[   12.162640] radeon 0000:01:00.0: WB enabled
[   12.162694] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880221e41c00
[   12.165361] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900101121d0
[   12.165448] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   12.165499] [drm] Driver supports precise vblank timestamp query.
[   12.165749] radeon 0000:01:00.0: irq 28 for MSI/MSI-X
[   12.165868] radeon 0000:01:00.0: radeon: using MSI.
[   12.166010] [drm] radeon: irq initialized.
[   12.197680] [drm] ring test on 0 succeeded in 0 usecs
[   12.354589] sound hdaudioC0D0: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[   12.354661] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.354763] sound hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   12.354816] sound hdaudioC0D0:    mono: mono_out=0x0
[   12.354865] sound hdaudioC0D0:    dig-out=0x11/0x1e
[   12.354913] sound hdaudioC0D0:    inputs:
[   12.354966] sound hdaudioC0D0:      Front Mic=0x19
[   12.355021] sound hdaudioC0D0:      Rear Mic=0x18
[   12.355071] sound hdaudioC0D0:      Line=0x1a
[   12.372212] [drm] ring test on 5 succeeded in 1 usecs
[   12.372261] [drm] UVD initialized successfully.
[   12.373401] [drm] ib test on ring 0 succeeded in 0 usecs
[   12.378993] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card0/hdaudioC0D0/input6
[   12.386911] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[   12.387387] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[   12.387816] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[   12.388232] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[   12.388673] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[   12.389083] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input12
[   12.389492] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input13
[   12.389898] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input14
[   13.018357] [drm] ib test on ring 5 succeeded
[   13.023455] [drm] Radeon Display Connectors
[   13.023514] [drm] Connector 0:
[   13.023559] [drm]   DVI-I-1
[   13.023604] [drm]   HPD1
[   13.023649] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[   13.023701] [drm]   Encoders:
[   13.023744] [drm]     DFP1: INTERNAL_KLDSCP_TMDS1
[   13.023790] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[   13.023835] [drm] Connector 1:
[   13.023877] [drm]   DIN-1
[   13.023919] [drm]   Encoders:
[   13.023962] [drm]     TV1: INTERNAL_KLDSCP_DAC2
[   13.024007] [drm] Connector 2:
[   13.024050] [drm]   DVI-I-2
[   13.024092] [drm]   HPD2
[   13.024136] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[   13.024188] [drm]   Encoders:
[   13.024230] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   13.024275] [drm]     DFP2: INTERNAL_LVTM1
[   13.082754] [drm] fb mappable at 0xD0355000
[   13.082798] [drm] vram apper at 0xD0000000
[   13.082833] [drm] size 8294400
[   13.082867] [drm] fb depth is 24
[   13.082901] [drm]    pitch is 7680
[   13.084013] fbcon: radeondrmfb (fb0) is primary device
[   13.110220] Console: switching to colour frame buffer device 240x67
[   13.117898] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[   13.117939] radeon 0000:01:00.0: registered panic notifier
[   13.135014] [drm] Initialized radeon 2.40.0 20080528 for 0000:01:00.0 on minor 0
[   13.135410] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[   13.135629] snd_hda_intel 0000:01:00.1: irq 29 for MSI/MSI-X
[   13.231608] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input15
Comment 13 Arthur Marsh 2014-10-30 10:46:09 UTC
As requested:

# vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420     8192  8192  NV12 YV12
422     8192  8192  UYVY YUYV
444     8192  8192  Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  9216  2048  1152
MPEG2_SIMPLE          3  9216  2048  1152
MPEG2_MAIN            3  9216  2048  1152
H264_BASELINE        41  9216  2048  1152
H264_MAIN            41  9216  2048  1152
H264_HIGH            41  9216  2048  1152
VC1_ADVANCED          4  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y
Comment 14 Andreas Boll 2014-10-30 11:03:42 UTC
Oh I forgot that MPEG1+2 is only available via shader-based decoding on your card. So no luck with UVD for your sample video.

See also this commit:

commit 1681bd7f2b392d0b379cb0ff43a4fac33da74762
Author: Christian König <christian.koenig@amd.com>
Date:   Wed Jul 10 15:43:16 2013 +0200

    radeon/uvd: fall back to shader based decoding for MPEG2 on UVD 2.x v2
    
    UVD 2.x doesn't support hardware decoding of MPEG2, just use shader
    based decoding for those chipsets.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=66450
    
    v2: fix interlacing as well
    
    Signed-off-by: Christian König <christian.koenig@amd.com>
Comment 15 GitLab Migration User 2019-09-18 19:17:48 UTC
-- 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/531.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.