Après plusieurs recherches,
[FAUX]il apparaît que le soucis vient de NVidia Optimus
[/
FAUX].
Cette technologie pour ordinateur portable, permet de passer du chipset graphique standard à la carte dites "discrete" (carte dédiée).
Code : Tout sélectionner
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: nVidia Corporation Device 0a29 (rev a2)
On voit ici clairement que la carte dédiée n'est pas reconnue.
Le driver nv ou nouveau n'est pas installé.
J'ai testé avec le paquet nvidia disponible dans les dépôts, ainsi qu'avec le driver directement téléchargé depuis le site.
Un :
Me configure les deux cartes, en les plaçants sur un écran séparé :
Code : Tout sélectionner
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "dri2"
Load "dri"
Load "dbe"
Load "record"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card1"
Driver "vesa"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Lorsque j'essaie de lancer nvidia-settings, j'obtiens :
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
Ce qui voudrait dire que j'utilise bel bien la carte dédiée, car le chipset utilise le driver nvidia et la dédiée utilise le driver vesa.
Or, quand je défini la carte dédiée à "nvidia", j'obtiens :
Code : Tout sélectionner
[ 13.404] (II) Loading extension DPMS
[ 13.404] (II) Loading extension XVideo
[ 13.404] (II) Loading extension XVideo-MotionCompensation
[ 13.404] (II) Loading extension X-Resource
[ 13.404] (II) LoadModule: "glx"
[ 13.424] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 14.639] (II) Module glx: vendor="NVIDIA Corporation"
[ 14.665] compiled for 4.0.2, module version = 1.0.0
[ 14.665] Module class: X.Org Server Extension
[ 14.665] (II) NVIDIA GLX Module 260.19.12 Fri Oct 8 11:41:55 PDT 2010
[ 14.665] (II) Loading extension GLX
[ 14.665] (II) LoadModule: "nvidia"
[ 14.693] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 14.850] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 14.869] compiled for 4.0.2, module version = 1.0.0
[ 14.869] Module class: X.Org Video Driver
[ 14.913] (II) NVIDIA dlloader X Driver 260.19.12 Fri Oct 8 11:19:20 PDT 2010
[ 14.913] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 14.913] (++) using VT number 7
[ 14.917] (II) Loading sub module "fb"
[ 14.917] (II) LoadModule: "fb"
[ 14.950] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 15.030] (II) Module fb: vendor="X.Org Foundation"
[ 15.031] compiled for 1.9.0, module version = 1.0.0
[ 15.031] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.031] (II) Loading sub module "wfb"
[ 15.031] (II) LoadModule: "wfb"
[ 15.031] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 15.138] (II) Module wfb: vendor="X.Org Foundation"
[ 15.138] compiled for 1.9.0, module version = 1.0.0
[ 15.138] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.138] (II) Loading sub module "ramdac"
[ 15.138] (II) LoadModule: "ramdac"
[ 15.138] (II) Module "ramdac" already built-in
[ 15.220] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 15.220] (==) NVIDIA(0): RGB weight 888
[ 15.220] (==) NVIDIA(0): Default visual is TrueColor
[ 15.220] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 15.241] (**) NVIDIA(0): Enabling RENDER acceleration
[ 15.241] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[ 15.241] (II) NVIDIA(0): enabled.
[ 15.277] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
[ 15.277] (EE) NVIDIA(0): Please check your system's kernel log for additional error
[ 15.277] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
[ 15.277] (EE) NVIDIA(0): README for additional information.
[ 15.277] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[ 15.277] (II) UnloadModule: "nvidia"
[ 15.277] (II) UnloadModule: "wfb"
[ 15.277] (II) UnloadModule: "fb"
[ 15.277] (EE) Screen(s) found, but none have a usable configuration.
[ 15.277]
Fatal server error:
[ 15.277] no screens found
[ 15.277]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 15.277] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 15.277]
Après avoir vu
ce lien , j'ai essayé de placer :
Au début du fichier
/etc/rc.sysinit
Pour désactiver le chipset et être sûr de charger la carte dédiée. Je boot en init3, et la je balance
X -configure pour qu'il me génère un nouveau fichier en prenant en compte uniquement la carte dédiée. Quand je veux booter je me retrouve avec un écran noir.
Je vais tester un downgrade du driver NVidia.