-
Notifications
You must be signed in to change notification settings - Fork 15
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
Desktop mode refuses to display properly or to run a launcher #16
Comments
From the preview it seems that it did load the desktop environment (albeit the stock one), The "The host system has incompatible settings" is the script not being able to get the native resolution of the phone. Since the code relies on shebang behavior, it is very likely something changed in the android terminal output. Either way, thanks for the (very detailed) reporting, however I may not be available at the moment because I am studying for an exam. |
Also please try launching this script with the resolution and density already set: |
running it like that yields identical behavior to what was initially reported.
|
I am also experiencing this issue. It was working the day before yesterday, before I did my weekly computer updates, if that provides any hints. Mobile OS: Stock |
can you give me your |
@nikp123 Sure thing. It includes a lot, it was a kernel update. |
you upgraded scrcpy 2.0 -> 2.1, that may be our clue |
Yep confirmed on scrcpy 2.1, we have the EXACT same issue. |
It's weird though, sometimes it works and sometimes it doesn't. |
Ok, narrowing it down a bit. It seems that scrcpy grabs the (wrong?) display. However if you launch a second instance it grabs the correct one. |
This is an upstream regression, since Android is reporting the correct "virtual resolution" via |
If you do |
There isn't much I can do apart from getting this fixed in upstream? |
For right now the advice to downgrade was useful enough for me. I just confirmed that downgrading fixes it on my end. |
@kinostl can you try invoking scrcpy manually just to make sure that my behaviour of it fixing itself when running a second instance isn't a fluke. ie:
|
Already filed at Genymobile/scrcpy#4157 |
@nikp123 I don't think I can replicate on my end. |
Weird, I guess its a per machine behaviour. |
|
Seems to be fixed in a future release, we just need to wait for it to get released. |
I can also confirm that the downgrade to scrcpy 2.0.1 fixed the issue for me. |
Scrcpy 2.1.1 fixes this. Closing. |
Desktop OS: Arch Linux
Desktop details: RTX 3090, R7-5700x, NVIDIA driver 535.54.03
Mobile OS: GrapheneOS
Model: Pixel 7 Pro
SCRCPY Version: 2.1
Although the script does set all the right developer options and reboots the phone after the first run, it fails to actually engage a desktop environment. I have tried many configurations and a few different versions of Null keyboard1 as well as many different settings configurations of Taskbar. The secondary screen overlay does show and it gives me a slice of the view but never actually loads Taskbar.
I also get the error
Host system has incompatible settings. Sorry about that.
The SCRCPY window opens in the standard resolution of the pixel as if I was running SCRCPY unmodified. The only difference being no ability to interact, see any apps, and the bottom third of the screen displays nothing.
If I attempt to expand the window it also shows no additional image to the left or right, although in the hovering overlay for the emulated second display when looking at the phone shows much more of the image. Despite the hovering 2nd display showing more of the image it still shows no Taskbar, just the wallpaper.
Phone POV
1 null keyboard is no longer available on google play so the read me may need updating.
The text was updated successfully, but these errors were encountered: