OBS branch with AMD VCE support.

dping

Active Member
Is it something on the roadmap, to your knowledge? A Tonga or Fiji dedicated to encoding ought to be able to perform better than a 5960X for an application like this, I'd have thought.
No no no, hardware encoders aren't that good. Maybe when we start talking about HVEC but that is yet to be implemented in OBS
 

bluefoot

New Member
I assume that ain't going to happen in OBS as itrequires that royalties be paid.

I'm surprised twitch and xsplit don't yet offer it though
 

Dr.Wolf

New Member
Hello everyone! I am quite new to the OBS software for recording. I have downloaded this AMD VCE support version of OBS and I need help setting it up for my rig.

I have

CPU: Intel Pentium G3258 dual core @ 4,4 GHz
RAM: 4GB Kingston HyperX Fury 1866 CL10
MBO: ASRock H81M-HDS
PSU: Fortron Hexa+ 500W
SSD: Kingston HyperX Fury 120GB
HDD: Western Digital 250GB
GPU: MSI R9 270X GAMING 2GB OC
OS: Windows 8.1 Pro 64bit

I have latest beta drivers for my GPU. I want to know if it's possible for my rig to record at 1080p 60fps or at least 1080p 30-48 fps and what settings should I use? I tried using Plays.tv and it makes really laggy videos even though gameplay is smooth as butter.
 

dping

Active Member
Hello everyone! I am quite new to the OBS software for recording. I have downloaded this AMD VCE support version of OBS and I need help setting it up for my rig.

I have

CPU: Intel Pentium G3258 dual core @ 4,4 GHz
RAM: 4GB Kingston HyperX Fury 1866 CL10
MBO: ASRock H81M-HDS
PSU: Fortron Hexa+ 500W
SSD: Kingston HyperX Fury 120GB
HDD: Western Digital 250GB
GPU: MSI R9 270X GAMING 2GB OC
OS: Windows 8.1 Pro 64bit

I have latest beta drivers for my GPU. I want to know if it's possible for my rig to record at 1080p 60fps or at least 1080p 30-48 fps and what settings should I use? I tried using Plays.tv and it makes really laggy videos even though gameplay is smooth as butter.
Read the front page. the reason why this thread is 119 pages is because I've answered this question at least 100 times. please read through and research what you dont understand, once you have settings, post your logfile and/or screenshots of your encoder pages IF you have issues.
 

Xaymar

Active Member
I figured that I'd give this a try after installing a new R9 285, but I have one major issue with it: CBR doesn't work. My bitrate goes as low as 128kbit/s (almost just audio) and up to 10 times the bitrate set. I saw other people experience this in the last few pages (did not yet read all 100+ pages), but I didn't see a solution yet. It seems to happen whenever small objects move on the scene, even if it's just a gif.

Is there a way to fix this? Maybe a beta driver or something?

Anyway here's what I have, in case it's needed:
  • OS: Windows 10 (64 bit)
  • CPU: AMD FX-6100
  • GPU: Radeon R9 285
  • GPU-Driver: 15.20.1062.1004-150803a1-187674C (Catalyst 15.7.1)
  • OBS: VCE-Branch 0.656b 64bit
I've attached both the last log file and the profile used (the stream key is taken out obviously).
 

Attachments

  • 2015-11-17-1847-03.log
    34.6 KB · Views: 21
  • Stream - Twitch.TV (AMD VCE).txt
    2.3 KB · Views: 30

dping

Active Member
I figured that I'd give this a try after installing a new R9 285, but I have one major issue with it: CBR doesn't work. My bitrate goes as low as 128kbit/s (almost just audio) and up to 10 times the bitrate set. I saw other people experience this in the last few pages (did not yet read all 100+ pages), but I didn't see a solution yet. It seems to happen whenever small objects move on the scene, even if it's just a gif.

Is there a way to fix this? Maybe a beta driver or something?

Anyway here's what I have, in case it's needed:
  • OS: Windows 10 (64 bit)
  • CPU: AMD FX-6100
  • GPU: Radeon R9 285
  • GPU-Driver: 15.20.1062.1004-150803a1-187674C (Catalyst 15.7.1)
  • OBS: VCE-Branch 0.656b 64bit
I've attached both the last log file and the profile used (the stream key is taken out obviously).
Change your GOP to 120 and preset to quality (it might already be set to this but I cant recall which number is which).

Do me a favor and test this for me real quick. use the minimize network impact option in the streaming tab of OBS.
 

Xaymar

Active Member
Alright, testing that now (also updated to beta drivers).

Minimum observed: 449kb/s
Maximum observed: 4099kb/s (1.5 times CBR bitrate)
Now also constantly shows the "Warning: High encoding CPU usage!"
 

dping

Active Member
Alright, testing that now (also updated to beta drivers).

Minimum observed: 449kb/s
Maximum observed: 4099kb/s (1.5 times CBR bitrate)
Now also constantly shows the "Warning: High encoding CPU usage!"
If your CPU usage is not high, dont worry about it. post a new log please :D
 

Xaymar

Active Member
Here you go:

Edit: Added another one.
 

Attachments

  • 2015-11-17-2050-19.log
    30.9 KB · Views: 13
  • 2015-11-17-2050-19.log
    30.9 KB · Views: 12
  • 2015-11-17-2031-16.log
    14.5 KB · Views: 13

dping

Active Member
Here you go:

Edit: Added another one.
ok, weird, 720@60 should be fine for a 285. try balanced preset :/ also you will need more bitrate for 720@60. 3000 maybe but be aware that viewers might buffer.

EDIT: try GOP 60 and keep it on quality preset as well.
 

Xaymar

Active Member
Now it's ridiculously laggy and my second monitor freezes.
 

Attachments

  • 2015-11-17-2124-04.log
    14.2 KB · Views: 14

Xaymar

Active Member
lowering the GOP should not make it worse. did you try balanced preset? also play with host/dx11 thing (cant recall what its called :P)

All Tests done at 1920x1080 downscaled (Lancos) to 1280x720 at 60 fps. Nothing but OBS, Chrome and Steam running (in user space). Add about 500-600kb/s to still as there are full frames every now and then.

GOP, Preset: kbit(still) - kbit(moving)
Engine Type Host: (GOP 120+ causes High Encoding with 9% CPU usage)
030, Speed: 422kb/s - 6332kb/s
060, Speed: 411kb/s - 3028kb/s
120, Speed: 433kb/s - 2728kb/s
240, Speed: 436kb/s - 3052kb/s (BSoD: Hell yeah)
030, Balanced: 443kb/s - 6542kb/s
060, Balanced: 458kb/s - 4928kb/s
120, Balanced: 474kb/s - 4080kb/s
240, Balanced: 458kb/s - 3407kb/s
030, Quality: 551kb/s - 7269kb/s
060, Quality: 499kb/s - 4729kb/s
120, Quality: 573kb/s - 4066kb/s
240, Quality: 551kb/s - 3559kb/s

Engine Type DX11: (GOP 120+ causes High Encoding with 9% CPU usage)
030, Speed: 439kb/s - 5970kb/s
060, Speed: 445kb/s - 4898kb/s
120, Speed: 292kb/s - 4403kb/s
240, Speed: 315kb/s - 3203kb/s
030, Balanced: 289kb/s -
Edit: DX11 seems to really help and GOP 240 or higher too.

Perhaps the solution is not GOP but some other variable? It seems to try to keep some sort of arbitrary quality, though it's not clearly visible if it's CRF or CQP. I couldn't see a difference in the saved video files except on moving scenes.

Edit: Got a crashlog while testing!
Edit 2: GOP above 200 cause CPU spikes, GOP above 300 cause mini-freezing, GOP above 400 can crash driver, GOP above 500 just BSoDs
Edit 3: I managed to have it hit just below what x264 uses in bitrate: GOP 240, Quality Preset, VBR with peak set. CBR still doesn't work.
 

Attachments

  • 2015-11-17-2305-41.log
    250.7 KB · Views: 15
  • 2015-11-17-2124-04.log
    14.2 KB · Views: 14
  • crashDumps.7z
    303.8 KB · Views: 16
Last edited:

dping

Active Member
All Tests done at 1920x1080 downscaled (Lancos) to 1280x720 at 60 fps. Nothing but OBS, Chrome and Steam running (in user space). Add about 500-600kb/s to still as there are full frames every now and then.

GOP, Preset: kbit(still) - kbit(moving)
Engine Type Host: (GOP 120+ causes High Encoding with 9% CPU usage)
030, Speed: 422kb/s - 6332kb/s
060, Speed: 411kb/s - 3028kb/s
120, Speed: 433kb/s - 2728kb/s
240, Speed: 436kb/s - 3052kb/s (BSoD: Hell yeah)
030, Balanced: 443kb/s - 6542kb/s
060, Balanced: 458kb/s - 4928kb/s
120, Balanced: 474kb/s - 4080kb/s
240, Balanced: 458kb/s - 3407kb/s
030, Quality: 551kb/s - 7269kb/s
060, Quality: 499kb/s - 4729kb/s
120, Quality: 573kb/s - 4066kb/s
240, Quality: 551kb/s - 3559kb/s

Engine Type DX11: (GOP 120+ causes High Encoding with 9% CPU usage)
030, Speed: 439kb/s - 5970kb/s
060, Speed: 445kb/s - 4898kb/s
120, Speed: 292kb/s - 4403kb/s
240, Speed: 315kb/s - 3203kb/s
030, Balanced: 289kb/s -
Edit: DX11 seems to really help and GOP 240 or higher too.

Perhaps the solution is not GOP but some other variable? It seems to try to keep some sort of arbitrary quality, though it's not clearly visible if it's CRF or CQP. I couldn't see a difference in the saved video files except on moving scenes.

Edit: Got a crashlog while testing!
Edit 2: GOP above 200 cause CPU spikes, GOP above 300 cause mini-freezing, GOP above 400 can crash driver, GOP above 500 just BSoDs
Edit 3: I managed to have it hit just below what x264 uses in bitrate: GOP 240, Quality Preset, VBR with peak set. CBR still doesn't work.
Wow. thanks for all the testing.

GOP and IDR should typically be moved based on the fps used. this is why we pick 30 60 120 etc.

audio format, check your audio format in windows playback devices for your headset. if this is set wrong, sometimes you'll get some issues with frame times in OBS.

CBR padding, I played with this off and on as I'm curious if something is being double padded again. we had this issue ages ago.

a few other settings but all in all, I was unable to duplicate your issues. I did 720@60 quality with dx11 or host. the bitrate did go over by set 2500 but peaked somewhere in the range of 2900-3000.
 

Xaymar

Active Member
Wow. thanks for all the testing.

GOP and IDR should typically be moved based on the fps used. this is why we pick 30 60 120 etc.

audio format, check your audio format in windows playback devices for your headset. if this is set wrong, sometimes you'll get some issues with frame times in OBS.

CBR padding, I played with this off and on as I'm curious if something is being double padded again. we had this issue ages ago.

a few other settings but all in all, I was unable to duplicate your issues. I did 720@60 quality with dx11 or host. the bitrate did go over by set 2500 but peaked somewhere in the range of 2900-3000.

I can reproduce it almost always by using a moving grid that randomly flashes white to black, seems to really test the limits of the hardware encoder. Also, I changed "Min QP" to 23 and now it's staying within the 2500kbit/s, even though it's set to CBR - Min QP should have no effect here..
 
Hi there guys, finally got my OBS working so i can stream 1080p 60fps like I should be able to with my AMD R9 380 ;3 but now I am facing a big issue. Keep dropping frames and I think it has to deal with Min QP and Max QP. If anybody has any idea what could be causing this please get back to me ASAP. I'm an every day streamer so its important to me.
Thanks fellas :3 7e694986ee043f113200c96022c7f0d2.png 7e694986ee043f113200c96022c7f0d2.png ee49f2b3fc011a8a9401e8560939bdc9.png 2b2f7cca9e999ca778bb1275a3373ef1.png
 
Last edited:

dping

Active Member
I can reproduce it almost always by using a moving grid that randomly flashes white to black, seems to really test the limits of the hardware encoder. Also, I changed "Min QP" to 23 and now it's staying within the 2500kbit/s, even though it's set to CBR - Min QP should have no effect here..
CBR uses CP range to keep the constant bitrate. the defaults are probably to low to maintain good CBR (lower number means more quality allowed. I think we changed the default ranges to MinQP=22 or 23 and MaxQP=51 it would probably be better. I've even experimented with MaxQP=41 to keep the IDR refresh from flickering which seems to work.

@jackun, can we modify the defauly MinQP to 22 or 23?

Also note that your flashing video does extremes so yeah, good catch.
 
I can reproduce it almost always by using a moving grid that randomly flashes white to black, seems to really test the limits of the hardware encoder. Also, I changed "Min QP" to 23 and now it's staying within the 2500kbit/s, even though it's set to CBR - Min QP should have no effect here..
ive tried that and still didn't fix my issue :(
 
I figured that I'd give this a try after installing a new R9 285, but I have one major issue with it: CBR doesn't work. My bitrate goes as low as 128kbit/s (almost just audio) and up to 10 times the bitrate set. I saw other people experience this in the last few pages (did not yet read all 100+ pages), but I didn't see a solution yet. It seems to happen whenever small objects move on the scene, even if it's just a gif.

Is there a way to fix this? Maybe a beta driver or something?

Anyway here's what I have, in case it's needed:
  • OS: Windows 10 (64 bit)
  • CPU: AMD FX-6100
  • GPU: Radeon R9 285
  • GPU-Driver: 15.20.1062.1004-150803a1-187674C (Catalyst 15.7.1)
  • OBS: VCE-Branch 0.656b 64bit
I've attached both the last log file and the profile used (the stream key is taken out obviously).

I have the exact same issue! Except im using a 380 R9 which is the 285 so it makes sense we are both experiencing this issue. Any fix for the bitrate skyrocketing?
 
I can reproduce it almost always by using a moving grid that randomly flashes white to black, seems to really test the limits of the hardware encoder. Also, I changed "Min QP" to 23 and now it's staying within the 2500kbit/s, even though it's set to CBR - Min QP should have no effect here..

Could you please post your OBS settings pages?? Since we have the same GPU, id like to test your settings and see if it fixes my issue.
 
Top