does not use GPU AMD RX580

HandBrake for Windows support
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
sdveg
Posts: 1
Joined: Tue Jan 01, 2019 4:15 pm

does not use GPU AMD RX580

Post by sdveg »

Description of problem or question:

when coding does not use GPU, load only CPU


Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

1.2.0 (2018121700)


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

OS Name: Microsoft Windows 10 Pro for Workstations
OS Version: 10.0.17763 Build 17763


HandBrake Activity Log ***required*** (see How-to get an activity log)
HandBrake 1.2.0 (2018121700)
OS: Microsoft Windows NT 10.0.17763.0
Ram: 12279 MB,
GPU Information:
Radeon RX 580 Series - 25.20.15002.58
Screen: 1920x1200
Temp Dir: C:\Users\sdveg\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\sdveg\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[19:04:10] hb_init: starting libhb thread
[19:04:10] 1 job(s) to process
[19:04:10] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "H:\\temp\\5\\1-2.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "H:\\1.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "strong-intra-smoothing=0:rect=0",
"Preset": "slow",
"Profile": "main",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[19:04:10] CPU: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
[19:04:10] - logical processor count: 12
[19:04:10] Intel Quick Sync Video support: no
[19:04:10] hb_scan: path=H:\1.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image H:\1.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[19:04:10] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[19:04:10] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'H:\1.mp4':
Metadata:
major_brand : nvr1
minor_version : 65537
compatible_brands: isommp42nvr1
creation_time : 2018-11-03T16:10:22.000000Z
com.android.version: 8.1.0
Duration: 00:13:24.84, start: 0.000000, bitrate: 41587 kb/s
Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 3840x2160, 41973 kb/s, SAR 1:1 DAR 16:9, 29.89 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2018-11-03T16:10:22.000000Z
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
creation_time : 2018-11-03T16:10:22.000000Z
handler_name : SoundHandle
Stream #0:2(eng): Data: none (urim / 0x6D697275), 38 kb/s (default)
Metadata:
creation_time : 2018-11-03T16:10:22.000000Z
handler_name : MetaHandler
[19:04:10] scan: decoding previews for title 1
[19:04:10] scan: audio 0x1: aac, rate=48000Hz, bitrate=256001 English (AAC LC) (2.0 ch)
[19:04:13] scan: 10 previews, 3840x2160, 29.887 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[19:04:13] scan: supported video decoders: avcodec qsv
[19:04:13] libhb: scan thread found 1 valid title(s)
[19:04:13] Skipping subtitle scan. No suitable subtitle tracks.
[19:04:13] starting job
[19:04:13] decomb filter thread started for segment 0
[19:04:13] decomb filter thread started for segment 8
[19:04:13] decomb filter thread started for segment 2
[19:04:13] decomb filter thread started for segment 3
[19:04:13] decomb filter thread started for segment 4
[19:04:13] decomb filter thread started for segment 5
[19:04:13] decomb filter thread started for segment 6
[19:04:13] decomb check thread started for segment 9
[19:04:13] decomb filter thread started for segment 1
[19:04:13] mask filter thread started for segment 1
[19:04:13] mask filter thread started for segment 3
[19:04:13] decomb filter thread started for segment 11
[19:04:13] decomb check thread started for segment 0
[19:04:13] decomb check thread started for segment 1
[19:04:13] decomb check thread started for segment 2
[19:04:13] decomb check thread started for segment 3
[19:04:13] decomb check thread started for segment 4
[19:04:13] decomb check thread started for segment 5
[19:04:13] decomb check thread started for segment 6
[19:04:13] decomb check thread started for segment 7
[19:04:13] decomb check thread started for segment 8
[19:04:13] decomb filter thread started for segment 7
[19:04:13] decomb check thread started for segment 10
[19:04:13] decomb check thread started for segment 11
[19:04:13] mask filter thread started for segment 0
[19:04:13] decomb filter thread started for segment 9
[19:04:13] mask filter thread started for segment 2
[19:04:13] decomb filter thread started for segment 10
[19:04:13] mask filter thread started for segment 4
[19:04:13] mask filter thread started for segment 5
[19:04:13] mask filter thread started for segment 6
[19:04:13] mask filter thread started for segment 7
[19:04:13] mask filter thread started for segment 8
[19:04:13] mask filter thread started for segment 9
[19:04:13] work: only 1 chapter, disabling chapter markers
[19:04:13] job configuration:
[19:04:13] * source
[19:04:13] + H:\1.mp4
[19:04:13] + title 1, chapter(s) 1 to 1
[19:04:13] + container: mov,mp4,m4a,3gp,3g2,mj2
[19:04:13] + data rate: 41587 kbps
[19:04:13] * destination
[19:04:13] + H:\temp\5\1-2.mkv
[19:04:13] + container: Matroska (libavformat)
[19:04:13] * video track
[19:04:13] + decoder: h264
[19:04:13] + bitrate 41973 kbps
[19:04:13] mask filter thread started for segment 10
[19:04:13] + filters
[19:04:13] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[19:04:13] + Decomb (mode=39)
[19:04:13] + Framerate Shaper (mode=2:rate=27000000/900000)
[19:04:13] mask filter thread started for segment 11
[19:04:13] + frame rate: 29.887 fps -> peak rate limited to 30.000 fps
[19:04:13] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[19:04:13] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1080
[19:04:13] + Output geometry
[19:04:13] + storage dimensions: 1920 x 1080
[19:04:13] + pixel aspect ratio: 1 : 1
[19:04:13] + display dimensions: 1920 x 1080
[19:04:13] + encoder: H.265 (libx265)
[19:04:13] + preset: slow
[19:04:13] mask erode thread started for segment 0
[19:04:13] + options: strong-intra-smoothing=0:rect=0
[19:04:13] + profile: main
[19:04:13] + quality: 22.00 (RF)
[19:04:13] + color profile: 6-1-6
[19:04:13] * audio track 1
[19:04:13] + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x1)
[19:04:13] + bitrate: 256 kbps, samplerate: 48000 Hz
[19:04:13] + mixdown: Stereo
[19:04:13] + dither: none
[19:04:13] + encoder: AAC (libavcodec)
[19:04:13] + bitrate: 160 kbps, samplerate: 48000 Hz
[19:04:13] mask erode thread started for segment 1
[19:04:13] mask erode thread started for segment 2
[19:04:13] mask erode thread started for segment 3
[19:04:13] mask erode thread started for segment 4
[19:04:13] mask erode thread started for segment 5
[19:04:13] mask erode thread started for segment 6
[19:04:13] mask erode thread started for segment 7
[19:04:13] mask erode thread started for segment 8
[19:04:13] mask erode thread started for segment 9
[19:04:13] mask erode thread started for segment 10
[19:04:13] mask erode thread started for segment 11
[19:04:13] mask dilate thread started for segment 0
[19:04:13] mask dilate thread started for segment 1
[19:04:13] mask dilate thread started for segment 2
[19:04:13] mask dilate thread started for segment 3
[19:04:13] mask dilate thread started for segment 4
[19:04:13] mask dilate thread started for segment 5
[19:04:13] mask dilate thread started for segment 6
[19:04:13] mask dilate thread started for segment 7
[19:04:13] mask dilate thread started for segment 8
[19:04:13] mask dilate thread started for segment 9
[19:04:13] mask dilate thread started for segment 10
[19:04:13] mask dilate thread started for segment 11
[19:04:13] yadif thread started for segment 0
[19:04:13] yadif thread started for segment 1
[19:04:13] yadif thread started for segment 2
[19:04:13] yadif thread started for segment 3
[19:04:13] yadif thread started for segment 4
[19:04:13] yadif thread started for segment 5
[19:04:13] yadif thread started for segment 6
[19:04:13] yadif thread started for segment 7
[19:04:13] yadif thread started for segment 8
[19:04:13] yadif thread started for segment 9
[19:04:13] yadif thread started for segment 10
[19:04:13] yadif thread started for segment 11
[19:04:13] sync: expecting 24054 video frames
x265 [info]: HEVC encoder version 2.9
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 12 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 : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[19:04:14] sync: first pts video is 0
[19:04:14] sync: "Chapter 1" (1) at frame 1 time 0
[19:04:14] sync: first pts audio 0x1 is 0

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: does not use GPU AMD RX580

Post by s55 »

You are using x265 which is a CPU only H.265/HEVC encoder.

If you want to offload some of the work onto the GPU ASIC, then you can use the VCE H.265 encoder. (May need to be enabled in preferences -> Video)
Although to be honest, given the seek problems folks are reporting with VCE encoded files, I'd stay away from that right now until we get feedback from AMD as to why seeking in these files isn't good.

I'd also take note of the section on performance here: https://handbrake.fr/docs/en/1.2.0/tech ... o-vce.html
Post Reply