-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Window Pop up after typing scrcpy in cmd but gets closed automatically in 2 sec. #1600
Comments
Otherwise, there is probably an error printed in |
Hoping a Reply ASAP!!! |
Can i get a answer please i am working on it for last 3 days atleast in tomorrow morning it gets connected and i was mirroring for 10 mins but then again it gets connected and after 1 sec it just close the app i need a solution please that is my last hope for mirroring.
|
Tl dump the logs: adb logcat -c # clean the logs
scrcpy
# once it is closed
adb logcat -d > logcat.txt Then post your |
logcat.txt |
I don't find any error specific to scrcpy. A lot of errors related to CamX...
So it's probably a crash in your device system. If you reboot, does it work again? Does |
I have already tried 3 or 4 devices i dont think there is any error in my device. |
yeah i tried it, the window just open and get closed in 1 sec |
If this happens to several (different) devices, the problem is on the computer-side. Could you try with another computer/OS? |
yup i just tried using another pc and it works just fine. So that is clear the problem is with my pc. |
It might be due to insufficient USB power. Or maybe bad USB drivers... Try with another OS (run a live CD of some Linux distrib to test). |
Should i try formatting my pc? |
is it gonna help? |
can i get your email or something so we can personally i really want to run scrcpy i can even format my whole laptop for this to work u can imagine how important it is for me to get it working. |
Download a live cd of Ubuntu for example, and run it. No need to format. |
ok thank you i will try that and contact again. |
but i have one more question if it will work with ubuntu how can i make it work on my windows? |
Can u answer? |
Yup working just fine in the ubuntu latest version but there is some problem in win 10 i think. |
(It lags probably because it's a livecd without all the firmware/drivers. It should work with a real install.) |
but now how can i get it working on my windows? |
I don't know. My guess is that disconnections are due to a problem with your USB drivers or USB power. If it works from Ubuntu, then it's probably your drivers or some Windows problem. (Could you confirm that |
Does it work better with v1.9 or v1.10 instead of v1.14? |
Did you try to reduce the definition? #283 (comment) |
Environment
Describe the bug
I just want to record my gameplay with scrcpy.
I already have adb and scrcpy on my pc and also started USB Deugging on My Device.
adb device command also shows my device.
but when i type scrcpy command a window just pop up showing device name on it and it just get closed automatically.
is there any solution for that i have been working on this thing for last 2 days.
There is no error the window for mirroring pop up and get closed automatically in 2 sec.
Uploading a screenshot with the command i used.
The text was updated successfully, but these errors were encountered: