Romain Vimont

Results 2006 comments of Romain Vimont

@4nric Thank you for the details to start a new display. > adb shell settings put global overlay_display_devices 1920x1080/160 On my OnePlus 7 Pro (Android 10), it starts a new...

> Have you enabled Force Desktop mode first before simulating the secondary display? Oh, I didn't. Now it works. Thank you :+1: So to summarize: ```bash # enable a secondary...

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

> java.lang.NumberFormatException: For input string: "1.24" Moreover, you're using an old scrcpy-server with a new client.

Try a non snap version. Snap packages its own adb.

Wow, thank you for that :+1: I tested the branch, but unfortunately on my computer (it probably depends on the computer): - it does not really improve CPU usage -...

@arter97 If you're still interested in working on this (rebase/rewrite on `dev` branch and fix issues), we could enable it with an explicit option (`--hw-dec`) (I prefer to keep it...

@arter97 OK, no problem. I'll work on it in the future (your PoC will help) :wink:

I rewrote the PoC on current `dev` branch: [`hw_dec_poc`](https://github.com/Genymobile/scrcpy/commits/hw_dec_poc). With VAAPI, `get_hw_format` is called with `AV_PIX_FMT_VAAPI` in the `pix_fmts` list, so I return `AV_PIX_FMT_VAAPI`. But then it is called once...

> So I can't make VAAPI work anymore. That's weird. With recent updates in Debian packages, VAAPI now works (branch `hw_dec_poc`)… but `av_hwframe_transfer_data()` takes ~80ms :disappointed: