Chromium VAAPI takes hours to build just to not show the Hardware Decoding option

Hello, sorry for the stupid question but I’m honestly tired of having to wait 3-5 hours every time to build chromium-vaapi (if the build doesn’t fail 80% of the way through) and not being able to find a solution myself, so I need to ask
I’ve installed it from AUR and it’s supposed to give me the option to enable Hardware Decoding
But it’s listed as unsupported, just like the normal Chromium version
I don’t know what I need to be able to enable it

System info:

System:
  Kernel: 5.7.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=4ca7b8df-89fc-4e55-990d-f53f2ac04688 rw quiet 
  Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: MSI model: X370 KRAIT GAMING (MS-7A33) v: 1.0 
  serial: <filter> UEFI: American Megatrends v: 1.J1 date: 05/13/2019 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen 
  family: 17 (23) model-id: 1 stepping: 1 microcode: 8001138 
  L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 76821 
  Speed: 2087 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 
  1: 2087 2: 1834 3: 1382 4: 1452 5: 1616 6: 1349 7: 1668 8: 1781 9: 1959 
  10: 1359 11: 1870 12: 1335 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660] vendor: ASUSTeK driver: nvidia 
  v: 440.100 alternate: nouveau,nvidia_drm bus ID: 27:00.0 chip ID: 10de:2184 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: nvidia 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 4100x1440 s-dpi: 87 s-size: 1195x420mm (47.0x16.5") 
  s-diag: 1267mm (49.9") 
  Monitor-1: DVI-D-0 res: 1280x1024 hz: 60 dpi: 86 
  size: 376x301mm (14.8x11.9") diag: 482mm (19") 
  Monitor-2: HDMI-0 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") 
  diag: 598mm (23.5") 
  Monitor-3: DP-0 res: 900x1440 hz: 60 
  OpenGL: renderer: GeForce GTX 1660/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 
  direct render: Yes 
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 27:00.1 chip ID: 10de:1aeb 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 29:00.3 chip ID: 1022:1457 
  Device-3: Logitech G430 Surround Sound Gaming Headset type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 7-4:4 chip ID: 046d:0a4d 
  Sound Server: ALSA v: k5.7.15-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8168 v: 8.048.03-NAPI modules: r8169 
  port: f000 bus ID: 22:00.0 chip ID: 10ec:8168 
  IF: enp34s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 2.49 TiB used: 1.82 TiB (73.1%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Kingston model: SV300S37A480G size: 447.13 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: BBF0 scheme: GPT 
  ID-2: /dev/sdb vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: CC26 scheme: MBR 
  ID-3: /dev/sdc vendor: Samsung model: MZNLN256HMHQ-000H1 size: 238.47 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 1H3Q scheme: GPT 
Partition:
  ID-1: / raw size: 250.54 GiB size: 245.60 GiB (98.03%) 
  used: 158.22 GiB (64.4%) fs: ext4 dev: /dev/sda5 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 19.68 GiB used: 39.5 MiB (0.2%) 
  priority: -2 dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 47.5 C mobo: N/A gpu: nvidia temp: 44 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 29% 
Info:
  Processes: 364 Uptime: 4h 13m Memory: 15.64 GiB used: 4.17 GiB (26.7%) 
  Init: systemd v: 245 Compilers: gcc: 10.1.0 clang: 10.0.1 Packages: 1605 
  apt: 0 pacman: 1584 lib: 424 flatpak: 10 snap: 11 Shell: Bash v: 5.0.18 
  running in: konsole inxi: 3.1.05 
```

The repo chromium should be the “same” as chromium-vaapi these days.

1 Like

Thanks for the information… Now I know that I at least don’t have to wait hours to build…
It still shows up as unavailable, though… I’m not sure what the reason is

See here, maybe this helps:

https://wiki.archlinux.org/index.php/Chromium#Hardware_video_acceleration

1 Like

Still need to enable the flags …

I’ll try these… It says that I still need chromium-vaapi (because of my NVIDIA card and proprietary drivers) so I’ll try that again, forcing GPU acceleration, installing the different vdpau drivers (I already had tried the chromium one)
It’ll take a while to build again though… Uff

It doesn’t let me…

Not sure if that part with chromium-vaapi is still correct though. afaik arch took that into the official repos (which is why chromium-vaapi-bin got removed from the AUR at one point).

Do you have libva-vdpau-driver-chromium installed? (and nvidia-utils)

https://wiki.archlinux.org/index.php/Hardware_video_acceleration#NVIDIA

I have libva-vdpau-driver-chromium, I’ve also tried using libva-vdpau-driver-vp9-git, as the wiki said, it didn’t work
I have nvidia-utils and NVIDIA X Server Settings even gives me all the VDPAU information

I tried running vainfo and I got this result while having libva-vdpau-driver-vp9-git:

vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      <unknown profile>               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD

This is the result I get with libva-vdpau-driver-chromium:

vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

Idk if that helps anything
Neither of them let me enable the flag

Did you apply these things?
https://wiki.archlinux.org/index.php/Chromium#Force_GPU_acceleration

So…
Applying those does, in fact, make Chromium say it’s hardware accelerated:

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Disabled
OpenGL: Enabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Version Information
Data exported	2020-08-24T20:41:47.988Z
Chrome version	Chrome/84.0.4147.125
Operating system	Linux 5.7.15-1-MANJARO
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/d0784639447f2e10d32ebaf9861092b20cfde286/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/d0784639447f2e10d32ebaf9861092b20cfde286/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	unknown hash
2D graphics backend	Skia/84 e50772b2a25e98419dc884cc5cdd2138e1dfd43e
Command Line	/usr/lib/chromium/chromium --ignore-gpu-blacklist --enable-gpu-rasterization --enable-zero-copy --disable-gpu-driver-bug-workarounds --flag-switches-begin --flag-switches-end --origin-trial-disabled-features=MeasureMemory
Driver Information
Initialization time	802
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	true
GPU0	VENDOR= 0x10de [NVIDIA Corporation], DEVICE=0x2184 [GeForce GTX 1660/PCIe/SSE2] *ACTIVE*
Optimus	false
AMD switchable	false
Driver vendor	Nvidia
Driver version	440.100
GPU CUDA compute capability major version	0
Pixel shader version	4.50
Vertex shader version	4.50
Max. MSAA samples	32
Machine model name	
Machine model version	
GL_VENDOR	NVIDIA Corporation
GL_RENDERER	GeForce GTX 1660/PCIe/SSE2
GL_VERSION	4.5.0 NVIDIA 440.100
GL_EXTENSIONS	GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_AMD_vertex_shader_viewport_index GL_AMD_vertex_shader_layer GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_fragment_shader_interlock GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_locations GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_sparse_texture2 GL_ARB_sparse_texture_clamp GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_filter_minmax GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_provoking_vertex GL_EXT_raster_multisample GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_sparse_texture2 GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_window_rectangles GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_shader_subgroup GL_KTX_buffer_region GL_NV_alpha_to_coverage_dither_control GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_blend_square GL_NV_clip_space_w_scaling GL_NV_command_list GL_NV_compute_program5 GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_dilate GL_NV_conservative_raster_pre_snap GL_NV_conservative_raster_pre_snap_triangles GL_NV_conservative_raster_underestimation GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_feature_query GL_NV_fence GL_NV_fill_rectangle GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_coverage_to_color GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_geometry_shader_passthrough GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_query_resource GL_NV_query_resource_tag GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_atomic_float64 GL_NV_shader_atomic_fp16_vector GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_stereo_view_rendering GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_rectangle_compressed GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vdpau_interop GL_NV_vdpau_interop2 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_NVX_conditional_render GL_NV_gpu_multicast GL_NVX_progress_fence GL_NVX_gpu_memory_info GL_NVX_nvenc_interop GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OVR_multiview GL_OVR_multiview2 GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
Disabled Extensions	
Disabled WebGL Extensions	
Window system binding vendor	NVIDIA Corporation
Window system binding version	1.4
Window system binding extensions	GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_no_error GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge GLX_NV_multigpu_context GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_NV_copy_image GLX_ARB_get_proc_address
Window manager	KWin
XDG_CURRENT_DESKTOP	KDE
Compositing manager	Yes
System visual ID	33
RGBA visual ID	130
Direct rendering version	direct but version unknown
Reset notification strategy	0x8252
GPU process crash count	0
gfx::BufferFormats supported for allocation and texturing	R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported
Compositor Information
Tile Update Mode	Zero-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
R_8	Software only
R_16	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_1010102	Software only
RGBA_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
P010	Software only
Display(s) Information
Info	Display[9680414384630973] bounds=[0,94 1280x1024], workarea=[0,94 1280x1024], scale=1, rotation=0, panel_rotation=0 external.
Color space (all)	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (all)	BGRA_8888
SDR white level in nits	100
Bits per color component	8
Bits per pixel	24
Refresh Rate in Hz	60
Info	Display[18309447745727948] bounds=[1280,94 1920x1080], workarea=[1280,94 1920x1080], scale=1, rotation=0, panel_rotation=0 external.
Color space (all)	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (all)	BGRA_8888
SDR white level in nits	100
Bits per color component	8
Bits per pixel	24
Refresh Rate in Hz	60
Info	Display[1251940285254105] bounds=[3200,0 900x1440], workarea=[3200,0 900x1440], scale=1, rotation=270, panel_rotation=270 external.
Color space (all)	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (all)	BGRA_8888
SDR white level in nits	100
Bits per color component	8
Bits per pixel	24
Refresh Rate in Hz	59
Video Acceleration Information
Decode h264 baseline	16x16 to 4096x4096 pixels
Decode h264 main	16x16 to 4096x4096 pixels
Decode h264 high	16x16 to 4096x4096 pixels
Vulkan Information
Device Performance Information

But when I play a video it’s still not actually hardware accelerated
kVideoDecoderName "VpxVideoDecoder"
I noticed these lines though:
00:00:01.041 info "Failed to initialize DecryptingVideoDecoder"
00:00:01.041 info "Failed to initialize MojoVideoDecoder"
Does that mean it tried to use hardware acceleration and failed…?
Btw the flags still say that hardware acceleration is unavailable…

Which video did you play? Maybe it uses a codec which you GPU does not support.

On youtube nowadays you usually have them VP9 encoded. you can use an extension to force x264 version which should decode fine on the GPU:
To reduce CPU usage while watching YouTube where VP8/VP9 hardware decoding is not available use the h264ify or enhanced-h264ify extension.

You can also try if it works with mpv with hardware decoding.
From the terminal: mpv --hwdec=auto YOUR_VIDEO_URL

I could certainly do that… But the YouTube video was just a test, I really need it for Stadia and GeForce NOW
They work fine on everything except my Manjaro PC because the decoding isn’t hardware accelerated and the stream is choppy
And I really want to get Chromium to work properly, especially since I could do it on my brother’s Pop!_OS system fairly easily

Aside from the differences in hardware and package names … it should be just as easy or easier.
(for example you would need the flags on both systems and I doubt pop does that by default)

1 Like

On the same PC or different hardware?

Different PC
He has a AMD FX 8350 CPU and an NVIDIA GTX 1060 GPU
I installed the vdpau driver from here Index of /saiarcot895/chromium-dev/ubuntu/pool/main/v/vdpau-video
The Chromium .deb from here Index of /saiarcot895/chromium-dev/ubuntu/pool/main/c/chromium-browser
And it seemed to work, flags were enabled and the stream was smooth

On my PC though I keep getting these issues

Mmmm I have an idea, I have a couple laptops running a fresh install of Manjaro KDE
I can try if those two have the same issues as my PC, if they don’t then I know for sure it’s something wrong with my PC and not Manjaro
I’m doing that but I need to update a lot of things so it will take a few minutes

I want to thank you for being so patient with me so far, I know it’s a pretty specific issue and it’s a frustrating one

1 Like

Note: Depending on the GPU (intel, nvidia, amd), they would need different packages to be installed.
(Btw. I’m quite happy i don’t have to deal with the nvidia bullshit. It’s a desaster on linux it seems :wink: )

1 Like

The results are in, the laptop has the exact same problem, Chromium says that the flag is unavailable
Probably has to do with the GPU drivers again…
I am starting to feel cursed, maybe I’m just meant to switch to Chrome OS full time (kidding lol)
And yeah, NVIDIA on Linux is just a bunch of issues

System info:

  Kernel: 5.7.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=de43f754-608e-46e3-9d40-1163758d36f5 rw quiet apparmor=1 
  security=apparmor resume=UUID=d72c58c1-5a65-4722-97bc-fdfbca885fe0 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 info: latte-dock wm: kwin_x11 
  dm: SDDM Distro: Manjaro Linux 
Machine:
  Type: Portable System: Dell product: Studio XPS 1640 v: A153 
  serial: <filter> 
  Mobo: Dell model: 0Y536R v: A15 serial: <filter> BIOS: Dell v: A15 
  date: 04/09/2011 
Battery:
  ID-1: BAT0 charge: 2.5 Wh condition: 2.6/5.2 Wh (51%) volts: 12.6/11.1 
  model: SDI Dell type: Li-ion serial: <filter> status: Charging 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T9600 bits: 64 type: MCP 
  arch: Penryn family: 6 model-id: 17 (23) stepping: A (10) microcode: A0B 
  L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11176 
  Speed: 798 MHz min/max: 800/2801 MHz boost: enabled Core speeds (MHz): 
  1: 958 2: 971 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
  Type: mds 
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD RV730/M96-XT [Mobility Radeon HD 4670] vendor: Dell 
  driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:9488 
  Device-2: Microdia Laptop_Integrated_Webcam_2M type: USB driver: uvcvideo 
  bus ID: 1-6:3 chip ID: 0c45:63fa 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: radeon 
  FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: LVDS res: 1920x1080 hz: 60 dpi: 141 size: 345x194mm (13.6x7.6") 
  diag: 396mm (15.6") 
  OpenGL: renderer: AMD RV730 (DRM 2.50.0 / 5.7.15-1-MANJARO LLVM 10.0.1) 
  v: 3.3 Mesa 20.1.5 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 82801I HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 chip ID: 8086:293e 
  Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 1002:aa38 
  Sound Server: ALSA v: k5.7.15-1-MANJARO 
Network:
  Device-1: Intel Ultimate N WiFi Link 5300 driver: iwlwifi v: kernel 
  port: 2000 bus ID: 04:00.0 chip ID: 8086:4235 
  IF: wlp4s0 state: up mac: <filter> 
  Device-2: Broadcom and subsidiaries NetLink BCM5784M Gigabit Ethernet PCIe 
  vendor: Dell driver: tg3 v: kernel port: 2000 bus ID: 08:00.0 
  chip ID: 14e4:1698 
  IF: enp8s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 10.26 GiB (2.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD050 size: 465.76 GiB 
  block size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1U scheme: MBR 
Partition:
  ID-1: / raw size: 457.37 GiB size: 449.19 GiB (98.21%) 
  used: 10.26 GiB (2.3%) fs: ext4 dev: /dev/sda1 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.39 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 60.0 C mobo: 44.0 C gpu: radeon temp: 56 C 
  Fan Speeds (RPM): cpu: 2829 fan-2: 2833 fan-3: 2833 
Info:
  Processes: 170 Uptime: 14m Memory: 3.81 GiB used: 1.04 GiB (27.2%) 
  Init: systemd v: 245 Compilers: gcc: 10.1.0 Packages: pacman: 1191 lib: 320 
  flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05```