• [^] # Re: Soit l'un soit l'autre.

    Posté par . En réponse au message Le point sur nVidia optimus. Évalué à 2.

    J'ai fait des test un peu plus complet sans batailler 2 heures non plus. Pour info j'utilise la distribution du mal, la bien nommée Ubuntu avec gnome.

    Il y a deux options dans le bios pour "Graphics Mode" : Switchable et Discrete.

    This field enable, disable the witchable graphics mode.
    When this functon is Switchable, integrated and discrete video can be switched back and forth using FN+F6.
    When this option is Discrete, integrated graphics is disabled and system runs soley on discrete video.


    Si je passe en mode Discrete, je n'ai plus qu'une seule carte graphique en faisant lspci

    01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 335M] (rev a2)

    J'ai un affichage avec le driver nouveau (Kernel modules: nouveau, nvidiafb) par contre il me prend pas la bonne résolution et ne reconnait pas l'écran externe. (j'ai pas poussé la recherche plus loin)
    Si j'installe le driver Nvidia tout fonctionne bien. L'écran externe est bien reconnu, ça dépote plutôt pas mal (juste tester avec warsow, pas trop de référence). On peut modifier les réglages uniquement via l'interface nvidia.

    Je repasse en mode "Switch", j'ai les deux cartes quand je fais lspci

    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 335M] (rev a2)

    Il ne me démarre pas le serveur graphique même si je précise le BusId (BusId "01:00:0") dans le fichier xorg.conf. Le fichier a été créé par l'installation des drivers Nvidia.
    Je modifie le fichier xorg.conf

    BusId "00:02:0"
    Driver "intel"

    Ça fonctionne à nouveau correctement, les deux écrans sont reconnus, je peux modifier la configuration via l'administration standard.


    Je ne comprend absolument pas pourquoi il me jette sur la nvidia, il me propose pourtant d'activer les drivers. Je pense que ce n'est tout simplement pas possible sans truc supplémentaire (modules, patch ...). Du coup c'est pas très intéressant (redemarrage et changement dans le bios nécessaire pour switcher), il faut faire un choix ...
    Je n'ai pas cherché sur le net dernièrement mais mes premières n'avaient pas données grand chose. ...

    Pour informations, syslog :

    Feb 3 16:09:50 seb-laptop gdm-binary[2446]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:50 seb-laptop gdm-binary[2446]: WARNING: Unable to find users: no seat-id found
    Feb 3 16:09:50 seb-laptop gdm-simple-slave[2447]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:50 seb-laptop acpid: client 1717[0:0] has disconnected
    Feb 3 16:09:50 seb-laptop acpid: client connected from 2450[0:0]
    Feb 3 16:09:50 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:50 seb-laptop kernel: [ 115.251207] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:50 seb-laptop kernel: [ 115.256755] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:50 seb-laptop kernel: [ 115.256766] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:50 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,113135 seconds
    Feb 3 16:09:50 seb-laptop gdm-simple-slave[2456]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:50 seb-laptop acpid: client 2450[0:0] has disconnected
    Feb 3 16:09:50 seb-laptop acpid: client connected from 2458[0:0]
    Feb 3 16:09:50 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:51 seb-laptop kernel: [ 115.338294] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:51 seb-laptop kernel: [ 115.343437] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:51 seb-laptop kernel: [ 115.343447] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,085873 seconds
    Feb 3 16:09:51 seb-laptop gdm-simple-slave[2464]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:51 seb-laptop acpid: client 2458[0:0] has disconnected
    Feb 3 16:09:51 seb-laptop acpid: client connected from 2466[0:0]
    Feb 3 16:09:51 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:51 seb-laptop kernel: [ 115.424477] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:51 seb-laptop kernel: [ 115.429580] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:51 seb-laptop kernel: [ 115.429591] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,085895 seconds
    Feb 3 16:09:51 seb-laptop gdm-simple-slave[2472]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:51 seb-laptop acpid: client 2466[0:0] has disconnected
    Feb 3 16:09:51 seb-laptop acpid: client connected from 2474[0:0]
    Feb 3 16:09:51 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:51 seb-laptop kernel: [ 115.511574] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:51 seb-laptop kernel: [ 115.516679] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:51 seb-laptop kernel: [ 115.516689] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,086350 seconds
    Feb 3 16:09:51 seb-laptop gdm-simple-slave[2480]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:51 seb-laptop acpid: client 2474[0:0] has disconnected
    Feb 3 16:09:51 seb-laptop acpid: client connected from 2482[0:0]
    Feb 3 16:09:51 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:51 seb-laptop kernel: [ 115.597835] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:51 seb-laptop kernel: [ 115.602912] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:51 seb-laptop kernel: [ 115.602923] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,086275 seconds
    Feb 3 16:09:51 seb-laptop gdm-simple-slave[2488]: WARNING: Unable to load file '/etc/gdm/custom.conf': Le fichier est vide
    Feb 3 16:09:51 seb-laptop acpid: client 2482[0:0] has disconnected
    Feb 3 16:09:51 seb-laptop acpid: client connected from 2490[0:0]
    Feb 3 16:09:51 seb-laptop acpid: 1 client rule loaded
    Feb 3 16:09:51 seb-laptop kernel: [ 115.684646] NVRM: failed to copy vbios to system memory.
    Feb 3 16:09:51 seb-laptop kernel: [ 115.689751] NVRM: RmInitAdapter failed! (0x30:0xffffffff:820)
    Feb 3 16:09:51 seb-laptop kernel: [ 115.689761] NVRM: rm_init_adapter(0) failed
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmDisplay: display lasted 0,086555 seconds
    Feb 3 16:09:51 seb-laptop gdm-binary[2446]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors


    et les logs Xorg :

    [ 392.261]
    X.Org X Server 1.9.0
    Release Date: 2010年08月20日
    [ 392.261] X Protocol Version 11, Revision 0
    [ 392.261] Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
    [ 392.261] Current Operating System: Linux seb-laptop 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64
    [ 392.261] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic root=UUID=be8575ea-699a-40a8-9ac4-f4abf347d02f ro quiet splash nomodeset acpi_backlight=vendor
    [ 392.261] Build Date: 09 January 2011 12:14:27PM
    [ 392.261] xorg-server 2:1.9.0-0ubuntu7.3 (For technical support please see http://www.ubuntu.com/support)
    [ 392.261] Current version of pixman: 0.18.4
    [ 392.261] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 392.261] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 392.261] (==) Log file: "/var/log/Xorg.1.log", Time: Thu Feb 3 16:14:27 2011
    [ 392.261] (==) Using config file: "/etc/X11/xorg.conf"
    [ 392.261] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 392.262] (==) ServerLayout "Layout0"
    [ 392.262] (**) |-->Screen "Screen0" (0)
    [ 392.262] (**) | |-->Monitor "Monitor0"
    [ 392.262] (**) | |-->Device "Device0"
    [ 392.262] (**) |-->Input Device "Keyboard0"
    [ 392.262] (**) |-->Input Device "Mouse0"
    [ 392.262] (**) Option "Xinerama" "0"
    [ 392.262] (==) Automatically adding devices
    [ 392.262] (==) Automatically enabling devices
    [ 392.262] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [ 392.262] Entry deleted from font path.
    [ 392.262] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins
    [ 392.262] (==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
    [ 392.262] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 392.262] (WW) Disabling Keyboard0
    [ 392.262] (WW) Disabling Mouse0
    [ 392.263] (II) Loader magic: 0x7d17a0
    [ 392.263] (II) Module ABI versions:
    [ 392.263] X.Org ANSI C Emulation: 0.4
    [ 392.263] X.Org Video Driver: 8.0
    [ 392.263] X.Org XInput driver : 11.0
    [ 392.263] X.Org Server Extension : 4.0
    [ 392.264] (--) PCI:*(0:0:2:0) 8086:2a42:1028:0443 rev 7, Mem @ 0xf1400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 392.264] (--) PCI: (0:1:0:0) 10de:0caf:1028:0443 rev 162, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xbe000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
    [ 392.264] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 392.264] (II) "extmod" will be loaded by default.
    [ 392.264] (II) "dbe" will be loaded by default.
    [ 392.264] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
    [ 392.264] (II) "record" will be loaded by default.
    [ 392.264] (II) "dri" will be loaded by default.
    [ 392.265] (II) "dri2" will be loaded by default.
    [ 392.265] (II) LoadModule: "glx"
    [ 392.265] (II) Loading /usr/lib/xorg/extra-modules/libglx.so
    [ 392.280] (II) Module glx: vendor="NVIDIA Corporation"
    [ 392.280] compiled for 4.0.2, module version = 1.0.0
    [ 392.280] Module class: X.Org Server Extension
    [ 392.280] (II) NVIDIA GLX Module 260.19.06 Mon Sep 13 04:54:41 PDT 2010
    [ 392.280] (II) Loading extension GLX
    [ 392.280] (II) LoadModule: "extmod"
    [ 392.280] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 392.280] (II) Module extmod: vendor="X.Org Foundation"
    [ 392.280] compiled for 1.9.0, module version = 1.0.0
    [ 392.280] Module class: X.Org Server Extension
    [ 392.280] ABI class: X.Org Server Extension, version 4.0
    [ 392.280] (II) Loading extension MIT-SCREEN-SAVER
    [ 392.280] (II) Loading extension XFree86-VidModeExtension
    [ 392.280] (II) Loading extension XFree86-DGA
    [ 392.280] (II) Loading extension DPMS
    [ 392.280] (II) Loading extension XVideo
    [ 392.280] (II) Loading extension XVideo-MotionCompensation
    [ 392.280] (II) Loading extension X-Resource
    [ 392.280] (II) LoadModule: "dbe"
    [ 392.281] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 392.281] (II) Module dbe: vendor="X.Org Foundation"
    [ 392.281] compiled for 1.9.0, module version = 1.0.0
    [ 392.281] Module class: X.Org Server Extension
    [ 392.281] ABI class: X.Org Server Extension, version 4.0
    [ 392.281] (II) Loading extension DOUBLE-BUFFER
    [ 392.281] (II) LoadModule: "record"
    [ 392.281] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 392.281] (II) Module record: vendor="X.Org Foundation"
    [ 392.281] compiled for 1.9.0, module version = 1.13.0
    [ 392.281] Module class: X.Org Server Extension
    [ 392.281] ABI class: X.Org Server Extension, version 4.0
    [ 392.281] (II) Loading extension RECORD
    [ 392.281] (II) LoadModule: "dri"
    [ 392.281] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 392.282] (II) Module dri: vendor="X.Org Foundation"
    [ 392.282] compiled for 1.9.0, module version = 1.0.0
    [ 392.282] ABI class: X.Org Server Extension, version 4.0
    [ 392.282] (II) Loading extension XFree86-DRI
    [ 392.282] (II) LoadModule: "dri2"
    [ 392.282] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 392.282] (II) Module dri2: vendor="X.Org Foundation"
    [ 392.282] compiled for 1.9.0, module version = 1.2.0
    [ 392.282] ABI class: X.Org Server Extension, version 4.0
    [ 392.282] (II) Loading extension DRI2
    [ 392.282] (II) LoadModule: "mesa"
    [ 392.283] (WW) Warning, couldn't open module mesa
    [ 392.283] (II) UnloadModule: "mesa"
    [ 392.283] (EE) Failed to load module "mesa" (module does not exist, 0)
    [ 392.283] (EE) No drivers available.
    [ 392.283]
    Fatal server error:
    [ 392.283] no screens found