<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Firefox on slash-root.fr</title><link>https://beta.slash-root.fr/tags/firefox/</link><description>Recent content in Firefox on slash-root.fr</description><generator>Hugo -- gohugo.io</generator><language>fr-fr</language><lastBuildDate>Tue, 01 Feb 2022 08:29:34 +0100</lastBuildDate><atom:link href="https://beta.slash-root.fr/tags/firefox/index.xml" rel="self" type="application/rss+xml"/><item><title>Pop!_OS 21.10 : Fix transparent Firefox with Integrated Graphics</title><link>https://beta.slash-root.fr/pop_os-21-10-fix-transparent-firefox-with-integrated-graphics/</link><pubDate>Tue, 01 Feb 2022 08:29:34 +0100</pubDate><guid>https://beta.slash-root.fr/pop_os-21-10-fix-transparent-firefox-with-integrated-graphics/</guid><description>&lt;img src="https://beta.slash-root.fr/pop_os-21-10-fix-transparent-firefox-with-integrated-graphics/cover.png" alt="Featured image of post Pop!_OS 21.10 : Fix transparent Firefox with Integrated Graphics" /&gt;&lt;h2 id="contexte"&gt;&lt;a href="#contexte" class="header-anchor"&gt;&lt;/a&gt;Contexte
&lt;/h2&gt;&lt;p&gt;Mon laptop sous Pop!_OS 21.10 possède 2 GPUs :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1 dédié NVIDIA&lt;/li&gt;
&lt;li&gt;1 intégré INTEL&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Lorsque je suis en mode graphique &lt;code&gt;Nvidia&lt;/code&gt; ou &lt;code&gt;Hybrid&lt;/code&gt;, mon navigateur Firefox se lance correctement.&lt;/p&gt;
&lt;p&gt;Par contre, lorsque je suis en mode graphique &lt;code&gt;Integrated&lt;/code&gt; (donc avec exclusivement mon GPU Intel), Firefox se lance 2 fois sur 3 avec une fenètre transparente :&lt;/p&gt;
&lt;p&gt;&lt;img data-recalc-dims="1" decoding="async" src="firefox_transparent.png" alt="firefox_transparent" /&gt;&lt;/p&gt;
&lt;h2 id="cause"&gt;&lt;a href="#cause" class="header-anchor"&gt;&lt;/a&gt;Cause
&lt;/h2&gt;&lt;p&gt;Cela est dû au non chargement des librairies ICD nécessaires pour l'IGPU.&lt;/p&gt;
&lt;h2 id="correctif"&gt;&lt;a href="#correctif" class="header-anchor"&gt;&lt;/a&gt;Correctif
&lt;/h2&gt;&lt;p&gt;Pour corriger cela, j'ai ajouté les lignes suivantes dans mon fichier &lt;code&gt;~/.profile&lt;/code&gt; :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# fix firefox in integrated graphics&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;if&lt;/span&gt; ! grep -w -q nvidia &amp;lt;&lt;span style="color:#f92672"&gt;(&lt;/span&gt;lsmod&lt;span style="color:#f92672"&gt;)&lt;/span&gt; ; &lt;span style="color:#66d9ef"&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; export __EGL_VENDOR_LIBRARY_FILENAMES&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;/usr/share/glvnd/egl_vendor.d/50_mesa.json&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Puis, j'ai déconnecté et reconnecté mon utilisateur.&lt;/p&gt;
&lt;p&gt;Maintenant, le problème est corrigé. Firefox se lance désormais correctement lorsque mon laptop fonctionne uniquement sur l'iGPU.&lt;/p&gt;</description></item></channel></rss>