OBS branch with AMD VCE support.

jackun

Developer
OVE is very picky about framerate. If you tried this new build, change back to AMF ;)

Code:
20:26:48: Device 0 Topology : PCI[B#6, D#0, F#0] : TopoID: 0x060000
20:26:48: Device 1 Topology : PCI[B#6, D#0, F#0] : TopoID: 0x060000

Well, that is useless for differentiation.
 
Last edited:

jackun

Developer
Weird then, for some reason it loads the OVE version.

Hmmm...
Code:
...
20:26:40: VCE encoding with AMF.
....
20:26:48: Successfully loaded ObsVCE.dll
 

hyperx11111

New Member
Help please.


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

**** UNHANDLED EXCEPTION: 80000003
Fault address: 000007FEFD553CA2 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.638b
Windows version: 6.1 (Build 7601) Service Pack 1
CPU: AMD FX(tm)-4170 Quad-Core Processor

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
00000000002DED18 000007FEFD553CA2 000007FEE7760CA0 0000000000007531 00000000002DEC78 00000000002DEDB9 kernelbase.dll!0x7fefd553ca2
00000000002DED20 000007FEE7731453 0000000000116DF0 000000013FB98D60 0000000000116DF0 0000000000000002 obsapi.dll!std::_Tree_unchecked_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> > const ,GraphicsSystem::FutureShaderContainer::FutureShaderContext> > >,std::_Iterator_base12+0x13
00000000002DED50 000000013FADDF01 00000000002DEF20 000000000000138B 0000000000050642 0000000000000000 obs.exe!OBS::Stop+0x1e1
00000000002DEE20 000000013FB0F7C1 0000000000000070 FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF 0000000077429B43 obs.exe!OBS::OBSProc+0xd01
00000000002DF070 0000000077429BD1 00000000008A7540 000000013FB0EAC0 00000000FFFFFED1 00000000000A06B4 user32.dll!0x77429bd1
00000000002DF130 0000000077426AA8 0000000000050642 0000000000000111 000000000000138B 000007FEFC090A29 user32.dll!0x77426aa8
00000000002DF1C0 0000000077426BAD 000000000017E710 0000000000000001 0000000000000000 0000000000000001 user32.dll!0x77426bad
00000000002DF210 000007FEFC090BBF 00000000000A06B4 0000000000000001 000000000017E710 000007FEFD952421 comctl32.dll!0x7fefc090bbf
00000000002DF250 000007FEFC0947FE 000000000000FF00 0000000000030000 0000000000000202 0000000000000000 comctl32.dll!0x7fefc0947fe
00000000002DF310 0000000077429BD1 00000000002DF618 000007FEFC093B20 00000000008A7540 00000000008A1F40 user32.dll!0x77429bd1
00000000002DF3D0 00000000774298DA 0000000000000000 0000000000000000 000007FEFC093B20 0000000000000001 user32.dll!0x774298da
00000000002DF450 00000000774267C2 00000000000D05FB 00000000000D05FB 000007FEFD952164 0000000000116190 user32.dll!0x774267c2
00000000002DF4E0 000000013FACCF39 0000000000000000 0000000000000001 000000013FAA0000 0000000000000000 obs.exe!WinMain+0xa59
00000000002DFA90 000000013FB514F0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!__tmainCRTStartup+0x148
00000000002DFAD0 00000000775259ED 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x775259ed
00000000002DFB00 000000007765C541 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7765c541

Video thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000002A4FF5B8 00000000776812FA 0000000000000039 000007FEEA54FCB0 0000000000116DF0 000007FEE77375C3 ntdll.dll!0x776812fa
000000002A4FF5C0 000000007767E518 0000000000000000 0000000000000001 000000001D8996D0 000000001E32A7D0 ntdll.dll!0x7767e518
000000002A4FF670 000000007767E40B 000000001D8985F8 0000000000000004 0000000000000004 0000000000000000 ntdll.dll!0x7767e40b
000000002A4FF6A0 000007FEEA5493FE 000000002A4FFB18 000000002A4FF810 0000000000000000 00000255A45B7B01 obsvceamf.dll!VCEEncoder::RequestBuffers+0xbe
000000002A4FF710 000000013FAE4C05 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureLoop+0x1795
000000002A4FFC00 000000013FAE1989 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureThread+0x9
000000002A4FFC30 00000000775259ED 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x775259ed
000000002A4FFC60 000000007765C541 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7765c541

Encode thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000002A36F7D8 00000000776812FA 0000004400C8001C 00000000000A8180 000000002A36F949 000007FEE77375C3 ntdll.dll!0x776812fa
000000002A36F7E0 000000007767E518 0000000000000000 000000002A36F9E0 000000001E4C3F80 000000001E32A740 ntdll.dll!0x7767e518
000000002A36F890 000000007767E40B 000000002A36F949 000000001E4C39F0 0000000000116DF0 000007FEE7737544 ntdll.dll!0x7767e40b
000000002A36F8C0 000007FEEA547EA8 0000000000117160 000000007755B292 000000002A36FB00 000007FEFD521203 obsvceamf.dll!VCEEncoder::Encode+0x68
000000002A36F9A0 000000013FAE289B 0000000000000000 00000000000003E8 0000000000116DF0 0000000000000003 obs.exe!OBS::ProcessFrame+0xdb
000000002A36FA90 000000013FAE312A 0000000000000001 0000000000000001 000000000000000F 0000000000000002 obs.exe!OBS::EncodeLoop+0x4aa
000000002A36FBD0 000000013FAE1979 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::EncodeThread+0x9
000000002A36FC00 00000000775259ED 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x775259ed
000000002A36FC30 000000007765C541 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7765c541

A minidump was saved to C:\Users\Hyperx\AppData\Roaming\OBS\crashDumps\OBSCrashDump2015-03-09_20.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module
 

Attachments

  • OBSCrashDump2015-03-09_20.rar
    210.5 KB · Views: 21

Benman2785

Member
first a really big THANK YOU ;)

With my HD7970 everything runs fine and smooth - but i have Problems with my Notebook.

Desktop: FX-8150 @4.2GHz + HD7970 XFX BE 3GB + 8GB 1866er = stream &/or record is/are smooth as a pu**y
Notebook: A10 5757m + HD8750m +8GB DDR3L-1600 = i dont know why but its laggy

720p@30

I use OpenCL (OVE) and the game isnt smooth anymore, its a little laggy -> the recorded video also shows that. (when i use x264 its a diashow)
Is that normal with OpenCL or should it be smoother?
Cant activate AMF - even after driver reinstall - would that fix the problem? if yes how to activate?
What setting should i use that the APU is used for record and HD 8750m for gaming?

sry for my english - but last night was nuts

is there anyway to donate some money to you?
as i said: i really like your build - thank you for coding it ;)
 

