Bonjour,

Est-ce que quelqu'un a essayé bumblebee pour optimus sur F20 ?

Quand je l'essaye avec le pilote nvidia, je n'ai pas d'erreur à le faire fonctionner, sauf qu'il n'éteint jamais la carte nvidia.
Quand je l'essaye avec nouveau, il ne fonctionne pas du tout, et la carte nvidia ne s'éteint pas non plus.

On dirait que y'a un soucis avec bbswitch, même s'il est installé, on ne peut pas le charger :

# rpm -qa |grep bbswitch
bbswitch-0.7.0-1.fc20.x86_64

# bumblebeed -v
[ 52.724460] [INFO]Loading driver bbswitch (module bbswitch)
modprobe: FATAL: Module bbswitch not found.
[ 52.726314] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 52.726342] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 52.726350] [WARN]No switching method available. The dedicated card will always be on.
[ 52.727984] [ERROR]Daemon already running, pid 597
[root@portable-nico nicolas]# bumblebeed -vvv
[ 53.996821] [DEBUG]Found card: 01:00.0 (discrete)
[ 53.996892] [DEBUG]Found card: 00:02.0 (integrated)
[ 53.996924] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 53.997862] [DEBUG]Detected nouveau driver
[ 53.998287] [INFO]Loading driver bbswitch (module bbswitch)
[ 53.998489] [DEBUG]Process modprobe started, PID 2337.
modprobe: FATAL: Module bbswitch not found.
[ 54.000323] [DEBUG]Process with PID 2337 returned code 1
[ 54.000739] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 54.000749] [DEBUG]bbswitch is not available, perhaps you need to insmod it?
[ 54.000756] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 54.000762] [WARN]No switching method available. The dedicated card will always be on.
[ 54.000768] [DEBUG]Active configuration:
[ 54.000773] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 54.000780] [DEBUG] X display: :8
[ 54.000785] [DEBUG] LD_LIBRARY_PATH:
[ 54.000790] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 54.000796] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 54.000801] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nouveau
[ 54.000807] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 54.000812] [DEBUG] ModulePath:
[ 54.000818] [DEBUG] GID name: bumblebee
[ 54.000823] [DEBUG] Power method: auto
[ 54.000829] [DEBUG] Stop X on exit: 1
[ 54.000835] [DEBUG] Driver: nouveau
[ 54.000840] [DEBUG] Driver module: nouveau
[ 54.000846] [DEBUG] Card shutdown state: 1
[ 54.000999] [DEBUG]Process /sbin/modprobe started, PID 2338.
[ 54.001041] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 54.003632] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 54.003684] [DEBUG]Configuration test passed.
[ 54.003744] [ERROR]Daemon already running, pid 597


# modprobe bbswitch
modprobe: FATAL: Module bbswitch not found.


Y'a pas encore grand chose sur le net pour m'aider à le résoudre sur F20.. si quelqu'un a des idées 🙂


Merci
Je teste cette solution :

Via cette URL on récupère le master.zip https://github.com/Bumblebee-Project/bbswitch

On le décompresse.
On enlève la version actuelle : dkms remove -m bbswitch -v OLDVERSION --all

Puis on recompile :
make -f Makefile.dkms

On reboote et là le bbswitch fonctionne :

# bumblebeed -vvv
[ 208.003466] [DEBUG]Found card: 01:00.0 (discrete)
[ 208.003491] [DEBUG]Found card: 00:02.0 (integrated)
[ 208.003500] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 208.003670] [INFO]Configured driver: nvidia
[ 208.003688] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 208.003771] [DEBUG]Process /sbin/modprobe started, PID 4716.
[ 208.003833] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 208.004958] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 208.005117] [DEBUG]bbswitch has been detected.
[ 208.005147] [INFO]Switching method 'bbswitch' is available and will be used.
[ 208.005168] [DEBUG]Active configuration:
[ 208.005187] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 208.005208] [DEBUG] X display: :8
[ 208.005228] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia-bumblebee:/usr/lib/nvidia-bumblebee:/usr/lib64:/usr/lib
[ 208.005249] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 208.005269] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 208.005284] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 208.005292] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 208.005299] [DEBUG] ModulePath: /usr/lib64/nvidia-bumblebee/xorg,/usr/lib64/xorg/modules
[ 208.005308] [DEBUG] GID name: bumblebee
[ 208.005315] [DEBUG] Power method: auto
[ 208.005323] [DEBUG] Stop X on exit: 1
[ 208.005330] [DEBUG] Driver: nvidia
[ 208.005338] [DEBUG] Driver module: nvidia
[ 208.005345] [DEBUG] Card shutdown state: 1
[ 208.005442] [DEBUG]Process /sbin/modprobe started, PID 4717.
[ 208.005501] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 208.007339] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 208.007384] [DEBUG]Configuration test passed.
[ 208.007463] [ERROR]Daemon already running, pid 4533


# cat /proc/acpi/bbswitch
0000:01:00.0 OFF


A voir si l'autonomie est là...
Salut,

RAS pour moi avec FC20.

Je suis toujours en kernel 3.12.5, je n'ai pas encore mis à jour.
rpm -qa | egrep '(kernel|bumbl|bbsw)' | sort
abrt-addon-kerneloops-2.1.10-1.fc20.x86_64
bbswitch-0.7.0-1.fc20.x86_64
bumblebee-3.2.1-4.fc20.x86_64
bumblebee-nonfree-release-1.1-1.noarch
bumblebee-nvidia-331.20-1.fc20.x86_64
bumblebee-release-1.1-1.noarch
kernel-3.10.10-200.fc19.x86_64
kernel-3.11.10-200.fc19.x86_64
kernel-3.11.10-301.fc20.x86_64
kernel-3.11.6-200.fc19.x86_64
kernel-3.11.6-201.fc19.x86_64
kernel-3.11.7-200.fc19.x86_64
kernel-3.11.8-200.fc19.x86_64
kernel-3.11.9-200.fc19.x86_64
kernel-3.12.5-302.fc20.x86_64
kernel-devel-3.10.10-200.fc19.x86_64
kernel-devel-3.11.10-200.fc19.x86_64
kernel-devel-3.11.10-301.fc20.x86_64
kernel-devel-3.11.6-200.fc19.x86_64
kernel-devel-3.11.6-201.fc19.x86_64
kernel-devel-3.11.7-200.fc19.x86_64
kernel-devel-3.11.8-200.fc19.x86_64
kernel-devel-3.11.9-200.fc19.x86_64
kernel-devel-3.12.5-302.fc20.x86_64
kernel-headers-3.12.5-302.fc20.x86_64
kernel-modules-extra-3.11.10-200.fc19.x86_64
kernel-modules-extra-3.11.10-301.fc20.x86_64
kernel-modules-extra-3.11.6-200.fc19.x86_64
kernel-modules-extra-3.11.6-201.fc19.x86_64
kernel-modules-extra-3.11.7-200.fc19.x86_64
kernel-modules-extra-3.11.8-200.fc19.x86_64
kernel-modules-extra-3.11.9-200.fc19.x86_64
kernel-modules-extra-3.12.5-302.fc20.x86_64
libreport-plugin-kerneloops-2.1.10-1.fc20.x86_64
Et ca marche bien , le module est chargé:
6 [01:48:05] adrien@superlinux: ~  $ lsmod | grep bbsw
bbswitch               13943  0 
7 [01:48:07] adrien@superlinux: ~  $ cat /proc/acpi/bbswitch 
0000:01:00.0 OFF
8 [01:48:09] adrien@superlinux: ~  $ optirun glxspheres 2>/dev/null 1>/dev/null &
[1] 17114
9 [01:48:20] adrien@superlinux: ~  $ cat /proc/acpi/bbswitch
0000:01:00.0 ON
10 [01:48:27] adrien@superlinux: ~  $ 
Juste pour info : le kernel 3.12 éteint maintenant la CG nvidia quand elle n'est pas utilisée, ce qui n'était pas le cas avant 🙂 Après, je ne sais pas sur quoi le noyau se base pour la rallumer (peut-être suivant les demandes de l'application ?), mais en tout cas, la nvidia est bien "DynOff".
Je pense que c'etait juste un soucis avec bbswitch, pourtant mon install est fraiche, par contre j'ai tout mis à jour avant d'installer bumblebee. Depuis que j'ai mis bbswitch à la mano ça fonctionne. Bizarre :s