Auteur Sujet: Linux: Comment prendre en charge la carte grpahique Intel intégrée 915GM ?  (Lu 3378 fois)

0 Membres et 1 Invité sur ce sujet

vivien

  • Administrateur
  • *
  • Messages: 47 086
    • Twitter LaFibre.info
J'ai mon vieux PC portable Dell Inspiron 6000 qui est équipé d'un chips Intel 915GM Express Graphics Controller (le CPU est un Celeron mobile, basé sur un Pentium III)
L'écran LCD 15 pouces intégré est connecté via une interface LVDS.

J'arrive à démarrer Ubuntu 16.04 et Lubuntu 16.04 depuis une clé USB, l'interface graphique se charge bien.

Une fois installé, Lubuntu xORG refuse de se charger.

# xvinfo
xvinfo:  Unable to open display


Les erreurs de Xorg : il semble que le module n'existe pas :

# grep EE /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    27.668] (EE) Failed to load module "intel" (module does not exist, 0)
[    27.670] (EE) Failed to load module "intel" (module does not exist, 0)
[    27.682] (EE) open /dev/dri/card0: No such file or directory
[    27.682] (EE) open /dev/dri/card0: No such file or directory
[    27.682] (EE) open /dev/dri/card0: No such file or directory
[    27.682] (EE) open /dev/dri/card0: No such file or directory
[    27.683] (EE) open /dev/fb0: No such file or directory
[    27.683] (EE) open /dev/fb0: No such file or directory
[    27.683] (EE) open /dev/fb0: No such file or directory
[    27.684] (EE) open /dev/fb0: No such file or directory
[    27.686] (EE) Screen 0 deleted because of no matching config section.
[    27.686] (EE) Screen 0 deleted because of no matching config section.
[    27.686] (EE) Screen 0 deleted because of no matching config section.
[    27.686] (EE) Screen 0 deleted because of no matching config section.
[    28.168] (EE) AIGLX: reverting to software rendering


Pourtant les modules i915 du kernel sont correctement chargés :
# lsmod | egrep  'i915'
i915                 1130496  0
i2c_algo_bit           16384  1 i915
drm_kms_helper        131072  1 i915
drm                   311296  2 i915,drm_kms_helper
video                  36864  2 i915,dell_laptop


Les données de lspci -vv :
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Dell Mobile 915GM/GMS/910GML Express Graphics Controller
   Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at dff00000 (32-bit, non-prefetchable) [size=512K]
   Region 1: I/O ports at ec38 [size=8]
   Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
   Region 3: Memory at dfec0000 (32-bit, non-prefetchable) [size=256K]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: [d0] Power Management version 2
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Kernel modules: i915, intelfb

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
   Subsystem: Dell Mobile 915GM/GMS/910GML Express Graphics Controller
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0
   Region 0: Memory at dff80000 (32-bit, non-prefetchable) [size=512K]
   Capabilities: [d0] Power Management version 2
      Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

vivien

  • Administrateur
  • *
  • Messages: 47 086
    • Twitter LaFibre.info
Je vois que dans /usr/lib/xorg/modules/drivers, Lubuntu a oublié de mettre 2 drivers dans l'installation : intel_drv.so et qxl_drv.so (ils sont bien présents dans la session live)

C'est bien intel_drv.so qui m'intéresse : il suffit de l'installer via la commande sudo apt install xserver-xorg-video-intel


Voici ce que cela donne une fois installé :
$ grep -i intel /var/log/Xorg.0.log
[    28.834] (==) Matched intel as autoconfigured driver 0
[    28.834] (==) Matched intel as autoconfigured driver 1
[    28.834] (II) LoadModule: "intel"
[    28.854] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    28.953] (II) Module intel: vendor="X.Org Foundation"
[    28.955] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[    28.956] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    28.956] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    28.956] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    28.991] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[    28.991] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1 (Timo Aaltonen <tjaalton@debian.org>)
[    28.991] (II) intel(0): SNA compiled for use with valgrind
[    29.039] (--) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
[    29.039] (--) intel(0): CPU: x86, sse2; using a maximum of 1 threads
[    29.040] (II) intel(0): Creating default Display subsection in Screen section
[    29.040] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    29.040] (==) intel(0): RGB weight 888
[    29.040] (==) intel(0): Default visual is TrueColor
[    29.040] (II) intel(0): Output LVDS1 has no monitor section
[    29.041] (--) intel(0): Found backlight control interface dell_backlight (type 'platform') for output LVDS1
[    29.041] (II) intel(0): Enabled output LVDS1
[    29.041] (II) intel(0): Output VGA1 has no monitor section
[    29.041] (II) intel(0): Enabled output VGA1
[    29.041] (II) intel(0): Output TV1 has no monitor section
[    29.041] (II) intel(0): Enabled output TV1
[    29.041] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    29.041] (II) intel(0): Output VIRTUAL1 has no monitor section
[    29.041] (II) intel(0): Enabled output VIRTUAL1
[    29.041] (--) intel(0): Output LVDS1 using initial mode 1680x1050 on pipe 1
[    29.041] (==) intel(0): TearFree disabled
[    29.041] (==) intel(0): DPI set to (96, 96)
[    29.056] (II) intel(0): SNA initialized with Alviso (gen3) backend
[    29.056] (==) intel(0): Backing store enabled
[    29.056] (==) intel(0): Silken mouse enabled
[    29.114] (II) intel(0): HW Cursor enabled
[    29.114] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    29.141] (==) intel(0): DPMS enabled
[    29.141] (==) intel(0): Display hotplug detection enabled
[    29.199] (II) intel(0): [DRI2] Setup complete
[    29.199] (II) intel(0): [DRI2]   DRI driver: i915
[    29.199] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    29.199] (II) intel(0): direct rendering: DRI2 enabled
[    29.199] (II) intel(0): hardware support for Present enabled
[    29.633] (II) AIGLX: enabled GLX_INTEL_swap_event
[    29.681] (II) intel(0): switch to mode 1680x1050@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[    29.681] (II) intel(0): Setting screen physical size to 444 x 277
[    31.042] (II) intel(0): EDID vendor "SEC", prod id 12624
[    31.042] (II) intel(0): Printing DDC gathered Modelines:
[    31.042] (II) intel(0): Modeline "1680x1050"x0.0  119.23  1680 1728 1760 1840  1050 1052 1058 1080 -hsync -vsync (64.8 kHz eP)