<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.squi.fr/index.php?action=history&amp;feed=atom&amp;title=Optimus</id>
	<title>Optimus - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.squi.fr/index.php?action=history&amp;feed=atom&amp;title=Optimus"/>
	<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Optimus&amp;action=history"/>
	<updated>2026-06-12T03:07:37Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2532&amp;oldid=prev</id>
		<title>Justine : /* Avec Gamescope */</title>
		<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2532&amp;oldid=prev"/>
		<updated>2024-06-15T09:34:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Avec Gamescope&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 15 juin 2024 à 09:34&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Ligne 16 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 16 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Avec Gamescope ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Avec Gamescope ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* https://github.com/ValveSoftware/gamescope/issues/498&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note : ça ne fonctionne pas, chez moi en tout cas.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gamescope peut poser des soucis dans ce genre de configuration, il faut lui préciser via le driver mesa quel GPU utiliser. Pour ça on utilise des variables d&amp;#039;environnement. Au préalable, on va récupérer quelques informations. Lancer:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Gamescope peut poser des soucis dans ce genre de configuration, il faut lui préciser via le driver mesa quel GPU utiliser. Pour ça on utilise des variables d&amp;#039;environnement. Au préalable, on va récupérer quelques informations. Lancer:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Justine</name></author>
	</entry>
	<entry>
		<id>https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2531&amp;oldid=prev</id>
		<title>Justine le 15 juin 2024 à 09:19</title>
		<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2531&amp;oldid=prev"/>
		<updated>2024-06-15T09:19:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 15 juin 2024 à 09:19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Ligne 11 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 11 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sous Wayland en 2024, c&amp;#039;est plutôt bien géré : il n&amp;#039;y a pas grand-chose à faire, Steam choisissant tout seul le GPU NVidia pour lancer les jeux. Cependant, on peut avoir quelques déconvenues.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sous Wayland en 2024, c&amp;#039;est plutôt bien géré : il n&amp;#039;y a pas grand-chose à faire, Steam choisissant tout seul le GPU NVidia pour lancer les jeux. Cependant, on peut avoir quelques déconvenues.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Envycontrol : un script user-friendly de sélection du &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;périphérique &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Envycontrol : un script user-friendly de sélection du &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;GPU &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/bayasdev/envycontrol/ Envycontrol] est disponible dans le AUR ou sur Github. Il permet de choisir simplement son GPU, voir son aide.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/bayasdev/envycontrol/ Envycontrol] est disponible dans le AUR ou sur Github. Il permet de choisir simplement son GPU, voir son aide&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Il peut être particulièrement utile pour désactiver le GPU dédié d&#039;un PC portable afin d&#039;économiser de la batterie, par exemple&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Avec Gamescope ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Avec Gamescope ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Justine</name></author>
	</entry>
	<entry>
		<id>https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2529&amp;oldid=prev</id>
		<title>Justine : Page créée avec « = Optimus : utiliser deux GPU =  Liens :  * https://wiki.archlinux.org/title/Gamescope * https://wiki.archlinux.org/title/PRIME * https://wiki.archlinux.org/title/NVIDIA_Optimus * https://docs.mesa3d.org/envvars.html  Pour une raison ou pour une autre, on peut vouloir utiliser deux GPU sous Linux. Dans mon cas, j&#039;utilise le GPU Radeon intégré à mon processeur pour le bureau et le GPU Nvidia dédié pour les jeux vidéo.   Sous Wayland en 2024, c&#039;est plutôt bi... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.squi.fr/index.php?title=Optimus&amp;diff=2529&amp;oldid=prev"/>
		<updated>2024-06-15T09:17:42Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « = Optimus : utiliser deux GPU =  Liens :  * https://wiki.archlinux.org/title/Gamescope * https://wiki.archlinux.org/title/PRIME * https://wiki.archlinux.org/title/NVIDIA_Optimus * https://docs.mesa3d.org/envvars.html  Pour une raison ou pour une autre, on peut vouloir utiliser deux GPU sous Linux. Dans mon cas, j&amp;#039;utilise le GPU Radeon intégré à mon processeur pour le bureau et le GPU Nvidia dédié pour les jeux vidéo.   Sous Wayland en 2024, c&amp;#039;est plutôt bi... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Optimus : utiliser deux GPU =&lt;br /&gt;
&lt;br /&gt;
Liens : &lt;br /&gt;
* https://wiki.archlinux.org/title/Gamescope&lt;br /&gt;
* https://wiki.archlinux.org/title/PRIME&lt;br /&gt;
* https://wiki.archlinux.org/title/NVIDIA_Optimus&lt;br /&gt;
* https://docs.mesa3d.org/envvars.html&lt;br /&gt;
&lt;br /&gt;
Pour une raison ou pour une autre, on peut vouloir utiliser deux GPU sous Linux. Dans mon cas, j&amp;#039;utilise le GPU Radeon intégré à mon processeur pour le bureau et le GPU Nvidia dédié pour les jeux vidéo. &lt;br /&gt;
&lt;br /&gt;
Sous Wayland en 2024, c&amp;#039;est plutôt bien géré : il n&amp;#039;y a pas grand-chose à faire, Steam choisissant tout seul le GPU NVidia pour lancer les jeux. Cependant, on peut avoir quelques déconvenues.&lt;br /&gt;
&lt;br /&gt;
== Envycontrol : un script user-friendly de sélection du périphérique ==&lt;br /&gt;
&lt;br /&gt;
[https://github.com/bayasdev/envycontrol/ Envycontrol] est disponible dans le AUR ou sur Github. Il permet de choisir simplement son GPU, voir son aide.&lt;br /&gt;
&lt;br /&gt;
== Avec Gamescope ==&lt;br /&gt;
&lt;br /&gt;
Gamescope peut poser des soucis dans ce genre de configuration, il faut lui préciser via le driver mesa quel GPU utiliser. Pour ça on utilise des variables d&amp;#039;environnement. Au préalable, on va récupérer quelques informations. Lancer:&lt;br /&gt;
 &lt;br /&gt;
 lspci -nn&lt;br /&gt;
&lt;br /&gt;
On va chercher à récupérer le vendorID et deviceID du GPU dédié. Dans mon cas:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
236 justine@~ &amp;gt; lspci -nn | grep VGA&lt;br /&gt;
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104 [GeForce RTX 4070 Ti] [10de:2782] (rev a1)&lt;br /&gt;
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev 06)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ici les informations sont entre crochets, je note les valeurs 10de:2782 pour mon GPU Nvidia.&lt;br /&gt;
&lt;br /&gt;
Ensuite, pour lancer CS2 dans Steam par exemple, mes options de lancement ressemble à ça:&lt;br /&gt;
 DRI_PRIME=1 MESA_VK_DEVICE_SELECT=10de:1347 NV_PRIME_RENDER_OFFLOAD=1 VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia gamescope --force-grab-cursor -W 3440 -H 1440 -r 144 -- %command% +exec autoexec.cfg&lt;br /&gt;
&lt;br /&gt;
* DRI_PRIME=1 : La Doc Arch précise que lorsque l&amp;#039;on utilise PRIME (donc que l&amp;#039;on a un GPU NVidia) il faut set cette variable pour utiliser le GPU dédié. Je n&amp;#039;ai pas trouvé beaucoup d&amp;#039;infos ?&lt;br /&gt;
* MESA_VK_DEVICE_SELECT=10de:2782 : c&amp;#039;est ici que l&amp;#039;on utilise les valeurs VendorID et DeviceID récupéré plus haut.&lt;br /&gt;
* NV_PRIME_RENDER_OFFLOAD=1 VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia : pas sûre&lt;br /&gt;
* gamescope etc : commande de lancement du jeu avec une résolution précise, etc.&lt;/div&gt;</summary>
		<author><name>Justine</name></author>
	</entry>
</feed>