Bug 69775

Summary: [r600g] RV730 AGP UVD hang (GPU lockup) with mplayer on dual DVI display with 3.12-rc2
Product: DRI Reporter: Dieter Nützel <Dieter>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: alexandre.f.demers
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg-3.12-rc2-mplayer-fullscreen.log
none
Xorg.0.log
none
Xorg.0.log none

Description Dieter Nützel 2013-09-24 21:44:28 UTC
Created attachment 86488 [details]
dmesg-3.12-rc2-mplayer-fullscreen.log

Kernel 3.12-rc2 + 0001-drm-radeon-avoid-UVD-corruption-on-AGP-cards-using-G.patch
radeon.agpmode=8 radeon.dpm=1
Playing big_buck_bunny_480p_h264.mov in fullscreen on one of my DVI's with mplayer I got GPU hang after some minutes. Mplayer stopped without distortions, mouse didn't work for several seconds, all konsole windows stopped but I could switch to console and kill mplayer there.  After that mplayer (vdpau) didn't start until reboot.
Comment 1 Dieter Nützel 2013-09-24 21:45:29 UTC
Created attachment 86489 [details]
Xorg.0.log
Comment 2 Dieter Nützel 2013-09-24 21:49:29 UTC
Created attachment 86490 [details]
Xorg.0.log
Comment 3 Dieter Nützel 2013-11-29 02:55:04 UTC
Retested with

Kernel 3.13-rc1 + drm-radeon-fix-typo-in-fetching-mpll-params.patch
radeon.agpmode=8 (dpm is on per default)
Mesa 10.1.0-devel (git-fb5f5b8)

Works, now.

Good job!
Comment 4 Alex Deucher 2013-12-02 18:41:35 UTC
(In reply to comment #3)
> Retested with
> 
> Kernel 3.13-rc1 + drm-radeon-fix-typo-in-fetching-mpll-params.patch

That patch only affects SI and CI parts so something else must have fixed it.
Comment 5 Dieter Nützel 2013-12-02 19:45:59 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Retested with
> > 
> > Kernel 3.13-rc1 + drm-radeon-fix-typo-in-fetching-mpll-params.patch
> 
> That patch only affects SI and CI parts so something else must have fixed it.

I didn't said that that patch fixed it ;-)

Maybe Christian's 2 fixes which didn't made it into 3.12-final and 3.12.2, currently.

drm/radeon: activate UVD clocks before sending the destroy msg
http://cgit.freedesktop.org/~agd5f/linux/patch/?id=c154a76311293f9671439286834aa325b7ef59fe

drm/radeon: fix UVD destroy IB size
http://cgit.freedesktop.org/~agd5f/linux/patch/?id=727ddc84a1373bf06b2fa261f44e38fb0faf5340

-Dieter

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.