From: Sean V Kelley <sean.v.kelley@intel.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Dave Airlie <airlied@redhat.com>, Dave Airlie <airlied@linux.ie>,
Chris Wilson <chris@chris-wilson.co.uk>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Paulo Zanoni <paulo.r.zanoni@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
DRI mailing list <dri-devel@lists.freedesktop.org>
Subject: Re: [git pull] drm tree for 3.12-rc1
Date: Tue, 10 Sep 2013 13:50:27 -0700 [thread overview]
Message-ID: <20130910205027.GI23294@tallgrass.jf.intel.com> (raw)
In-Reply-To: <CA+55aFzRCNteHoSBRL9cVAHtZwA419G+fPBAaofYextsHpDLYw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2891 bytes --]
On Tue, Sep 10, 2013 at 08:49:58AM -0700, Linus Torvalds writes :
> [ Dave - your linux.ie email generates bounces for me, trying redhat instead ]
>
> On Mon, Sep 9, 2013 at 11:25 PM, Sean V Kelley <sean.v.kelley@intel.com> wrote:
> >>
> >> I'm also a bit bummed that hw acceleration of video doesn't seem to
> >> work on Haswell, meaning that full-screen is now a jerky mess. I fear
> >> that that is user-space libraries/X.org, but I thought I'd mention it
> >> in the hope of getting a "oh, it's working for us, you'll get a fix
> >> for it soon".
> >
> > Can you give a little more detail about video not working? Video
> > accel should work fine with the current versions of libva/intel-driver
> > available in Fedora 19 - assuming that's what you're using.
>
> It is indeed F19.
>
> Easy test: go to youtube, and watch things that are in 1080p HD. They
> play fine in a window (using about 70% CPU), but full-screened to
> 2560x1440 they play at about one or two frames per second.
Yep. I see the same. Chrome is brain dead and appears to simply
rely on Flash + FFmpeg software codecs. At least with Firefox you
know it will suck and not be hw accelerated. Unless that has changed...
>
> Non-HD content seems to be fine even full-screen. Either just because
> it's so much easier to do, or because some level of scaling is
> hw-accelerated.
SD content should be relatively fine with software codecs. Ideally,
full-screen would disable composition and use hw-overlay in addition
to an actual hw accel codec, h.264 or vp8 for html5 video. But that
is not the case. That being said HSW does not support vp8 hw decode.
>
> It may well be that I'm using chrome (and chrome seems to tend to use
> its own library versions), and firefox indeed seems to be a bit
> better. But by "a bit better" I mean closer to full frame rate in
> full-screen, but lots of tearing - and it was stil using 70% CPU when
> displaying in a window. So I think firefox is also still doing
> everything in software but may be better about using threads for it.
Sadly none of those would be hw accel without some specific flavor
of flash plugin that favors hw accel over FFmpeg software accel (i.e.,
has older flash + wrapper for vdpau or vaapi). As someone else in this
thread mentioned, it is quite a pain in the arse.
Ironically, it is relatively trivial for me to do a chromium browser
build form source myself and enable libva/intel-driver HW accel, h.264. And say
screw you to flash et al, and leave that out. And that will
work fine for html5 video on youtube with fallback to SW accel for VP8
based content. Why it is a chore for Google is not clear to me...
Sean
>
> My previous i5-670 which was inferior in almost every other way didn't
> have these problems.. It had the same 2560x1440 display.
>
> Linus
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-09-10 20:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 10:41 Dave Airlie
2013-09-05 19:18 ` Linus Torvalds
2013-09-05 22:02 ` Dave Airlie
2013-09-05 22:32 ` Jesse Barnes
2013-09-05 22:51 ` Linus Torvalds
2013-09-05 23:01 ` Linus Torvalds
2013-09-05 23:19 ` Linus Torvalds
2013-09-06 0:56 ` Linus Torvalds
2013-09-10 8:16 ` Benjamin Tissoires
2013-09-10 6:25 ` Sean V Kelley
2013-09-10 15:49 ` Linus Torvalds
2013-09-10 20:50 ` Sean V Kelley [this message]
2013-09-10 23:18 ` Sean V Kelley
2013-09-10 23:23 ` Dave Airlie
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=20130910205027.GI23294@tallgrass.jf.intel.com \
--to=sean.v.kelley@intel.com \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulo.r.zanoni@intel.com \
--cc=torvalds@linux-foundation.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®