nVidia 840m [Réglé]
Bumblebee
Système et matériels / Cartes graphiques et webcams

admel Membre non connecté
-
- Voir le profil du membre admel
- Inscrit le : 21/09/2014
- Site internet
- Groupes :
-
Équipe Mageia
-
Membre d'Honneur
Bonsoir à tous,
suite à l'installation de Bumblebee-nvidia en suivant pas-à-pas le tutoriel MLO, je me rends compte que rien n'a changé, voir que la CG n'est pas activée (d'après la commande glxsphere elle serait détectée).
Code BASH :
[admel@localhost ~]$ glxspheres Polygons in scene: 62464 Visual ID of window: 0x20 Context is Direct OpenGL Renderer: Mesa DRI Intel(R) Haswell Mobile 61.233884 frames/sec - 56.491932 Mpixels/sec 59.901628 frames/sec - 55.262846 Mpixels/sec 60.066298 frames/sec - 55.414764 Mpixels/sec 59.929280 frames/sec - 55.288357 Mpixels/sec 59.997082 frames/sec - 55.350908 Mpixels/sec [admel@localhost ~]$ optirun glxspheres Polygons in scene: 62464 Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce 840M/PCIe/SSE2 62.447131 frames/sec - 57.611225 Mpixels/sec 59.995845 frames/sec - 55.349766 Mpixels/sec 60.017555 frames/sec - 55.369795 Mpixels/sec 59.998384 frames/sec - 55.352109 Mpixels/sec 59.983253 frames/sec - 55.338150 Mpixels/sec
Le ratio frames/sec et Mpixels/sec n'a rien à voir avec ce que montre le tutoriel.
Code BASH :
[admel@localhost ~]$ inxi -F System: Host: localhost Kernel: 3.14.24-desktop-1.mga4 x86_64 (64 bit) Desktop: KDE 4.12.5 Distro: Mageia 4 thornicroft Machine: System: Micro-Star (portable) product: GP60 2PE version: REV:1.0 Mobo: Micro-Star model: MS-16GH version: REV:1.0 Bios: American Megatrends version: E16GHIMS.10A date: 07/19/2014 CPU: Dual core Intel Core i5-4210H CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) Clock Speeds: 1: 2900.00 MHz 2: 2900.00 MHz 3: 2900.566 MHz 4: 2901.246 MHz Graphics: Card: Intel 4th Gen Core Processor Integrated Graphics Controller X.Org: 1.14.5 drivers: v4l,intel Resolution: 1366x768@60.0hz GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.0.5 Audio: Card-1: Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel Card-2: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel Sound: Advanced Linux Sound Architecture ver: k3.14.24-desktop-1.mga4 Network: Card-1: Intel Wireless 3160 driver: iwlwifi IF: wlp5s0 state: up mac: 30:3a:64:e1:3a:7a Card-2: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller driver: alx IF: enp3s0 state: down mac: 44:8a:5b:ee:3b:62 Drives: HDD Total Size: 500.1GB (14.0% used) 1: id: /dev/sda model: WDC_WD5000LPVX size: 500.1GB Partition: ID: / size: 12G used: 6.5G (59%) fs: ext4 ID: /home size: 443G used: 59G (14%) fs: ext4 ID: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present Sensors: System Temperatures: cpu: 43.0C mobo: N/A Fan Speeds (in rpm): cpu: N/A Info: Processes: 176 Uptime: 13 min Memory: 1027.2/3874.2MB Client: Shell (bash) inxi: 1.9.17 [admel@localhost ~]$
Pour ce qui est du retour de
Code BASH :
[admel@localhost ~]$ optirun -b none /usr/lib64/nvidia-current/bin/nvidia-settings -c :8
Je ne vois pas d'erreurs du genre "activé Bumblebee".
Si vous avez des idées pour m'orienter, je suis preneur. :-)
Cordialement,
Antoine
Édité par admel Le 03/01/2015 à 10h55

Akien Membre non connecté
-
- Voir le profil du membre Akien
- Inscrit le : 12/06/2011
- Groupes :
-
Équipe Mageia
optirun et primusrun utilisent tous deux par défaut l'interface "primus" pour faire le lien entre la carte graphique et le module Intel qui gère le moniteur. Pour éviter d'utiliser inutilement le hardware, primus limite le taux de rafraîchissement à 60 images par secondes (ou 60 Hz), comme le fait tout moniteur habituel. Vu que l'humain n'est pas capable de détecter des fréquences plus élevées, c'est un moindre mal.
Sur Internet (et dans le tuto MLO) on a souvent une référence à optirun glxspheres qui donne des FPS de malade, parce que l'interface par défaut pour optirun est normalement VirtualGL, et ce dernier n'impose pas de limitation du taux de rafraîchissement. Pour le paquet Mageia, j'ai choisi de mettre primus par défaut, parce que VirtualGL ne fonctionne pas bien (voire pas du tout avec les jeux Steam).
Pour utiliser VirtualGL, il faut le spécifier, par exemple : optirun -b virtualgl glxspheres.
Pour tester son matériel, on peut aussi faire sauter la limitation de primus avec vblank_mode=0, par exemple :
vblank_mode=0 primusrun glxspheres ou vblank_mode=0 optirun glxspheres.
Mais une fois encore les résultats ne signifient pas grand chose de mon point de vue, parce que si vous lancez un vblank_mode=0 glxspheres (c'est à dire utilisant la carte Intel), ça devrait défriser les poneys aussi (ce qui s'explique a priori par l'aberrante simplicité du programme de test glxspheres, qu'une carte Intel peut gérer extrêmement facilement et sans avoir à passer par un pont tel que primus ou VirtualGL qui imposent nécessairement des pertes en vitesse de calcul).
En gros :
- Si glxspheres indique qu'il utilise la carte Nvidia, c'est que tout marche bien.
- Lance un vrai jeu, tu verras la différence.
Édité par Akien Le 03/01/2015 à 02h17

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


