Giter Site home page Giter Site logo

CreateProcess error code: 740 - Unable to stream on PC - Capture area (...) extends outside window area. desktop: I/O error about switch-remote-play HOT 5 CLOSED

moehammered avatar moehammered commented on July 29, 2024
CreateProcess error code: 740 - Unable to stream on PC - Capture area (...) extends outside window area. desktop: I/O error

from switch-remote-play.

Comments (5)

joaomeuputo avatar joaomeuputo commented on July 29, 2024 1

Hey, It was the virtual driver that was missing. Thanks alot for the help :)

from switch-remote-play.

joaomeuputo avatar joaomeuputo commented on July 29, 2024

Update:
By setting ffmpeg.exe as admin, I got a different error:

ffmpeg.exe -probesize 32 -hwaccel auto -y -f gdigrab -framerate 1280 -vsync vfr -video_size 720x1280 -i desktop -f h264 -vcodec h264 -vf "scale=720x60" -preset ultrafast -crf 0 -tune zerolatency -pix_fmt yuv420p -x264-params "nal-hrd=vbr:opencl=true" -b:v 4608k -minrate 4608k -maxrate 4608k -bufsize 4608k tcp://192.168.1.157:20003
Failed to start process. CreateProcess error code: 740

from switch-remote-play.

Moehammered avatar Moehammered commented on July 29, 2024

Hi @joaomPT let's see if we can get to the bottom of this.

You don't need to run ffmpeg as admin. The reason why you got the 2nd error was because switch-remote-play-host attempted to open an admin program when it didn't have permission basically. Ignore the 2nd error.

The original error is more important. I can see by the output that your monitor seems to be a rotated monitor.

  • This is an assumption based on the -video_size value and could be wrong
  • Are you using a device like the GPD Win3 or Aya Neo?

Can you please provide the following:

  • What version of the Switch app are you using for the PC and Switch?
  • What version of Atmosphere are you using?
  • What system firmware version is your Switch?
  • The default desktop resolution of your PC when you normally use it
  • switch-remote-play-host will output some data on startup about the monitor and display devices. Please provide that info here
  • Does your desktop resolution use any scaling?
    • please see #46 for details about an issue a different user had
  • What resolution are you setting the desktop to on the switch app?

The output from your 2nd comment shows unusual values for -video_size and for "scale" and "framerate".
This might be from a version mismatch between the Switch app and the PC version. Please make absolutely sure that you're using the correct version of the app and PC program.

from switch-remote-play.

joaomeuputo avatar joaomeuputo commented on July 29, 2024

Hello @Moehammered

Thanks for the response.

Regarding your questions, I noticed that I had version mismatching. Now I'm using v1.0.0 on Nintendo Switch and PC.

And now my error is different

---- Virtual Controller ----
Testing for correct Virtual Controller driver installation...

    Client allocation successful.
    Virtual Controller connection failed with error code: 0xe0000001


!!! Virtual Controller driver seems to be having issues. Please make sure it is installed correctly. !!!
If the problem persists, please try uninstalling the driver and installing the latest virtual controller driver

from switch-remote-play.

Moehammered avatar Moehammered commented on July 29, 2024

Hello @Moehammered

Thanks for the response.

Regarding your questions, I noticed that I had version mismatching. Now I'm using v1.0.0 on Nintendo Switch and PC.

And now my error is different

---- Virtual Controller ----
Testing for correct Virtual Controller driver installation...

    Client allocation successful.
    Virtual Controller connection failed with error code: 0xe0000001


!!! Virtual Controller driver seems to be having issues. Please make sure it is installed correctly. !!!
If the problem persists, please try uninstalling the driver and installing the latest virtual controller driver

@joaomPT Nice we have some progress. 👍

Did you try re-installing the virtual controller driver like the error suggested? Please make sure to follow the PC installation section of the getting started guide.

  1. Please make sure you've followed the wiki for installation and setup.
  2. If you've already installed the virtual controller, please try uninstalling and reinstalling it.
  3. If it still doesn't work, please try installing the latest version of the controller driver and see if it helps

Since you're using Windows 11 I won't be able to debug or troubleshoot personally. There could be an issue that is related to Windows 11 but I can't say for sure. For now, please try what I've mentioned and let me know if anything changes.

Thanks.

from switch-remote-play.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.