Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#801 Le 17/01/2015, à 13:48

Alcatorda

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Toujours pas de Xorg.8.log.
J'attends tes dernières conclusions avant de me refaire une installation propre.

sudo stop bumblebeed :

bumblebeed stop/waiting

sudo bumblebeed -vv :

[55948.096275] [DEBUG]Found card: 0a:00.0 (discrete)
[55948.096297] [DEBUG]Found card: 00:02.0 (integrated)
[55948.096303] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[55948.096490] [INFO]Configured driver: nvidia
[55948.096503] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[55948.096576] [DEBUG]Process /sbin/modprobe started, PID 11569.
[55948.096595] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[55948.097374] [DEBUG]SIGCHILD received, but wait failed with No child processes
[55948.097407] [DEBUG]bbswitch has been detected.
[55948.097409] [INFO]Switching method 'bbswitch' is available and will be used.
[55948.097411] [DEBUG]Active configuration:
[55948.097413] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[55948.097415] [DEBUG] X display: :8
[55948.097417] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[55948.097418] [DEBUG] Socket path: /var/run/bumblebee.socket
[55948.097420] [DEBUG] pidfile: /var/run/bumblebeed.pid
[55948.097422] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[55948.097424] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[55948.097425] [DEBUG] ModulePath: /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
[55948.097427] [DEBUG] GID name: bumblebee
[55948.097429] [DEBUG] Power method: auto
[55948.097431] [DEBUG] Stop X on exit: 1
[55948.097432] [DEBUG] Driver: nvidia
[55948.097434] [DEBUG] Driver module: nvidia-current
[55948.097436] [DEBUG] Card shutdown state: 1
[55948.097495] [DEBUG]Process /sbin/modprobe started, PID 11570.
[55948.097510] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[55948.098204] [DEBUG]SIGCHILD received, but wait failed with No child processes
[55948.098219] [ERROR]Module 'nvidia-current' is not found.

optirun -vv glxinfo :

[55985.055674] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[55985.056381] [INFO]Configured driver: nvidia
[55985.056494] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[55985.056526] [DEBUG]Socket closed.
[55985.056556] [ERROR]Could not connect to bumblebee daemon - is it running?

Dernière modification par Alcatorda (Le 17/01/2015, à 13:52)

Hors ligne

#802 Le 17/01/2015, à 17:25

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

OK, deux problèmes présent. Pour le premier, peux-tu me donner le résultat de "lspci" ? Je pense comprendre ce qu’il se passe, c’est un bug très rare qui sera corrigé dans la prochaine version (qu’on essaye de sortir d’ici la fin du mois). On peut aussi le corriger en live cela dit, pour ça j’aurai besoin du retour de `ls -l /{s,}bin /usr/{s,}bin | grep "bin ->"`.

Pour le second, peux-tu me dire ce qu’il se passe quand tu fais (après avoir arrêté bumblebeed) "sudo modprobe -v nvidia-current", et même chose sans "-current" à la fin, ainsi que dmesg à ce moment-là ? Merci.

Dernière modification par ArchangeGabriel (Le 17/01/2015, à 20:24)

Hors ligne

#803 Le 17/01/2015, à 17:59

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@PenguinPdt : Et sinon, tu peux me passer un dmesg qui correspond à une utilisation de nouveau ou pas ?

Tous les autres pour qui Bumblebee fonctionne (et pour ceux pour qui ça ne fonctionne pas, dites-moi quel est le problème), vous pouvez tester le second changement de mon post http://forum.ubuntu-fr.org/viewtopic.ph … #p18898231 ?

Merci.

Hors ligne

#804 Le 17/01/2015, à 21:52

PengouinPdt

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@Archange: Je pourrais peut-être m'en occuper demain ... ;-)
Je te transmet dès que je peux !


Ego ~
YUP.py :: Yet Uploader Pixxie.py :: script python : post d'images sur forum !

Hors ligne

#805 Le 18/01/2015, à 12:02

Alcatorda

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

lspci :

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 1 (rev e4)
00:1c.1 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 2 (rev e4)
00:1c.2 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
08:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 08)
0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)

ls -l /{s,}bin /usr/{s,}bin | grep "bin ->" :
Pas de retour. hmm