admel Membre non connecté
-
- Voir le profil du membre admel
- Inscrit le : 21/09/2014
- Site internet
- Groupes :
-
Équipe Mageia
-
Membre d'Honneur
Hmmm va falloir que je regarde deux trois trucs.
Effectivement :
Code BASH :
[admel@localhost ~]$ optirun -b virtualgl glxspheres Polygons in scene: 62464 Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce 840M/PCIe/SSE2 136.207130 frames/sec - 125.659250 Mpixels/sec 135.595715 frames/sec - 125.095183 Mpixels/sec 133.602232 frames/sec - 123.256076 Mpixels/sec 131.803315 frames/sec - 121.596466 Mpixels/sec 131.896384 frames/sec - 121.682328 Mpixels/sec 132.395755 frames/sec - 122.143027 Mpixels/sec
C'est tout de suite plus parlant.
Cependant,voilà le rendu graphique que j'ai :

Il est similaire à avant l'installation de Bumblebee-nvidia
EDIT : il sembrerait qu'il me manque libprimus, mais ce dernier n'est pas dans les dépôts. Dépôts 32bits Backport.
Code BASH :
[root@localhost ~]# urpmi.update -a le média « Core Release » est à jour le média « Core Updates » est à jour le média « Core Backports Testing » est à jour le média « Nonfree Release » est à jour le média « Nonfree Updates » est à jour le média « Nonfree Backports Testing » est à jour le média « Tainted Release » est à jour le média « Core 32bit Release » est à jour le média « Core 32bit Updates » est à jour le média « Core 32bit Backports » est à jour le média « Nonfree 32bit Release » est à jour le média « Nonfree 32bit Updates » est à jour le média « Nonfree 32bit Backports » est à jour le média « Nonfree 32bit Backports Testing » est à jour le média « Tainted 32bit Updates Testing » est à jour [root@localhost ~]# rpm -qa|grep libprimus [root@localhost ~]# urpmi libprimus Pas de paquetage nommé libprimus [root@localhost ~]#
Sont toutefois installés :
Code BASH :
[admel@localhost ~]$ rpm -qa|grep bumblebee* bumblebee-nvidia-3.2.1-8.mga4.nonfree bumblebee-3.2.1-8.mga4 [admel@localhost ~]$ rpm -qa|grep primus* lib64primus-0.1-0.20131127.4.mga4 primus-nvidia-0.1-0.20131127.4.mga4.nonfree primus-0.1-0.20131127.4.mga4 [admel@localhost ~]$ rpm -qa|grep dkms-bbswitch dkms-bbswitch-0.8-1.mga4 [admel@localhost ~]$ rpm -qa|grep virtualgl* lib64virtualgl-2.3.2-4.mga4 virtualgl-2.3.2-4.mga4 libvirtualgl-2.3.2-4.mga4 [admel@localhost ~]$
EDIT 2 : J'ai aussi tenté de forcer le démarrage de Steam avec primus. Echec.
Code BASH :
[admel@localhost ~]$ primusrun steam Couldn't find dpkg, please update steamdeps for your distribution. Running Steam on mageia 4 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) (steam:8208): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « oxygen-gtk » (steam:8208): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « oxygen-gtk » (steamwebhelper:8211): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « oxygen-gtk » (steamwebhelper:8211): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « oxygen-gtk » Installing breakpad exception handler for appid(steamwebhelper)/version(20141121162341) Installing breakpad exception handler for appid(steamwebhelper)/version(1416587021) Installing breakpad exception handler for appid(steamwebhelper)/version(20141121162341) Installing breakpad exception handler for appid(steamwebhelper)/version(1416587021) Installing breakpad exception handler for appid(steamwebhelper)/version(1416587021) [0103/123836:ERROR:nss_util.cc(1018)] Failed to load NSS libraries. Installing breakpad exception handler for appid(steam)/version(1416617579) Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number Error: OpenGL GLX context is not using direct rendering, which may cause performance problems. For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457. Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) FillInMachineIDInfo took a total of 0 milliseconds Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) ** (steam:8208): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files ** (steam:8208): WARNING **: Error enabling/disabling networking: The name org.freedesktop.NetworkManager was not provided by any .service files Installing breakpad exception handler for appid(steam)/version(1416617579) Generating new string page texture 2: 48x256, total string texture memory is 49,15 KB Generating new string page texture 3: 384x256, total string texture memory is 442,37 KB Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) Installing breakpad exception handler for appid(steam)/version(1416617579) Adding licenses for the following package(s): 0, 2300, 2487, 4303, 17111, 21353, 57406 roaming config store loaded successfully - 759 bytes. migrating temporary roaming config store Failed to init SteamVR because it isn't installed ExecCommandLine: ""/home/admel/.local/share/Steam/ubuntu12_32/steam" " Installing breakpad exception handler for appid(steam)/version(1416617579) System startup time: 14,12 seconds Generating new string page texture 69: 256x256, total string texture memory is 704,51 KB Generating new string page texture 70: 128x256, total string texture memory is 131,07 KB Generating new string page texture 71: 128x256, total string texture memory is 835,58 KB Generating new string page texture 72: 32x256, total string texture memory is 868,35 KB Running Steam on mageia 4 64-bit STEAM_RUNTIME has been set by the user to: /home/admel/.local/share/Steam/ubuntu12_32/steam-runtime Installing breakpad exception handler for appid(steam)/version(1416617579) ExecCommandLine: "/home/admel/.steam/root/ubuntu12_32/steam steam://open/driverhelperready" ExecSteamURL: "steam://open/driverhelperready" (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. (steam:8208): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. Installing breakpad exception handler for appid(steam)/version(1416617579) [0103/123851:ERROR:renderer_main.cc(227)] Running without renderer sandbox CAPIJobRequestUserStats - Server response failed 2 Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number Generating new string page texture 91: 256x256, total string texture memory is 393,22 KB Generating new string page texture 92: 64x256, total string texture memory is 933,89 KB Generating new string page texture 95: 128x256, total string texture memory is 1,06 MB Generating new string page texture 96: 512x256, total string texture memory is 1,59 MB Generating new string page texture 97: 256x256, total string texture memory is 1,85 MB Generating new string page texture 98: 8x256, total string texture memory is 1,86 MB Generating new string page texture 100: 2048x256, total string texture memory is 3,96 MB Generating new string page texture 102: 256x256, total string texture memory is 4,22 MB Installing breakpad exception handler for appid(steam)/version(1416617579) Game update: AppID 550 "Left 4 Dead 2", ProcID 8359, IP 0.0.0.0:0 ERROR: ld.so: object '/home/admel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/admel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. pid 8380 != 8360, skipping destruction (fork without exec?) ERROR: ld.so: object '/home/admel/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/admel/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. SDL video target is 'x11' PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0! Generating new string page texture 167: 1024x256, total string texture memory is 5,27 MB Game removed: AppID 550 "Left 4 Dead 2", ProcID 8359 Generating new string page texture 190: 16x256, total string texture memory is 5,28 MB Generating new string page texture 193: 256x256, total string texture memory is 5,55 MB Generating new string page texture 194: 128x256, total string texture memory is 5,68 MB process 8208: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection. Requested Force create but SharedObjectMutex already created Forced create but already created for SharedObjectEvent Forced create but already created for SharedObjectEvent [2015-01-03 12:38:35] Startup - updater built Nov 21 2014 16:23:41 [2015-01-03 12:38:35] Vérification de l'installation... [2015-01-03 12:38:35] Verification complete [2015-01-03 12:39:55] Shutdown [admel@localhost ~]$
Message d'erreur 1 :

Message d'erreur 2 :

Édité par admel Le 03/01/2015 à 13h02

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
CF en bas : http://www.linuxtricks.fr/wiki/installer-steam-sur-calculate-linux#paragraph_steam-et-optimus
Ne pas oublier d'installer libprimus (32bits) des dépôts "Core Backports Testing (32bits)". En effet, Steam est 32bits, il faut donc ces bibliothèques 32bits


Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


admel Membre non connecté
-
- Voir le profil du membre admel
- Inscrit le : 21/09/2014
- Site internet
- Groupes :
-
Équipe Mageia
-
Membre d'Honneur
Effectivement, un dépôt 32 bits n'avait pas été ajouté, d’où le fait qu'il manquait libprimus.
Tout fonctionne !
Merci

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Bon jeu

Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


Akien Membre non connecté
-
- Voir le profil du membre Akien
- Inscrit le : 12/06/2011
- Groupes :
-
Équipe Mageia
Adrien.D :
Je vais corriger les tutos....
J'ai oublié un smiley à la fin de mon « c'est juste le tutoriel qui dit des bêtises a priori. », c'est à prendre avec un grain de sel. Le tuto est déjà très bien, et ce serait plutôt à moi d'y apporter les nuances propres à Mageia vu que je suis celui qui connait le mieux le paquet de Mageia


admel Membre non connecté
-
- Voir le profil du membre admel
- Inscrit le : 21/09/2014
- Site internet
- Groupes :
-
Équipe Mageia
-
Membre d'Honneur
Pour conclure, c'est pas transcendant, mais c'est plus que suffisant pour de la coop et du frag.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie