OBS branch with AMD VCE support.

dping

Active Member
Yeah don't worry i know that you just meant L4D2 for this special case :P
Do you mean the spiking bitrate? Yeah had that issue today too while local recording.
Correct. I use my random color symbol generator in a dos prompt then stream it. It will max out the peak bitrate every time.
 

jackun

Developer
@jackun I'm guessing we're talking about how the video card processes the capture/decoding process or are we talking about what game itself?

Just how data gets from OBS to encoder. But OpenGL game capture uses its own interop stuff too.

Yeah don't worry i know that you just meant L4D2 for this special case :P
Do you mean the spiking bitrate? Yeah had that issue today too while local recording.

How much? CBR padding is enabled? Probably should cap PeakBitrate too then.
 
Last edited:

OliverMD

Member
How much? CBR padding is enabled? Probably should cap PeakBitrate too then.
CBR works fine, I'm talking about VBR. For me VBR still seems to ignore the max bitrate you set.
No idea if it's suppose to work like that, but for me that's a somewhat big issue.
CFR is off too since you said it changes the whole system to CQP/CRF or something around thsoe lines.
 

dping

Active Member
Just how data gets from OBS to encoder. But OpenGL game capture uses its own interop stuff too.



How much? CBR padding is enabled? Probably should cap PeakBitrate too then.


No mine was with CBR and padding with this new version. I tested it with my super secret special batch file I mentioned a while back.

Max bitrate and buffer set to 3400, peaks up to 7000. Both OBS and Windows Resource Monitor confirmed.
here's the thing, when I switched from my test.bat to a blank screen or the my opening scene, it acted like padding wasn't on and the bitrate went almost non-existant!

a few dropped frames during my test, mostly at the start. Here's a VOD of the test http://www.twitch.tv/d2_ricci/b/569984596 just so you can see what it does. Dont worry, its supposed to look like shit :D
 
Last edited:

OliverMD

Member
Fuuuuck after a long play session my display driver crashed again thanks to OBS/VCE :/
Thought it's an OCL only issue or because my PC was running too hot before i cleaned it up a couple of days ago...

I know that OBS crashed thanks to the driver resetting (black-screen for a bit) but I'm sending the logs anyway.
So far the driver resetting is clearly my biggest issue beside 1080p@60FPS which we all have an issue with.

About my Driver: have this issue with 14.4 AND the latest 14.7RC3 beta driver.
 

Attachments

  • 2014-09-20-1732-46.log
    4.6 KB · Views: 28
  • OBSCrashDump2014-09-20_1.dmp
    546.3 KB · Views: 63
  • OBSCrashLog2014-09-20_1.txt
    6.8 KB · Views: 23

dping

Active Member
Fuuuuck after a long play session my display driver crashed again thanks to OBS/VCE :/
Thought it's an OCL only issue or because my PC was running too hot before i cleaned it up a couple of days ago...

I know that OBS crashed thanks to the driver resetting (black-screen for a bit) but I'm sending the logs anyway.
So far the driver resetting is clearly my biggest issue beside 1080p@60FPS which we all have an issue with.

About my Driver: have this issue with 14.4 AND the latest 14.7RC3 beta driver.

Can you explain driver resetting? I know I've had a legit OBS crash, but I dont know about the driver resetting.
 

OliverMD

Member
Can you explain driver resetting?
When I'm recording for too long the driver just gives up, black screens for a bit and then gives an error.
After that the game will continue without issues but OBS is crashed completely and the recording is blown.

No idea if you can really call that a reset, but that's what a friend and i tend to call it when he got the issue.
 

dping

Active Member
When I'm recording for too long the driver just gives up, black screens for a bit and then gives an error.
After that the game will continue without issues but OBS is crashed completely and the recording is blown.

No idea if you can really call that a reset, but that's what a friend and i tend to call it when he got the issue.


I think thats just you. I've recorded for up to 4 hours in multiple sessions and never had a crash. I had one recently but I think it was because I accidentally underclocked my RAM but the voltage was still high.

Anyway, I would honestly see if you can re-seat your GPU actively monitor all temps to logs, that way you can find out if its just overheating over time or something. I dunno maybe it is a software/obs issue, just to be sure.
 

dping

Active Member
@jackun, I forgot to test the 09-10 build, it does the same thing with the bitrate 3400kb/s bitrate spikes to 6000kb/s and when scene changes to blank, the bitrate goes to around 23kb/s, so I guess I will play with the new version some more and find optimizations
 

5dollar

New Member
Hey guys. OBS lover here. I have been stuck using Raptr for my live streaming and of course Raptr doesn't have support for hitbox. (Twitch can DIE IN A FIRE for their stupid DMCA crap)

But when I DO stream with the latest 64 bit version of OBS, using AMD VCE, BF4 runs extremely poor.

A lot of the things you guys are talking about here are WAY over my head and I just wanted some help maybe optimizing my settings.

My system is as follows: Crucial MX100 SSD, AMD FX 8320 @ 3.7ghz, ATI R9 280X, 16GB DDR3.

Here are a few screen shots of what my settings are at right now. Maybe someone can make some suggestions on what I should do next.

VCE Settings
NPH39KI.jpg


Encoding
o7hO5Ig.jpg


