OBS branch with AMD VCE support.

kamild_

Member
I keep crashing even with the latest version of OBS... When I start recording, after about 5 minutes video in the game hangs (I can only hear the game running but the video is stuck at one frame), also OBS crashes. Also when I tick "Use custom parameters" in VCE settings, the output file looks terribly bad which doesn't happen if such option isn't ticked. Talking about local recordings, not streaming of course.
Logs and .dmp file are attached.
Any suggestions? I miss those times when OBS would capture replays for me flawlessly, now I cannot get it to work properly :(
Sadly it's still not solved, would anyone please help me? The "Use custom parameters" option is now ticked and correct settings have been applied.
@dping
 

dping

Active Member
Sadly it's still not solved, would anyone please help me? The "Use custom parameters" option is now ticked and correct settings have been applied.
@dping
Still crashing? that last logfile showed the crashing was due to OpenCL being used. so I dont know what else it could be. make sure OpenCL is unchecked and only AMF is check in the encoding tab.

Post a new logfile?
 

kamild_

Member
Still crashing? that last logfile showed the crashing was due to OpenCL being used. so I dont know what else it could be. make sure OpenCL is unchecked and only AMF is check in the encoding tab.

Post a new logfile?
No OpenCL functions are checked.
I also have those extra parameters, could those cause some trouble?
aq-strength=2 direct=temporal qcomp=0.4
New files attached.
 

Attachments

  • OBSCrashDump2015-10-26_1.dmp
    509.1 KB · Views: 26
  • OBSCrashLog2015-10-26_1.txt
    5.4 KB · Views: 16
  • 2015-10-26-1626-39.log
    25.3 KB · Views: 16

dping

Active Member
No OpenCL functions are checked.
I also have those extra parameters, could those cause some trouble?
aq-strength=2 direct=temporal qcomp=0.4
New files attached.
It very well could be. see that crash didn't mention OpenCL like your last crash did.
 

Wobbly

New Member
AMD VCE is greyed out in the latest version on 15.10 beta drivers.

MUltiplatform works fine.

PS running in admin mode helped although it is kinda strange coz multiplatform version doesnt require this. However I still get encoder initilialization failed.

Yeah my VCE option is greyed out also, tried different versions but I can't get it working again. Any ideas?
 

dping

Active Member
Yeah my VCE option is greyed out also, tried different versions but I can't get it working again. Any ideas?
Uninstall AMD drivers with DDU in safemode (the most important part of the step). then reboot and reinstall the newest drivers as normal.
 

Narkomax

New Member
Hi there!
i have R9 280X
I have downloaded OBS with VCE support.
I have used this OBS few days for streaming to Twitch.
But, after 2 days, when i launch OBS and press start stream,OBS stream freezing in 00:00:01 second and not rispondet..
If i change to x264 - all works fine. Who can help me?

I have fixed my OBS crash
Problem was in Kaspersky Internet security 16
I just have added obs in exclusion and.. FIX done
 

A4Felix

New Member
I get the fault "Encoder initialization failed" on my 21:9 TFT (2560x1080) AMD VCE (30fps or 60fps).
The box "AMF AMF instead of OVE" is checked and the other "Use OpenCL for NV12..." doesnt matter if checked or not.
x264 works fine with 2560x1080 at 30fps and 60fps.
AMD VCE works only with resolution downscale to 1920x810 (30fps and 60fps).

Are ther any solutions for the fault at 2560x1080 with AMD VCE?
 

Attachments

  • failed 2560x1080 2015-10-30-1930-20.log
    5.8 KB · Views: 15
  • works 1920x810 2015-10-30-1931-05.log
    6.5 KB · Views: 12
  • failed 2048x864 2015-10-30-1938-29.log
    3.8 KB · Views: 14
  • works 1704x720 2015-10-30-1940-24.log
    6.5 KB · Views: 14

dping

Active Member
I get the fault "Encoder initialization failed" on my 21:9 TFT (2560x1080) AMD VCE (30fps or 60fps).
The box "AMF AMF instead of OVE" is checked and the other "Use OpenCL for NV12..." doesnt matter if checked or not.
x264 works fine with 2560x1080 at 30fps and 60fps.
AMD VCE works only with resolution downscale to 1920x810 (30fps and 60fps).

Are ther any solutions for the fault at 2560x1080 with AMD VCE?
you forgot to post your logfile. the old OBS fork of VCE didn't allow more than 1080, but that restriction has since been removed.
 

A4Felix

New Member
Sry. I added the logfiles above.
failed 2560x1080.log
failed 2048x864 (downscaled)
works 1920x810.log (downscaled)
works 1704x720.log (downscaled)

Lowering fps didnt help.
 
Last edited:

dping

Active Member
Sry. I added the logfiles above.
failed 2560x1080.log
failed 2048x864 (downscaled)
works 1920x810.log (downscaled)
works 1704x720.log (downscaled)

Lowering fps didnt help.
Is your preset in the AMD VCE settings tab at balanced or below? I think the max for your R9 290 is going to be 1920x1080 :X since its VCE 2.0. VCE 3.0 (R9 285/380 or the fury series) will do over 1080p encodes and by 1080p, I'm referring to 1920x1080.

Not sure if this is a hardware restriction or a software one, but it has been this way for a while. I dont even thing 1920x1200 works for encoding but you could try to just change the preset to balanced or better yet speed for testing. If it doesn't work with this, it might be something that is not going to work
 

A4Felix

New Member
Is your preset in the AMD VCE settings tab at balanced or below?
It doesnt matter which preset is choosen. OFF, SPEED, BALANCED or QUALITY no ones works. I get always ""Encoder initialization failed".



I think the max for your R9 290 is going to be 1920x1080 :X since its VCE 2.0. VCE 3.0 (R9 285/380 or the fury series) will do over 1080p encodes and by 1080p, I'm referring to 1920x1080.

Not sure if this is a hardware restriction or a software one, but it has been this way for a while. I dont even thing 1920x1200 works for encoding but you could try to just change the preset to balanced or better yet speed for testing. If it doesn't work with this, it might be something that is not going to work
What a shame, but ok. Thx for you replies.
 

Semel

Member
Recording at 1920x1200@30 fps works in OBS multiplatform but I get "encoder initialization failed" in OBS(VCE version).

>or < than 1920x1200@30 fps -> works
any resolution >30 fps ->works

It's really strange.
PS sapphire fury tri-x

VCE encoding with AMF.
16:54:13: Successfully loaded ObsVCEAMF.dll
16:54:13: ObsVCEAMF.dll initialized successfully
16:54:13: Build date Sep 28 2015 10:26:21
16:54:13: DX11: List of adapters:
16:54:13: Index 0: Device ID: 7300 [AMD Radeon (TM) R9 Fury Series]
16:54:13: Skipping non-AMD vendor: 1414
16:54:13: No adapter nr 2. End enumeration.
16:54:13: AMF DX11 : Using device 0: Device ID: 7300 [AMD Radeon (TM) R9 Fury Series]
16:54:13: InitDX11() created HW DX11.1 device
16:54:13: Capabilities:
16:54:13: Accel type: HARDWARE
16:54:13: Max bitrate: 100000000
16:54:13: Levels: 10 11 12 13 20 21 22 30 31 32 40 41 42 50 51 52
16:54:13: Profiles: 66 77 100
16:54:13: Input mem types:
16:54:13: HOST, native: 0
16:54:13: OPENGL, native: 0
16:54:13: OPENCL, native: 0
16:54:13: DX11, native: 1
16:54:13: Width min/max: 64/4096
16:54:13: Height min/max: 64/2160
16:54:13: Encoder init failed with: "AMF_ENCODER_NOT_PRESENT". See if lowering video resolution/fps helps.
16:54:13: Couldn't initialize encoder

And here is VCE log from OBS multiplatform
[Media Foundation encoder]: Activating encoder: AMD VCE
17:03:46.553: [Media Foundation encoder]: Setting output type to transform:
17:03:46.553: [Media Foundation encoder]: MF_MT_FRAME_SIZE: 1920 x 1200
17:03:46.553: [Media Foundation encoder]: MF_MT_AVG_BITRATE: 20000000
17:03:46.553: [Media Foundation encoder]: MF_MT_MAJOR_TYPE: MFMediaType_Video
17:03:46.553: [Media Foundation encoder]: MF_MT_MPEG2_LEVEL: 4294967295
17:03:46.553: [Media Foundation encoder]: MF_MT_MPEG2_PROFILE: 77
17:03:46.553: [Media Foundation encoder]: MF_MT_FRAME_RATE: 30 x 1
17:03:46.553: [Media Foundation encoder]: MF_MT_PIXEL_ASPECT_RATIO: 1 x 1
17:03:46.553: [Media Foundation encoder]: MF_MT_INTERLACE_MODE: 2
17:03:46.553: [Media Foundation encoder]: MF_MT_SUBTYPE: MFVideoFormat_H264
17:03:46.553: [Media Foundation encoder]: Setting input type to transform:
17:03:46.553: [Media Foundation encoder]: MF_MT_FRAME_SIZE: 1920 x 1200
17:03:46.553: [Media Foundation encoder]: MF_MT_MAJOR_TYPE: MFMediaType_Video
17:03:46.553: [Media Foundation encoder]: MF_MT_FRAME_RATE: 30 x 1
17:03:46.553: [Media Foundation encoder]: MF_MT_PIXEL_ASPECT_RATIO: 1 x 1
17:03:46.553: [Media Foundation encoder]: MF_MT_INTERLACE_MODE: 2
17:03:46.553: [Media Foundation encoder]: MF_MT_SUBTYPE: MFVideoFormat_NV12
 
Last edited:

dping

Active Member
Recording at 1920x1200@30 fps works in OBS multiplatform but I get "encoder initialization failed" in OBS(VCE version).

>or < than 1920x1200@30 fps -> works
any resolution >30 fps ->works

It's really strange.
PS sapphire fury tri-x



And here is VCE log from OBS multiplatform
Hah, well Fury definitely has the encoder to do that res. thanks for checking that out. @A4Felix try OBS Multiplatform. It comes with the ability to do VCE(MFT) instead of AMF which is older but it works. I will say it is not recommended for streaming, just local recording due to the lack of CBR support with MFT.
 

Greenland177

New Member
Hi folks,

I have a R9 Fury and wonder is there anyone else who's also using the R9 fury to record/stream. If you, what are your settings / OBS version.

Thank you.
 
Last edited:

dping

Active Member
Hi folk,

I have a R9 Fury and wonder is there anyone else who's also using the R9 fury to record/stream. If you, what are your settings / OBS version.

Thank you.
Check the main thread but you can use pretty much anything below 4k. I personally would just do 1080@60 with IDR/GOP of 120 or 240 quality preset. local record
 

Greenland177

New Member
I try to record but in every scenario ( game/monitor capture ) OBS would simply freeze after 2s. What should I do to solve this?

Edit: I tuned the bitrate down from 4000 to 2000, problem solved, but that means the video quality will be cut in half. Any ideas how to get the best video quality? I have a 4790k OC to 4.7Ghz.
 

dping

Active Member
I try to record but in every scenario ( game/monitor capture ) OBS would simply freeze after 2s. What should I do to solve this?

Edit: I tuned the bitrate down from 4000 to 2000, problem solved, but that means the video quality will be cut in half. Any ideas how to get the best video quality? I have a 4790k OC to 4.7Ghz.
Well if you're streaming that 4000 bitrate is to high to stream at. at that, you'll need to post a link to your log
 

Semel

Member
Here is why 1920x1200 didn't work in this OBS version on my amd card.(fury) and worked in obs multiplatform


1080p resolution is a hardware limit of most of currently available VCE capable AMD graphics cards (RADEON HD7x00 series and RADEON R9 2x0 series).

You physically cannot encode video at higher resolutions for such systems and must downscale it to 1080p in MSI AB settings with such hardware.

VCE 3.0 cards (Tonga and Fiji) allow unlocking >1080p encoding in MSI AB, however I'd not recommend it. 1080p is still recommended as a target encoding resolution and everything above is slow. If you still wish to unlock the ability to encode in >1080p for VCE 3.0 cards - edit VCEAMFPresetX.cfg files (where X=0 is a speed preset, X=1 is a balanced preset and X=2 is a quality preset config) and change ProfileLevel field there from 42 to 51.

(c) Unwinder, MSI Afterburner\RIVA Tuner Developer

So is there a way to change in OBS profile from 42 to 51?
 
Last edited:
Top