Question / Help Cannot use AMD encoder, drivers are up to date

Dan Naylor

New Member
I'm not really sure what to do. I've spent an age trying everything I've read on the internet to no avail. I can do x264 encoding but my videos are laggy when I rewatch them in VLC, and when recording my game with x264 my fps suffers.

14:03:27.818: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
14:03:27.818: CPU Speed: 3403MHz
14:03:27.818: Physical Cores: 4, Logical Cores: 4
14:03:27.818: Physical Memory: 16340MB Total, 12893MB Free
14:03:27.818: Windows Version: 10.0 Build 16299 (revision: 192; 64-bit)
14:03:27.818: Running as administrator: false
14:03:27.818: Aero is Enabled (Aero is always on for windows 8 and above)
14:03:27.818: Windows 10 Gaming Features:
14:03:27.818: Game DVR: On
14:03:27.820: Sec. Software Status:
14:03:27.821: Windows Defender Antivirus: enabled (AV)
14:03:27.821: Windows Firewall: enabled (FW)
14:03:27.823: Windows Defender Antivirus: enabled (ASW)
14:03:27.823: Portable mode: false
14:03:27.841: OBS 21.0.1 (64bit, windows)
14:03:27.841: ---------------------------------
14:03:27.841: ---------------------------------
14:03:27.841: audio settings reset:
14:03:27.841: samples per sec: 48000
14:03:27.841: speakers: 2
14:03:27.852: ---------------------------------
14:03:27.852: Initializing D3D11...
14:03:27.852: Available Video Adapters:
14:03:27.853: Adapter 1: AMD Radeon R9 200 / HD 7900 Series
14:03:27.854: Dedicated VRAM: 3200368640
14:03:27.854: Shared VRAM: 4272390144
14:03:27.854: output 1: pos={0, 0}, size={2048, 1152}, attached=true
14:03:27.854: output 2: pos={2048, 9}, size={1280, 1024}, attached=true
14:03:27.856: Loading up D3D11 on adapter AMD Radeon R9 200 / HD 7900 Series (0)
14:03:27.870: D3D11 loaded successfully, feature level used: 45056
14:03:28.595: ---------------------------------
14:03:28.595: video settings reset:
14:03:28.595: base resolution: 2048x1152
14:03:28.595: output resolution: 2048x1152
14:03:28.595: downscale filter: Lanczos
14:03:28.595: fps: 60/1
14:03:28.595: format: NV12
14:03:28.596: Audio monitoring device:
14:03:28.596: name: Default
14:03:28.596: id: default
14:03:28.596: ---------------------------------
14:03:28.651: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
14:03:28.673: [CoreAudio encoder]: Adding CoreAudio AAC encoder
14:03:28.691: [AMF] Version 2.2.4 loaded (Compiled: 1.4.4.0, Runtime: 1.4.6.0, Library: 1;4;6;0;17.50.17.03;201801311837;CL#1510666).
14:03:28.744: [AMF] <Id: 2> Unable to create H265/HEVC encoder, error AMF_NOT_SUPPORTED (code 10)
14:03:28.791: [AMF] <Id: 4> Unable to create H265/HEVC encoder, error AMF_NOT_SUPPORTED (code 10)
14:03:28.791: [AMF] [H265/HEVC] Not supported by any GPU, disabling...
14:03:28.887: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
14:03:28.895: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
14:03:28.906: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
14:03:28.918: Failed to load 'en-US' text for module: 'obs-browser.dll'
14:03:28.918: [browser_source: 'Version: 1.29.0']
14:03:28.953: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
14:03:28.953: (126)
14:03:29.310: VLC found, VLC video source enabled
14:03:29.341: No blackmagic support
14:03:29.430: ---------------------------------
14:03:29.430: Loaded Modules:
14:03:29.430: win-wasapi.dll
14:03:29.430: win-mf.dll
14:03:29.430: win-dshow.dll
14:03:29.430: win-decklink.dll
14:03:29.430: win-capture.dll
14:03:29.430: vlc-video.dll
14:03:29.430: text-freetype2.dll
14:03:29.430: rtmp-services.dll
14:03:29.430: obs-x264.dll
14:03:29.430: obs-vst.dll
14:03:29.430: obs-transitions.dll
14:03:29.430: obs-text.dll
14:03:29.430: obs-qsv11.dll
14:03:29.430: obs-outputs.dll
14:03:29.430: obs-filters.dll
14:03:29.430: obs-ffmpeg.dll
14:03:29.430: obs-browser.dll
14:03:29.430: image-source.dll
14:03:29.430: frontend-tools.dll
14:03:29.430: enc-amf.dll
14:03:29.430: coreaudio-encoder.dll
14:03:29.430: ---------------------------------
14:03:29.430: ==== Startup complete ===============================================
14:03:29.438: Service '' not found
14:03:29.443: All scene data cleared
14:03:29.443: ------------------------------------------------
14:03:29.492: WASAPI: Device 'Speakers (VIA HD Audio(Win 10))' initialized
14:03:29.520: WASAPI: Device 'Microphone (VIA HD Audio(Win 10))' initialized
14:03:29.520: source 'Mic/Aux' enabled push-to-talk
14:03:29.526: Switched to scene 'Scene'
14:03:29.526: ------------------------------------------------
14:03:29.526: Loaded scenes:
14:03:29.526: - scene 'Scene':
14:03:29.526: - source: 'Display Capture' (monitor_capture)
14:03:29.526: ------------------------------------------------
14:03:29.578: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
14:03:59.438: Settings changed (outputs)
14:03:59.438: ------------------------------------------------
14:04:01.285: ---------------------------------
14:04:01.285: [x264 encoder: 'streaming_h264'] preset: veryfast
14:04:01.285: [x264 encoder: 'streaming_h264'] settings:
14:04:01.285: rate_control: CBR
14:04:01.285: bitrate: 2500
14:04:01.285: buffer size: 2500
14:04:01.285: crf: 0
14:04:01.285: fps_num: 60
14:04:01.285: fps_den: 1
14:04:01.285: width: 2048
14:04:01.285: height: 1152
14:04:01.285: keyint: 250
14:04:01.285:
14:04:01.292: [CoreAudio AAC: 'Track1']: settings:
14:04:01.292: mode: AAC
14:04:01.292: bitrate: 320
14:04:01.292: sample rate: 48000
14:04:01.292: cbr: on
14:04:01.292: output buffer: 1536
14:04:01.293: [rtmp stream: 'adv_stream'] URL is empty
14:04:01.293: [rtmp stream: 'adv_stream'] Connection to (null) failed: -1
14:04:01.300: ==== Streaming Stop ================================================
14:04:04.412: [AMF] [H264]<Id: 7> <Plugin::AMD::EncoderH264::SetResolution> Failed to set to 2048x1152, error AMF_OUT_OF_RANGE (code 5)
14:07:34.505: Settings changed (outputs)
14:07:34.505: ------------------------------------------------
14:07:36.461: Settings changed (outputs)
14:07:36.461: ------------------------------------------------
14:07:37.894: [AMF] [H264]<Id: 12> <Plugin::AMD::EncoderH264::SetResolution> Failed to set to 2048x1152, error AMF_OUT_OF_RANGE (code 5)
14:19:57.410: [AMF] [H264]<Id: 13> <Plugin::AMD::EncoderH264::SetResolution> Failed to set to 2048x1152, error AMF_OUT_OF_RANGE (code 5)
 

Harold

Active Member
14:19:57.410: [AMF] [H264]<Id: 13> <Plugin::AMD::EncoderH264::SetResolution> Failed to set to 2048x1152, error AMF_OUT_OF_RANGE (code 5)
Your selected resolution is incompatible with the AMD encoder.
 

Xaymar

Active Member
Use a resolution lower than 1920x1920, either by downscaling in obs or changing your screen resolution. For example 1920x1080.
 

casual_gaming

New Member
For whats its worth OP, I have been having the exact same issues that have started at the beginning of this week, where OBS has been using the AMD Codec completely OK for months, and then this week the AMD Codec overloads when you start either streaming or recording immediately. It may work once or twice OK, but then as soon as you hit Record or Stream the next time it overloads.

But what I found is the problem replicates in other software such as Xplit with a massive frame rate drop when recording, but the GPU work process is well below average and the game itself is running without stutter in either Xplit or OBS

Yes you will need to re-scale your output, but the workaround I have been using at this stage is to set the Output Mode to Simple and Use Hardware QSV in both Streaming and Recording.

I have done the following to try and fix this;
- Reset Factory Settings on the GPU
- Reinstalled the AMD Drivers to the current state
- Clean Uninstall and Reinstall of Drivers
- Clean Uninstall and Reinstall of Drivers from Dec 2018 (18.12.3)
- Prioritized OBS process
- Reset Base canvas to 1920x1080. (Been doing Base 2560x1400 rescaled to 1920 no problems until this week)

At this stage, I am strongly suspecting a Windows update recently has ballsed something up with the AMD Encoder, but there is certainly something going on.

EDIT: Apologies, this is one of the first search results on google when googling "Cannot use AMD Encoder" and completely misread the year of this post thinking it was earlier this week. But everything else I said is still valid regarding this issue.
 
Last edited:

Xaymar

Active Member
It isn't possible for the resolution capabilities to suddenly change as those are defined by the Hardware. OPs hardware has always returned 1920x1920 as the maximum resolution.
 

radiancesw

New Member
Same problem here since beginning of this week.
Thank you for your input casual_gamer. I'll try this stuff later.
 

casual_gaming

New Member
An update on my earlier post. It seems that a Windows Update a few weeks ago turned my Windows Game Bar back on and defaulted to streaming and recording in the background, which overloaded my encoder when starting OBS or Xsplit. I am not entirely sure why QSV encoding worked, but I have disabled everything in the game bar and DVR settings to resolve this.
 
Top