OBS branch with AMD VCE support.

dping

Active Member
Under AMD VCE Encoder tab the device index and device topology need to be set to the card that is encoding (second 4x card). the video\video adapter setting is for what you are capturing, set this to your primary, first card.


Also, are you streaming a directx 10 game?? if you dont need this disable DX10 interop; check "do not use directX to interop"
 

Darker

Member
Under AMD VCE Encoder tab the device index and device topology need to be set to the card that is encoding (second 4x card). the video\video adapter setting is for what you are capturing, set this to your primary, first card.


Also, are you streaming a directx 10 game?? if you dont need this disable DX10 interop; check "do not use directX to interop"

Oh, I will try this. I'm having issues starting the game atm so I figured I could ask you if OBS VCE settings is seeing the second GPU as number 1, and the first GPU as number 0?

I've now ticked "Do not use D3D10 interop" and tried to have device index and device topology id on 0, 1, 2, 3 and 4. My FPS still drops when I'm starting to record. It's not dropping too much but still, there is a drop.

Also, if I use Monitor Capture it drops a LOT, but if I use game capture it doesn't drop that much.
 
Last edited:

dping

Active Member
Oh, I will try this. I'm having issues starting the game atm so I figured I could ask you if OBS VCE settings is seeing the second GPU as number 1, and the first GPU as number 0?

It should be noted in your log file, but to get the topo id, I think you'll have to dig into device manager...this is where I found mine.
 

Darker

Member
It should be noted in your log file, but to get the topo id, I think you'll have to dig into device manager...this is where I found mine.

Oh, so it's not as simple as I thought. Well, I can see both cards in the device manager, but I can't find any topo id details in there. What should I search for?
 

dping

Active Member
Oh, so it's not as simple as I thought. Well, I can see both cards in the device manager, but I can't find any topo id details in there. What should I search for?

What I have mine set to is the device is under properties of my GPU.
Device-ID.png


Not sure if this is correct, but its what I have set. The main thing is to have the device index set. and yes, its probably set to 0 1 or 2, check your log file for this
 

Darker

Member
What I have mine set to is the device is under properties of my GPU.

Not sure if this is correct, but its what I have set. The main thing is to have the device index set. and yes, its probably set to 0 1 or 2, check your log file for this

According to the log file, "Adapter 2" is the second GPU, so I guess I should just insert 2 in the device index.

According to the image your device would be 7130? I can't find "Device Instance Id" in the drop-down menu, but I see "Device Instance Path". I'm a little bit confused here, you say the device index will probably be 0, 1 or 2. Then what is the DEV_6798 for? Device topology id?

http://i.imgur.com/9EdDASG.png
 

dping

Active Member
According to the log file, "Adapter 2" is the second GPU, so I guess I should just insert 2 in the device index.

According to the image your device would be 7130? I can't find "Device Instance Id" in the drop-down menu, but I see "Device Instance Path". I'm a little bit confused here, you say the device index will probably be 0, 1 or 2. Then what is the DEV_6798 for? Device topology id?

http://i.imgur.com/9EdDASG.png

Si (that means yes) :D just add 6798. I think the topo ID is just for later when @jackun does things like enabled b frames for VCE 2.0 cards. and not have it affect us ole VCE 1.0 users.
 

Darker

Member
Si (that means yes) :D just add 6798. I think the topo ID is just for later when @jackun does things like enabled b frames for VCE 2.0 cards. and not have it affect us ole VCE 1.0 users.

Ok :) But then I am confused again. You said the device index will probably 0, 1 or 2 and now you say I should put it to 6798?

I also just noticed that both of the cards has DEV_6798...
 
Last edited:

dping

Active Member
Ok :) But then I am confused again. You said the device index will probably 0, 1 or 2 and now you say I should put it to 6798?

I also just noticed that both of the cards has DEV_6798...
it will, I said si, meaning yes, just put 2 in device index and 6798 in topo ID and call it a day :)
 

chrys

New Member
Do you know what I set up wrong? Ingame (CS:GO) it's often getting bitrates higher than 6000kb/s which is almost or even more than my available upload-speed - even though I set up 3500kb max.

EDIT: It might have helped a bit after I limited the FPS ingame to 90fps (instead of 300)

As well if you see any other wrong settings please let me know - Is there any source where I can read about all the options available in the AMC VCE Encoder?

5440defc38d3871417753eb0.png

5440df7600779147439a7207.png

5440dfee00779147439a7211.png

5440dfd200779147439a720f.png
 
Last edited:

dping

Active Member
Yes, of course. In this log file I did not play any game, I was just idling at my desktop.

