OBS branch with AMD VCE support.

Sepay

New Member
you'd want 96 for both, but max for either should be 250 since its based on h264's keyint
It looks to me that stream looks better when I up GOP by a lot, like over 200, when its set to 96 there is more "grain", that may be true?
 

dping

Active Member
It looks to me that stream looks better when I up GOP by a lot, like over 200, when its set to 96 there is more "grain", that may be true?
Yes, the higher the IDR the more time that P frames have and the less "refreshes" which dont look good at lower bitrate.

I have found if you leave IDR at 2xfps (recommended by twitch) and drop the Max QP down to 41, IDR refreshes look better. Keep GOP as high as you can as well (96)

It might look better, but when someone watches your stream, it will take a while to see video, that and syncing can have issues if lost packets.

EDIT: also, lower max QP is a better chance of skipping frames or even peak bitrate will spike during high movement. but 41 should be fine at most 2000-3500 bitrates
 

dping

Active Member
Could I have a couple veteran VCE users walk through the instructions that Jackun has added to the main page to make sure it all sounds correct? We've added instructional clarity for the newcomers and would like feedback! thanks
 

cl0ver

New Member
Hi, i streaming cs:go on twitch and after 2 hours~ of streaming OBS crashes (Using Amd vce)
The game and streaming works really smooth but this is the problem

Obs settings:
Codec Amd vce
Use OpenCL and AMF activated
Fps: 30
Bitrate: 1100
Resolution 1280x720 rescaled to 1024x576
Advanced: Default optimized to twitch

My pc:
  • MOBO Gigabyte M68MT-S2P
  • CPU AMD Phenom X4 955 3.2ghz
  • RAM 4Gb DDR3
  • GPU AMD MSI R9 270 OC
  • CASE Sentey ps2
  • PSU Seasonic SI2 520w

    Thanks for read and sorry for my bad english. i hope you understand
 

Attachments

  • 2015-07-23-1935-39.log
    29.7 KB · Views: 24

dping

Active Member
Here encoder settings http://puu.sh/jaECq/6dc11e9ad5.png
Here the advanced http://puu.sh/jaEFl/335fc3a230.png
thanks for the help
Cheers
read through the OP and see where its talking about configuring OBS:
1. After extracting, run the OBS.exe from that location and open up the Encoding Tab in settings. check VCE instead of x264, then below, have OpenCL to NV12 unchecked
2. In the video tab, Once a downscale and fps is decided (see at the top for maximum resolutions), ensure that the proper GPU is selected from the dropdown.
3. Next, go to the AMD VCE settings tab and check "use Custom settings", Check the preset selector (speed,Balanced,quality) at the upper-right.
4. there are two more options to be changed:
IDR and GOP. IDR will usually be set to 2 times fps (30fps=60IDR) for streaming. you can also set it to 0 which will calculate this for you. -1 disables IDR completely (not common)
GOP will be something to play with but needs to be a multiple of the FPS, this will aid with lagging recording at lower settings. Below is an example based on 30fps recording:
GOP 15, 30, or 60 (the higher, the better compression/quality but more use on the GPU)
 

Beizsley

New Member
Anyone know if it's actually possible to record DayZ with this?

Normal OBS has no issue recording DayZ (I think you need anti-cheat hooking enabled on it, though). However, no matter what I do, it looks like I just can't record DayZ with this branch of OBS. Battleye blocks the hook, whether I use anti-cheat or not and monitor capture (window capture doesn't detect it when in full screen) is just super laggy when it comes to DayZ for some reason.

My PC specs are as follows (and games that use the GPU and CPU far more heavily for DayZ are fine with monitor capture, may I add):
AMD FX 8350 - CPU OC'd to ~4.9GHz, NB OC'd ~2.5GHz, HT Link OC'd to ~2.9GHz
Asus Sabertooth 990FX
AMD Radeon R9 390 Nitro Tri-X (I'm bothered by the fact that the 380 has VCE 1.2, but the 390 has 1.1, but obviously that's an issue with AMD)
16GB DDR3 Ram (OC'd from 1333mhz to ~1800mhz)

Everything is completely stable and runs under Prime 95 using Blend and Small FFT tests for prolonged periods of time without ever getting to unsafe/throttling temperatures.

I've not tested other anti-cheat heavy games with VCE yet and will do so as soon as I have the time, but DayZ is my main game and I'd really like a solution as VCE is obviously a much better option for recording DayZ than standard OBS as DayZ barely touches my GPU. I'm using the quality pre-set, if that helps anything.

EDIT: Retried it today and Monitor Capture vs Not capturing is exactly the same frame rate now... So yeah.

Also, as a side, is this ever going to be incorporated into the main branch of OBS? It seems to work perfectly fine except for some anti-cheat issues, and if was a part of the main branch, that probably would not be an issue at all.
 
Last edited:

Darker

Member
Why do I get worse FPS drops when recording with OBS VCE than I get when recording with AMD Gaming Evolved (Raptr)? Both programs are recording in 1080p60 and to a secondary HDD.
 

dping

Active Member
OBS closes when I click on Settings -> Encoding. What can I do!?

make sure you follow the instructions on the front page. I personally would start over and read what I quoted above. It will be worth the extra time taken. make sure you do a DDU wipe of your current drivers and maybe install an older version? I have 0 issues with 15.7 as long as OpenCL to NV12 is not checked.

Anyone know if it's actually possible to record DayZ with this?

Normal OBS has no issue recording DayZ (I think you need anti-cheat hooking enabled on it, though). However, no matter what I do, it looks like I just can't record DayZ with this branch of OBS. Battleye blocks the hook, whether I use anti-cheat or not and monitor capture (window capture doesn't detect it when in full screen) is just super laggy when it comes to DayZ for some reason.

