Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSV_h265 doesn't show up on the handbrake GUI #4372

Closed
desibandhu opened this issue May 22, 2022 · 4 comments
Closed

QSV_h265 doesn't show up on the handbrake GUI #4372

desibandhu opened this issue May 22, 2022 · 4 comments

Comments

@desibandhu
Copy link

Problem Description

GUI video tab
Flathub install screen

I followed the Flathub installation method from the handbrake homepage on my Fedora 36 (x64) workstation.
I then followed up by installing the media addon for enabling intel QSV

My hardware is Intel i3-12100.

On this same machine, I have also installed Windows on dual-boot and under that I can see qsv_h265 under video settings and it works as expected too, but fedora fails to replicate the same.

Since this is a Flatpak installation, I don't know what else could I potentially do to ensure it detects Intel QSV and just works.

Activity Log, Crash Log or any other details

Handbrake Version: 1.5.1 (2022011000)
[23:26:58] gtkgui: Modified Custom Preset: /Hardware/H.265 QSV 1080p - 300BR
[23:26:58] Starting work at: Sun May 22 23:26:58 2022

[23:26:58] 1 job(s) to process
[23:26:58] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "copy:aac",
                "Gain": 0.0,
                "Mixdown": "none",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "none"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 53,
                    "Seconds": 20,
                    "Ticks": 288058950
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/home/kaushalr/Videos/xyz.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 13,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 1080,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {
        "Name": "<redacted>"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "<redacted>",
        "Range": {
            "End": 27000000,
            "Start": 0,
            "Type": "time"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "Bitrate": 700,
        "ChromaLocation": 1,
        "ColorInputFormat": 0,
        "ColorMatrix": 1,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 1,
        "ColorRange": 0,
        "ColorTransfer": 1,
        "Encoder": "x265",
        "Level": "auto",
        "Options": "",
        "Preset": "medium",
        "Profile": "auto",
        "QSV": {
            "AdapterIndex": 0,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Tune": "",
        "Turbo": true,
        "TwoPass": true
    }
}
[23:26:58] CPU: 12th Gen Intel(R) Core(TM) i3-12100
[23:26:58]  - logical processor count: 8
[23:26:58] Intel Quick Sync Video support: no
[23:26:58] hb_scan: path=/home/kaushalr/Videos/<redacted>, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /home/kaushalr/Videos/<redacted>
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/home/kaushalr/Videos/<redacted>) failed
[23:26:58] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[23:26:58] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/kaushalr/Videos/<redacted>':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-10-09T20:30:13.000000Z
  Duration: 00:53:20.66, start: 0.000000, bitrate: 2592 kb/s
  Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2103 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2013-10-09T20:30:13.000000Z
      handler_name    : #trackID=1:fps=23.976@GPAC0.5.1-DEV-rev4283
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 379 kb/s (default)
    Metadata:
      creation_time   : 2013-10-09T20:30:18.000000Z
      handler_name    : aac#trackID=1:lang=en@GPAC0.5.1-DEV-rev4283
      vendor_id       : [0][0][0][0]
  Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 124 kb/s (default)
    Metadata:
      creation_time   : 2013-10-09T20:25:18.000000Z
      handler_name    : Sound Media Handler
      vendor_id       : [0][0][0][0]
[23:26:58] scan: decoding previews for title 1
[23:26:58] scan: audio 0x1: aac, rate=48000Hz, bitrate=379275 English (AAC LC) (5.1 ch) (379 kbps)
[23:26:58] scan: audio 0x2: aac, rate=48000Hz, bitrate=124574 English (AAC LC) (2.0 ch) (124 kbps)
[23:26:59] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[23:26:59] libhb: scan thread found 1 valid title(s)
[23:26:59] Starting Task: Analysis Pass
[23:26:59] Skipping vfr filter
[23:26:59] Skipping crop/scale filter
[23:26:59] job configuration:
[23:26:59]  * source
[23:26:59]    + /.mp4
[23:26:59]    + title 1, start 00:00:0.00 stop 00:05:0.00
[23:26:59]    + container: mov,mp4,m4a,3gp,3g2,mj2
[23:26:59]    + data rate: 2592 kbps
[23:26:59]  * destination
[23:26:59]    + /.mkv
[23:26:59]    + container: Matroska (libavformat)
[23:26:59]  * video track
[23:26:59]    + decoder: h264 8-bit (yuv420p)
[23:26:59]      + bitrate 2103 kbps
[23:26:59]    + Output geometry
[23:26:59]      + storage dimensions: 1920 x 1080
[23:26:59]      + pixel aspect ratio: 1 : 1
[23:26:59]      + display dimensions: 1920 x 1080
[23:26:59]    + encoder: H.265 (libx265)
[23:26:59]      + preset:  medium
[23:26:59]      + profile: auto
[23:26:59]      + level:   auto
[23:26:59]      + bitrate: 700 kbps, pass: 1
[23:26:59]      + fast first pass
[23:26:59]      + color profile: 1-1-1
[23:26:59]      + chroma location: left
[23:26:59]  * audio track 1
[23:26:59]    + decoder: English (AAC LC) (5.1 ch) (379 kbps) (track 1, id 0x1)
[23:26:59]      + bitrate: 379 kbps, samplerate: 48000 Hz
[23:26:59]    + AAC Passthru
[23:26:59] sync: expecting 7216 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 11.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-700 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra fast-intra strong-intra-smoothing lslices=6 deblock
x265 [info]: tools: sao stats-write
[23:26:59] sync: first pts audio 0x1 is 0
[23:26:59] sync: first pts video is 11261
[23:26:59] sync: Chapter 1 at frame 1 time 11261
[23:31:14] sync: reached video pts 27000723, exiting early
[23:31:14] sync: reached audio 0x1 pts 27000960, exiting early
[23:31:16] work: average encoding speed for job is 28.151981 fps
[23:31:16] aac-decoder done: 15746 frames, 0 decoder errors
[23:31:16] h264-decoder done: 8039 frames, 0 decoder errors
[23:31:16] sync: got 7190 frames, 7216 expected
[23:31:16] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     47, Avg QP:29.89  kb/s: 6826.60 
x265 [info]: frame P:   2074, Avg QP:32.10  kb/s: 1327.44 
x265 [info]: frame B:   5069, Avg QP:37.82  kb/s: 214.20  
x265 [info]: Weighted P-Frames: Y:14.5% UV:6.1%
x265 [info]: consecutive B-frames: 14.9% 9.0% 16.5% 41.4% 18.2% 

