I'd like to utilize my old netbook with the help of Kubuntu 20.04 to watch YouTube and write essays through "Google Documents."
After the Kubuntu installation, I tried to install chromium by using snap (candidate/vaapi) and proprietary nvidia-340 driver in order to enable hardware decoding.
During the installation of the Nvidia proprietary driver, I encountered the error:
nvidia-340 dpkg: error: version '-' has bad syntax: revision number is empty
KERNELS written in
/var/lib/dpkg/info/nvidia-340.postinst file to
CURRENT_KERNEL and subsequently executing
dpkg-reconfigure nvidia-340, the problem was easily resolved. Thanks to Linux community.
Vapau hardware acceleration on VLC works well with low cpu usage.
However, in the case of Chrome, it was not as easy as before. It says on terminal like below.
[7873:7873:0601/140059.075024:ERROR:browser_switcher_service.cc(238)] XXX Init() [8007:8007:0601/140103.101729:ERROR:vaapi_wrapper.cc(482)] vaInitialize failed: unknown libva error [8007:8007:0601/140106.191463:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable. [8007:8007:0601/140106.191708:ERROR:gpu_info_collector.cc(81)] gl::GLContext::MakeCurrent() failed [8007:8007:0601/140106.191909:ERROR:gpu_info_collector.cc(208)] Could not create context for info collection. [8007:8007:0601/140106.192123:ERROR:gpu_init.cc(66)] gpu::CollectGraphicsInfo failed. [8007:8007:0601/140106.254424:ERROR:viz_main_impl.cc(159)] Exiting GPU process due to errors during initialization [8119:8119:0601/140107.561057:ERROR:vaapi_wrapper.cc(468)] Could not get a valid VA display [8091:7:0601/140107.821836:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
And almost all of the "graphics feature status" in
chrome://gpu/ has been changed to "software only, hardware acceleration unavailable".
GPU compositing has been disabled, either via blacklist,
about:flagsor the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
Disabled Features: gpu_compositing
I've googled around so much time, but I couldn't find a clear answer on the web.
I just guess it is related to
libva (although I don't know what it is..).
The result of running
vainfo is like below.
libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit
If anyone has experience in my situation, please give me feedback and shed a light on this.
A brief summary of my computer is as follows.
- Operating System: Kubuntu 20.04
- KDE Plasma Version: 5.18.5
- Kernel Version: 5.4.0-33-generic
- Processors: 4 × Intel® Atom™ CPU 330 @ 1.60GHz
- Graphics: C79 Geforce 9400M/Ion