Skip to contentSkip to conversation

New: [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

Bug 82428 [email protected] 1 participant 18 messages Aug 10, 2014 – Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Priority: medium
Bug ID: 82428
Assignee: [email protected]
Summary: [radeonsi,R9 270X] System lockup when using
mplayer/mpv with VDPAU
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa

With mesa from today's git repository I am getting hard system lockups while trying to play a movie with mplayer/mpv configured to use hardware acceleration (vdpau).

I was able to bisect the commit causing those lockups. The responsible commit
is 1c03a690bfc3265c7fefa7f87e69782a6672a9b2 "radeonsi: use gpu_address from
r600_resource".

There is no related message in the logs, since the lockup is immediate and hard reset is required.

I use libdrm, glamour, mesa, and xf86-video-ati from today's git with xorg-server-1.15.0; mpv-0.3.11 with libav-9.14 and libvdpau-0.7.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #1 from Grzegorz Kowal <[email protected]> --- I should also mention that I use kernel 3.14.16.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #2 from smoki <[email protected]> ---

Same for me with current mesa git on Athlon 5350. xserver 1.16, mpv 0.4.3,
libav 10.3, vdpau-0.7 and kernel 3.16.0.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #3 from Christian König <[email protected]> --- Going to take a look as soon as I have time.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #4 from Christian König <[email protected]> --- Created attachment 104443
--> https://bugs.freedesktop.org/attachment.cgi?id=104443&action=edit
Possible fix

That patch should do the trick. Please test.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #5 from smoki <[email protected]> --- (In reply to comment #4)

Quoted 4 lines

Created attachment 104443 [details] [review]
Possible fix

That patch should do the trick. Please test.

Works for me, thanks Christian.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #6 from Andy Furniss <[email protected]> --- (In reply to comment #4)

Quoted 4 lines

Created attachment 104443 [details] [review]
Possible fix

That patch should do the trick. Please test.

Will test more tonight, but I managed to crash without uvd (just -vo vdpau) last night - though my mplayer also had some issues.

I am not sure something that only touches uvd is enough, but I haven't got time to test now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author Tested-by Kai Wasserbäch
#7 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Kai <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Kai <[email protected]> --- (In reply to comment #4)

Quoted 4 lines

Created attachment 104443
Possible fix

That patch should do the trick. Please test.

You can have my

on this. I saw the same issue without the patch.

(In reply to comment #6)

Quoted 8 lines

(In reply to comment #4)

Quoted 4 lines

Created attachment 104443
Possible fix

That patch should do the trick. Please test.

Will test more tonight, but I managed to crash without uvd (just -vo vdpau) last night - though my mplayer also had some issues.

I had the same behaviour. With the patch from attachment 104443 applied though, everything is back to normal again.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Marek Olšák
#8 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #8 from Marek Olšák <[email protected]> --- (In reply to comment #4)

Quoted 4 lines

Created attachment 104443 [details] [review]
Possible fix

That patch should do the trick. Please test.

Sorry about that.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #9 from Andy Furniss <[email protected]> --- (In reply to comment #7)

Quoted 7 lines

(In reply to comment #4)

Quoted 2 lines

Will test more tonight, but I managed to crash without uvd (just -vo vdpau) last night - though my mplayer also had some issues.

I had the same behaviour. With the patch from attachment 104443 [details] [review] applied though, everything is back to normal again.

Yes, tested now and the patch does fix for it me.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #10 from Grzegorz Kowal <[email protected]> --- No lockups for me after applying the patch. Thanks!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Christian König <[email protected]> --- Just pushed the patch upstream. Thanks for the help.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #12 from Yuriy Kolesnikov <[email protected]> --- Created attachment 116549
--> https://bugs.freedesktop.org/attachment.cgi?id=116549&action=edit
kernel trace

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Yuriy Kolesnikov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #13 from Yuriy Kolesnikov <[email protected]> --- Same hardware, same situation. Random lockups when I start to play video with VDPAU acceleration.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #14 from Yuriy Kolesnikov <[email protected]> ---
OS: ArchLinux
ffmpeg 1:2.7-1
libvdpau 1.1-1
mesa 10.6.0-1
mesa-vdpau 10.6.0-1
mplayer 37379-3
vdpauinfo 1.0-1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #15 from Andy Furniss <[email protected]> --- Can you reproduce this with mpv?

What do you need to do with mplayer to produce - how often/when does it crash eg. at start or after a while.

If you can't reproduce with mpv eg.

mpv --hwdec=vdpau --vo=vdpau .....

I already have a bug open that could be a better match.

Also does the kernel output vary between crashes?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

--- Comment #16 from Andy Furniss <[email protected]> --- (In reply to Andy Furniss from comment #15)

Quoted 5 lines

Can you reproduce this with mpv?

What do you need to do with mplayer to produce - how often/when does it crash eg. at start or after a while.

Quoted 7 lines

If you can't reproduce with mpv eg.

mpv --hwdec=vdpau --vo=vdpau .....

I already have a bug open that could be a better match.

Also does the kernel output vary between crashes?

Oops I see you already said "when I start to play" - this is my bug -

https://bugs.freedesktop.org/show_bug.cgi?id=83998

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw

[Bug 82428] [radeonsi,R9 270X] System lockup when using mplayer/mpv with VDPAU

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=82428

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Christian König <[email protected]> --- (In reply to Yuriy Kolesnikov from comment #13)

Quoted 2 lines

Same hardware, same situation. Random lockups when I start to play video with VDPAU acceleration.

Witch is clearly a different bug than described in this report. Please open up a new bug report.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel