[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85613

GitLab Migration User  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #15 from GitLab Migration User  ---
-- 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #14 from Andreas Boll  ---
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 
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 

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #13 from Arthur Marsh  ---
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_MAIN3  9216  2048  1152
H264_BASELINE41  9216  2048  1152
H264_MAIN41  9216  2048  1152
H264_HIGH41  9216  2048  1152
VC1_ADVANCED  4  9216  2048  1152

Output surface:

name  width height nat types

B8G8R8A8  8192  8192y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8  8192  8192y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2   8192  8192y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2   8192  8192y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

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

Video mixer:

feature namesup

DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION  y
SHARPNESSy
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  y48 2048
VIDEO_SURFACE_HEIGHT y48 1152
CHROMA_TYPE  y
LAYERS   y 04

attribute name  sup  min  max
-
BACKGROUND_COLOR y
CSC_MATRIX   y
NOISE_REDUCTION_LEVELy  0.00 1.00
SHARPNESS_LEVEL  y -1.00 1.00
LUMA_KEY_MIN_LUMAy
LUMA_KEY_MAX_LUMAy

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #12 from Arthur Marsh  ---
Thanks, I did get the message:

[   12.372261] [drm] UVD initialized successfully.

$ dmesg
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Initializing cgroup subsys cpuacct
[0.00] Linux version 3.18.0-rc2+ (root at am64) (gcc version 4.9.1 
(Debian
4.9.1-19) ) #1317 SMP PREEMPT Thu Oct 30 13:49:30 ACDT 2014
[0.00] Command line: BOOT_IMAGE=/vmlinuz-3.17.0+
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro iommu=noaperture
radeon.audio=1
[0.00] tseg: 00
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x0100-0x0009efff] usable
[0.00] BIOS-e820: [mem 0x0009f000-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000e4000-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0xcffa] usable
[0.00] BIOS-e820: [mem 0xcffb-0xcffbdfff] ACPI data
[0.00] BIOS-e820: [mem 0xcffbe000-0xcffd] ACPI NVS
[0.00] BIOS-e820: [mem 0xcffe-0xcfff] reserved
[0.00] BIOS-e820: [mem 0xff70-0x] reserved
[0.00] BIOS-e820: [mem 0x0001-0x00022fff] usable
[0.00] NX (Execute Disable) protection: active
[0.00] SMBIOS 2.5 present.
[0.00] DMI: System manufacturer System Product Name/M3A78 PRO, BIOS
170101/27/2011
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x23 max_arch_pfn = 0x4
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-E uncachable
[0.00]   F-F write-protect
[0.00] MTRR variable ranges enabled:
[0.00]   0 base  mask 8000 write-back
[0.00]   1 base 8000 mask C000 write-back
[0.00]   2 base C000 mask F000 write-back
[0.00]   3 disabled
[0.00]   4 disabled
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] TOM2: 00023000 aka 8960M
[0.00] x86 PAT enabled: cpu 0, old 0x7010600070106, new 0x7010600070106
[0.00] e820: update [mem 0xd000-0x] usable ==> reserved
[0.00] e820: last_pfn = 0xcffb0 max_arch_pfn = 0x4
[0.00] found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at
[880ff780]
[0.00] Base memory trampoline at [88098000] 98000 size 28672
[0.00] Using GB pages for direct mapping
[0.00] init_memory_mapping: [mem 0x-0x000f]
[0.00]  [mem 0x-0x000f] page 4k
[0.00] BRK [0x22ff2f000, 0x22ff2] PGTABLE
[0.00] BRK [0x22ff3, 0x22ff30fff] PGTABLE
[0.00] BRK [0x22ff31000, 0x22ff31fff] PGTABLE
[0.00] init_memory_mapping: [mem 0x22d40-0x22d5f]
[0.00]  [mem 0x22d40-0x22d5f] page 2M
[0.00] BRK [0x22ff32000, 0x22ff32fff] PGTABLE
[0.00] init_memory_mapping: [mem 0x22c00-0x22d3f]
[0.00]  [mem 0x22c00-0x22d3f] page 2M
[0.00] init_memory_mapping: [mem 0x2-0x22bff]
[0.00]  [mem 0x2-0x22bff] page 2M
[0.00] init_memory_mapping: [mem 0x0010-0xcffa]
[0.00]  [mem 0x0010-0x001f] page 4k
[0.00]  [mem 0x0020-0x3fff] page 2M
[0.00]  [mem 0x4000-0xbfff] page 1G
[0.00]  [mem 0xc000-0xcfdf] page 2M
[0.00]  [mem 0xcfe0-0xcffa] page 4k
[0.00] BRK [0x22ff33000, 0x22ff33fff] PGTABLE
[0.00] BRK [0x22ff34000, 0x22ff34fff] PGTABLE
[0.00] init_memory_mapping: [mem 0x1-0x1]
[0.00]  [mem 0x1-0x1] page 1G
[0.00] init_memory_mapping: [mem 0x22d60-0x22fff]
[0.00]  [mem 0x22d60-0x22fff] page 2M
[0.00] RAMDISK: [mem 0x22d76e000-0x22e5f]
[0.00] ACPI: Early table checksum verification disabled
[0.00] ACPI: RSDP 0x000FA820 24 (v02 ACPIAM)
[0.00] ACPI: XSDT 0xCFFB0100 5C (v01 012711 OEMXSDT 
20110127 MSFT 0097)
[0.00] ACPI: FACP 0xCFFB0290 F4 (v03 012711 OEMFACP 
20110127 MSFT 0097)
[0.00] ACPI BIOS Warning (bug): 32/64X length mismatch in
FADT/Gpe0Block: 64/32 (20140926/tbfadt-618)
[0.00] ACPI: DSDT 0xCFFB0450 0090C5 (v01 P0020  P002
 INTL 20051117)