My PC specs are as follows (and games that use the GPU and CPU far more heavily for DayZ are fine with monitor capture, may I add):
AMD FX 8350 - CPU OC'd to ~4.9GHz, NB OC'd ~2.5GHz, HT Link OC'd to ~2.9GHz
Asus Sabertooth 990FX
AMD Radeon R9 390 Nitro Tri-X (I'm bothered by the fact that the 380 has VCE 1.2, but the 390 has 1.1, but obviously that's an issue with AMD)
16GB DDR3 Ram (OC'd from 1333mhz to ~1800mhz)

Everything is completely stable and runs under Prime 95 using Blend and Small FFT tests for prolonged periods of time without ever getting to unsafe/throttling temperatures.

I've not tested other anti-cheat heavy games with VCE yet and will do so as soon as I have the time, but DayZ is my main game and I'd really like a solution as VCE is obviously a much better option for recording DayZ than standard OBS as DayZ barely touches my GPU. I'm using the quality pre-set, if that helps anything.

EDIT: Retried it today and Monitor Capture vs Not capturing is exactly the same frame rate now... So yeah.

Also, as a side, is this ever going to be incorporated into the main branch of OBS? It seems to work perfectly fine except for some anti-cheat issues, and if was a part of the main branch, that probably would not be an issue at all.

It probably will not be merged due to OBS MP coming into play soon. as for your dayz issue, this might be because it is a fork of the main OBS. @jackun, can you verify that your graphics(game) capture hook dll is updated to the newest version and matches OBS? this might be the app is not detecting it as OBS.

Why do I get worse FPS drops when recording with OBS VCE than I get when recording with AMD Gaming Evolved (Raptr)? Both programs are recording in 1080p60 and to a secondary HDD.

raptr probably uses speed preset with higher bitrate from what I understand from other that use it.
 

DJArroba

New Member
Hi. I've been trying to use the replay buffer feature to record CS:GO, and it works great, except for the fact that OBS randomly stops responding in the middle of a match, causing the game to also stop responding.

My specs:
CPU: AMD FX 6300
GPU: R9 270X
RAM: 8gb
 

Attachments

  • 2015-07-24-2105-29.log
    30.9 KB · Views: 17

dping

Active Member
Hi. I've been trying to use the replay buffer feature to record CS:GO, and it works great, except for the fact that OBS randomly stops responding in the middle of a match, causing the game to also stop responding.

My specs:
CPU: AMD FX 6300
GPU: R9 270X
RAM: 8gb

might try host mode and disable d3d interop and see if it still crashes. Says in the log that settings to high. Can you screenshot current settings?
 

dping

Active Member
I tried to disable d3d interop, but this popup appeared: http://i.imgur.com/wj1eUpg.png
When I click OK it closes OBS.
Set IDR to 30, 20 seems wrong for some reason. just try host with interop enabled and see how that works. I dont use replay buffer so I'm not sure how that will turn out. I was just thinking that it would be better to use host since that stores in RAM instead of video buffer. since its is ram and that is also where replay buffer is stored.
 

jackun

Developer
Anyone know if it's actually possible to record DayZ with this?

Good time to test the theory: copy DLLs from original OBS' plugins\GraphicsCapture folder and then try again.

@DJArroba Try the latest build. I was trying to simplify the code a bit and this bug might have gone through on previous build.(edit: I might be confusing it with cleanup branch) It is probably trying to remap an already mapped DX11 texture. If not, try this build: [32bit] [64bit]
 
Last edited:

DJArroba

New Member
Good time to test the theory: copy DLLs from original OBS' plugins\GraphicsCapture folder and then try again.

@DJArroba Try the latest build. I was trying to simplify the code a bit and this bug might have gone through on previous build.(edit: I might be confusing it with cleanup branch) It is probably trying to remap an already mapped DX11 texture. If not, try this build: [32bit] [64bit]

I've been playing CS:GO for a bit over an hour with this new build and these settings: http://i.imgur.com/KEWDqE5.png
It hasn't crashed yet :)
 

ufster

New Member
So can this do 1080p@60fps game capture from a windowed game running quality settings? My efforts have been met with "High encoding cpu" error while attempting 5000, 10000, 20000, 30000 kbps bitrates.

edit: the video also freezes as a result.
 
Top