Quick Sync (IDK What this is)
TDGdF5C.jpg


Video
CWgk5z8.jpg
 

dping

Active Member
Hey guys. OBS lover here. I have been stuck using Raptr for my live streaming and of course Raptr doesn't have support for hitbox. (Twitch can DIE IN A FIRE for their stupid DMCA crap)

But when I DO stream with the latest 64 bit version of OBS, using AMD VCE, BF4 runs extremely poor.

A lot of the things you guys are talking about here are WAY over my head and I just wanted some help maybe optimizing my settings.

My system is as follows: Crucial MX100 SSD, AMD FX 8320 @ 3.7ghz, ATI R9 280X, 16GB DDR3.

Here are a few screen shots of what my settings are at right now. Maybe someone can make some suggestions on what I should do next.
first 1080 @60fps still is shaky with VCE. Second, I don't think mantle works with this fork of obs yet. Third, your GOP size should be 30, everything else looks alright. Downscale to 720p or try 1080a 30 or 48fps
 

OliverMD

Member
using AMD VCE, BF4 runs extremely poor.
first 1080 @60fps still is shaky with VCE. Second, I don't think mantle works with this fork of obs yet. Third, your GOP size should be 30, everything else looks alright. Downscale to 720p or try 1080a 30 or 48fps
As DP already said, 1080p@60FPS is still not working perfectly, 48FPS can work but it's not perfect either.
For now you can only do 1080p@30FPS for max in-game-FPS, or go 720p if you want your 60FPS so bad.

Either way you should expect a somewhat hefty FPS loss (in my experience) when recording with anything higher than 30FPS.
Don't expect that you will have an Shadowplay-esque 5-7FPS loss with 60FPS or anything else.

Besides: What are your in-game settings anyway? All on auto/high or something? Might wanna change it for testing reasons.
I tried recording BF4 last night too and it's not easy since the game is a bitch to get smoth to begin with. (Also got an 280x)
 

TheIcon

Member
@OliverMP what do you mean? I record 1080p 60fps using both Raptr and OBS VCE, I get little to no decrease in frame rate whatsoever. I am using R9 290.
 

OliverMD

Member
@OliverMP what do you mean? I record 1080p 60fps using both Raptr and OBS VCE
Raptr is very much depending on the game if you can do anything at all to begin with from my exp.
Known fact is that OBS+VCE has known issues recording 1080p@60FPS..even @jackun the maker will tell you this.

If you can record it no issue that's good for you i guess, maybe the 290 helps i don't know.
 

TheIcon

Member
Oh, well Raptr improved a lot in this regard when it comes to recording. I prefer OBS though, I noticed using same bitrate and FPS, I get better quality using OBS than Raptr when using VCE.

Can anyone please tell me a good setting for OBS for recording 720p at 60fps and 1080p at 30fps using OBS and VCE? I don't get good results using AMF, I mostly use Opencl. Any reason why AMF is prefered over OCL?

Thank you
 

OliverMD

Member
tell me a good setting for OBS for recording 720p at 60fps and 1080p at 30fps using OBS?
Use the "Quality" preset under VCE for both cases. That's all you can really do really from what i know.
And if you wan't to record 1080p@60FPS with OCL take the speed preset or else it won't work at all.
I don't get good results using AMF, I mostly use Opencl. Any reason why AMF is prefered over OCL?
From what i heard AMF got a better overall quality than OCL (or MFT?) but also takes a bit more performance.
I don't really know since I've never checked on that myself since I'm only local recording at a high bitrate anyway.
 

oma

New Member
I had problems when my raptr record, replay and broadcast was enabled, fps was capped (and dropped a lot more) maybe thats your problem. Try disabling the raptr recording options and then try again.
 

dping

Active Member
Fuuuuck after a long play session my display driver crashed again thanks to OBS/VCE :/
Thought it's an OCL only issue or because my PC was running too hot before i cleaned it up a couple of days ago...

I know that OBS crashed thanks to the driver resetting (black-screen for a bit) but I'm sending the logs anyway.
So far the driver resetting is clearly my biggest issue beside 1080p@60FPS which we all have an issue with.

About my Driver: have this issue with 14.4 AND the latest 14.7RC3 beta driver.

@jackun as well:
So I got my first and second driver crash using the unpublished build from the other day. I'm not home to post logs but I will say my game locked up for a few seconds, the driver "reset" as you posted here before. I will post settings when I get a chance.

Also, After closely monitoring my stream, the bitrate would drop significantly below the bitrate set after a high bitrate scene. Something like this with CBR and padding enabled
Start Stream 3400 +/-50
Static scene 3400 +/-50
Normal scene 3400 +/-50
Fast moving scene 5000-6000
Fast moving scene 6800-8000
Normal scene 1200-2100
static scene 72-150
Fast moving scene 5000-6000
Normal scene 2100-2500


Also, this same issue appears to be on the previous builds now. so I'm wondering if the new build changed some setting and is applied to them all now. :/
 

OliverMD

Member
So I got my first and second driver crash using the unpublished build from the other day.
[...]
so I'm wondering if the new build changed some setting and is applied to them all now. :/
Finally someoen that can confirm my issue, thanks dping :)
Reminds me that i can't use OCL with the latest version and have to use an older one. (Encoder Initialization failed)
 
Top