Message ID | 871rydiifr.fsf@nckx |
---|---|
Headers | show |
Tobias Geerinckx-Rice via Guix-patches 写道: > I don't know enough about libva or mesa to know how all this can > be > made to compose nicely. It's actually as simple as exporting LIBVA_DRIVERS_PATH="<intel-vaapi-driver>/lib/dri". I guess making that a search-path for libva should work? Kind regards, T G-R
Hey Tobias, Tobias Geerinckx-Rice via Guix-patches <guix-patches@gnu.org> writes: > Tobias Geerinckx-Rice via Guix-patches 写道: >> I don't know enough about libva or mesa to know how all this can >> be >> made to compose nicely. > > It's actually as simple as exporting > LIBVA_DRIVERS_PATH="<intel-vaapi-driver>/lib/dri". A cursory check using the LIBVA_DRIVERS_PATH workaround on a youtube video using mpv seems to indicate that your packages work wonderfully (~16% cpu load normally -> ~5% cpu load with vaapi flags). Thanks for working on this! > > I guess making that a search-path for libva should work? I do not see why not. > > Kind regards, > > T G-R
Jelle, Thank you for testing! Jelle Licht 写道: > A cursory check using the LIBVA_DRIVERS_PATH workaround on a > youtube > video using mpv seems to indicate that your packages work > wonderfully > (~16% cpu load normally -> ~5% cpu load with vaapi flags). On my Intel Corporation 3rd Gen Core processor Graphics Controller, the results were even more exciting: from ~35% to ~7% CPU load while playing a 720p H.264 film. That's a factor of 5. Sadly, my hardware's too old to accelerate H.265 (HEVC) stream (they play just fine on the CPU), but even so: a significant majority of my media collection just got significantly accelerated… for free! \o/ I love this business, T G-R
Tobias Geerinckx-Rice via Guix-patches 写道: > Guix, > > The following patches add the VA-API back end for Intel GEN > chips as > well as libva-utils (which provides vainfo amongst many other > things). Pushed atop master as 3563220e1e46b8a1b9af1e3a4c6cb3f9560c2460 &c. Kind regards, T G-R