Skip to content

Commit

Permalink
Add a FAQ section for Wayland support
Browse files Browse the repository at this point in the history
The video driver might need to be explicitly set to wayland.

Refs #2554 <#2554>
Refs #2559 <#2559>
  • Loading branch information
rom1v committed Aug 13, 2021
1 parent 4ab3e89 commit e0860cf
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,23 @@ 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.


### KWin compositor crashes

Expand Down

0 comments on commit e0860cf

Please sign in to comment.