{"id":7557,"date":"2024-06-08T08:33:11","date_gmt":"2024-06-08T15:33:11","guid":{"rendered":"https:\/\/jasonsblog.ddns.net\/?p=7557"},"modified":"2024-10-10T10:02:32","modified_gmt":"2024-10-10T17:02:32","slug":"improve-vmware-workstation-pro-3d-performance-with-mozillas-firefox-repository-version","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2024\/06\/08\/improve-vmware-workstation-pro-3d-performance-with-mozillas-firefox-repository-version\/","title":{"rendered":"Improve VMware Workstation Pro 3D Performance with Mozilla&#8217;s Firefox Repository Version"},"content":{"rendered":"\n<p>As Broadcom has taken over VMware, they&#8217;re doing away with VMware Player while allowing everyone to use <a href=\"https:\/\/jasonsblog.ddns.net\/index.php\/2024\/05\/16\/vmware-pro-apps-are-now-free-for-personal-use-virtualization-for-windows-mac-and-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">VMware Workstation Pro free for personal use<\/a>. Unfortunately, this new version of Workstation is broken in running newer Linux distributions with 3D acceleration enabled. I&#8217;ve found that Debian 12 and Ubuntu 22.04 based distributions work well with 3D acceleration in VMware Workstation Pro version 17.5, but also of interest using the actual Mozilla compiled and optimized repository version of Firefox performs much better, especially watching YouTube videos full screen. For whatever reason the Linux Mint version of Firefox had issues, and with Debian 12 they use the ESR, Extended Support Release, version so with Mozilla&#8217;s repo you get the latest version. And Ubuntu uses a Firefox Snap package which is trash and you&#8217;ll want the official Mozilla DEB package. Of course you can run newer Linux distros without 3D acceleration in VMware, but the experience will be impacted. If you bought a license for VMware Workstation Pro, people <a href=\"https:\/\/www.reddit.com\/r\/vmware\/comments\/18nu159\/vmware_workstation_175_pro_major_issues_in\/\" target=\"_blank\" rel=\"noreferrer noopener\">are reverting to 17.0 from 17.5<\/a> (I think only 17.5 gives you the free personal use option). Consequently, my three virtual machines I&#8217;m using currently are Debian 12 KDE, Ubuntu 22.04 Gnome, and Linux Mint 21.3 Cinnamon, until Broadcom fixes VMware Workstation Pro 3D acceleration support. And with <a href=\"https:\/\/jasonsblog.ddns.net\/index.php\/2024\/03\/16\/what-is-the-xanmod-kernel\/\" target=\"_blank\" rel=\"noreferrer noopener\">Xanmod kernels<\/a> I can still easily run the latest kernels with all three distributions in VMware.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.omgubuntu.co.uk\/2022\/04\/how-to-install-firefox-deb-apt-ubuntu-22-04\">https:\/\/www.omgubuntu.co.uk\/2022\/04\/how-to-install-firefox-deb-apt-ubuntu-22-04<\/a><\/p>\n\n\n\n<p>Side note: I don&#8217;t care for these OMG sites, but they had a good write up that is easy to follow.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_6ad5bf9e-fe6c-44a0-87b9-cbb80460206c\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">How to Install Firefox as DEB on Ubuntu (Not Snap)<\/h3>\n\n\n\n<p>By Joey Sneddon<\/p>\n\n\n\n<p><strong>So you want to install Mozilla Firefox as a Deb package on <a href=\"https:\/\/www.omgubuntu.co.uk\/2022\/01\/ubuntu-22-04-release-features\">Ubuntu 22.04 LTS<\/a> (or above), not as a snap app.<\/strong><\/p>\n\n\n\n<p>No problem; in this guide I show you how using the official Mozilla APT repo.<\/p>\n\n\n\n<p>Firefox is the default web browser in Ubuntu but as of 2022 it\u2019s packaged as a snap app, with a traditional DEB version only available for users of Ubuntu 18.04 LTS and earlier.<\/p>\n\n\n\n<p>Worse, if you uninstall the Firefox snap and run <code>apt install firefox<\/code> assuming you will get a DEB version, you won\u2019t: that install a transition package that reinstalls the Firefox snap.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The Firefox Deb in the Ubuntu repos just reinstalls the Firefox Snap package\u2026<\/p>\n<\/blockquote>\n\n\n\n<p>Now, snap packages have plenty of pluses, including improved security, easy access to release channels, options to \u201cundo\u201d updates, less chance of package conflicts or missing dependencies, and more.<\/p>\n\n\n\n<p>But there are also drawbacks to using snaps.<\/p>\n\n\n\n<p>Depending on the software, features may not work in a sandbox; system integration may be lacking; startup times can seem slow; and you won\u2019t be able choose whether to install an update or not, as updates happen automatically, silently in the background.<\/p>\n\n\n\n<p>Although workarounds and fixes many of the issues above do exist (for example, Canonical has added new terminal commands to pause automatic updates for a set duration) the fact you need to scour the web for a solution is not ideal.<\/p>\n\n\n\n<p>So to install a Firefox Deb in Ubuntu 22.04 LTS and above, here\u2019s what you need to do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Firefox via Apt (Not Snap)<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/149366088.v2.pressablecdn.com\/wp-content\/uploads\/2022\/04\/apt-not-snap-firefox-ubuntu-2204.jpg\"><img decoding=\"async\" src=\"https:\/\/149366088.v2.pressablecdn.com\/wp-content\/uploads\/2022\/04\/apt-not-snap-firefox-ubuntu-2204.jpg\" alt=\"image showing a deb package with a tick, the firefox logo, and the snap app icon with a cross\" class=\"wp-image-248891\"\/><\/a><figcaption class=\"wp-element-caption\">Snap isn\u2019t the only way to get Firefox in Ubuntu<\/figcaption><\/figure>\n\n\n\n<p>With the release of <a href=\"https:\/\/www.omgubuntu.co.uk\/2024\/01\/firefox-122-released-with-official-deb\">Firefox 122<\/a> in January 2024 Mozilla announced its own dedicated APT repo for Debian-based distros (including Ubuntu). This contains new, stable releases of Firefox as a DEB package.<\/p>\n\n\n\n<p>To add the Mozilla APT repo you should use command line as it\u2019s the most efficient way (and the way Mozilla themselves recommend). You can add the repo using a GUI but it\u2019s a lengthy process and easier to \u2018mess up\u2019.<\/p>\n\n\n\n<p>You will also need to \u2018pin\u2019 the Firefox Deb package after installation. This will prevent Ubuntu\u2019s transition package from overwriting it to reinstall the Firefox snap.<\/p>\n\n\n\n<p><strong>Note:<\/strong> if you previously added the <a href=\"https:\/\/launchpad.net\/~mozillateam\/+archive\/ubuntu\/ppa\" target=\"_blank\" rel=\"noreferrer noopener\">Mozilla Team PPA<\/a> to install a Firefox Deb package you should disable or <a href=\"https:\/\/www.omgubuntu.co.uk\/2019\/12\/how-to-remove-ppa-ubuntu\">remove the PPA<\/a> to avoid package conflicts.<\/p>\n\n\n\n<p>Before you go ahead I suggest making a backup\/export of important browser settings, bookmarks, and other data from Firefox incase something goes wrong.<\/p>\n\n\n\n<p>When you\u2019re done:<\/p>\n\n\n\n<p><strong>Step 1<\/strong>: Uninstall the Firefox Snap:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo snap remove firefox<\/pre>\n\n\n\n<p><strong>Step 2<\/strong>: Create an APT keyring (if one doesn\u2019t already exist):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo install -d -m 0755 \/etc\/apt\/keyrings<\/pre>\n\n\n\n<p><strong>Step 3<\/strong>: Import the Mozilla APT repo signing key (if <code>wget<\/code> is missing install it first):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -q https:\/\/packages.mozilla.org\/apt\/repo-signing-key.gpg -O- | sudo tee \/etc\/apt\/keyrings\/packages.mozilla.org.asc &gt; \/dev\/null<\/pre>\n\n\n\n<p><strong>Step 4:<\/strong> Add the Mozilla signing key to your sources.list:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb [signed-by=\/etc\/apt\/keyrings\/packages.mozilla.org.asc] https:\/\/packages.mozilla.org\/apt mozilla main\" | sudo tee -a \/etc\/apt\/sources.list.d\/mozilla.list &gt; \/dev\/null<\/pre>\n\n\n\n<p><strong>Step 5:<\/strong> Set the Firefox package priority to ensure Mozilla\u2019s Deb version is <em>always<\/em> preferred. If you don\u2019t do this the Ubuntu transition package could replace it, reinstalling the Firefox Snap:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo '\nPackage: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n' | sudo tee \/etc\/apt\/preferences.d\/mozilla<\/pre>\n\n\n\n<p><strong>Step 6<\/strong>: Finally, install the Firefox DEB in Ubuntu:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update &amp;&amp; sudo apt install firefox<\/pre>\n\n\n\n<p><strong>Step 7 (Optional):<\/strong> To use a localised version of Firefox (i.e. the UI in a language other than American English) you need to install the corresponding language package, e.g., for French:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install firefox-l10n-fr<\/pre>\n\n\n\n<p>You can see a list of all available language packs by running&nbsp;<code>apt-cache search firefox-l10n<\/code>.<\/p>\n\n\n\n<p>Once you\u2019ve installed everything open the app launcher, click the Mozilla Firefox icon to open your new non-Snap Firefox build, and away you go. Pin the icon to the Ubuntu Dock if you need to.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sidenotes\u2026<\/h3>\n\n\n\n<p>Keep in mind that any bugs, missing features, and missing system integrations with the Firefox snap package (like the ones affecting 3rd-party password managers) are being addressed by Ubuntu developers, so consider hanging tight for a solution.<\/p>\n\n\n\n<p>Otherwise, roll with the Deb as detailed above.<\/p>\n\n\n\n<p>Some of you have asked me how to replace the Firefox Snap with a Deb version (you can also download, move, and link to the Firefox binary as an alternative) but this method feels like the best solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As Broadcom has taken over VMware, they&#8217;re doing away with VMware Player while allowing everyone to use VMware Workstation Pro free for personal use. Unfortunately, this new version of Workstation is broken in running newer Linux distributions with 3D acceleration enabled. I&#8217;ve found that Debian 12 and Ubuntu 22.04 based distributions work well with 3D [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-7557","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":[],"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/7557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=7557"}],"version-history":[{"count":9,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/7557\/revisions"}],"predecessor-version":[{"id":8784,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/7557\/revisions\/8784"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=7557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=7557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=7557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}