DDSZ

New Member
So, can I use 2nd different GPU for encoding? For example, I have an a R9 290x as main, and a HD6950. Can I use HD6950 as encoding device? Do I just need to set the "Device index" for it?
 

jackun

Developer
So, can I use 2nd different GPU for encoding? For example, I have an a R9 290x as main, and a HD6950. Can I use HD6950 as encoding device? Do I just need to set the "Device index" for it?
HD6950 doesn't have VCE on it. See 1st post for supported HW.
 

Benman2785

Member
Hi Jackun - thank you for your fast reply

here my logs with and without AMF

and my settings
Settings1.jpg
Settings2.jpg


using Win 8.1 & newest stable Omega-Catalyst
 

Attachments

  • 2015-03-12-2117-42.log
    12.5 KB · Views: 25
  • 2015-03-12-2121-50.log
    10.2 KB · Views: 22

jackun

Developer
Hi Jackun - thank you for your fast reply

here my logs with and without AMF
...
using Win 8.1 & newest stable Omega-Catalyst

OVE log seems reasonable. You can try setting device index to 1, then it probably selects the discrete card or set topology id (TopoID) and check the log that it actually selects the specified device:
Code:
Device 0 ... TopoID: 0x000100 (probably APU)
Device 1 ... TopoID: 0x010000 (probably discrete card)

AMF gives "NOT SUPPORTED" error code, hmm. To fix AMF, you may try DDU to completely delete all driver related files and reinstall Omega. I had similar issue where with Cat 14.4 AMF return encoder not present error even with reinstalling it.

Also maybe quit Raptr/GamingEvolved app before using OBS.
 

Benman2785

Member
@jackun // thank you again ;)

after driver reinstall i can use AMF and OVE. Found out that the Problem was that my Webcam was on 720p. now its 240p and it runs great and smooth. But i prefer OVE in terms of Quality.

Is OVE still CBR? or do i have to use AMF for CBR

for all people who might have asked:
AMF runs smoother (ingame and video) when used APU (Device 0 & TopoID: 0x0001000) in VCE settings.

//

now i can stream in 720p@30 3000kbps with my Notebook ;)
 

jackun

Developer
Is OVE still CBR? or do i have to use AMF for CBR

for all people who might have asked:
AMF runs smoother (ingame and video) when used APU (Device 0 & TopoID: 0x0001000) in VCE settings.

Only OVE uses TopoID, AMF should select the device by D3D adapter. AMF's CBR is the most stable of the two.
 
Question, why does AMD VCE seem to have so much issues?
What's the cause, is it hard to implement, is there no guidelines, is it the Encoder itself?

(Not complaining on anyone, just wondering as one would think the Encoder would be like x264, and just "copy paste").

So just interested is all;P
 
Last edited:

jackun

Developer
One is high-quality open sourced software encoder, another is closed sourced hw encoder with behind-the-scenes "magic" that does who knows what, lol.
 
Ah, so they haven't released everything (or at least the information for how it all works).
That explains it. Thought AMD was good at this "Open Source" stuff.
 
Top