Add a FAQ section for Wayland support
The video driver might need to be explicitly set to wayland. Refs #2554 <https://github.com/Genymobile/scrcpy/issues/2554> Refs #2559 <https://github.com/Genymobile/scrcpy/issues/2559>
This commit is contained in:
parent
4ab3e89c29
commit
d6aaa5bf9a
1 changed files with 20 additions and 0 deletions
20
FAQ.md
20
FAQ.md
|
@ -153,6 +153,26 @@ You may also need to configure the [scaling behavior]:
|
|||
[scaling behavior]: https://github.com/Genymobile/scrcpy/issues/40#issuecomment-424466723
|
||||
|
||||
|
||||
### Issue with Wayland
|
||||
|
||||
By default, SDL uses x11 on Linux. The [video driver] can be changed via the
|
||||
`SDL_VIDEODRIVER` environment variable:
|
||||
|
||||
[video driver]: https://wiki.libsdl.org/FAQUsingSDL#how_do_i_choose_a_specific_video_driver
|
||||
|
||||
```bash
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
scrcpy
|
||||
```
|
||||
|
||||
On some distributions (at least Fedora), the package `libdecor` must be
|
||||
installed manually.
|
||||
|
||||
See issues [#2554] and [#2559].
|
||||
|
||||
[#2554]: https://github.com/Genymobile/scrcpy/issues/2554
|
||||
[#2559]: https://github.com/Genymobile/scrcpy/issues/2559
|
||||
|
||||
|
||||
### KWin compositor crashes
|
||||
|
||||
|
|
Loading…
Reference in a new issue