Bonne nouvelle concernant la technologie Optimus sous Gnu/Linux

Dupo Membre non connecté
-
- Voir le profil du membre Dupo
- Inscrit le : 09/02/2013

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Good good good !
Il va falloir tester tout ça

Il faut que je me renseigne de comment l'installer, si évidemment il est compatible avec Xorg 1.13

Edit: Attention : http://nouveau.freedesktop.org/wiki/
Je cite le wiki :
Citation :
Nvidia Optimus support is not implemented yet, you may not be able to use the Nvidia GPU at all on Optimus laptops. See the status matrix for functionality supported on each chipset.
Soit ce n'est pas à jour, soit le site est un poisson d'Avril !? Je n'ai vu aucune source dans l'article !
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 !


DaaX Membre non connecté
-
- Voir le profil du membre DaaX
- Inscrit le : 13/12/2007
- Site internet
En fait, l'article soumis par Dupo ferait référence a un article publié sur le très crédible site Phoronix : http://www.phoronix.com/scan.php?page=news_item&px=MTM4ODI
Je cite la partie intéressante :
Citation :
The main change for end-users of this reverse-engineered Nouveau driver is likely the normal Optimus configuration support, of course you must be running all of the other latest software bits too.
La dernière partie de la phrase impliquerait que ça fonctionne si tous les éléments requis sont présents sur votre système, mais on ne sait guère ce qu'ils sont.

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Reste maintenant à savoir comment l'utiliser !
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 !


Dupo Membre non connecté
-
- Voir le profil du membre Dupo
- Inscrit le : 09/02/2013
si vous trouvez d'autre infos, n'hésitez pas. Ce sujet m'intéresse.

Édité par Dupo Le 15/06/2013 à 01h25

Visiteur
Visiteur
"Reste maintenant à savoir comment l'utiliser !"
j'ai fais pas mal de recherche rien de bien probant pour configurer nvidia optimus sans bumblebee
perso j'ai réussi a config bumblebee marche plutôt pas mal
[powerlinux@localhost ~]$ optirun --version
optirun (Bumblebee) 3.1
Copyright (C) 2011 The Bumblebee Project
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
sans bumblebee:
[powerlinux@localhost ~]$ glxgears -info
GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION = 3.0 Mesa 9.1.3
GL_VENDOR = Intel Open Source Technology Center
302 frames in 5.0 seconds = 60.272 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.997 FPS
301 frames in 5.0 seconds = 60.006 FPS
avec bumblebee:
[powerlinux@localhost ~]$ optirun glxgears -info
GL_RENDERER = GeForce GT 630M/PCIe/SSE2
GL_VERSION = 4.3.0 NVIDIA 319.32
GL_VENDOR = NVIDIA Corporation
4761 frames in 5.0 seconds = 952.068 FPS
5390 frames in 5.0 seconds = 1077.936 FPS
5179 frames in 5.0 seconds = 1035.780 FPS
5938 frames in 5.0 seconds = 1187.435 FPS
5439 frames in 5.0 seconds = 1087.735 FPS
serait quand même plus pratique de faire fonctionne le driver sans bumblebee

pour ceux que ca intéresse :
/etc/bumblebee/bumblebee.conf
Caché :
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=true
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=true
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
Module=nvidia
KernelDriver=nvidia-current
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib64/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib64/nvidia-current/xorg,/usr/lib/xorg/modules,/usr/lib64/xorg/modules,/usr/lib/xorg/extra-modules,/usr/xorg/extra-modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=true
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=true
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
Module=nvidia
KernelDriver=nvidia-current
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib64/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib64/nvidia-current/xorg,/usr/lib/xorg/modules,/usr/lib64/xorg/modules,/usr/lib/xorg/extra-modules,/usr/xorg/extra-modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
/etc/bumblebee/xorg.conf.nouveau
Caché :
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
Option "AutoAddDevices" "false"
# Prevent device detection from failing in Xorg 1.13
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "Device0"
Driver "nouveau"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSection
Identifier "Layout0"
Screen "Screen0"
Option "AutoAddDevices" "false"
# Prevent device detection from failing in Xorg 1.13
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "Device0"
Driver "nouveau"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSection
/etc/bumblebee/xorg.conf.nvidia
Caché :
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | grep VGA` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device).
# BusID "PCI:02:00:0"
BusID "PCI:1:0:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "true"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
Option "ConnectedMonitor" "DFP"
Option "AddARGBGLXVisuals
EndSection
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | grep VGA` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device).
# BusID "PCI:02:00:0"
BusID "PCI:1:0:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "true"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
Option "ConnectedMonitor" "DFP"
Option "AddARGBGLXVisuals
EndSection
Édité par Visiteur Le 30/06/2013 à 22h06

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Il sort d'où ton bumblebee ? Version ? Sous Mageia ?
Si sous Mageia, tu n'as pas de soucis au boot d'écran figé ?
Merci

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 !


Visiteur
Visiteur
Adrien.D :
Salut
Il sort d'où ton bumblebee ? Version ? Sous Mageia ?
Si sous Mageia, tu n'as pas de soucis au boot d'écran figé ?
Merci

Il sort d'où ton bumblebee ? Version ? Sous Mageia ?
Si sous Mageia, tu n'as pas de soucis au boot d'écran figé ?
Merci

version 3.1
voila petits depots fort sympa

http://packages.mageialinux.ru/mageia3/RPMS/x86_64/
http://packages.mageialinux.ru/mageia3/RPMS/i586/
http://packages.mageialinux.ru/mageia3/RPMS/noarch/
http://packages.mageialinux.ru/mageia3/SRPMS/
non aucun soucis au boot
petit truc
pour ceux comme moi qui sont en x86_64 et qui utilise wine32 penser a installer libvirtualgl
Édité par Visiteur Le 30/06/2013 à 22h28

Dupo Membre non connecté
-
- Voir le profil du membre Dupo
- Inscrit le : 09/02/2013
des nouvelles concernant le support d'Optimus via nvidia et/ou Nouveau ?

DaaX Membre non connecté
-
- Voir le profil du membre DaaX
- Inscrit le : 13/12/2007
- Site internet
Nvidia vient de publier ses pilotes sous ARMv7 et est en train de préparer la mise à disposition sous licence de ses technologies liées aux GPU aux manufacturiers de tablettes et autres appareils électroniques.
On peut donc penser que cela accélérera le développement de la technologie Optimus au profit de Linux.

Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie