Search Unity

Official Experimental Wayland Support for Linux Player

Discussion in 'Linux' started by tylerinthezoo, Jan 5, 2023.

  1. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    91
    Hello Unity Developers on Linux,


    As a continued effort to support the latest Ubuntu versions 22.04 and forward, Unity is experimenting with the support for the wayland desktop environment for the linux player builds on Unity 2023.1.x.


    Wayland is a new windowing protocol aiming to replace legacy X11 with flexibility, security and performance improvements. It is being under active development and released its stable version last year. It will be the default protocol on Ubuntu 22.04. However, due to the current instability in the graphics drivers, the support is only limited to AMD and Intel GPUs which use the mesa driver with wayland.


    A command line argument “-force-wayland” needs to be passed when launching the player. The player is currently default to xwayland.


    Please stay tuned for more updates.
     
    emozdemir, Eclextic, Farfi55 and 12 others like this.
  2. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    135
    Now that is great new. Thanks Unity devs.
     
  3. dngulin

    dngulin

    Joined:
    May 11, 2019
    Posts:
    3
    Do you have any plans to support Wayland in an editor?
     
  4. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    91
    This is in also our roadmap, but will not start until we feel things are more stable with wayland.
     
    s_xgx1 likes this.
  5. s_xgx1

    s_xgx1

    Joined:
    Jul 6, 2020
    Posts:
    4
    Is it okay now?
    Is it okay now?
     
  6. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    91
    unfortunately we currently are still evaluating the wayland support in the editor. The idea is we will catch up if ubuntu decides to ship it by default in their new LTS, which i believe is 24.04 ATM.
     
  7. s_xgx1

    s_xgx1

    Joined:
    Jul 6, 2020
    Posts:
    4