-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using iGPU and dGPU. #18
Comments
This shouldn't be related to the OBS version. Generally whatever the current stable release of OBS is should work. I say "should" because I don't manually test this but their plugin api is supposed to be stable. Currently the plugin uses the gpu that it gets from an obs here Line 151 in 4df6493
That said, it probably still makes sense to allow users to choose the gpu for this plugin independently of the obs setting.
This is not really relevant to the issue but here are my thoughts anyway. You do not say what benefit you expect but from this. You probably expect that encoding on the same gpu makes the game run worse. It is not obvious to me whether this is true. For example gpus might have mostly independent hardware for encoding and 3d gaming. I would benchmark whether you see any change in game performance when you are encoding vs not encoding. Furthermore it is likely that the older integrated gpu is worse at encoding than the newer one so your recordings might look better on the newer one or the newer one might support higher resolution and frame rate. |
Thank you for the very quick reply. There is a long story behind why I was asking about this. The short version is, that I have been trying to get AMD tech support to try and do something with the OBS AMF encoder. I have been 'talking' with them for about the last month. I have been doing a ton of testing and I have been able to work out some of the current issues with the 2019 AMF encoder. But, some will not be able to be fixed. With out AMD getting involved. See, OBS, from what I understand, asks the AMF what hardware encoders are in the system. If we take a look at my OBS log right now... 16:13:08.137: [AMF] <Id: 1> Unable to set converter transfer characteristic, error AMF_NOT_FOUND (code 11) First, I am very worried that with both devices I am getting two 'Unable to set converter transfer characteristic, error AMF_NOT_FOUND (code 11)' errors. But with the iGPU. It is currently not detecting any h264/h265 support. This was not always the case. If I run any AMD driver set before 21.12.1. OBS can see then iGPU. An interesting sidenote: I have it confirmed from AMD. And this is what I have also observed. Is that if you have an AMD iGPU & dGPU in the same system. It turns off Relive 'Record & Stream' panel in the control panel. So I am wondering if there is a bug in the AMF in regards to running two encoders. In the 2019 AMF Encoder for OBS. If I go settings then output. Say go into either streaming or recording. Select an AMF encoder. Change the view mode to Advanced. Near the bottom of the list is 'Video Adapter'. on AMD drivers before 21.12.1, I have a choice of two devices in there. From, 21.12.1 onwards. There is only one. I have tested Xsplit, and that does see both encoders and I can use the iGPU in that. And it encodes fine. But I find OBS caters for my needs so much better. I know what your thinking. Use the 21.12.1 driver set right? OBS can see the iGPU. But it cant initialise it. So encoding fails. The reason I would like to off load onto the iGPU is simple. If I have obs running, and record and stream my desktop using AMF. H264 720p 60 stream and H265 1080p 60 recording in quaility mode. The Encoder in task manager goes to about 70%. But, the 3D process task of task manager sits at about 15%. So if I play games, and I exceed 85% of GPU load. I will encounter problems with game, stream or recording. I tried your 0.10 version and kept an eye out to see if it would contiune to be worked on before giving feedback. And for me your 0.20 quailty wise, does better on my RX 6600 XT than the 2019 AMF OBS encoder. With the advent of AMD driver version 22.3.1. I now have 4 issues with obs and/or the 2019 AMF Encoder.
The problem I see, with the old encoder. Is a 3 way problem. Which is why I have been banging my head againest a wall trying to get AMD tech support to do something. As going back to the bullet points. Items 3 and 4 are direct responses to AMD Driver updates. Sorry for long wall of text. But, to coin star wars... ' You're my only hope'. lol I am not a PC novice. Im 43 years old. I have been involved with PC software and hardware tech support for about 25 years (started at MS-DOS 6.20 with Windows 3.0). I did used to enjoy coding. Highest level I got in that was C/C++. But that was about 22 years ago a MS-DOS level. If there is any way you think I can help, if you need more info, someone to bounce ideas of off or you want someone to test stuff. I am up for it. |
I can't help with problems that are specific to obs, the other amf pluging, amd, etc. I do think it makes sense to support manually setting the gpu in this plugin. When I get around to that I will post here for people to try it out. |
I wasn't expecting you to help with specific problems with obs and the old plugin. Its just been really frustrating dealing with AMD tech support. And I think I just needed to get some of that out of my brain. If anything, I hope that my putting this in here will give you food for thought. Maybe something in this big wall of text will make you think of things to persue, and what to avoid. I am very imrpessed that you are working on this project and I am interested to see how it devlops. |
Hi there.
Nice work on this encoder so far. I am getting better results than the 2019 encoder. Thank you.
My CPU is a Ryzen 7 5700G and GPU is a RX 6600 XT.
When I select AMF CPU. It uses my RX 6600 XT instead of the iGPU (Radeon Graphics (I believe it is a Vega)).
And when I select AMF GPU. It still uses my RX 6600 XT.
I am running AMD Drivers 22.3.1 and OBS 27.0.0.
In the details, it does not list which version of OBS you are using, just says requires 27.0.0. So I am using that.
My guess is that in its current state, it might not see my iGPU, as you might be running something different. But it could be I am running the wrong OBS version.
My goal, when buying the CPU, was to off load all the streaming and recording encoding onto the iGPU from my dGPU.
Thoughts?
The text was updated successfully, but these errors were encountered: