Quick Sync Video not working on Chrome OS

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
LowTech
Posts: 9
Joined: Sat Jan 17, 2015 8:45 am

Quick Sync Video not working on Chrome OS

Post by LowTech »

Description of problem or question:
Intel Quick Sync Video not working on Chrome OS

Steps to reproduce the problem (If Applicable):
- activate Linux support on Chrome OS
- install Handbrake & IntelMediaSDK plugin via Flatpak
- load video file
- try to find a QSV option in "Video"

HandBrake version (e.g., 1.0.0):

Code: Select all

max@penguin:~$ flatpak list
Name                    Application ID              Version Branch Installation
HandBrake               fr.handbrake.ghb            1.3.3   stable user
IntelMediaSDK plugin f… …e.ghb.Plugin.IntelMediaSDK         1      user
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Chrome OS 84.0.4147.110

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[13:52:16] gtkgui: HandBrake 1.3.3 (2020061500) - Linux x86_64 - https://handbrake.fr
Cannot load libnvidia-encode.so.1
[13:52:16] hb_init: starting libhb thread
[13:52:16] hb_init: starting libhb thread
[13:52:16] hb_init: starting libhb thread
xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock
[13:52:24] CPU: 
[13:52:24]  - Intel microarchitecture Kaby Lake
[13:52:24]  - logical processor count: 4
[13:52:24] Intel Quick Sync Video support: no
[13:52:24] hb_scan: path=/home/max/2160p60hevc-10bit.ts, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /home/max/2160p60hevc-10bit.ts
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/home/max/2160p60hevc-10bit.ts/) failed
[13:52:24] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:52:24] dvd: not a dvd - trying as a stream/file instead
[13:52:24] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[13:52:25] hb_ts_stream_find_pids - end of file
Input #0, mpegts, from '/home/max/2160p60hevc-10bit.ts':
  Duration: 00:01:41.09, start: 1.400000, bitrate: 39476 kb/s
  Program 1 
    Metadata:
      service_name    : Halftime HEVC
      service_provider: HalftimeCommunications,Seoul,South Korea
    Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 60 tbc
    Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 139 kb/s
[13:52:25] scan: decoding previews for title 1
[13:52:25] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[13:52:26] hb_ts_stream_find_pids - end of file
[13:52:26] scan: audio 0x1: aac, rate=48000Hz, bitrate=139500 English (AAC LC) (2.0 ch) (139 kbps)
[13:52:30] scan: 10 previews, 3840x2160, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:52:30] scan: supported video decoders: avcodec qsv
[13:52:30] libhb: scan thread found 1 valid title(s)

(ghb:3): Gdk-WARNING **: 13:52:46.818: Tried to map a popup with a non-top most parent
The log shows

[13:52:24] Intel Quick Sync Video support: no

Are there some more installation steps necessary to get Handbrake using QSV on Chrome OS?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Quick Sync Video not working on Chrome OS

Post by JohnAStebbins »

Not sure what's preventing it from loading, but it's silently failing initialization somewhere.

When successful initialization happens you would see this in the log:

Code: Select all

[15:57:34] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_5
libva info: va_openDriver() returns 0
My best guess at this point is that MFXInit() function is failing since this would gate the code that displays the above messages.
LowTech
Posts: 9
Joined: Sat Jan 17, 2015 8:45 am

Re: Quick Sync Video not working on Chrome OS

Post by LowTech »

Thanks and sorry John,
I should have looked into the manual first. ATM the Linux feature on Chrome OS doesn't support this.
From Google:
Check what’s not supported yet

Cameras are not yet supported.
Android devices are supported over USB, but other devices are not yet supported.
Android Emulators are not yet supported.
Hardware acceleration is not yet supported, including GPU and video decode.
ChromeVox is supported for the default Terminal app, but not yet for other Linux apps.
iznobe
Posts: 10
Joined: Mon Aug 24, 2020 5:45 am

Re: Quick Sync Video not working on Chrome OS

Post by iznobe »

hi ,

what about the same issue in ubuntu 20.04 and how to activate QSV support please ?
details here : viewtopic.php?f=13&t=41071
and here : https://github.com/HandBrake/HandBrake-docs/issues/130

thanks
Post Reply