encoded 7190 frames in 257.14s (27.96 fps), 578.55 kb/s, Avg QP:36.12
[23:31:16] Starting Task: Encoding Pass
[23:31:16] Skipping vfr filter
[23:31:16] Skipping crop/scale filter
[23:31:16] job configuration:
[23:31:16]  * source
[23:31:16]    + /.mp4
[23:31:16]    + title 1, start 00:00:0.00 stop 00:05:0.00
[23:31:16]    + container: mov,mp4,m4a,3gp,3g2,mj2
[23:31:16]    + data rate: 2592 kbps
[23:31:16]  * destination
[23:31:16]    + /.mkv
[23:31:16]    + container: Matroska (libavformat)
[23:31:16]  * video track
[23:31:16]    + decoder: h264 8-bit (yuv420p)
[23:31:16]      + bitrate 2103 kbps
[23:31:16]    + Output geometry
[23:31:16]      + storage dimensions: 1920 x 1080
[23:31:16]      + pixel aspect ratio: 1 : 1
[23:31:16]      + display dimensions: 1920 x 1080
[23:31:16]    + encoder: H.265 (libx265)
[23:31:16]      + preset:  medium
[23:31:16]      + profile: auto
[23:31:16]      + level:   auto
[23:31:16]      + bitrate: 700 kbps, pass: 2
[23:31:16]      + color profile: 1-1-1
[23:31:16]      + chroma location: left
[23:31:16]  * audio track 1
[23:31:16]    + decoder: English (AAC LC) (5.1 ch) (379 kbps) (track 1, id 0x1)
[23:31:16]      + bitrate: 379 kbps, samplerate: 48000 Hz
[23:31:16]    + AAC Passthru
[23:31:16] sync: expecting 7190 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 11.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-700 kbps / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao
x265 [info]: tools: stats-read
[23:31:16] sync: first pts audio 0x1 is 0
[23:31:16] sync: first pts video is 11261
[23:31:16] sync: Chapter 1 at frame 1 time 11261
[23:33:52] sync: reached video pts 27000723, exiting early
[23:33:52] sync: reached audio 0x1 pts 27000960, exiting early
[23:33:53] work: average encoding speed for job is 45.981819 fps
[23:33:53] aac-decoder done: 15036 frames, 0 decoder errors
[23:33:53] h264-decoder done: 7670 frames, 0 decoder errors
[23:33:53] sync: got 7190 frames, 7190 expected
[23:33:53] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     47, Avg QP:31.30  kb/s: 5801.60 
x265 [info]: frame P:   2074, Avg QP:36.17  kb/s: 1411.95 
x265 [info]: frame B:   5069, Avg QP:41.76  kb/s: 351.95  
x265 [info]: Weighted P-Frames: Y:14.4% UV:6.0%
x265 [info]: consecutive B-frames: 14.9% 9.0% 16.5% 41.4% 18.2% 

encoded 7190 frames in 157.45s (45.66 fps), 693.34 kb/s, Avg QP:40.08
[23:33:53] mux: track 0, 7190 frames, 26018754 bytes, 693.72 kbps, fifo 4096
[23:33:53] mux: track 1, 14063 frames, 14425873 bytes, 384.63 kbps, fifo 8192
[23:33:54] Finished work at: Sun May 22 23:33:54 2022

[23:33:54] libhb: work result = 0

What Operating System are you running?

Fedora 36

What version of HandBrake are you running?

1.5.1

Where did you download HandBrake from?

flathub

@sr55
Copy link
Contributor

sr55 commented May 22, 2022

What Graphics driver do you have installed for the onboard GPU?

@desibandhu
Copy link
Author

What Graphics driver do you have installed for the onboard GPU?

The default one that comes installed on Fedora workstation 36 distribution. I didn't install anything explicitly.

@sr55
Copy link
Contributor

sr55 commented May 24, 2022

Just did a quick Fedora 36 install and it works out the box on an 11th gen Intel CPU.

I'm afraid I have no idea why it doesn't work for you. The fact it shows up and works on windows rules out the usual suspects.

I can only guess there is something messed up with the Intel Drivers here that's causing it to report it's not available.

@LuisR091197

This comment was marked as off-topic.

@sr55 sr55 closed this as completed Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants