OBS branch with AMD VCE support.

dping

Active Member
Levels are more about resolution & framerate than quality (although they also have a specified max bitrate) -- OBS has been setting it to 4.1 which is supposed to max at 720p60/1080p30. My 285 needs to have it set to 5.0 at least for 1920x1200, since before messing with that part it'd just cause a vague error. (Added: From looking at a few of the older logs here, it seems like even older ones allow higher levels -- it probably just doesn't do much other than maybe basic resolution checking, since 1080p60 should require 4.2, but OBS has always been setting it to 4.1.)


I'm not really sure what works well with quicksync, since I have an older i7 before that was added. VCE on the new ones was done with a slightly modified version of an AMD sample. x264 was just done with command-line, since the VCE sample needed to have raw video input anyway.
some custom x264 commands do work. some. I think you can manually set the level in that field since the try it.
Code:
level=50

Maybe set profile to high if not already, @jackun can probably assist with making an exception for the hardware ID since that is public for this card.
 
Last edited:

Fawkes

Member
hmmm i think i should come back to this scene and get testing ;)
it has been a while.

can anyone bring me a small update of what happened last few months?
(not very efficient to read all those missed pages)
 

dping

Active Member
hmmm i think i should come back to this scene and get testing ;)
it has been a while.

can anyone bring me a small update of what happened last few months?
(not very efficient to read all those missed pages)
wb Fawkes

Not a whole lot has changed, a few updates a while back and I think currently someone is testing with an r9 285
 

kamild_

Member
Thank you! AMD Gaming Evolved app didn't work but OBS works perfectly on Intel Core i5-3350P, Radeon R9 280X, Windows 8.1.1 Pro x64 and 1680x1050 resolution. I'm using OBS to keep most recent 10 minutes of Team Fortress 2 gameplay just in case something happened on the server I play on. The FPS drop is completely unnoticable - on all maxed detauls and x4 MSAA I get up to 300 fps (as it's the limit) and no less than 80-90 fps during most intense fights/scenes. The only parameters I changed in OBS is the framerate (60), bitrate mode (CBR) and x264 preset (faster) which seems to have reduced the pixelation.
By the way, why isn't the AMD VCE support integrated in the latest beta available at the main site?
 

khades

Member
I'm not really sure what works well with quicksync, since I have an older i7 before that was added. VCE on the new ones was done with a slightly modified version of an AMD sample. x264 was just done with command-line, since the VCE sample needed to have raw video input anyway.

I made encodes (without cropping top black strip though)

~720p - https://yadi.sk/i/gcN3aOyvggyzQ
~1080p - https://yadi.sk/i/Pi2MfX6rggz4m

Image on haswell QSV is less contrast, so blockiness is a bit less noticeable but shaking afterimage is much bigger.

I wonder if b-frames would add a lot into a vce-encoded quality, it probably should. No idea though - in what ammount. Really looking into b-frames. Especially since r9 285 has powered encoder and actually can calculate MORE b-frames. I guess.
 
Last edited:

Fawkes

Member
wb Fawkes

Not a whole lot has changed, a few updates a while back and I think currently someone is testing with an r9 285
ah alright thankyou, that's kinda sad... but oh well.
in a few weeks a have shitloads of time so i guess i'll still test everything again
 
I made encodes (without cropping top black strip though)

~720p - https://yadi.sk/i/gcN3aOyvggyzQ
~1080p - https://yadi.sk/i/Pi2MfX6rggz4m

Image on haswell QSV is less contrast, so blockiness is a bit less noticeable but shaking afterimage is much bigger.

I wonder if b-frames would add a lot into a vce-encoded quality, it probably should. No idea though - in what ammount. Really looking into b-frames. Especially since r9 285 has powered encoder and actually can calculate MORE b-frames. I guess.

Interesting, i did not like how that looked. But can't say it looks better or worse than VCE just from first glance.
It's different with some really weird, smooth artifacts (look at the person walking when you stand still in the beginning, it's like a transition blur or something;P).

As for r9 285. Have you tried the latest Beta drivers for b-frames?
There are some interesting Drivers here as well: http://forums.guru3d.com/forumdisplay.php?f=46

If you got time for experimentation it might be worth looking into:)
 

Kobata

Member
As for r9 285. Have you tried the latest Beta drivers for b-frames?
There are some interesting Drivers here as well: http://forums.guru3d.com/forumdisplay.php?f=46

If you got time for experimentation it might be worth looking into:)
The 15.4 beta was actually the first driver I had installed when initally messing with VCE, and that's where I first noticed all the issues -- downgraded to 14.12 to see if that helped, but it didn't really much, although I figured out what settings/situations to avoid.

I'm back on 15.4 now and turning the bframe config on still causes a driver freeze.
 
The 15.4 beta was actually the first driver I had installed when initally messing with VCE, and that's where I first noticed all the issues -- downgraded to 14.12 to see if that helped, but it didn't really much, although I figured out what settings/situations to avoid.

I'm back on 15.4 now and turning the bframe config on still causes a driver freeze.

There are some newer than 15.4 Beta i think. 15.4.1 and two "W10" drivers you might wana test.
Let's just hope it's not a hardware error, heard many things about this Tonga sadly, not sure what's fixable and what's not.
But then again AMD has always released "broken" stuff which takes forever to "fix" as they are so slow with drivers.
Damn you AMD!! XD
 

khades

Member
Interesting, i did not like how that looked. But can't say it looks better or worse than VCE just from first glance.
It's different with some really weird, smooth artifacts (look at the person walking when you stand still in the beginning, it's like a transition blur or something;P).

That's why i am looking Towards VCE, it is much clearer, although have the same artifacts
 

Kobata

Member
That's why i am looking Towards VCE, it is much clearer, although have the same artifacts
Aside from the contrast and whatever happened with the size, I noticed yours are at 31.917 fps instead of 30 -- that might have something to do with the movement blur.
 
I would be interested in someone doing NVENC encoding with similar settings on that video.
Cause my understanding is that the quality generally goes: VCE > QS > NVENC.
But i don't know if Maxwell changed that in anyway, or if it's just faster.
 

khades

Member
Aside from the contrast and whatever happened with the size, I noticed yours are at 31.917 fps instead of 30 -- that might have something to do with the movement blur.

A bigger fps reduces blur just slightly. QuickSync generally spoils the image in bad way so even 40 kbit bitrate is not enough to make image stable.
 

Kobata

Member
A bigger fps reduces blur just slightly. QuickSync generally spoils the image in bad way so even 40 kbit bitrate is not enough to make image stable.
The original video was (mostly) 60fps, 31.917 isn't an even divisor of 60, so in order to convert to that framerate, it either needs to be a different length, have occasionally inserted/skipped frames, or do interpolation between frames (which would add blur independent of the encoder)
 

khades

Member
The original video was (mostly) 60fps, 31.917 isn't an even divisor of 60, so in order to convert to that framerate, it either needs to be a different length, have occasionally inserted/skipped frames, or do interpolation between frames (which would add blur independent of the encoder)
For some reasons handbrake didnt allowed me to pick fps, and i should state that i have the same jaggy blur while streaming with OBS
 

Darker

Member
Any updates on using two graphic cards where the secondary card's only task is to do the encoding? Last time I tried I couldn't get OBS to encode on the secondary card so I experienced performance loss in the games I played.
 

HorCsa

New Member
R9 285:
5-10sec after start, fps going down "VCE too slow" or WARNING: High CPU??? load message. Tested 14.12 and 15.4 beta drivers. Thats happening empty scene, streaming and only preview mode also. Sometime freezing, and GPU driver reboot. :(
HD7770 working very well.
 
Last edited:

Kobata

Member
R9 285:
5-10sec after start, fps going down "VCE too slow" or WARNING: High CPU??? load message. Tested 14.12 and 15.4 beta drivers. Thats happening empty scene, streaming and only preview mode also. Sometime freezing, and GPU driver reboot. :(
HD7770 working very well.
Post your settings screen? The 285 drivers seem to be really sensitive to what the settings are, at times.
 

HorCsa

New Member
I'm not expert in these settings, so I tried using the default settings to new card (Speed, Balanced, Quality).
https://dl.dropboxusercontent.com/u/80836022/OBS_settings/Encoding.JPG
https://dl.dropboxusercontent.com/u/80836022/OBS_settings/Video.JPG
https://dl.dropboxusercontent.com/u/80836022/OBS_settings/Advanced.JPG
https://dl.dropboxusercontent.com/u/80836022/OBS_settings/AMDVCE.JPG

2FPS: https://dl.dropboxusercontent.com/u/80836022/OBS_settings/preview.JPG

Thats happening 1080p@30 1080p@60, 720p@60 720p@30 (with/without downscale), Speed/Balanced/Quality also.

Previously I streaming HD7770 card with VCE without problems 720p@60 to youtube. Same PC, only card change to GV-R9285WF2OC-2GD (win7 64bit, i5-760, 8GB RAM).
 

Kobata

Member
Thats happening 1080p@30 1080p@60, 720p@60 720p@30 (with/without downscale), Speed/Balanced/Quality also.
It should be able to easily handle 1080p60 quality (and my 285 does) -- the biggest difference in settings I see easily is AMF engine type on DX9 instead of host, so that would be the first thing to try changing. (DX11 would possibly work better than 9, but in my experience had issues with some games, probably because of driver issues)
 
Top