[0.00] ACPI: FACS 0xCFFBE000 40
[0.00] ACPI: APIC 0xCFFB0390 7C (v01 012711 OEMAPIC 
20110127 MSFT 0097)
[0.00] ACPI: 

[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #11 from Andreas Boll  ---
Could you attach your dmesg output.
It should print: [drm] UVD initialized successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #10 from Christian König  ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #9 from Arthur Marsh  ---
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)
[04c5f3a8] 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==
[13a4fcc8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[0d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(jitter of 5213 ms ignored)
[14b2c548] core decoder error: Could not convert timestamp 0
[0d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 334 ms)
[0d72d1c8] core input error: ES_OUT_RESET_PCR called
[mpeg2video @ 0x13c919c0] warning: first frame is no keyframe
[0d72d1c8] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 636 ms)
[0d72d1c8] 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: 

[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #8 from Andreas Boll  ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #7 from Arthur Marsh  ---
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #6 from Michel Dänzer  ---
I can't seem to reproduce the crash with radeonsi. Do you use any particular
vlc command line or configuration options?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #5 from Arthur Marsh  ---
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)
[04c5f3a8] 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==
[13ae72f8] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[mpeg2video @ 0x13c69740] warning: first frame is no keyframe
[0d72a488] core input error: ES_OUT_SET_(GROUP_)PCR  is called too late
(pts_delay increased to 4682 ms)
[0d72a488] 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

[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #4 from Michel Dänzer  ---
>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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #3 from Michel Dänzer  ---
*** Bug 85268 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #2 from Arthur Marsh  ---
This problem is with mesa 10.3.2-1 which has that patch applied.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 85613] still getting segfault with vdpau and r600g on Radeon 3850HD - have sample video

2014-10-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85613

--- Comment #1 from Alex Deucher  ---
this sounds like a duplicate of bug 85267.  Does this patch help?
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae879718c4086fc5905070e7f26dfa2757df0c86

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: