{"id":282,"date":"2024-05-23T22:11:27","date_gmt":"2024-05-23T14:11:27","guid":{"rendered":"https:\/\/guoyunhe.me\/en\/?p=282"},"modified":"2024-05-27T09:13:18","modified_gmt":"2024-05-27T01:13:18","slug":"fix-tomb-raider-crash-on-linux","status":"publish","type":"post","link":"https:\/\/guoyunhe.me\/en\/2024\/05\/23\/fix-tomb-raider-crash-on-linux\/","title":{"rendered":"Fix Tomb Raider Crash on Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The latest Tomb Raider titles (Tomb Raider, Raise of the Tomb Raider, Shadow of the Tomb Raider) can crash on latest Linux distros. The reason is that nowadays, <strong>pipewire<\/strong> replaced <strong>pulseaudio<\/strong> as the default audio back-end.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_87_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/guoyunhe.me\/en\/2024\/05\/23\/fix-tomb-raider-crash-on-linux\/#Install_pulseaudio\" >Install pulseaudio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/guoyunhe.me\/en\/2024\/05\/23\/fix-tomb-raider-crash-on-linux\/#Fix_libraries_folder\" >Fix libraries folder<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_pulseaudio\"><\/span>Install pulseaudio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tomb Raider games were ported to Linux when pipewire isn't a thing yet. So they rely on pulseaudio API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, latest GNU\/Linux distros have switched to pipewire for better sandbox and lower latency. Though pipewire provides some compatible layer for pulseaudio, the implementation is not perfect enough to run some apps and games.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix the crash, simply install pulseaudio to replace pipewire. Take openSUSE as an example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo zypper install pulseaudio libjack0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then reboot your system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This should Raise of the Tomb Raider. But the other two games require extra fixes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fix_libraries_folder\"><\/span>Fix libraries folder<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy the game!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"506\" src=\"https:\/\/guoyunhe.me\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/shadow-of-the-tomb-raider-900x506.jpg\" alt=\"\" class=\"wp-image-283\" srcset=\"https:\/\/guoyunhe.me\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/shadow-of-the-tomb-raider-900x506.jpg 900w, https:\/\/guoyunhe.me\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/shadow-of-the-tomb-raider-600x338.jpg 600w, https:\/\/guoyunhe.me\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/shadow-of-the-tomb-raider-768x432.jpg 768w, https:\/\/guoyunhe.me\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/shadow-of-the-tomb-raider.jpg 1200w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The latest Tomb Raider titles (Tomb Raider, Raise of the Tomb Raider, Shadow of the Tomb Raider) can crash on latest Linux distros. The reason is that nowadays, pipewire replaced pulseaudio as the default audio back-end. Install pulseaudio Tomb Raider games were ported to Linux when pipewire isn't a thing yet. So they rely on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":283,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-282","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/comments?post=282"}],"version-history":[{"count":5,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/posts\/282\/revisions\/288"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/media\/283"}],"wp:attachment":[{"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/categories?post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guoyunhe.me\/en\/wp-json\/wp\/v2\/tags?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}