OBS branch with AMD VCE support.

jackun

Developer
No idea about you maybe it's just me, but is it normal that i have a hard time even getting 30fps going with AMF?
With the last version i was running 1080p@40FPS+Balanced just fine but now i can barely get 30FPS going.

EDIT: I can't even do that without the FPS bitching up and down a lot :||

EDIT2: Added the rather lengthy log that hopefully helps a bit.

Open task manager. Is OBS's memory usage jumping up and down?

@dping that BAT seems to be too much for AMF ;P Tested Steam streaming and even AMF DEM with client limited to 5Mbps jumped to 10+Mbps. Maybe RateControlSkipFrameEnable helps.
 
Last edited:

OliverMD

Member
I will try your settings. Alsok your GOP size is supposed to be 15 not 30?
GOP is the same as the FPS im recording at. 30, 40 or 48 in the case above and it works fine so far.
What settings? I mean i tried all 3 presets and still can't get it to work like with the last version

Open task manager. Is OBS's memory usage jumping up and down?
EDIT: Actually yes it is, very heavily too
 

jackun

Developer
GOP is the same as the FPS im recording at. 30, 40 or 48 in the case above and it works fine so far.
What settings? I mean i tried all 3 presets and still can't get it to work like with the last version

EDIT: Actually yes it is, very heavily too
Then it is copying from GPU to memory and back :/ Ok, I'll get off my ass and install Win7 heh.

@dping try this with skip frames enabled.
While OBS shows that it is capping at 5Mbps, FFDshow shows input bitrate is ~1,3Mbps.
 
Last edited:

dping

Active Member
ok, is that a preset we can eventually toggle? I don't like the frame skip that it's been doing in the past but I will check it out. Under normal circumstances frame skip disabled would probably be better.

damn, wife wants to take the kids out for the day, should be fun but I'm eager to try it.
 

jackun

Developer
Uh, tried on win7. Looks terribad. There are probably some differences about memory usage accounting, but even plain old OVE perf sucked so bad for some reason, wth. Encoding took ~12ms but OBS still hovered around 57 fps. Also suddenly cl_amd_hsa.
 
Last edited:

OliverMD

Member
Uh, tried on win7. Looks terribad. Also suddenly cl_amd_hsa.
Always remember the biggest audience, which would be Win7 regarding the overall usage :P
Wait, so there is a line for HSA under win7 but not win8 or what now? That's a weird one i must admit
 
Last edited:

dping

Active Member
Always remember the biggest audience, which would be Win7 regarding the overall usage :P
Wait, so there is a line for HSA under win7 but not win8 or what now? That's a weird one i must admit
must be the beta drivers. http://www.geeks3d.com/forums/index.php?topic=3470.0


I'm updating to the opencl 2.0 drivers to see what's up with this. I think there is already a cracked windows 7 openCL driver on guru3d as well.

not sure about hsa but gonna read about it
 

dping

Active Member
Then it is copying from GPU to memory and back :/ Ok, I'll get off my ass and install Win7 heh.

@dping try this with skip frames enabled.
While OBS shows that it is capping at 5Mbps, FFDshow shows input bitrate is ~1,3Mbps.

Well bitrate stayed at normal about 95% of the time, sometimes lower (down to 3100bitrate from 3400). but frames dropped down to 20fps during the test. sigh. well I think its good enough without the frameskip until there is a better solution but it would be nice to toggle it if certain people need more strict CBR.

As for now, I reverted it but will keep the files handy for testing.

Thanks again Jack for the test.
 

dping

Active Member
Always remember the biggest audience, which would be Win7 regarding the overall usage :P
Wait, so there is a line for HSA under win7 but not win8 or what now? That's a weird one i must admit

I think the main problem is that a lot of the newest stuff software-wise is being dev'd only for Windows8. OpenCL drivers, some of @jackun's code I've seen talks about only Win8. Sadly, you're right, most people are on Win7. If I was still on 7, I would be upset to that something is breaking only for my OS.
 

oma

New Member
Any reason to upgrade to the latest fork version, or should i stay at this 10.9. version as it is working nicely for me? Also should i update beta drivers and ocl 2.0 or will the fork have problems with the latest drivers?
 

akeera

New Member
I'm on windows 8.1 with the 14.7 rc3 drivers on an r9-290 and it seems to be working all hunky dory :) Lovely work Jackun.

Future:

Would be nice to have B-frames enabled (--for the cards that support them). (i understand the infinate cycle effect is a bitch to stabalize)

Currently i can record 1080@30fps on AMF Quality with just 12,000kbs and it looks pretty damn perfect. Super low file usage :D

I read about OpenCL 2.0... Is this quicker / better quality than AMF ? Does OBS use CL 2.0 if your card / drivers support it.( R-series cards seem to)
 

jackun

Developer
Any reason to upgrade to the latest fork version, or should i stay at this 10.9. version as it is working nicely for me? Also should i update beta drivers and ocl 2.0 or will the fork have problems with the latest drivers?

Newer version's D3D10 interop keeps (well, it should anyway, heh) data on gpu so there should be a bit better performance. For AMF, Cat 14.4 or newer should work, and for interop, any version as long as cl_khr_d3d10_sharing OpenCL extension is present (OCL 1.2).

@akeera I can't say how deeply AMF integrates with OCL (it is probably used internally for some colorspace conversion like RGB to NV12), but public sdk doesn't seem to be available yet.
 

OliverMD

Member
Sadly, you're right, most people are on Win7. If I was still on 7, I would be upset to that something is breaking only for my OS.
It's all nice if stuff works fine on Win8, but you can't just leave the biggest target group.
That's the worst thing you can really do as a good devoloper/coder. Nothing personal Jack of course

OffTopic: Please for the love of god @dping, learn already how to use the edit function so you don't keep spaming :P
In every other forum you would have gotten a warning or worse already ^^
 
Top