{"id":144011,"date":"2022-11-30T14:42:05","date_gmt":"2022-11-30T14:42:05","guid":{"rendered":"https:\/\/harchi90.com\/sdl-tries-again-to-prefer-wayland-over-x11\/"},"modified":"2022-11-30T14:42:05","modified_gmt":"2022-11-30T14:42:05","slug":"sdl-tries-again-to-prefer-wayland-over-x11","status":"publish","type":"post","link":"https:\/\/harchi90.com\/sdl-tries-again-to-prefer-wayland-over-x11\/","title":{"rendered":"SDL Tries Again To Prefer Wayland Over X11"},"content":{"rendered":"

Black Friday \/ Cyber \u200b\u200bMonday Deal – Show Your Support For Phoronix –<\/strong> the Phoronix Premium holiday special<\/strong> is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help offset the unfortunate impact of ad-blocking so that Phoronix can continue providing daily open-source news and Linux hardware reviews.<\/p>\n

\n
<\/div>\n

At the start of the year SDL attempted to prefer Wayland over X.Org\/X11 thanks to the maturing Wayland support for this widely-used software\/hardware abstraction layer by numerous cross-platform games. But that change was later reverted over ecosystem challenges around Wayland. Now as we approach the end of the year, SDL is again trying to prefer Wayland over X11.<\/p>\n

Ethan Lee has re-merged the change to prefer Wayland over X11, when the SDL library is built with Wayland support enabled. The hope is now that the SDL code and the broader Wayland driver \/ compositor \/ associated ecosystem code is more mature and good enough to have it be used by default rather than going the X11\/XWayland route. Of course, some games may still have hard X11 dependencies to deal with on their own.<\/p>\n

<\/p>\n

The change has been merged to SDL mainline Git. SDL Git is where SDL3 development has now kicked off.<\/p>\n

This change of Wayland over X11 by default is a nice change for the breaking SDL 3.0 release, which is where a lot of old\/obsolete code is being removed, API improvements, possible PipeWire by default, and other significant changes are being made for SDL3 as what will be a big modernization upgrade over the very successful SDL2.<\/p>\n<\/div>\n

.<\/p>\n","protected":false},"excerpt":{"rendered":"

Black Friday \/ Cyber \u200b\u200bMonday Deal – Show Your Support For Phoronix – the Phoronix Premium holiday special is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help offset the unfortunate impact of …<\/p>\n

SDL Tries Again To Prefer Wayland Over X11<\/span> Read More »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[1111,1110,1108,1107,1114,1112,1109,1113,1106,1117,1115,1116],"jetpack_publicize_connections":[],"yoast_head":"\nSDL Tries Again To Prefer Wayland Over X11 - harchi90<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SDL Tries Again To Prefer Wayland Over X11 - harchi90\" \/>\n<meta property=\"og:description\" content=\"Black Friday \/ Cyber \u200b\u200bMonday Deal – Show Your Support For Phoronix – the Phoronix Premium holiday special is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help offset the unfortunate impact of … SDL Tries Again To Prefer Wayland Over X11 Read More »\" \/>\n<meta property=\"og:url\" content=\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5\" \/>\n<meta property=\"og:site_name\" content=\"harchi90\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-30T14:42:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.phoronix.net\/image.php?id=2022&image=sdl3_wayland_default\" \/>\n<meta name=\"author\" content=\"islamlacoste58\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.phoronix.net\/image.php?id=2022&image=sdl3_wayland_default\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"islamlacoste58\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/harchi90.com\/sdl-tries-again-to-prefer-wayland-over-x11\/\",\"url\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5\",\"name\":\"SDL Tries Again To Prefer Wayland Over X11 - harchi90\",\"isPartOf\":{\"@id\":\"https:\/\/harchi90.com\/#website\"},\"datePublished\":\"2022-11-30T14:42:05+00:00\",\"dateModified\":\"2022-11-30T14:42:05+00:00\",\"author\":{\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b\"},\"breadcrumb\":{\"@id\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/harchi90.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SDL Tries Again To Prefer Wayland Over X11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/harchi90.com\/#website\",\"url\":\"https:\/\/harchi90.com\/\",\"name\":\"harchi90\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/harchi90.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b\",\"name\":\"islamlacoste58\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/harchi90.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g\",\"caption\":\"islamlacoste58\"},\"sameAs\":[\"http:\/\/harchi90.com\"],\"url\":\"https:\/\/harchi90.com\/author\/islamlacoste58\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SDL Tries Again To Prefer Wayland Over X11 - harchi90","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5","og_locale":"en_US","og_type":"article","og_title":"SDL Tries Again To Prefer Wayland Over X11 - harchi90","og_description":"Black Friday \/ Cyber \u200b\u200bMonday Deal – Show Your Support For Phoronix – the Phoronix Premium holiday special is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help offset the unfortunate impact of … SDL Tries Again To Prefer Wayland Over X11 Read More »","og_url":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5","og_site_name":"harchi90","article_published_time":"2022-11-30T14:42:05+00:00","og_image":[{"url":"https:\/\/www.phoronix.net\/image.php?id=2022&image=sdl3_wayland_default"}],"author":"islamlacoste58","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.phoronix.net\/image.php?id=2022&image=sdl3_wayland_default","twitter_misc":{"Written by":"islamlacoste58","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/harchi90.com\/sdl-tries-again-to-prefer-wayland-over-x11\/","url":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5","name":"SDL Tries Again To Prefer Wayland Over X11 - harchi90","isPartOf":{"@id":"https:\/\/harchi90.com\/#website"},"datePublished":"2022-11-30T14:42:05+00:00","dateModified":"2022-11-30T14:42:05+00:00","author":{"@id":"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b"},"breadcrumb":{"@id":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/news.google.com\/__i\/rss\/rd\/articles\/CBMiPGh0dHBzOi8vd3d3LnBob3Jvbml4LmNvbS9uZXdzL1NETC0zLjAtV2F5bGFuZC1EZWZhdWx0LVByZWZlctIBAA?oc=5#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/harchi90.com\/"},{"@type":"ListItem","position":2,"name":"SDL Tries Again To Prefer Wayland Over X11"}]},{"@type":"WebSite","@id":"https:\/\/harchi90.com\/#website","url":"https:\/\/harchi90.com\/","name":"harchi90","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/harchi90.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/harchi90.com\/#\/schema\/person\/0689156e87fbe869f0e5efdeef200d5b","name":"islamlacoste58","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harchi90.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bf7491076e3822b8e0de7b1f9364d75?s=96&d=mm&r=g","caption":"islamlacoste58"},"sameAs":["http:\/\/harchi90.com"],"url":"https:\/\/harchi90.com\/author\/islamlacoste58\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":141237,"url":"https:\/\/harchi90.com\/sway-1-8-rc1-wayland-compositor-brings-more-secure-screen-lockers-improved-vulkan-code\/","url_meta":{"origin":144011,"position":0},"title":"Sway 1.8-rc1 Wayland Compositor Brings More Secure Screen Lockers, Improved Vulkan Code","date":"November 27, 2022","format":false,"excerpt":"Black Friday \/ Cyber \u200b\u200bMonday Deal - Show Your Support For Phoronix - the Phoronix Premium holiday special is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":140741,"url":"https:\/\/harchi90.com\/kde-ending-out-november-with-ui-improvements-more-plasma-wayland-fixes\/","url_meta":{"origin":144011,"position":1},"title":"KDE Ending Out November With UI Improvements, More Plasma Wayland Fixes","date":"November 27, 2022","format":false,"excerpt":"Black Friday \/ Cyber \u200b\u200bMonday Deal - Show Your Support For Phoronix - the Phoronix Premium holiday special is running now through the end of November. Phoronix Premium allows you to enjoy the site ad-free, multi-page articles on a single page, and other benefits. Your support is needed to help\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126288,"url":"https:\/\/harchi90.com\/mpv-0-35-media-player-released-with-pipewire-backend-wayland-dma-buf-support\/","url_meta":{"origin":144011,"position":2},"title":"MPV 0.35 Media Player Released With PipeWire Backend, Wayland DMA-BUF Support","date":"November 12, 2022","format":false,"excerpt":"MPV as the popular open-source media player forked from MPlayer\/mplayer2 and leveraging the FFmpeg library is out with its newest feature release. MPV 0.35 brings Meson build system support, \"vo_gpu_next\" as a new libplacebo-based renderer, a PipeWire audio back-end for native PipeWire support, support on X.Org for the X11 Present\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":119502,"url":"https:\/\/harchi90.com\/lxqt-1-2-released-with-preliminary-wayland-session-support\/","url_meta":{"origin":144011,"position":3},"title":"LXQt 1.2 Released With Preliminary Wayland Session Support","date":"November 6, 2022","format":false,"excerpt":"We Need Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":139041,"url":"https:\/\/harchi90.com\/wayland-protocol-finally-ready-for-fractional-scaling\/","url_meta":{"origin":144011,"position":4},"title":"Wayland Protocol Finally Ready For Fractional Scaling","date":"November 25, 2022","format":false,"excerpt":"After many months of work, the wp-fractional-scale-v1 protocol for Wayland is set to be merged imminently for fractional scaling support. The wp-fractional-scale-v1 protocol allows for clients to communicate fractional scaling of surfaces with the compositor. Paired with the wp_viewport protocol can be used for providing a nice fractional scaling implementation\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":135371,"url":"https:\/\/harchi90.com\/wayland-protocols-1-30-introduces-new-protocol-to-allow-screen-tearing\/","url_meta":{"origin":144011,"position":5},"title":"Wayland Protocols 1.30 Introduces New Protocol To Allow Screen Tearing","date":"November 22, 2022","format":false,"excerpt":"In the early days of Wayland one of the main driving points for this alternative to the X.Org Server was that \"every frame perfect\" and would forego screen tearing among other rendering impurities. Introduced now with Wayland Protocols 1.30 though is a new staging protocol to allow screen tearing. Wayland\u2026","rel":"","context":"In "Technology"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=2022&image=sdl3_wayland_default","_links":{"self":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/144011"}],"collection":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/comments?post=144011"}],"version-history":[{"count":0,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/posts\/144011\/revisions"}],"wp:attachment":[{"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/media?parent=144011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/categories?post=144011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harchi90.com\/wp-json\/wp\/v2\/tags?post=144011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}