OBS branch with AMD VCE support.

dping

Active Member
I'm trying to run this obs on windows 8.1 64x, but it keeps giving me an error with the msvcp120.dll. I tried installing the microsoft c++ redistributable already, but it keeps crashing every time i try to open the encoder settings. It works fine with the default config but i cant change the encoder because it crashes. Does it happen to anybody else? There's a fix for it?
you have to install the version of msc+ that marries up with your version of obs. So I would guess you are running the x86 of obs? Install the x86 if msc++ redistr...vice versa for x64

@Darker use x86 if obs for clr to work
 
Last edited:

Dragvon

New Member
I just passed by to say I'm very gratefull to your work here, even tho I can't use it since I'm on a Enduro notebook and my GPU is a bitch to be detected (Radeon HD 8850m, with VCE support) .
When I tried to run your branch I couldn't check the ''Use AMD VCE" and after forcing via profile I was told I don't have AMD hardware. derp.

I thought it would work since Mirilis' Action! has the AMD APP and that actually gave me some hope to stream with OBS haha.

I'm completely blind to how coding works but at least I can say thanks for your hardwork on this.
 

Narxon

New Member
you have to install the version of msc+ that marries up with your version of obs. So I would guess you are running the x86 of obs? Install the x86 if msc++ redistr...vice versa for x64

Nope, i downloaded the x64 obs version, thats the weird thing.
I just downloaded the x86 version of obs just to give it a shot... same error. Any advice on how to fix it? I have tried everything i could think of.

Update: It doesnt throw any error anymore, but wont let me select the AMD VCE on encoder, here's a pic of the settings
http://prntscr.com/5g7soh

My gpu is a R9 270X, and the AMD gaming evolved allows me to use the gvr so i guess it should work with obs too, right?
I dont like the amd gaming evolved since the audio quality sucks, at least for me (wich doesnt happen with obs!) also you have a lot more control with OBS.
 
Last edited:

jackun

Developer
!!NB!! If you get black/white recording, go to %appdata%\OBS and delete *bin files (Hawaii_1234ABCD.bin, Pitcairn_56789EDF.bin etc.) Precompiled OpenCL kernels load with new drivers but fail silently with new Omega drivers, hm (OCL 1.2 vs 2.0).



@Dragvon Is the selected Video Adapter under Video tab Radeon?
@Narxon paste last logs (Help > Open Log folder or Log Files > ... > Upload)

Still no one who knows how to install the CLR Browser plugin for this "already installed" version of OBS?

Try by copying vanilla OBS where plugin works to new folder and overwrite files with VCE version's (with same bitness ofcourse). @sneaky4oe seems to have gotten it to work.
 
Last edited:

jackun

Developer
@Narxon seems like DLL fails to load. Settings dialog is not verbose enough so try to manually change encoder to VCE. Go to %appdata%\OBS\profiles and open the current profile ini.
Code:
[Video Encoding]
Encoder=VCE
 

Narxon

New Member
@Narxon seems like DLL fails to load. Settings dialog is not verbose enough so try to manually change encoder to VCE. Go to %appdata%\OBS\profiles and open the current profile ini.
Code:
[Video Encoding]
Encoder=VCE
Yep, that was the problem... but how about this http://prntscr.com/5gt0x8
This error appears right after i press start recording. I tried looking for that dll here but all the links i found were already down. Any legal link?
 
Last edited:

dping

Active Member
Yep, that was the problem... but how about this http://prntscr.com/5gt0x8
This error appears right after i press start recording. I tried looking for that dll here but all the links i found were already down. Any legal link?
make sure you install both versions of ms c++ when I first got obs vce i has this problem since I downloaded both but just installed one.
 

Narxon

New Member
I tried, wont let me install any other version of msr, either its not compatible with my system or a more recent one is already installed, so i think thats not the problem :(
 

Dragvon

New Member
@Dragvon Is the selected Video Adapter under Video tab Radeon?

Unfortunately, my GPU won't show up in any kind of program. I've even tried to force everything on the GPU using BIOS & Catalyst but it just stays hidden :T

dvLuX.png
 

sneaky4oe

Member
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
http://www.obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\windows\system32\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: 80000003
Fault address: 000007F8BF748B12 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.638b
Windows version: 6.2 (Build 9200)
CPU: AMD FX(tm)-8350 Eight-Core Processor

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A45FE7F378 000007F8BF748B12 000007F8AE250CA0 0000000000007531 000000A45FE7F2D8 000000A45FE7F419 kernelbase.dll!0x7f8bf748b12
000000A45FE7F380 000007F8AE221453 000000A4600145C0 000007F6A6AF8E10 000000A4600145C0 0000000000000002 obsapi.dll!OSTerminateThread+0x33
000000A45FE7F3B0 000007F6A6A3DEA1 000000000000008E 000000A4600145C0 0000000000000000 000007F8C04AD781 obs.exe!OBS::Stop+0x1e1
000000A45FE7F480 000007F6A6A35F6D 0000000000000000 0000000000000000 0000000000000001 000000A460013960 obs.exe!OBS::~OBS+0x4d
000000A45FE7F900 000007F6A6A35EF4 000000000D061037 000000000D061037 0000000000000000 0000000000000001 obs.exe!OBS::`vector deleting destructor'+0x14
000000A45FE7F930 000007F6A6A2CF1B 0000000000000000 0000000000000001 000007F6A6A00000 0000000000000000 obs.exe!WinMain+0xa9b
000000A45FE7FEE0 000007F6A6AB12A0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!__tmainCRTStartup+0x148
000000A45FE7FF20 000007F8BFEE1842 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7f8bfee1842
000000A45FE7FF50 000007F8C276F9D1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7f8c276f9d1

Video thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A4071AF2B8 000007F8C2732BEA 0000000000000000 0000000000000000 0000000000000000 0000B0B500000001 ntdll.dll!0x7f8c2732bea
000000A4071AF2C0 000007F8C276D3EA 000000A407761A40 0000000000000000 000000A47FBB4220 0000000000000000 ntdll.dll!0x7f8c276d3ea
000000A4071AF390 000007F8C273CE25 0000000000000000 000000A4647EEB18 000000A4073B5160 000000A4076D8E50 ntdll.dll!0x7f8c273ce25
000000A4071AF3D0 000007F8ADEB93F2 000000A4071AF848 000000A4071AF550 0000000000000002 000011CB45CC6B00 obsvceamf.dll!VCEEncoder::RequestBuffers+0xc2
000000A4071AF450 000007F6A6A44BA5 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureLoop+0x1795
000000A4071AF940 000007F6A6A41929 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureThread+0x9
000000A4071AF970 000007F8BFEE1842 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7f8bfee1842
000000A4071AF9A0 000007F8C276F9D1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7f8c276f9d1

Encode thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A4070AF408 000007F8C2732BEA 000000A4074A68E0 000007F6A6A4958F 0000000000000000 0000000000000002 ntdll.dll!0x7f8c2732bea
000000A4070AF410 000007F8C276D3EA 00000000000000A0 000000A45FF30E70 000000A47FBB4AC0 0000000000000000 ntdll.dll!0x7f8c276d3ea
000000A4070AF4E0 000007F8C273CE25 000000A4076D8E50 000000A4070AF700 000000A4070AF660 000000A4647F07A0 ntdll.dll!0x7f8c273ce25
000000A4070AF520 000007F8ADEB7E58 000000A460014930 0000000000000033 000000A4076B2508 000007F6A6AF98E8 obsvceamf.dll!VCEEncoder::Encode+0x68
000000A4070AF610 000007F6A6A4283B 0000000000000000 00000000000A345F 000000A4600145C0 0000000000000025 obs.exe!OBS::ProcessFrame+0xdb
000000A4070AF700 000007F6A6A430CA 0000000000000001 0000000000000001 000000000000282F 0000000000000000 obs.exe!OBS::EncodeLoop+0x4aa
000000A4070AF840 000007F6A6A41919 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::EncodeThread+0x9
000000A4070AF870 000007F8BFEE1842 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7f8bfee1842
000000A4070AF8A0 000007F8C276F9D1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7f8c276f9d1

A minidump was saved to C:\Users\sneak_000\AppData\Roaming\OBS\crashDumps\OBSCrashDump2014-12-16_1.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module

Again, with opencl. Crashed game for like 10 seconds, than went back to it. OBS stucked and this time crashed.
http://rghost.net/private/59718065/03e03af1956f27a46e6669574fc6d3d9 - dump
 

Espionage724

New Member
Maybe you got hit with a MSVC++ quirk: uninstall all MSVC++ 2013 runtimes and reinstall with latest. Sometimes the side-by-side dlls stuff goes crazy.
Could try this also: Visual C++ Redist Installer V34.exe

It's Burf's VC installer pack that contains all the latest VC++ packages and some other stuff, and can also uninstall all older packages prior to installing it. Here's his dropbox in-case someone doesn't trust the first link.

A completely up to date package containing the latest x86 and x64 runtimes for Visual
Studio C++ 2005, 2008, 2010, and 2012. Also contains the Fsharp runtimes and the latest
versions of pre-2005 runtimes requried by some programs (msvcr71.dll for example).

This package makes it a lot easier to stay up to date, and also removes unnecessary
superseded versions of the 2005, 2008, 2010, and 2012 runtimes. It is also much smaller
than downloading each component separately due to superior compression.
 

consolepurgatory

New Member
Same thing here, but this obs crash is paried with "graphics driver stoped working problem",.I get even artifacts while streaming, I think that could be becouse of overloading the card or smth, or just code is bad.

IT all kinda comes down to settings. The only game ive had this issue with atm is Blades of Time. Every other game ive done has been ok so im taking its a memory related issue. Also a sugesstion - depending on your upload - set your bitrate, but remove the buffer. Only have the bitrate set. Then under your amd vce settings, put it on quality and play around with the Gop setting, keep the idr at 120 sicne that seems to be workin nicely. So the settings Quality or Balanced work awsome. I use VCE everytime i stream so i preferr to use that one, but im thinkin i might have some memory issues tho. : /
Example of me using VCE for streaming - http://www.twitch.tv/console_purgatory/b/599364277 and http://www.twitch.tv/console_purgatory/b/599373632 - :)

Question tho, whats your card? Im running an R9 270 Blackedition card. 2 GB.
 
Top