Eric Appleman has taken some time to detail the situation of having
VDPAU acceleration on Optimus laptops. VDPAU is a method to use the
computing power of a GPU card to produce high-quality video and audio
while offloading the main CPU from the task. Eric has been making
great contributions in this area for Optimus configurations. Here are
the details:
There are 2 primary means of using VDPAU. Bumblebee+Xpra and
Bumblebee+Windump. Both methods have pros and cons: Windump is fast,
maintains v-sync if you use a compositor, but has rather tricky window
management. On the other side, Xpra is has a good window management,
but screen updates can be disappointing.
One of the newer things that Eric has been looking into is VAAPI and
VDPAU while using the open-source Nouveau driver. The media player VLC
supports H264 VAAPI and mplayer/mplayer2 can decode VP8 over VDPAU,
but it requires patches to both mplayer and the Mesa
libraries. Windump or Xpra would still be needed in this
configuration.
Meanwhile, Dave Airlie's PRIME/DriverScreen developments could be soon
incorporated into most Linux distributions. In theory, the code should
be ready by early 2012 and in most distributions as early as Fall
2012.
Between now and then, Eric will be looking into adding proper window
management to Windump, although it looks like a difficult job. This
would require loading a second X server, instead of attaching virtual
screens to drivers on a single X server, which is the preferred option
for bumblebee and ironhide.
VDPAU is one of the methods to have video and audio GPU-acceleration
in Linux, although it's still largely restricted to the Nvidia
proprietary drivers. Although some other open-source drivers can use
VDPAU, like the Radeon Gallium drivers through XvBA backend and
experimental trees like Emeric's Nouveau VP8 acceleration, the
environment is still incomplete and lacking big important features for
many hardware configurations.
For Nouveau, VDPAU on Nvidia cards (NV50/NVC0) and Optimus support are
two separate yet eventually convergent goals. The feature matrix for
Nouveau is still showing a 'to-do/to-finish' in 'hardware accelerated
video decoding' [1].
So, in the immediate future, VAAPI on Nouveau could be a primary
method of acceleration until VDPAU lands. The benefits of either
method may be short-lived for H264 fans. This is because there is an
ongoing transition from 8-bit compression to 10-bit compression. While
most consumer-level video cards can support hardware-accelerated 8-bit
decoding, this is not the case for 10-bit decoding at the moment, and
this situation could not change for at least a few years.
So where does this leave VDPAU with the Nvidia blob on Optimus
laptops? Aaron Plattner, Nvidia's Linux driver guy, says he is
encouraged by Dave's Xserver overhaul and would be willing to support
it. This is easier said than done, since it requires for Linux
distributions to ship with a cutting-edge X stack and kernel that
would support the new code.
Ultimately, for both Nouveau and the Nvidia driver, the new
development efforts under the Wayland framework are still a big
unknown, and it's still early to envision how it will affect Optimus
and VDPAU.
Thanks to Eric Appleman for the information on the hybrid-graphics
mailing list.
For more information, join the team subscribe to the mailing list
at the bottom of the Launchpad page
http://launchpad.net/~hybrid-graphics-linux
Please join this team if you are new by clicking on the "Join
Team" link at the right of the Launchpad page. It's important to
have as many users in the community as possible to request for
appropriate support.
Wednesday, 14 December 2011
Blog Archive
-
►
2012
(11)
-
►
January
(8)
- Improved support for AMD hybrid graphics users
- Bumblebee version 3.0 "Tumbleweed" release
- New bumblebee version nearing release
- Support for mode nvidia/intel models in bbswitch
- bbswitch: new tool to switch on/off nvidia graphic...
- 1000 active members!
- Hybrid Graphics as a X11 extension
- Laptops wishing for better support in 2012
-
►
January
(8)
-
▼
2011
(70)
-
►
August
(7)
- Ironhide branch first release including Ubuntu Nat...
- Tweaks to Extend The Battery Life of Intel Linux N...
- Lenovo IdeaPad Z570, Z470 and Z370 with hybrid gra...
- Problems with HDMI in a Linux hybrid graphics lapt...
- A BIOS update has been released for the AMD muxles...
- Bumblebee error messages after update, extended so...
- Dell Alienware M11xR3 (release 3), Linux and Bumbl...
-
►
July
(12)
- VDPAU Linux hybrid graphics: Integrating bumblebee...
- MSI GE620DX @ www.engadget.com
- Help Needed: Anybody got a Toshiba Satellite...
- HP to offer a switch for their line of HP AMD BACO...
- Acer TravelMate 8481 with nvidia optimus @ www.eng...
- Asus U41SV hybrid graphics linux -- acpi_call DSDT...
- Sony VAIO Z series 2011 includes hybrid graphics o...
- ASUS U36JC from 4 to 7 hours of battery life with ...
- Bumblebee for Ubuntu in two lines
- Gateway laptops with nvidia optimus and AMD Fusion...
- Acer Aspire TimelineX 3830T, 4830T, 5830T Notebook...
- HP dv6z with hybrid crossfire @ www.engadget.com
-
►
June
(14)
- Alienware M18x with hybrid graphics @ news.cnet.co...
- Acer 5742G hybryid graphics
- Asus U36 with nvidia optimus @ www.engadget.com
- Powerful Asus U41JF with nvidia optimus in a thin ...
- Fujitsu LifeBook T901 with nvidia optimus @ akihab...
- Blingtastic Toshiba Qosmio X770 with nvidia optimu...
- Hybrid graphics Linux on Samsung sf310-S03
- Hybrid Graphics Linux @ launchpad.net reaches 700 ...
- Samsung RF511 linux hybrid graphics optimus
-
►
August
(7)