https://gist.github.com/anonymous/77bdaa57d8816b3796d5
Your IDR and GOP are still both set to 120; see below. Also, make sure your I pic Period is set to 0. Disable Directx 10 interop. If you game can use multiple Direct x versions, use DX9 or DX11 if possible. Turn off Mic input offset, currently set to -300, just set it to 0 for testing, also use a normal mic for now instead of
"Line 1 (Virtual Audio Cable)" I just want to rule out third party programs.

Lastly, did you make sure to uninstall any versions of Raptr? (aka AMD's Gaming Evolved)




Do you know what I set up wrong? Ingame (CS:GO) it's often getting bitrates higher than 6000kb/s which is almost or even more than my available upload-speed - even though I set up 3500kb max.

EDIT: It might have helped a bit after I limited the FPS ingame to 90fps (instead of 300)

As well if you see any other wrong settings please let me know - Is there any source where I can read about all the options available in the AMC VCE Encoder?

For 1, your IDR and GOP need to be in line with your fps. I've said this probably 20 times already but once more wont hurt.
IDR needs to be double the FPS to typical streaming to sites or even recording to YT, this will also make the video properly seek-able in local recordings. GOP should probably be set to whatever the fps is even thought youtube recommends 1/2 fps and some people believe it needs to be 2x fps like the IDR, I prefer 1x FPS.

Second, remove the custom x264 settings, those are redundant and is not the issue

Setting in-game fps shouldn't matter. I usually get 150-260fps in L4D2 without issue

I dont think you have the lastest version either. check the front page for that. its dated 9-27, and there is also a newer version on 9-30 quoted below. Also now that I think about it, @Darker might want to try this build as well since it addresses an AV sync issue and also less in-game lag aka higher quality recording...

AMF Test build, does ng the audio stay in sync over longer recordiduration?
I removed polling and Encode() call returns as fast as it can.

@jackun could we try and use the a multiplier value for IDR and the GOP? to just have a multiplier of the fps?

I know other people including myself set these values every time we change our fps and it would just be easier to be able to use a multiplier based on the video fps. and if possible also allow for at least two decimal places for both values and ensure that there is a recommended value on mouse-over.

I.E.
GOP: [ 1 ] x FPS Notes would say "Group Of Pictures for the encoder to reference, Youtube recommends 1/2 of fps"
IDR: [ 2 ] x FPS Notes would say "Instantaneous Decoder Refresh, useful for deblock seeking can also affect audio sync; Streaming services recommend 2x fps"
 
Last edited:

chrys

New Member
For 1, your IDR and GOP need to be in line with your fps. I've said this probably 20 times already but once more wont hurt.
IDR needs to be double the FPS to typical streaming to sites or even recording to YT, this will also make the video properly seek-able in local recordings. GOP should probably be set to whatever the fps is even thought youtube recommends 1/2 fps and some people believe it needs to be 2x fps like the IDR, I prefer 1x FPS.

Second, remove the custom x264 settings, those are redundant and is not the issue

Setting in-game fps shouldn't matter. I usually get 150-260fps in L4D2 without issue

I dont think you have the lastest version either. check the front page for that. its dated 9-27, and there is also a newer version on 9-30 quoted below. Also now that I think about it, @Darker might want to try this build as well since it addresses an AV sync issue and also less in-game lag aka higher quality recording...

1. Thank you very much for the quick answer :)

2. I will try to adjust my settings to your advide. Do you think this will help with the bitrate issue or is that someting that can't be controlled yet?

3. Is there any documentation about what each of these parameters do? I think - for the future - this would prevent many users to ask the same questions again and again :)
 

dping

Active Member
1. Thank you very much for the quick answer :)

2. I will try to adjust my settings to your advide. Do you think this will help with the bitrate issue or is that someting that can't be controlled yet?

3. Is there any documentation about what each of these parameters do? I think - for the future - this would prevent many users to ask the same questions again and again :)

Agreed. the bitrate spikes aren't as bad with the newer builds. since AMF, it hasn't really been an issues except in really extreme situations. older builds went crasy with just a little movement
 

Darker

Member
Your IDR and GOP are still both set to 120; see below. Also, make sure your I pic Period is set to 0. Disable Directx 10 interop. If you game can use multiple Direct x versions, use DX9 or DX11 if possible. Turn off Mic input offset, currently set to -300, just set it to 0 for testing, also use a normal mic for now instead of
"Line 1 (Virtual Audio Cable)" I just want to rule out third party programs.

Lastly, did you make sure to uninstall any versions of Raptr? (aka AMD's Gaming Evolved)

I have made all changes now. The second I saw that AMD installed some shitty Raptr program I uninstalled it. but my ingame FPS still drops when I start recording. My FPS drops very very much if I use Monitor Capture, but if I use Game Capture the FPS doesn't drop too much. If this would be working properly as in the second GPU doing all the encoding, shouldn't I then be able to use Monitor Capture without seeing a single FPS drop in my game?

https://gist.github.com/anonymous/452284435b7dd91e120d
 
Top