[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

Christian König  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #51 from Christian König  ---
(In reply to zimous from comment #49)
> Hello, I have the same problem with RV730.  The "disable semaphores ..."
> patch makes it better, but not completely, UVD is still not usable.  Please
> follow me to bug #67994 which seems more approprite for RV730.

Please add a new bug report for this, cause as you already wrote on bug #67994
your bug has different symptoms than this one here.

Closing this bug as the problem seems to be solved now.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

Christian König  changed:

   What|Removed |Added

 CC||arthur.marsh at internode.on.n
   ||et

--- Comment #50 from Christian König  ---
*** Bug 88152 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 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

zimous  changed:

   What|Removed |Added

 CC||zimous at matfyz.cz

--- Comment #49 from zimous  ---
Hello, I have the same problem with RV730.  The "disable semaphores ..." patch
makes it better, but not completely, UVD is still not usable.  Please follow me
to bug #67994 which seems more approprite for RV730.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #48 from Christian König  ---
(In reply to Nicola Mori from comment #47)
> Thanks for the clarification, Christian. Could it also impact other cases,
> e.g. a desktop environment with hardware accelerated visual effects?

Not really, that is way to less load to cause any real trouble. 3D games on the
other hand are a different story.

> Given the comment by Alex about the possibly buggy UVD1 hardware semaphores,
> the overall satisfactory performance of the patch and the old hardware
> affected by the bug I would guess that this patch likely is the final fix
> for this bug. If so, when will it be mainlined (approx.)?

Alex merged it into hist drm-fixes-4.1 branch and I put a CC stable on it. So
if everything works well it will show up in 4.1 and is then backported to the
stable kernel versions used by distributions.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #47 from Nicola Mori  ---
Thanks for the clarification, Christian. Could it also impact other cases, e.g.
a desktop environment with hardware accelerated visual effects? Playing a movie
while resizing or dragging a window should result in a usage pattern of GFX and
UVD that is similar to your example with movie and 3D game. I did some
experiments with my KDE desktop with OpenGL 2.0 and 3.1 visual effects, but I
didn't notice any lag (maybe it's a too light workload to show any issue).

Given the comment by Alex about the possibly buggy UVD1 hardware semaphores,
the overall satisfactory performance of the patch and the old hardware affected
by the bug I would guess that this patch likely is the final fix for this bug.
If so, when will it be mainlined (approx.)? Thanks.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #46 from Christian König  ---
(In reply to Nicola Mori from comment #44)
> The new patch works also for me. A couple of questions, Christian: does the
> patch remove some features? Do you think to mainline it or rather implement
> a different fix now that the problem seems to be better defined? Thanks.

Instead of submitting the commands to the hardware directly with semaphores to
sync between the GFX and UVD engines we block until the dependent task is
completed.

That's rather bad in a couple of different cases, for example doing 3D gaming
and video playback at the same time.

What essentially happens is instead of keeping UVD and GFX busy all the same
time (and only occasionally block one engine waiting the other one) you do it
more like this:

1. Run UVD job.
2. Wait for UVD to finish.
3. Run GFX.
4. Wait for GFX to finish.
5. Run UVD
6. Wait for UVD to finish.


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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #45 from Alex Deucher  ---
(In reply to Nicola Mori from comment #44)
> The new patch works also for me. A couple of questions, Christian: does the
> patch remove some features? Do you think to mainline it or rather implement
> a different fix now that the problem seems to be better defined? Thanks.

It disables hw semaphores for UVD1, but it's likely they were buggy on that
early hw anyway.  It shouldn't affect UVD functionality.  The driver just uses
a different method for synchronizing between rings.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-05-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #44 from Nicola Mori  ---
The new patch works also for me. A couple of questions, Christian: does the
patch remove some features? Do you think to mainline it or rather implement a
different fix now that the problem seems to be better defined? Thanks.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #43 from Daniele  ---
I confirm that your last patch makes things work here too

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #42 from Erik  ---
Works like a charm :)

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

Christian König  changed:

   What|Removed |Added

 Attachment #115398|0   |1
is obsolete||
 CC||deathsimple at vodafone.de

--- Comment #41 from Christian König  ---
Created attachment 115475
  --> https://bugs.freedesktop.org/attachment.cgi?id=115475=edit
More to test.

Interesting, attached is another patch you could test.

It just disables using UVD semaphores for now.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #40 from Erik  ---
I got a black screen at the beggining, and console show this:

Radeon :01:05.0 ring 5 stalled for more than .secs

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #39 from Nicola Mori  ---
(In reply to Christian König from comment #37)
> Created attachment 115398 [details] [review]
> Something to test
> 
> Just an idea I had recently what this issue could be. Please test the
> attached patch and see if it works or not.

The patch made things on my system even worse. Before, playing a movie with VLC
and VDPAU enabled resulted in random screen freezes after some time, while with
the patched kernel the freeze happens immediately as I start playing, all the
times.

Tested with Mobility Radeon HD3400 (RV620) on ArchLinux 64 bit with linux-ck
4.0.1, mesa 10.5.4, mesa-vdpau 10.5.4 and libvdpau 1.1.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #38 from Erik  ---
I patched a 4.0.1 kernel on a Debian 8 for testing . i will test it with
several movies :)

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-04-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #37 from Christian König  ---
Created attachment 115398
  --> https://bugs.freedesktop.org/attachment.cgi?id=115398=edit
Something to test

Just an idea I had recently what this issue could be. Please test the attached
patch and see if it works or not.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-03-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #36 from Taner  ---
Comment on attachment 114623
  --> https://bugs.freedesktop.org/attachment.cgi?id=114623
Failed UVD playback session with RS780 mainboard

I can confirm the same happening my bleeding edge Arch linux system with my
RS780/HD3200 mainboard.

Kernel 3.19.2
Mesa 10.5.1
libdrm 2.4.60
xf86-video-ati 7.5.0

I tried UVD acceleration with mpv, vdr/softhddevice and flashplugin via vdpau
output enabled. Screen freezes if I seek forward/back and If I adjust playback
window size (eg. going to fullscreen).

I can switch the VT consoles after X session freezes. I can create a new
working X session after killing the previous freezed X session but playback
video using GPU is not possible anymore. I have to reboot the system.

dmesg attached.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-03-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

Taner  changed:

   What|Removed |Added

 CC||tanertas at yahoo.com

--- Comment #35 from Taner  ---
Created attachment 114623
  --> https://bugs.freedesktop.org/attachment.cgi?id=114623=edit
Failed UVD playback session with RS780 mainboard

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-03-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #34 from Erik  ---
Same issue with a HD4290 (RS880). My motherboard has AM3+ socket so is not
obsolete hardware, it's support uvd2 and the last AMD procesors. It would be
nice to fix it. If you need some help i can dirty my hands too :)

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-03-02 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #33 from russianneuromancer at ya.ru ---
Same issue with RS880M. Sometimes hang on very beginning (before first frame
appear on the screen) and sometimes after one/few/many attempts to rewind.

Tested with Linux 3.19, latest Mesa snapshot from Oibaf PPA, and mpv 0.8.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-01-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #32 from Maxim Kachur  ---
Created attachment 111799
  --> https://bugs.freedesktop.org/attachment.cgi?id=111799=edit
journalctl dump for uvd/vdpau crash

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2015-01-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

--- Comment #31 from Maxim Kachur  ---
I think I have the same on RS880 here (HD4290).
Mesa 10.3.5, libdrm 2.4.58, kernel 3.18.1, R600_rlm.bin + RS780_uvd.bin
firmware from August 2014.
Testing with mplayer + vdpau.

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



[Bug 85320] [RV620][RV630][RS880] GPU hangs using UVD hardware acceleration

2014-12-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=85320

Eugene  changed:

   What|Removed |Added

Summary|[RV630] and [RS880] GPU |[RV620][RV630][RS880] GPU
   |hangs using UVD hardware|hangs using UVD hardware
   |acceleration|acceleration

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