{"id":200590,"date":"2020-09-18T09:59:41","date_gmt":"2020-09-18T01:59:41","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=200590"},"modified":"2020-09-08T11:01:08","modified_gmt":"2020-09-08T03:01:08","slug":"linux-display-server","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-display-server.html","title":{"rendered":"Linux\u9ed1\u8bdd\u4f60\u77e5\u9053\u5417\uff1f\u5565\u662f\u663e\u793a\u670d\u52a1\u5668"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728 Linux \u76f8\u5173\u7684\u6587\u7ae0\u3001\u65b0\u95fb\u548c\u8ba8\u8bba\u4e2d\uff0c\u4f60\u4f1a\u7ecf\u5e38\u9047\u5230\u663e\u793a\u670d\u52a1\u5668display server\u3001Xorg\u3001Wayland \u7b49\u540d\u8bcd\u3002\u5728\u8fd9\u7bc7\u89e3\u91ca\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u8ba8\u8bba Linux \u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668\u3002
\n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u5728 Linux \u76f8\u5173\u7684\u6587\u7ae0\u3001\u65b0\u95fb\u548c\u8ba8\u8bba\u4e2d\uff0c\u4f60\u4f1a\u7ecf\u5e38\u9047\u5230\u663e\u793a\u670d\u52a1\u5668display server\u3001Xorg\u3001Wayland \u7b49\u540d\u8bcd\u3002<\/p>\n

\u5728\u8fd9\u7bc7\u89e3\u91ca\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u8ba8\u8bba Linux \u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u4ec0\u4e48\u662f\u663e\u793a\u670d\u52a1\u5668\uff1f<\/strong><\/div>\n

\u663e\u793a\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u8d1f\u8d23\u534f\u8c03\u5176\u5ba2\u6237\u7aef\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5176\u4ed6\u90e8\u5206\u4e4b\u95f4\uff0c\u4ee5\u53ca\u786c\u4ef6\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u8f93\u5165\u548c\u8f93\u51fa\u3002\u57fa\u672c\u4e0a\uff0c\u591a\u4e8f\u4e86\u663e\u793a\u670d\u52a1\u5668\uff0c\u4f60\u624d\u80fd\u4ee5\u56fe\u5f62\u5316\u7684\u65b9\u5f0f\u4f7f\u7528\u4f60\u7684\u8ba1\u7b97\u673a\uff08GUI\uff09\u3002\u5982\u679c\u6ca1\u6709\u663e\u793a\u670d\u52a1\u5668\uff0c\u4f60\u53ea\u80fd\u5c40\u9650\u4e8e\u547d\u4ee4\u884c\u754c\u9762\uff08TTY\uff09\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u63d0\u4f9b\u4e86\u4e00\u4e2a\u56fe\u5f62\u73af\u5883\u7684\u6846\u67b6\uff0c\u4f7f\u4f60\u53ef\u4ee5\u4f7f\u7528\u9f20\u6807\u548c\u952e\u76d8\u4e0e\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u901a\u8fc7\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\uff08\u5982 X11\uff09\u4e0e\u5ba2\u6237\u7aef\u8fdb\u884c\u901a\u4fe1\u3002\u663e\u793a\u670d\u52a1\u5668\u662f\u56fe\u5f62\u7528\u6237\u754c\u9762 \u2014\u2014 \u7279\u522b\u662f\u7a97\u53e3\u7cfb\u7edf \u2014\u2014 \u4e2d\u7684\u4e00\u4e2a\u5173\u952e\u7ec4\u4ef6\u3002<\/p>\n

\u4e0d\u8981\u628a\u663e\u793a\u670d\u52a1\u5668\u548c\u684c\u9762\u73af\u5883\u6df7\u6dc6\u3002\u684c\u9762\u73af\u5883\u7684\u4e0b\u5c42\u4f7f\u7528\u7684\u662f\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u542c\u8d77\u6765\u5f88\u719f\u6089\uff0c\u4f46\u53c8\u4e0d\u5b8c\u5168\u6e05\u695a\uff1f\u8ba9\u6211\u6765\u89e3\u91ca\u4e00\u4e0b\u3002<\/p>\n

Linux \u4e0a\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae<\/strong><\/div>\n

Linux \u4e2d\u6709\u4e09\u79cd\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\uff0c\u5206\u522b\u662f X11\u3001Wayland \u548c Mir\u3002\u4e0b\u9762\u6211\u5c31\u7ed9\u5927\u5bb6\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u8fd9\u4e9b\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

X11<\/strong><\/span><\/div>\n

X11\uff08\u4e5f\u79f0 X\uff09\u662f\u5df2\u7ecf\u5b58\u5728\u591a\u5e74\u7684\u4f20\u7edf\u663e\u793a\u670d\u52a1\u5668\u3002\u5b83\u662f Linux \u53d1\u884c\u7248\u4e2d\u6700\u5e38\u7528\u7684\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\"\"<\/p>\n

X \u67b6\u6784<\/strong><\/span><\/div>\n

X11 \u901a\u4fe1\u534f\u8bae\uff0c\u4f7f\u7528\u663e\u793a\u670d\u52a1\u5668 X.org \u670d\u52a1\u5668\u3002\u5b83\u63a5\u6536\u6765\u81ea\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u7684\u8f93\u5165\u4e8b\u4ef6\uff0c\u5e76\u5c06\u5b83\u4eec\u63d0\u4f9b\u7ed9\u5b83\u7684\u4e00\u4e2a\u5ba2\u6237\u7aef\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u4e5f\u4ece\u5ba2\u6237\u7aef\u63a5\u6536\u6570\u636e\uff0c\u5b83\u5904\u7406\u6570\u636e\u5e76\u8fdb\u884c\u5408\u6210\uff0c\u5728 Linux \u4e0a\uff0c\u5b83\u5c06\u6570\u636e\u4f20\u9012\u7ed9\u4e09\u4e2a\u5185\u6838\u7ec4\u4ef6\u4e4b\u4e00\uff1aDRM\u3001gem \u6216 KMS \u9a71\u52a8\u3002<\/p>\n

X.Org \u670d\u52a1\u5668\u662f\u4e00\u4e2a\u663e\u793a\u670d\u52a1\u5668\uff0c\u5b83\u4f9d\u9760\u7b2c\u4e8c\u4e2a\u7a0b\u5e8f\uff1a\u5408\u6210\u7a97\u53e3\u7ba1\u7406\u5668\uff0c\u6765\u8fdb\u884c\u5408\u6210\u3002\u4f8b\u5982 Mutter \u6216 KWin\u3002GNOME \u4f7f\u7528\u7684\u662f Mutter\u3002<\/p>\n

Wayland<\/strong><\/span><\/div>\n

\u6309\u7167\u5176\u7f51\u7ad9\u7684\u8bf4\u6cd5\uff0cWayland \u201c\u65e8\u5728\u4f5c\u4e3a X \u7684\u66f4\u7b80\u5355\u7684\u66ff\u4ee3\u54c1\uff0c\u66f4\u5bb9\u6613\u5f00\u53d1\u548c\u7ef4\u62a4\u201d\u3002<\/p>\n

\u800c\u4e8b\u5b9e\u4e0a Wayland \u5c31\u662f\u73b0\u4ee3\u7684\u663e\u793a\u670d\u52a1\u5668\uff0c\u5b83\u5e94\u8be5\u53d6\u4ee3\u4f20\u7edf\u7684 X \u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u5bf9\u5b83\u7684\u91c7\u7528\u8fd8\u5728\u666e\u53ca\u4e2d\u3002Ubuntu \u66fe\u8bd5\u56fe\u5728 17.10 \u7248\u672c\u4e2d\u6539\u7528 Wayland \u4f5c\u4e3a\u9ed8\u8ba4\u7684\u663e\u793a\u670d\u52a1\u5668\uff0c\u4f46\u8fd9\u4e2a\u5c1d\u8bd5\u906d\u5230\u4e86\u8d1f\u9762\u53cd\u9988\u3002<\/p>\n

\u5f88\u591a GUI \u5e94\u7528\u7a0b\u5e8f\u53ca\u5176\u6846\u67b6\u90fd\u4f9d\u8d56\u4e8e X \u670d\u52a1\u5668\u3002\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u5728 Wayland \u4e0a\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n

\u8fd9\u8feb\u4f7f Ubuntu \u7ee7\u7eed\u4f7f\u7528 X \u4f5c\u4e3a\u9ed8\u8ba4\u663e\u793a\u670d\u52a1\u5668\u3002\u5b83\u4ecd\u7136\u63d0\u4f9b\u4e86\u4f7f\u7528 Wayland \u7684\u9009\u9879\uff0c\u4f46\u4e0d\u518d\u662f\u9ed8\u8ba4\u7684\u4e86\u3002<\/p>\n

\u5373\u4f7f\u5728\u4eca\u5929\uff0c\u7edd\u5927\u591a\u6570\u7684\u53d1\u884c\u7248\u90fd\u9ed8\u8ba4\u4f7f\u7528 X \u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

Wayland \u67b6\u6784<\/strong><\/span><\/div>\n

\u5b9e\u65bd Wayland \u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\u7684\u663e\u793a\u670d\u52a1\u5668\uff0c\u88ab\u79f0\u4e3a Wayland \u5408\u6210\u5668\u3002\u548c X11 \u4e0a\u7684\u4e00\u6837\uff0cWayland \u5408\u6210\u5668\u8d1f\u8d23\u5904\u7406\u5176\u5ba2\u6237\u7aef\u7684\u8f93\u5165\u548c\u8f93\u51fa\uff0c\u4f46\u540c\u65f6\u4e5f\u8fdb\u884c\u5408\u6210\uff0c\u8fd9\u4e0e X11 \u76f8\u53cd\u3002<\/p>\n

\u51e0\u4e2a Wayland \u5408\u6210\u5668\u662f Weston\u3001Mutter\u3001KWin \u6216 Enlightenment\u3002<\/p>\n

\"\"<\/p>\n

Mir<\/strong><\/span><\/div>\n

Mir \u663e\u793a\u670d\u52a1\u5668\u81ea\u5e26\u7684 Mir \u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\uff0c\u4e0e X11 \u548c Wayland \u4f7f\u7528\u7684\u534f\u8bae\u4e0d\u540c\u3002\u5b83\u662f\u7531 Canonical \u5f00\u53d1\u7684\uff0c\u4f5c\u4e3a Unity \u5f00\u53d1\u7684\u4e00\u90e8\u5206\uff0c\u6253\u7b97\u6210\u4e3a Ubuntu \u7684\u9996\u9009\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u4f46\u5728 2017 \u5e74\uff0c\u5b83\u5df2\u7ecf\u88ab [Ubuntu] \u684c\u9762\u7248\u7684 Wayland \u663e\u793a\u670d\u52a1\u5668\u6240\u53d6\u4ee3\uff0c\u4e0d\u8fc7 Mir \u7684\u5f00\u53d1\u8fd8\u5728\u7ee7\u7eed\uff0c\u7528\u4e8e\u7269\u8054\u7f51\uff08IoT\uff09\u5e94\u7528\u3002<\/p>\n

\u4e3a\u4ec0\u4e48\u6211\u4eec\u8fd8\u5728\u4f7f\u7528 Xorg\uff1f<\/strong><\/span><\/div>\n

Wayland \u4f5c\u4e3a\u6bd4\u8f83\u65b0\u7684\u4ea7\u54c1\uff0c\u76f8\u6bd4 Xorg \u6765\u8bf4\uff0c\u8fd8\u4e0d\u662f\u5f88\u7a33\u5b9a\u3002\u4f5c\u4e3a\u5ba2\u6237\u7aef\u7684\u7a0b\u5e8f\uff0c\u5fc5\u987b\u77e5\u9053\u5982\u4f55\u4e0e\u663e\u793a\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n

\u56e0\u6b64\uff0c\u5f88\u591a\u7a0b\u5e8f\u5728\u4f7f\u7528 Wayland \u65f6\u53ef\u80fd\u65e0\u6cd5\u8fd0\u884c\u3002Ubuntu \u9ed8\u8ba4\u5207\u6362\u5230 Wayland \u7684\u5b9e\u9a8c\u8bc1\u5b9e\u4e86\u8fd9\u4e00\u70b9\u3002<\/p>\n

\u7ed3\u675f\u8bed<\/strong><\/div>\n

\u6211\u5e0c\u671b\u4f60\u5bf9 Linux \u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668\u6982\u5ff5\u6709\u4e86\u66f4\u597d\u7684\u7406\u89e3\u3002\u6211\u5df2\u7ecf\u5c3d\u91cf\u4e0d\u8c08\u592a\u591a\u7684\u6280\u672f\u7ec6\u8282\uff0c\u4f46\u6211\u65e0\u6cd5\u5b8c\u5168\u907f\u514d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728 Linux \u76f8\u5173\u7684\u6587\u7ae0\u3001\u65b0\u95fb\u548c\u8ba8\u8bba\u4e2d\uff0c\u4f60\u4f1a\u7ecf\u5e38\u9047\u5230\u663e\u793a\u670d\u52a1\u5668display server\u3001Xorg\u3001Way […]<\/p>\n","protected":false},"author":317,"featured_media":200595,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-200590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/200590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/317"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=200590"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/200590\/revisions"}],"predecessor-version":[{"id":200596,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/200590\/revisions\/200596"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/200595"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=200590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=200590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=200590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}