obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.56k stars 8.01k forks source link

Does not show the XBOX App Game capture screen. #9876

Open fabiohcnobre opened 1 year ago

fabiohcnobre commented 1 year ago

Operating System Info

Windows 11

Other OS

Windows 11

OBS Studio Version

30.0.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/NNrN64kRyBOipPjX

OBS Studio Crash Log URL

No response

Expected Behavior

Does not show the XBOX App Game capture screen.

image

Current Behavior

Does not show the XBOX App Game capture screen.

Steps to Reproduce

  1. Open Xbox or Xbox Game Streaming
  2. Streaming XBox
  3. Open OBS
  4. New Captuure Game

Anything else we should know?

With the screenshot it is working. It just gives the error when capturing the Game.

WizardCM commented 1 year ago

The app in the screenshot does not seem to be an official app? The standard Xbox app should capture fine.

fabiohcnobre commented 1 year ago

Does not work with the default Xbox app. With Windows 10 it works normally.

image

fabiohcnobre commented 1 year ago

Update im my OBS Studio Log URL https://obsproject.com/logs/PIZwpuGh77AlSKbT

RytoEX commented 1 year ago

Does not work with the default Xbox app. With Windows 10 it works normally.

The Xbox app (XboxPcApp.exe; not Xbox Console Companion) does not seem to be able to be captured with Game Capture for me on Windows 10 either, so I would assume it cannot be captured with Game Capture. I'm not familiar with "Xbox Game Streaming (Test App)" (ContentTestApp.exe), but I also do not have an Xbox console with which to test other scenarios.

fabiohcnobre commented 1 year ago

As previously mentioned, the error occurs in both the Xbox Application and Xbox Game Streaming.

You need an XBOX Series X or S and Windows 11 to make the error As stated in Windows 10 it is working normally as shown below.

image

In Windows 10 on Xbox App Oficial

image

In Windows 11

image

Kobi-Blade commented 1 year ago

OBS cannot capture UWP apps with Game Capture, you need to use Window Capture.

I been streaming for over a year and never seen OBS capture UWP apps with Game Capture (that includes the Xbox app, or whatever third-party you using).

Contrary to @WizardCM claims, no it does not capture just fine, it has never worked in Game Capture, feel free to go on Twitch to ask other streamers if need be.

This is also not an issue on Windows 11, since I been using Windows 10 all this time and does not work, just like @RytoEX said.

Fenrirthviti commented 1 year ago

OBS cannot capture UWP apps with Game Capture, you need to use Window Capture.

This is objectively false. This might be true for this specific application, but it is the first we've heard of any issues, You can capture UWP apps just fine with game capture.

WizardCM commented 1 year ago

As a note, I just verified that UWP capture of the Xbox app on Windows 10 does work as expected.

I can confirm I'm having issue on Windows 11, but I expect that's likely just a system configuration issue and not a bug in OBS. I will look into it.

Edit: Further testing confirms this bug is specific to the Xbox app, as Sea of Thieves on Windows 11 captures fine.

image

image

fabiohcnobre commented 1 year ago

@WizardCM Thanks. Did you see that it is possible in Windows 10. Now we have to test on Windows 11 where the error occurs.

Kobi-Blade commented 1 year ago

@WizardCM On Windows 10, image

We streamers have known of this issue and been reporting it for at least 5 years now, [1].

It has never worked for the majorly of us in Game Capture, some people who are less knowledge-able been using Display Capture instead of Windows Capture.

Please reach out to more streamers, if you still think I'm the one insane and reporting false information, just trying to help here.

Fenrirthviti commented 1 year ago

Again, nobody is doubting that there is an issue somewhere. We understand that something isn't working, and have already reproduced it with some members of the team.

The point is that when you make wild, sweeping claims like this "never works" and "everyone has been reporting it for years" it dilutes the actual report and makes it harder to get to the actual cause. This has not been widespread across all UWP applications, and it absolutely does not affect everyone (I am able to capture UWP apps just fine on my system, but I don't have an xbox so I can't test the xbox app itself which is likely where the actual issue is). When you make claims like that, and then they are objectively proven false, we're left with little to go off when it comes to reproduction steps. Additionally, the subreddit is not really official, and is barely monitored if at all. It's safe to assume if there's no open issue report on something, we aren't aware of it. We have had scattered reports of the Xbox app itself not working, but it has always been due to some kind of third-party conflict or other setup issue, not with OBS itself.

Just keep in mind when you're reporting an issue to stick to the facts, and be mindful that just because you are having an issue, it doesn't mean everyone is. There's no ego here, if there's a bug we will want to fix it, so let's leave that at the door.

fabiohcnobre commented 1 year ago

I have this problem and want to help fix it. It would be difficult for a developer to be able to run this problem on their machine. Yes, if the person doesn't have an Xbox it is easier to emulate the error on their machine. But you can create an executable that I run on my machine to capture the true log that is not receiving the video. It could very well be an error that is not handled by OBS.

