Patches to make WINE work on Wayland display server protocol are being merged
(2023/02/28)
- Reference: 1677607327
- News link: https://www.theregister.co.uk/2023/02/28/wine_support_wayland/
- Source link:
With WINE 8 out, the team is merging in the code changes to add support for the Wayland display server protocol.
Although the process [1]began last Friday, the introductory notes on the merge do say: "This is the first of (many) parts in the upstreaming of the Wayland driver for Wine." WINE 8.0 [2]came out just a month earlier so this functionality will take a while to make it into the mainstream. [3]WINE 7.0 appeared about one year earlier so this will probably appear in WINE 9.0 at the start of 2024.
Wayland is getting increasingly common: it's the default display server for most GNOME-based distros now. Ubuntu made it the default in version 21.04, and [4]Fedora way back in version 25 . However, most still include [5]the XWayland layer to support legacy X11 apps . So while WINE can run on Wayland-based distros right now, that only works via translation. The new code will make WINE talk directly to the new display server without going through this intermediary.
[6]
[7]Youtube Video
[8]
[9]
Collabora developer Alexander Frantzis has been working on the code for a little over two years, first [10]announcing it in December 2020. He [11]released a version with several significant features in June 2021, including support for [12]next-gen OpenGL replacement Vulkan , multiple monitors, and handling of HiDPI monitors.
For slightly less technical summaries and demo videos, Collabora published blog posts describing the [13]progress at the end of 2021, and a [14]second at the end of 2022.
[15]Linux app depot Flathub may offer paid-for software
[16]Pop open a cask: Homebrew version 4.0.0 is here
[17]Official: Lomiri desktop now runs on Debian
[18]By order of Canonical: Official Ubuntu flavors must stop including Flatpak by default
WINE itself is undergoing some substantial internal changes, one goal of which is to support running 32-bit Windows apps on 64-bit operating systems. This isn't such a deal-breaker on Linux just yet – [19]Canonical changed its mind about dropping 32-bit libraries back in 2019, for instance. However, WINE also runs on macOS, and Apple dropped 32-bit app support in macOS 10.15 "Catalina" that same year. In time, Linux will surely follow.
WINE has to allow for this, and this is among the goals of WINE 8.0. Now that is out, work is under way on development versions. WINE development release [20]8.2 appeared on February 17, a step towards the future WINE 9. Arch Linux users can already try the [21]wine-wayland package.
[22]
Although one of the aims of this effort is to support Windows games on Linux systems, notably [23]Valve's Steam Deck handheld , this is another example of how games-oriented development can assist Linux users with no interest in video games.
WINE's Wayland support also helps run Google Chrome, which now runs with full hardware acceleration. Many apps embed Chrome to run JavaScript code, notably using Electron, which has caused [24]problems with Windows Defender . ®
Get our [25]Tech Resources
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/2275
[2] https://www.theregister.com/2023/02/03/wine_80_dxvk_21/
[3] https://www.theregister.com/2022/01/19/wine_7/
[4] https://www.theregister.com/2017/01/06/fedora_25_review/
[5] https://www.theregister.com/2021/09/22/xorg_server_21_1_0/
[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[7] https://www.youtube.com/watch?v=lZ-MK72Kyp8
[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[10] https://www.winehq.org/pipermail/wine-devel/2020-December/178575.html
[11] https://www.winehq.org/pipermail/wine-devel/2021-June/188412.html
[12] https://www.theregister.com/2015/03/03/here_comes_vulkan_the_next_generation_of_the_opengl_graphics_api/
[13] https://www.collabora.com/news-and-blog/blog/2021/12/22/wine-on-wayland-year-end-update-improved-functionality-stability/
[14] https://www.collabora.com/news-and-blog/news-and-events/wine-on-wayland-2022-updatye-more-games-more-apps-more-fun.html
[15] https://www.theregister.com/2023/02/27/flathub_app_store/
[16] https://www.theregister.com/2023/02/27/homebrew_version_4_is_here/
[17] https://www.theregister.com/2023/02/27/lomiri_desktop_on_debian/
[18] https://www.theregister.com/2023/02/23/ubuntu_remixes_drop_flatpak/
[19] https://www.theregister.com/2019/06/24/steam_wine_ubuntu_32_bit/
[20] https://www.winehq.org/announce/8.2
[21] https://github.com/varmd/wine-wayland
[22] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[23] https://www.theregister.com/2021/07/16/steam_deck_portable_gaming_pc/
[24] https://www.theregister.com/2022/09/05/windows_defender_chrome_false_positive/
[25] https://whitepapers.theregister.com/
Although the process [1]began last Friday, the introductory notes on the merge do say: "This is the first of (many) parts in the upstreaming of the Wayland driver for Wine." WINE 8.0 [2]came out just a month earlier so this functionality will take a while to make it into the mainstream. [3]WINE 7.0 appeared about one year earlier so this will probably appear in WINE 9.0 at the start of 2024.
Wayland is getting increasingly common: it's the default display server for most GNOME-based distros now. Ubuntu made it the default in version 21.04, and [4]Fedora way back in version 25 . However, most still include [5]the XWayland layer to support legacy X11 apps . So while WINE can run on Wayland-based distros right now, that only works via translation. The new code will make WINE talk directly to the new display server without going through this intermediary.
[6]
[7]Youtube Video
[8]
[9]
Collabora developer Alexander Frantzis has been working on the code for a little over two years, first [10]announcing it in December 2020. He [11]released a version with several significant features in June 2021, including support for [12]next-gen OpenGL replacement Vulkan , multiple monitors, and handling of HiDPI monitors.
For slightly less technical summaries and demo videos, Collabora published blog posts describing the [13]progress at the end of 2021, and a [14]second at the end of 2022.
[15]Linux app depot Flathub may offer paid-for software
[16]Pop open a cask: Homebrew version 4.0.0 is here
[17]Official: Lomiri desktop now runs on Debian
[18]By order of Canonical: Official Ubuntu flavors must stop including Flatpak by default
WINE itself is undergoing some substantial internal changes, one goal of which is to support running 32-bit Windows apps on 64-bit operating systems. This isn't such a deal-breaker on Linux just yet – [19]Canonical changed its mind about dropping 32-bit libraries back in 2019, for instance. However, WINE also runs on macOS, and Apple dropped 32-bit app support in macOS 10.15 "Catalina" that same year. In time, Linux will surely follow.
WINE has to allow for this, and this is among the goals of WINE 8.0. Now that is out, work is under way on development versions. WINE development release [20]8.2 appeared on February 17, a step towards the future WINE 9. Arch Linux users can already try the [21]wine-wayland package.
[22]
Although one of the aims of this effort is to support Windows games on Linux systems, notably [23]Valve's Steam Deck handheld , this is another example of how games-oriented development can assist Linux users with no interest in video games.
WINE's Wayland support also helps run Google Chrome, which now runs with full hardware acceleration. Many apps embed Chrome to run JavaScript code, notably using Electron, which has caused [24]problems with Windows Defender . ®
Get our [25]Tech Resources
[1] https://gitlab.winehq.org/wine/wine/-/merge_requests/2275
[2] https://www.theregister.com/2023/02/03/wine_80_dxvk_21/
[3] https://www.theregister.com/2022/01/19/wine_7/
[4] https://www.theregister.com/2017/01/06/fedora_25_review/
[5] https://www.theregister.com/2021/09/22/xorg_server_21_1_0/
[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[7] https://www.youtube.com/watch?v=lZ-MK72Kyp8
[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[10] https://www.winehq.org/pipermail/wine-devel/2020-December/178575.html
[11] https://www.winehq.org/pipermail/wine-devel/2021-June/188412.html
[12] https://www.theregister.com/2015/03/03/here_comes_vulkan_the_next_generation_of_the_opengl_graphics_api/
[13] https://www.collabora.com/news-and-blog/blog/2021/12/22/wine-on-wayland-year-end-update-improved-functionality-stability/
[14] https://www.collabora.com/news-and-blog/news-and-events/wine-on-wayland-2022-updatye-more-games-more-apps-more-fun.html
[15] https://www.theregister.com/2023/02/27/flathub_app_store/
[16] https://www.theregister.com/2023/02/27/homebrew_version_4_is_here/
[17] https://www.theregister.com/2023/02/27/lomiri_desktop_on_debian/
[18] https://www.theregister.com/2023/02/23/ubuntu_remixes_drop_flatpak/
[19] https://www.theregister.com/2019/06/24/steam_wine_ubuntu_32_bit/
[20] https://www.winehq.org/announce/8.2
[21] https://github.com/varmd/wine-wayland
[22] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Y-6HlzMY5QaPabjWwD7cigAAAMs&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[23] https://www.theregister.com/2021/07/16/steam_deck_portable_gaming_pc/
[24] https://www.theregister.com/2022/09/05/windows_defender_chrome_false_positive/
[25] https://whitepapers.theregister.com/
So much for browser independence
Anonymous Coward
"Many apps embed Chrome "
I think I would still regard Wayland as a work in progress, e.g. there can still be issues when working with multiple monitors although others have a more frank assessment:
"It will improve your performance. Next year. Or the year after that. Or maybe the year after that. If you have the right hardware. And the right desktop. On certain tasks with certain apps. Maybe. Depends on the alignment of the stars and the moon, and if Jupiter is in the 2nd house".