All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <deathsimple@vodafone.de>
To: Chen Jie <chenj@lemote.com>
Cc: 陈华才 <chenhc@lemote.com>, 王锐 <wangr@lemote.com>,
	dri-devel@lists.freedesktop.org, 丁汨江 <dingmj@lemote.com>
Subject: Re: UVD status on loongson 3a platform
Date: Fri, 19 Apr 2013 17:34:28 +0200	[thread overview]
Message-ID: <51716404.7030308@vodafone.de> (raw)
In-Reply-To: <CAGXxSxW2jHFdUx05M15JpwzZjNjBceZDNX-TXnAOghoGn=79KA@mail.gmail.com>

Am 19.04.2013 10:51, schrieb Chen Jie:
> Hi all,
>
> Recently, the uvd supporting is released, and we've tried it on
> loongson 3a platform.
> Brief introduction about loongson 3a, it's a MIPS III compatible, 4
> cores processor.
>
> More details about the platform [1]:
> * The Board: RS780E + SB710 chipset, with an AMD radeon HD6570 video card
> * The kernel is 64bits(n64 ABI), and the userland is 32bits(o32 ABI)
> * OS: LOonux 3.3.6 [2] + LTP-uvd-installer-20130419.bin [3]
> ** kernel: 3.9 + uvd related patches
> ** mesa: git master version (d0e9aa)
>
> We tried three video samples:
> * big_buck_bunny_1080p_h264.mov
> (http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_1080p_h264.mov)
> * Sintel.2010.2K.x264-VODO.mp4
> (http://dev.lemote.com/files/upload/software/UVD-debug/Sintel.2010.2K.x264-VODO.mp4)
> * test.avi (http://dev.lemote.com/files/upload/software/UVD-debug/test.avi)
>
> For big_buck_bunny_1080p_h264.mov, the playback is not very fluent at
> the beginning, and it has some video mosaic. We've recorded a video
> for it, see http://dev.lemote.com/files/upload/software/UVD-debug/bbb-1080P.mp4
> For video mosaic, what could it be caused by?

That looks like a known problem with the semaphores and also happens on 
X86, it gets worse when you have a slower CPU and/or less bandwidth 
cause then UVD needs to block on the DMA to wait till everything is in 
place. I'm going to try to release the workaround for it.

> For Sintel.2010.2K.x264-VODO.mp4, it has a very long wait for the first frame.
> We've also recorded a video for it, see
> http://dev.lemote.com/files/upload/software/UVD-debug/sintel.2K.mp4
> Any idea about the long wait for the first frame?

No idea, that also happens on X86, but the wait is actually not as long. 
If I'm not completely wrong it seems to be mplayer who is causing this 
startup delay.

> For test.avi(video: ITU H.264, 1920x1080), it's playing back
> perfectly! Thanks for the effort on UVD!
>
> In all of these tests, the CPU usage is around 50%, and all three
> video samples play well on X86 platform with the same video card.
>
> BTW, 785G also has UVD2.0, is it supported currently? Or will it be
> supported in the near future?

No, as Alex already stated that chip is quite different to the other UVD 
generations, and we are currently looking into releasing code for it, 
but can't promise anything.

Cheers,
Christian.

>
>
> Regards,
>
> Chen Jie
> ----
> [1] http://www.lemote.com/products/computer/fulong/348.html (zh_CN)
> [2] http://dev.lemote.com/653.html (zh_CN)
> [3] http://dev.lemote.com/663.html (zh_CN)
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>

  parent reply	other threads:[~2013-04-19 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19  8:51 UVD status on loongson 3a platform Chen Jie
2013-04-19 12:13 ` Huacai Chen
2013-04-19 12:27 ` Alex Deucher
2013-04-19 15:34 ` Christian König [this message]
2013-04-19 19:31   ` Dieter Nützel
2013-04-19 22:01 ` Dieter Nützel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51716404.7030308@vodafone.de \
    --to=deathsimple@vodafone.de \
    --cc=chenhc@lemote.com \
    --cc=chenj@lemote.com \
    --cc=dingmj@lemote.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=wangr@lemote.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.