Fenrirthviti commented 1 year ago

As a general question, those having issues with capturing UWP apps (xbox or otherwise):

Where is your OBS install located? Please be as specific as possible. I.e. C:\Program Files\obs-studio or H:\Apps\obs

fabiohcnobre commented 1 year ago

In C:\Program Files\obs-studio

SuslikV commented 1 year ago

Who interested, when @Fenrirthviti asks about installation path, it is literally question about permissions, so it is important (see below). general info from developer was here: https://obsproject.com/forum/threads/obs-studio-17-0-0-uwp-game-capture-trouble.60003/post-260777 more details here: https://obsproject.com/forum/threads/game-window-capture-wont-work.99067/post-386913

alinsavix commented 1 year ago

Before I forget, I did some testing to confirm @WizardCM's findings (since he wasn't entirely certain about the state of his system), and I can basically verify what he found:

win 10:

win 11:

So I suspect there's some new restriction added for sandboxed apps in Win 11 that is getting in the way here, and will probably require Deep Voodoo to fix (...if it's fixable). Smarter people than me (...it's a low bar) will have to weigh in on that part, though.

Fenrirthviti commented 1 year ago

As a bit of follow up on some off-thread testing, here is the current status:

We've reproduce the issue with XboxPcApp.exe not being able to be captured, specifically only on NVIDIA GPUs. Testing on AMD or Intel GPUs, it seems capture works fine.

We have not been able to reproduce issues capturing any other UWP applications. All other capture, in all other situations, is working fine. I am going to consider issues capturing something other than the Xbox app itself to be separate, and would ask that someone who can reproduce those to open a new issue with reproduction steps and we can tackle that separately.

Since signs point to this being an NVIDIA driver bug of some kind, we will be reaching out to NVIDIA to report the issue. @theHamsta ping for visibility.

Kobi-Blade commented 1 year ago

My image above shows OBS unable to capture Xbox App on a full AMD build with every driver and Windows Update as far as it can go on Windows 10, as for OBS location, I have it running in portable mode in my library.

Fenrirthviti commented 1 year ago

My image above shows OBS unable to capture Xbox App on a full AMD build with every driver and Windows Update as far as it can go on Windows 10, as for OBS location, I have it running in portable mode in my library.

Then your issue is almost certainly the missing permissions required for UWP capture to work.

Follow these steps:

fabiohcnobre commented 1 year ago

@Fenrirthviti
I did what you said and it didn't work.

image

Fenrirthviti commented 1 year ago

@Fenrirthviti I did what you said and it didn't work.

You are on Windows 11 with an NVIDIA GPU, where we have already confirmed the issue, there's no further testing or information we need at this time. My comment was directed towards Kobi-Blade, who is on AMD and Windows 10, both of which should work fine.

fabiohcnobre commented 11 months ago

Nothing until now ? Could someone help me by marking this as a Bug.

Fenrirthviti commented 11 months ago

This is already marked as a bug, I'm not sure exactly what you expect in addition to it being an open issue on the bug tracker. There really isn't anything we can do about this, we're waiting for a reply from NVIDIA. If you want to expedite, you can always report this to NVIDIA yourself as well to get more attention on it.

The reality of this is that it's not really a high priority, so it may take a while before anything gets looked at.

fabiohcnobre commented 11 months ago

@Fenrirthviti Thank you for your answer, yes, if it is an NVIDIA problem then let's talk to NVIDIA. It's been a month now, we have to adjust. Or other demands are getting ahead. @theHamsta I need your help to resolve this.

Ka-Wouter commented 9 months ago

@fabiohcnobre @theHamsta Are there any updates on this issue?

Fenrirthviti commented 9 months ago

There are no updates at this time.

Ka-Wouter commented 9 months ago

No priority for NVIDIA i guess. Thanks for the reply.

fabiohcnobre commented 3 months ago

@theHamsta Are there any updates on this issue?

fabiohcnobre commented 3 months ago

The problem still happens in version OBS Studio Version - 30.2.3 NVidia App - 10.0.2.207 Driver GeForce Game Ready - 560.94

LN55N commented 1 week ago

The problem still happens in version OBS Studio Version - 30.2.3 NVidia App - 10.0.2.207 Driver GeForce Game Ready - 560.94

Still the same problem in November. My spyro stream sees the capture, sound is streaming but only in black screen. <3 steam or whatever, is working so fine..

fabiohcnobre commented 1 week ago

O problema ainda acontece na versão OBS Studio Versão - 30.2.3 NVidia App - 10.0.2.207 Driver GeForce Game Ready - 560.94

Ainda o mesmo problema em novembro. Meu fluxo spyro vê a captura, o som está fluindo, mas apenas na tela preta. <3 vapor ou o que for, está funcionando tão bem..

Helping me by liking the issue and the comments of those responsible.