sudo modprobe -v nvidia-current

modprobe: FATAL: Module nvidia-current not found.

Alors j'ai réinstallé nvidia-current, qui a remplacé ma version 331 par la 304, puis tenté à nouveau la commande, pour le même résultat. Idem sans le « -current ».

Quant au dmesg :

[   18.273466] bbswitch: version 0.8
[   18.273472] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   18.273478] bbswitch: Found discrete VGA device 0000:0a:00.0: \_SB_.PCI0.RP05.PEGP
[   18.273486] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[   18.273551] bbswitch: detected an Optimus _DSM function
[   18.273566] pci 0000:0a:00.0: enabling device (0006 -> 0007)
[   18.273609] bbswitch: Succesfully loaded. Discrete card 0000:0a:00.0 is on
[   18.275218] bbswitch: disabling discrete graphics
[   18.275225] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[   18.972249] init: plymouth-upstart-bridge main process ended, respawning
[   18.981894] init: plymouth-upstart-bridge main process (1403) terminated with status 1
[   18.981904] init: plymouth-upstart-bridge main process ended, respawning

Hors ligne

#806 Le 18/01/2015, à 12:16

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Tu as quoi comme paquets nvidia disponibles dans les dépôts ? Si tu essayes `sudo modprobe nvidia-304` (ou 331, ou autre en fonction de ce que tu as installé, mais je recommande le plus récent disponible), ça donne quoi ?

Pour corriger le bug côté Bumblebee, il faut donc faire ceci (l’absence de retour de ma commande n’est pas un problème) :

sudo cp /usr/sbin/bumblebeed{,.orig}
sudo sed -i 's/PCI:%02x:%02x:%o/PCI:%02d:%02d:%d/' /usr/sbin/bumblebeed

Hors ligne

#807 Le 18/01/2015, à 14:48

PengouinPdt

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@Alcatorda: retourne, stp, le résultat de cette commande : dpkg -l | egrep "nvidia"


Ego ~
YUP.py :: Yet Uploader Pixxie.py :: script python : post d'images sur forum !

Hors ligne

#808 Le 18/01/2015, à 18:09

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Bonjour
J'ai installé Bumblebee sur mon ordinateur portable (un ASUS Zenbook UX303LN qui a quels problèmes avec linux (à peu près celui-ci)), mais depuis ce matin bumblebee ne fonctionne plus (mises à jours ?)

guillaume@MyAsus:~$ lspci -vnn | egrep 'VGA|3D'
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
03:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)

guillaume@MyAsus:~$ optirun -vv glxinfo
[ 4526.335231] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 4526.335809] [DEBUG]optirun version 3.2.1 starting...
[ 4526.335836] [DEBUG]Active configuration:
[ 4526.335849] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 4526.335865] [DEBUG] X display: :8
[ 4526.335878] [DEBUG] LD_LIBRARY_PATH: 
[ 4526.335892] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 4526.335906] [DEBUG] Accel/display bridge: auto
[ 4526.335920] [DEBUG] VGL Compression: proxy
[ 4526.335934] [DEBUG] VGLrun extra options: 
[ 4526.335947] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 4526.336020] [DEBUG]Using auto-detected bridge primus
[ 4526.339532] [INFO]Response: No - error: Could not load GPU driver

[ 4526.339585] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 4526.339612] [DEBUG]Socket closed.
[ 4526.339653] [ERROR]Aborting because fallback start is disabled.
[ 4526.339688] [DEBUG

Il semblerait que je n'ai pas de driver installé, pourtant :

guillaume@MyAsus:~$ dpkg -l | egrep "nvidia"
ii  bumblebee-nvidia                            3.2.1-5                               amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-331                                  331.113-0ubuntu0.0.4                  amd64        NVIDIA binary driver - version 331.113
ii  nvidia-331-uvm                              331.113-0ubuntu0.0.4                  amd64        NVIDIA Unified Memory kernel module
ii  nvidia-opencl-icd-331                       331.113-0ubuntu0.0.4                  amd64        NVIDIA OpenCL ICD
ii  nvidia-settings                             331.20-0ubuntu8                       amd64        Tool for configuring the NVIDIA graphics driver
guillaume@MyAsus:~$ dpkg -l | egrep "bumblebee"
ii  bumblebee                                   3.2.1-5                               amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                            3.2.1-5                               amd64        NVIDIA Optimus support using the proprietary NVIDIA driver

Que faire ?
Je suis sous Ubuntu Gnome 14.04, à jour.
Merci pour votre aide (je précise que je n'ai accès au forum que le week-end)

Dernière modification par 38Guillaume (Le 18/01/2015, à 18:20)


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#809 Le 18/01/2015, à 18:54

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@38Guillaume: Que contient /etc/bumblebee/bumblebee.conf?

Hors ligne

#810 Le 18/01/2015, à 19:16

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@ArchangeGabriel:
Mon /etc/bumblebee/bumblebee.conf

# 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=false
# 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=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## 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
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# 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
KernelDriver=nvidia-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/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/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Merci


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#811 Le 18/01/2015, à 19:22

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Tu as redémarré depuis les mises à jour de ce matin que tu mentionnes ? Tu te souviens ce qu’il y avait ou bien tu peux poster /var/log/dpkg.log quelque part ?

Si tu fais ceci :

sudo stop bumblebeed
sudo bumblebeed -vv

ça affiche quoi ?

Hors ligne

#812 Le 18/01/2015, à 19:36

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Oui j'ai redémarrer 4 ou 5 fois, réinstallé les paquets. J'ai aussi essayé d'autres manips (j'ai toujours eu un problème avec Virtualbox, mais ce sera pour un autre topic smile )
/var/log/dpkg.log --> http://paste.ubuntu.com/9777630/

guillaume@MyAsus:~$ sudo stop bumblebeed
[sudo] password for guillaume: 
bumblebeed stop/waiting
guillaume@MyAsus:~$ sudo bumblebeed -vv
[ 2089.186782] [DEBUG]Found card: 03:00.0 (discrete)
[ 2089.186818] [DEBUG]Found card: 00:02.0 (integrated)
[ 2089.186826] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2089.187198] [DEBUG]Process /sbin/modprobe started, PID 11096.
[ 2089.187235] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 2089.188137] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2089.188248] [DEBUG]Process /sbin/modprobe started, PID 11097.
[ 2089.188277] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 2089.189229] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2089.189243] [DEBUG]Detected nouveau driver
[ 2089.189405] [INFO]Loading driver bbswitch (module bbswitch)
[ 2089.189487] [DEBUG]Process modprobe started, PID 11098.
modprobe: FATAL: Module bbswitch not found.
[ 2089.190462] [DEBUG]Process with PID 11098 returned code 1
[ 2089.190575] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 2089.190579] [DEBUG]bbswitch is not available, perhaps you need to insmod it?
[ 2089.190582] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 2089.190585] [WARN]No switching method available. The dedicated card will always be on.
[ 2089.190588] [DEBUG]Active configuration:
[ 2089.190590] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2089.190593] [DEBUG] X display: :8
[ 2089.190595] [DEBUG] LD_LIBRARY_PATH: 
[ 2089.190597] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2089.190600] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 2089.190602] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nouveau
[ 2089.190604] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 2089.190606] [DEBUG] ModulePath: 
[ 2089.190608] [DEBUG] GID name: bumblebee
[ 2089.190611] [DEBUG] Power method: auto
[ 2089.190613] [DEBUG] Stop X on exit: 1
[ 2089.190615] [DEBUG] Driver: nouveau
[ 2089.190617] [DEBUG] Driver module: nouveau
[ 2089.190620] [DEBUG] Card shutdown state: 1
[ 2089.190690] [DEBUG]Process /sbin/modprobe started, PID 11099.
[ 2089.190721] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 2089.191562] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 2089.191573] [DEBUG]Configuration test passed.
[ 2089.191887] [INFO]bumblebeed 3.2.1 started
[ 2089.191927] [INFO]Initialization completed - now handling client requests
  

Et la dernière commande ne s’arrête pas.


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#813 Le 18/01/2015, à 19:43

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Tu peux faire Ctrl+C pour arrêter le processus, c’est normal qu’il reste en attente ainsi. Tu as eu/fait une mise à jour du noyau mais les modules n’ont pas été reconstruits par DKMS.

Solution :

ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start

Copie ce que ça affiche quelque part au cas où (dans un fichier que tu enregistres).

Puis redémarre, dis-nous si ça fonctionne, et si ce n’est pas le cas, copie ici le contenu du fichier où tu as enregistré la sortie comme demandé juste au-dessus.

Hors ligne

#814 Le 18/01/2015, à 19:58

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Ça n'a pas marché après redémarrage.

guillaume@MyAsus:~$ ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
[sudo] password for guillaume: 
 * dkms: running auto installation service for kernel 3.13.0-44-generic         
Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
Building module:
cleaning build area...
Building module:
cleaning build area...
Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-44-generic KVERSION=3.13.0-44-generic....
make KERNELRELEASE=3.13.0-44-generic module KERNEL_UNAME=3.13.0-44-generic KBUILD_EXTMOD=/var/lib/dkms/nvidia-331-uvm/331.113/build RM_OUT_DIR=/var/lib/dkms/nvidia-331/331.113/build....
make KERNELRELEASE=3.13.0-44-generic module KERNDIR=/lib/modules/3.13.0-44-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/3.13.0-44-generic/build LD=/usr/bin/ld.bfd....
make KERNELRELEASE=3.13.0-44-generic -C /lib/modules/3.13.0-44-generic/build M=/var/lib/dkms/virtualbox/4.3.10/build....(bad exit status: 2)
.(bad exit status: 2)
.(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64)
Consult /var/lib/dkms/nvidia-331-uvm/331.113/build/make.log for more information.
.(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64)
Consult /var/lib/dkms/nvidia-331/331.113/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64)
Consult /var/lib/dkms/bbswitch/0.7/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.10/build/make.log for more information.
                                                                         [ OK ]
guillaume@MyAsus:~$ 

Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#815 Le 18/01/2015, à 20:01

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

C’est normal, tu utilises un noyau 3.16 avec les headers du 3.13. Que retournes `dkpg -l | grep linux` ?

Hors ligne

#816 Le 18/01/2015, à 20:05

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

J'ai supprimé et purgé virtuabox (sudo apt-get remove --purge virtualbox*) et refait un ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start : même résultat.

guillaume@MyAsus:~$ dkpg -l | grep linux
La commande « dkpg » est introuvable, vouliez-vous dire :
 La commande « dpkg » du paquet « dpkg » (main)
dkpg : commande introuvable
guillaume@MyAsus:~$ dpkg -l | grep linux
ii  libselinux1:amd64                           2.2.2-1ubuntu0.1                      amd64        SELinux runtime shared libraries
ii  libselinux1:i386                            2.2.2-1ubuntu0.1                      i386         SELinux runtime shared libraries
ii  libv4l-0:amd64                              1.0.1-1                               amd64        Collection of video4linux support libraries
ii  libv4l-0:i386                               1.0.1-1                               i386         Collection of video4linux support libraries
ii  libv4lconvert0:amd64                        1.0.1-1                               amd64        Video4linux frame format conversion library
ii  libv4lconvert0:i386                         1.0.1-1                               i386         Video4linux frame format conversion library
ii  linux-firmware                              1.127.11                              all          Firmware for Linux kernel drivers
ii  linux-generic                               3.13.0.44.51                          amd64        Complete Generic Linux kernel and headers
ii  linux-headers-3.13.0-44                     3.13.0-44.73                          all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-44-generic             3.13.0-44.73                          amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                       3.13.0.44.51                          amd64        Generic Linux kernel headers
ii  linux-image-3.13.0-44-generic               3.13.0-44.73                          amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-44-generic         3.13.0-44.73                          amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                         3.13.0.44.51                          amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                        3.13.0-44.73                          amd64        Linux Kernel Headers for development
ii  linux-libc-dev:i386                         3.13.0-44.73                          i386         Linux Kernel Headers for development
ii  linux-signed-generic                        3.13.0.44.51                          amd64        Complete Signed Generic Linux kernel and headers
ii  linux-signed-image-3.13.0-44-generic        3.13.0-44.73                          amd64        Signed kernel image generic
ii  linux-signed-image-generic                  3.13.0.44.51                          amd64        Signed Generic Linux kernel image
ii  linux-sound-base                            1.0.25+dfsg-0ubuntu4                  all          base package for ALSA and OSS sound systems
ii  linux-source                                3.13.0.44.51                          all          Linux kernel source with Ubuntu patches
ii  linux-source-3.13.0                         3.13.0-44.73                          all          Linux kernel source for version 3.13.0 with Ubuntu patches
ii  playonlinux                                 4.2.2-1                               all          front-end for Wine
ii  pptp-linux                                  1.7.2-7                               amd64        Point-to-Point Tunneling Protocol (PPTP) Client
ii  syslinux                                    3:4.05+dfsg-6+deb8u1                  amd64        collection of boot loaders
ii  syslinux-common                             3:4.05+dfsg-6+deb8u1                  all          collection of boot loaders (common files)
ii  syslinux-legacy                             2:3.63+dfsg-2ubuntu5                  amd64        Bootloader for Linux/i386 using MS-DOS floppies
ii  util-linux                                  2.20.1-5.1ubuntu20.3                  amd64        Miscellaneous system utilities
guillaume@MyAsus:~$ 

Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#817 Le 18/01/2015, à 20:08

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Hum… Que contient /var/lib/dkms/bbswitch/0.7/build/make.log ?

Hors ligne

#818 Le 18/01/2015, à 20:17

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

/var/lib/dkms/bbswitch/0.7/build/make.log

DKMS make.log for bbswitch-0.7 for kernel 3.13.0-44-generic (x86_64)
dimanche 18 janvier 2015, 19:00:56 (UTC+0100)
make -C /lib/modules/3.13.0-44-generic/build M="$(pwd)" modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.13.0-44-generic »
/usr/src/linux-headers-3.13.0-44-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-44-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: commande introuvable
  CC [M]  /var/lib/dkms/bbswitch/0.7/build/bbswitch.o
/bin/sh: 1: gcc: not found
make[2]: *** [/var/lib/dkms/bbswitch/0.7/build/bbswitch.o] Erreur 127
make[1]: *** [_module_/var/lib/dkms/bbswitch/0.7/build] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-3.13.0-44-generic »
make: *** [default] Erreur 2

Faut-il installer gcc ?

Dernière modification par 38Guillaume (Le 18/01/2015, à 20:18)


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#819 Le 18/01/2015, à 20:24

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Oui. Ça fait partie des paquets à ne jamais désinstaller gcc.

Hors ligne

#820 Le 18/01/2015, à 20:25

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Heuu...

guillaume@MyAsus:~$ sudo apt-get install gcc
[sudo] password for guillaume: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
gcc est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  kbuild module-assistant
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
guillaume@MyAsus:~$

EDIT :

guillaume@MyAsus:~$ sudo apt-get install gcc
[sudo] password for guillaume: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
gcc est déjà la plus récente version disponible.
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  kbuild module-assistant
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
guillaume@MyAsus:~$ ^C
guillaume@MyAsus:~$ sudo apt-get install --reinstall gcc
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  kbuild module-assistant
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 5 098 o dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5 098 B]
5 098 o réceptionnés en 0s (26,7 ko/s)
(Lecture de la base de données... 182942 fichiers et répertoires déjà installés.)
Préparation du décompactage de .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Removing old gcc doc directory.
Décompactage de gcc (4:4.8.2-1ubuntu6) sur (4:4.8.2-1ubuntu6) ...
Traitement déclenché pour  man-db (2.6.7.1-1ubuntu1) ...
Paramétrage de gcc (4:4.8.2-1ubuntu6) ...
guillaume@MyAsus:~$ ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
 * dkms: running auto installation service for kernel 3.13.0-44-generic         
Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
Building module:
cleaning build area...
Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-44-generic KVERSION=3.13.0-44-generic....
make KERNELRELEASE=3.13.0-44-generic module KERNEL_UNAME=3.13.0-44-generic KBUILD_EXTMOD=/var/lib/dkms/nvidia-331-uvm/331.113/build RM_OUT_DIR=/var/lib/dkms/nvidia-331/331.113/build....
make KERNELRELEASE=3.13.0-44-generic module KERNDIR=/lib/modules/3.13.0-44-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/3.13.0-44-generic/build LD=/usr/bin/ld.bfd.......
cleaning build area......

DKMS: build completed.

bbswitch.ko:
Running module version sanity check.
. - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-44-generic/updates/dkms/

depmod.....(bad exit status: 2)
..Error! Bad return status for module build on kernel: 3.13.0-44-generic (x86_64)
Consult /var/lib/dkms/nvidia-331-uvm/331.113/build/make.log for more information.
....
cleaning build area....

DKMS: install completed.
.

DKMS: build completed.

nvidia_331.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-44-generic/updates/dkms/

depmod....

DKMS: install completed.
                       

Dernière modification par 38Guillaume (Le 18/01/2015, à 20:27)


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#821 Le 18/01/2015, à 20:27

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Et `dpkg -l | grep gcc` ?

Hors ligne

#822 Le 18/01/2015, à 20:28

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

guillaume@MyAsus:~$ dpkg -l | grep gcc
ii  gcc                                         4:4.8.2-1ubuntu6                      amd64        GNU C compiler
ii  gcc-4.8                                     4.8.2-19ubuntu1                       amd64        GNU C compiler
ii  gcc-4.8-base:amd64                          4.8.2-19ubuntu1                       amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.8-base:i386                           4.8.2-19ubuntu1                       i386         GCC, the GNU Compiler Collection (base package)
ii  gcc-4.9-base:amd64                          4.9.1-0ubuntu1                        amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.9-base:i386                           4.9.1-0ubuntu1                        i386         GCC, the GNU Compiler Collection (base package)
ii  lib32gcc1                                   1:4.9.1-0ubuntu1                      amd64        GCC support library (32 bit Version)
ii  libgcc-4.8-dev:amd64                        4.8.2-19ubuntu1                       amd64        GCC support library (development files)
ii  libgcc1:amd64                               1:4.9.1-0ubuntu1                      amd64        GCC support library
ii  libgcc1:i386                                1:4.9.1-0ubuntu1                      i386         GCC support library
guillaume@MyAsus:~$ 

Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#823 Le 18/01/2015, à 20:31

ArchangeGabriel

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Hum, j’avais pas vu ton EDIT au-dessus (évites dans des discussions à échange rapide comme ça). optirun marche après reboot ou pas ? Si ça marche pas, stoppes bumblebeed comme tout à l’heure et lance la commande avec -vv.

Que contient /var/lib/dkms/nvidia-331-uvm/331.113/build/make.log ?

Hors ligne

#824 Le 18/01/2015, à 20:37

38Guillaume

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

Ça fonctionne smile
Merci beaucoup ArchangeGabriel
Bonne fin de soirée, de toute façon là je lâchait l’affaire jusqu'à samedi prochain...

Dernière modification par 38Guillaume (Le 18/01/2015, à 20:38)


Ordi portable & Ordi bureau: 14.04 64bits Unity.
Mon nouveau portable perso sous Ubuntu Gnome 14.04 (64bits)
Mon p'tit blog : http://guillaume1996.free.fr/

Hors ligne

#825 Le 20/01/2015, à 09:32

Alcatorda

Re : Ordinateurs Portables - Deux cartes graphiques - NVIDIA Optimus

@ArchangeGabriel : j'ai réinstallé le 331. Et un « modprobe » ne me renvoie rien.
J'ai corrigé le bug ainsi que tu me l'as dit, mais cela n'a strictement rien changé. Toujours le même message d'erreur lorsque je tente de lancer optirun.

@PengouinPdt : dpkg -l | egrep "nvidia" :

ii  bumblebee-nvidia                            3.2.1-90~trustyppa1                                 amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
rc  nvidia-304                                  304.125-0ubuntu1~xedgers14.04.1                     amd64        NVIDIA legacy binary driver - version 304.125
ii  nvidia-331                                  331.113-0ubuntu1~xedgers14.04.1                     amd64        NVIDIA binary driver - version 331.113
ii  nvidia-settings                             346.22-0ubuntu1~xedgers14.04.1                      amd64        Tool for configuring the NVIDIA graphics driver

D'ailleurs, pourquoi y a-t'il marqué « amd64 » alors que mon processeur est un Intel I7 ? Avec un chipset graphique Intel donc, et une carte graphique NVIDIA…

Dernière modification par Alcatorda (Le 20/01/2015, à 09:35)

Hors ligne