OBS branch with AMD VCE support.

dping

Active Member
So this,I believe, is the best posible what i can get out of my baby. 30 fps resolution 1366/768
Twich stream vod

Setings:
Encoding tab
  1. Use CBR, (enable)
  2. Enable CBR padding, (enable)
  3. Use Custom bufersize(3450 max bitrate and buffer)
Advanced tab (I think these doesnt matter much but what the heck, calling out what might matter)
  1. Use multithread Opt. (enable)
  2. Process priority class (above normal)
  3. Scene bufering 400
  4. Use CFR (disabled)
  5. Network: Automatic low latency mode (enable) Bind to interface-default, Latency tuning factor 20
AMD VCE encoder tab
  1. Use custom parameters (enable),
  2. CABAC (enable)
  3. GOP (15) IDR (60)
  4. Do NOT use blahblah (uncheck)
  5. AMD AMF settings (quality, DX11, minQP 18, MaxQP 51)

  1. Use CFR (disabled) - Why?? enable this.Constant Frame Rate
  2. Network: Automatic low latency mode (enable) - Why this is only to be used if you have high ping in game when streaming. I would not recommend this
  3. if your monitor resolution is 1366/768 then I would recommend capturing at that. If your monitor is 1080, It would be best to downscale to 720p.
  4. either way, you can us 48fps and still get the performance you require for VCE at high quality
 

Sepay

New Member
  1. Use CFR (disabled) - Why?? enable this.Constant Frame Rate
  2. Network: Automatic low latency mode (enable) - Why this is only to be used if you have high ping in game when streaming. I would not recommend this
  3. if your monitor resolution is 1366/768 then I would recommend capturing at that. If your monitor is 1080, It would be best to downscale to 720p.
  4. either way, you can us 48fps and still get the performance you require for VCE at high quality

Ok, now is treamed for about an hour and obs crashed my display driver, i gues i need to restart pc, is this comon problem?
 

dping

Active Member
Ok, now is treamed for about an hour and obs crashed my display driver, i gues i need to restart pc, is this comon problem?

page 54 at the bottom, I posted about this. I think it has more to do with CCC overclocking cards with slight instabilities that might be correctable in games but seem to crash when using VCE to stream. Not certain but I would attempt to set your video card to stock speeds. i.e. my R9 280X stock is 1000MHz core clock but CCC sets it to 1100 to which it will throw errors on some cards.

download OCCT and run their GPU stress test with error checking enabled. if its stable in there for 2 hrs, you are fine, if not, slow your GPU clock slightly til errors go away. most errors will pop up in about 5 minutes as long as card is somewhat warm.

I was able to put my core to 1060MHz with 0 errors for 3 hrs so that is what I use.
 

Sepay

New Member
page 54 at the bottom, I posted about this. I think it has more to do with CCC overclocking cards with slight instabilities that might be correctable in games but seem to crash when using VCE to stream. Not certain but I would attempt to set your video card to stock speeds. i.e. my R9 280X stock is 1000MHz core clock but CCC sets it to 1100 to which it will throw errors on some cards.

download OCCT and run their GPU stress test with error checking enabled. if its stable in there for 2 hrs, you are fine, if not, slow your GPU clock slightly til errors go away. most errors will pop up in about 5 minutes as long as card is somewhat warm.

I was able to put my core to 1060MHz with 0 errors for 3 hrs so that is what I use.


Looks like everything is stable, I don't oc my card just the CPU, I have only that MSI ap with 3 modes so i use gaming mode, thats all, anyway after tests card is stable, only i couldnt change anything in amd overdrive(didnt want to spend the time to research since card runs stable).
Anyways, got my stream an 48 fps, and yes its more pleasent to an eye.
I was wondering, about vce as an encoder, will it be able to encode more efficient in the future, by updating code e.t.c. or it is pretty much a hardwere limitation.
P.S. - thanks you've been very helpful, thanks to other people that helped also.
 

Kadano

New Member
I’ve read the OP, but I’m not sure about something I’m not willing to read through 56 pages for. It would be really nice if someone could clear this up for me, or even better include it in the OP:

I’m using an i5-2500k (@3.7 GHz and stock cooler) and an AMD 6870 right now, with OBS 32-bit (for webcam support) and x264 encoding. I stream from a video capture card (StarTech pexhdcap) with 1280×720p60.
I’ve tried using Quick Sync, but the encoding efficiency is noticeably worse than x264.

Will this VCE fork have similar encoding efficiency and quality as the x264 encoder?
 

dping

Active Member
I was wondering, about vce as an encoder, will it be able to encode more efficient in the future, by updating code e.t.c. or it is pretty much a hardwere limitation.

A little of both. AMF is all about the AMF library from Media SDK, once they update the library Jackun can update his code with later and greater things. There will be a point where VCE 1.0 card will be maxed out and optimized.

Hopefully, that will be when we are able to achieve 1080@60fps balanced preset (which is supposed to be able to do up to 1080@80fps).

But yes, to answer your question, at some point hardware encoders will be maxed out. and definitely wont be able to do 4k with VCE 1.0 or 2.0. the VCE that comes with the R9 285 seem like it encodes much faster than its predecessors. this is kind of VCE 2.5 if you will. it promised the ability to push up to 4k streaming, but those are just marketing items at the moment. no one that I know of here currently runs one. My hopes are that they plummet in price and I will get three and crossfire them :D

I’ve read the OP, but I’m not sure about something I’m not willing to read through 56 pages for. It would be really nice if someone could clear this up for me, or even better include it in the OP:

I’m using an i5-2500k (@3.7 GHz and stock cooler) and an AMD 6870 right now, with OBS 32-bit (for webcam support) and x264 encoding. I stream from a video capture card (StarTech pexhdcap) with 1280×720p60.
I’ve tried using Quick Sync, but the encoding efficiency is noticeably worse than x264.

Will this VCE fork have similar encoding efficiency and quality as the x264 encoder?

From my experience, the current build of VCE runs somewhere between superfast and veryfast presets of x264. that being said, a lot of that depends on your bitrate and what you can push with it.

i.e. very fast preset usings x264 720@60 3000 bitrate looks similar to VCE running at 3500 bitrate after tweaks.

EDIT: the difference being that with VCE, my CPU is freed up to run the game instead of trying to stream and having my CPU do all the work.
 
Last edited:

Fawkes

Member
I’ve read the OP, but I’m not sure about something I’m not willing to read through 56 pages for. It would be really nice if someone could clear this up for me, or even better include it in the OP:

I’m using an i5-2500k (@3.7 GHz and stock cooler) and an AMD 6870 right now, with OBS 32-bit (for webcam support) and x264 encoding. I stream from a video capture card (StarTech pexhdcap) with 1280×720p60.
I’ve tried using Quick Sync, but the encoding efficiency is noticeably worse than x264.

Will this VCE fork have similar encoding efficiency and quality as the x264 encoder?
the 6870 does not have GCN architecture. so all this will not work if i read it right.
you need a 7000 series or up
 

dping

Active Member
Now obs is crashing, for some reason, crashes game at the same time.
Would you mind posting logs when you have issues?
What changed? Before you posted that you dont OC your card; what sometimes happens in my case, was a factory OC from Gigabyte that caused errors in OCCT. do you think you might have changed something in CCC that could have caused the crashes?
 

Sepay

New Member
Would you mind posting logs when you have issues?
What changed? Before you posted that you dont OC your card; what sometimes happens in my case, was a factory OC from Gigabyte that caused errors in OCCT. do you think you might have changed something in CCC that could have caused the crashes?


Logfiles and reports
https://gist.github.com/cbbb4d4cee298309f88a
https://gist.github.com/4145a421a30a3b74f74c

http://imgur.com/3GUo8tY driver has stopped working

Have not tweaked anything, maybe next time will run test stream on lowest clock card gives me.
What is interesting after these crashes, i have to reboot to be able to stream again.
 

Attachments

  • crash reports dmp.rar
    143.5 KB · Views: 25

Kadano

New Member
From my experience, the current build of VCE runs somewhere between superfast and veryfast presets of x264. that being said, a lot of that depends on your bitrate and what you can push with it.

i.e. very fast preset usings x264 720@60 3000 bitrate looks similar to VCE running at 3500 bitrate after tweaks.

EDIT: the difference being that with VCE, my CPU is freed up to run the game instead of trying to stream and having my CPU do all the work.
Thank you very much, that’s very helpful for me. As I can already stream on the faster preset with ~65% CPU load, I don’t think it would be wise for me to upgrade my GPU.

A better CPU cooler would be a more appropriate upgrade so I can OC to 4.2 or more to leave power for other applications. (Still using stock cooler currently.)

Edit: By “current build of VCE”, you are referring to the 285, 290, 290X and 295 cards, right? Because those are supposed to be better due to GCN 3.0, I think.
 

KaziQ

New Member
@KaziQ Heh, then try DW or Process monitor to see if it even tries to load the DLL.

Hey Jackun,

It's interesting to say the least. I've installed the vc_redistx86 again and it started working now. With the DW I can see 6 files are missing that are dependencies. Is there a performance difference on your end between the X86 and X64 version of the dlls? For a first try I switched to DX11 in BF4 and tried 120 FPS recording. It mostly fluctuated in between 58 - 70 with the speed presets 50000Kbit/s. I didn't touch the profiles or any other detail yet. I'm gonna try. It's too sad I can't use Dxtory because it doesn't hook to Mantle buffers. Mantle improves FPS too much in BF 4. The in game as well as recording stutters look mostly gone when used Dxtory.

KaziQ
 

dping

Active Member
Thank you very much, that’s very helpful for me. As I can already stream on the faster preset with ~65% CPU load, I don’t think it would be wise for me to upgrade my GPU.

A better CPU cooler would be a more appropriate upgrade so I can OC to 4.2 or more to leave power for other applications. (Still using stock cooler currently.)

Edit: By “current build of VCE”, you are referring to the 285, 290, 290X and 295 cards, right? Because those are supposed to be better due to GCN 3.0, I think.
GCN 1.0, 7XXX series and R9 270, 280(x),
GCN 2.0, R9 260 and 290 series
GCN 2.5 (or 3 whatever you want to call it) R9 285 currently and probably to R9 3XX series, but I'd imagine those are the GCN 3.0 and the R9 285 is the GCN 2.5 flavor

Have not tweaked anything, maybe next time will run test stream on lowest clock card gives me.

Look up the stock clocks for your card. then set it to them. I dont know what else but maybe are you on the new beta drivers?
 

coldy

New Member
Didn't found direct answer.

Is there any big difference between using VCE 1.0 or VCE 2.0 for game streaming. Mb in perfomance, video quality?
Thx for the answer. Still can't decide what GPU to buy.
 

Sepay

New Member
GCN 1.0, 7XXX series and R9 270, 280(x),
GCN 2.0, R9 260 and 290 series
GCN 2.5 (or 3 whatever you want to call it) R9 285 currently and probably to R9 3XX series, but I'd imagine those are the GCN 3.0 and the R9 285 is the GCN 2.5 flavor



Look up the stock clocks for your card. then set it to them. I dont know what else but maybe are you on the new beta drivers?

Tested on stock clock still crashes, no beta drivers, was looking in google, seems like there is no real explenation why this could happen, may be a file in obs, file in windows, e.t.c. one thing is for shure its not from OC or heat(45-65c).
Maybe need to wait for a new driver or smth, but for now I will test older OBS branch.
 
Last edited:

jackun

Developer
Didn't found direct answer.

Is there any big difference between using VCE 1.0 or VCE 2.0 for game streaming. Mb in perfomance, video quality?
Thx for the answer. Still can't decide what GPU to buy.

VCE 2.0 has B-frames (and some improved perf? See slide in OP), but I've yet to make it work with OBS. I'm probably missing something very stupid. But the R9-285 has the newest VCE right now.
 
Last edited:

KaziQ

New Member
GCN 1.0, 7XXX series and R9 270, 280(x),
GCN 2.0, R9 260 and 290 series
GCN 2.5 (or 3 whatever you want to call it) R9 285 currently and probably to R9 3XX series, but I'd imagine those are the GCN 3.0 and the R9 285 is the GCN 2.5 flavor

dping,
You are confusing VCE versions with GCN versions. R9 280 is GCN 1.0 and R9 290 is GCN 1.1. R9 280s have VCE 1.0 and R9 290s have VCE 2.0.

VCE 2.0 has B-frames (and some improved perf? See slide in OP), but I've yet to make it work with OBS. I'm probably missing something very stupid. But the R9-285 has the newest VCE right now?

Correct. It's 2 to 3 times faster than R9 290s in decoding and almost twice as fast in encodng benchmarks. You can check one on anandtech.com
http://www.anandtech.com/show/8460/amd-radeon-r9-285-review/4

KaziQ
 

Sepay

New Member
Tested on stock clock still crashes, no beta drivers, was looking in google, seems like there is no real explenation why this could happen, may be a file in obs, file in windows, e.t.c. one thing is for shure its not from OC or heat(45-65c).
Maybe need to wait for a new driver or smth, but for now I will test older OBS branch.


Streamed about 2 hrs, everything seems to be stable, with 2014-11-04 version. Prevously drivers/obs crashed at about 30 minutes and 60 minures.
 
Top