I've recently spent a little bit of time struggling to enable hardwaregraphic acceleration on my new laptop,1so I though I'd write up a summary here in case it could help someone.
Symptoms of dysfunctioning hardware acceleration were that applicationsrelying on OpenGL to render their interface would appear to be completelyunresponsive, the response to any user action appearing only upon forcing a'refresh' of the application's window (e.g. by resizing it). Setting theLIBGL_ALWAYS_SOFTWARE environment variable to 1 allowed thoseapplications to run properly (thus confirming the problem has something to dowith hardware rendering), but while this is valid temporary workaround this ishardly a satisfying solution.
- AlmaLinux AppStream aarch64 Official libva-2.5.0-2.el8.aarch64.rpm: Video Acceleration (VA) API for Linux: AlmaLinux AppStream x8664 Official libva-2.5.0-2.el8.i686.rpm.
- Hardware video acceleration makes it possible for the video card to decode/encode video, thus offloading the CPU and saving power. There are several ways to achieve this on Linux: Video Acceleration API (VA-API) is a specification and open source library to provide both hardware accelerated video encoding and decoding, developed by Intel.
Kinematic formulas and projectile motion. Average velocity for constant acceleration. Acceleration of aircraft carrier take-off. Airbus A380 take-off distance. Deriving displacement as a function of time, acceleration, and initial velocity. Plotting projectile displacement, acceleration, and velocity. Projectile height given time. Part 5: Codecs That Can Use AMD VCN 1.0 Hardware Acceleration. As we mentioned before, VCE has been replaced by VNC as of Raven Ridge in 2017. What is the difference? VCE is hardware acceleration utilized in video encoding only, while VNC is for both hardware accelerated encoding and decoding. Let's see what codecs can be decoded and encoded.
(Another way of demonstrating the issue is simply to run OpenGL's demoglxgears, which would show the cogwheels not moving at all.)
Video Acceleration 2 5 0 Download
The laptop is equipped, according to its spec, with what is apparently a'Intel UHD Graphics 620' chipset (a 'Generation 9.5 GT2 Kaby-Lake-Refresh'chipset, for those familiar with Intel's multiple denominations), which ishandled at the kernel level by the i915 module and at X.org's levelby the intel driver.
This intel driver was apparently the cause of the problem. I'vetried changing several of its options (AccelMethod,TearFree, DRI, and a few others listed in theintel(4) manual), to no avail. However, changing the drivercompletely and forcing X.org to use the modesetting driver instantlysolved the issue.2
Folx go 5 3 – manage and organize downloads. So all I had to do in the end to make OpenGL happy was to add a/etc/X11/xorg.conf.d/20-intel.conf
file with the following: Master of typing 3 15 9 07.
UPDATE (2020/12/24): The latest version of the intel Swinsian 2 0 1 – music manager and player rankings. driver now seems to allow hardware acceleration to work.
Using modesetting was still not enough to enable videoacceleration however (e.g., hardware H.265 decoding and the like).vainfo would report:
It seems that the i965-drv-video driver, as provided byintel-vaapi-driver
, does not support my laptop's graphicchip.
Video Acceleration 2 5 0 Free
Installing the intel-media-driverand setting the LIBVA_DRIVER_NAME to iHD
made vainfo(and VA/API-enabled video players such as VLC or MPV) happy:
- ↑ The laptop is running underSlackware64-current, but I don't think anything in this note is specific toSlackware. It may be irrelevant on distributions running Wayland, however.
- ↑ A drawback of using the modesettingdriver is that X.org's xbacklight program is no longer working. Thisis apparently a knownbug which for whatever reason appears to have never been fixed. However itis still possible to control the screen's backlight through
/sys/class/backlight/intel_backlight
, so it's good enough forme.