Bonjour à tous,
Je suis confronter au problème suivant :
Un serveur X mal configuré qui a pour effet des consommations de CPU variant de 1% à 60% lors d'un simple déplacement de fenêtre.(constattion avec la commande top).
Ma config. matérielle:
description: Notebook
product: F3JV
vendor: ASUSTeK Computer Inc.
version: 1.0
serial: SSNXXXXXXXXXXXXXXXXXXX
width: 32 bits
capabilities: smbios-2.4 dmi-2.4
configuration: chassis=notebook uuid=383881DB-649C-CDEB-7E80-0018F3AC89E6
*-core
description: Motherboard
product: F3JV
vendor: ASUSTeK Computer Inc.
physical id: 0
version: 1.0
serial: BSNXXXXXXXXXXXXXXXXXXX
slot: MIDDLE
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 202 (09/27/2006)
size: 64KB
capacity: 448KB
capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int17printer int10video acpi usb smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
serial: PSN12345678901234567
slot: Socket 478
size: 2GHz
capacity: 2GHz
width: 64 bits
clock: 167MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx x86-64 constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
*-cache:0
description: L1 cache
physical id: 5
slot: L1-Cache
size: 64KB
capacity: 64KB
capabilities: internal write-back instruction
*-cache:1
description: L2 cache
physical id: 6
slot: L2-Cache
size: 4MB
capacity: 4MB
capabilities: internal write-back unified
*-memory
description: System Memory
physical id: 1d
slot: System board or motherboard
size: 2GB
*-bank:0
description: DIMM SDRAM Synchronous
product: PartNum0
vendor: Manufacturer0
physical id: 0
serial: SerNum0
slot: DIMM0
size: 1GB
width: 64 bits
*-bank:1
description: DIMM SDRAM Synchronous
product: PartNum1
vendor: Manufacturer1
physical id: 1
serial: SerNum1
slot: DIMM1
size: 1GB
width: 64 bits
*-pci
description: Host bridge
product: Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@00:00.0
version: 03
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port
vendor: Intel Corporation
physical id: 1
bus info: pci@00:01.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-display
description: VGA compatible controller
product: G70 [GeForce Go 7600]
vendor: nVidia Corporation
physical id: 0
bus info: pci@01:00.0
version: a1
size: 256MB
width: 64 bits
clock: 33MHz
capabilities: vga bus_master cap_list
configuration: latency=0
resources: iomemory:fd000000-fdffffff iomemory:c0000000-cfffffff iomemory:fc000000-fcffffff ioport:bc00-bc7f irq:11
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@00:1b.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=HDA Intel latency=0
resources: iomemory:febfc000-febfffff irq:169
*-pci:1
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@00:1c.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@02:00.0
logical name: eth0
version: 01
serial: 00:18:f3:ac:89:e6
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.2LK-NAPI duplex=full ip=192.168.0.11 latency=0 link=yes multicast=yes port=twisted pair speed=100MB/s
resources: ioport:c800-c8ff iomemory:fe0ff000-fe0fffff irq:169
*-pci:2
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@00:1c.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Network controller
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@03:00.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=ipw3945 latency=0
resources: iomemory:fe1ff000-fe1fffff irq:177
*-pci:3
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@00:1c.2
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-usb:0
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@00:1d.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:ec00-ec1f irq:233
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.18-4-amd64 uhci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:1
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@00:1d.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:e880-e89f irq:50
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.18-4-amd64 uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb
description: Mouse
product: Logitech USB Optical Mouse
vendor: Logitech
physical id: 2
bus info: usb@2:2
version: 43.00
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=1.5MB/s
*-usb:2
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@00:1d.2
version: 02
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:e800-e81f irq:185
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.18-4-amd64 uhci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:3
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI #4
vendor: Intel Corporation
physical id: 1d.3
bus info: pci@00:1d.3
version: 02
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:e480-e49f irq:169
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.18-4-amd64 uhci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:4
description: USB Controller
product: 82801G (ICH7 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@00:1d.7
version: 02
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: iomemory:febfbc00-febfbfff irq:233
*-usbhost
product: EHCI Host Controller
vendor: Linux 2.6.18-4-amd64 ehci_hcd
physical id: 1
bus info: usb@5
logical name: usb5
version: 2.06
capabilities: usb-2.00
configuration: driver=hub maxpower=0mA slots=8 speed=480.0MB/s
*-usb UNCLAIMED
description: Generic USB device
product: USB 2.0 Image Capture Controller
vendor: Syntek Semiconductor
physical id: 8
bus info: usb@5:8
version: 0.05
capabilities: usb-2.00
configuration: maxpower=500mA speed=480.0MB/s
*-pci:4
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@00:1e.0
version: e2
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
*-firewire
description: FireWire (IEEE 1394)
product: Ricoh Co Ltd
vendor: Ricoh Co Ltd
physical id: 1
bus info: pci@06:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: ohci bus_master cap_list
configuration: driver=ohci1394 latency=32 maxlatency=4 mingnt=2
resources: iomemory:feaff800-feafffff irq:169
*-system:0
description: Generic system peripheral
product: R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
vendor: Ricoh Co Ltd
physical id: 1.1
bus info: pci@06:01.1
version: 19
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sdhci latency=64
resources: iomemory:feaff400-feaff4ff irq:177
*-system:1 UNCLAIMED
description: System peripheral
product: Ricoh Co Ltd
vendor: Ricoh Co Ltd
physical id: 1.2
bus info: pci@06:01.2
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: iomemory:feaff000-feaff0ff irq:5
*-system:2 UNCLAIMED
description: System peripheral
product: R5C592 Memory Stick Bus Host Adapter
vendor: Ricoh Co Ltd
physical id: 1.3
bus info: pci@06:01.3
version: 0a
width: 32 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: iomemory:feafec00-feafecff irq:5
*-isa
description: ISA bridge
product: 82801GBM (ICH7-M) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@00:1f.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@00:1f.2
logical name: scsi0
logical name: scsi1
version: 02
width: 32 bits
clock: 66MHz
capabilities: ide bus_master cap_list emulated
configuration: driver=ata_piix latency=0
resources: ioport:ffa0-ffaf irq:50
*-disk
description: SCSI Disk
product: Hitachi HTS54161
vendor: ATA
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: SBDO
serial: SB2D01E4G7W0PB
size: 111GB
capabilities: partitioned partitioned:dos
configuration: ansiversion=5
*-volume:0
description: Hidden W95 FAT32 partition
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
capacity: 1906MB
capabilities: primary hidden
*-volume:1
description: W95 FAT32 (LBA) partition
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
capacity: 10GB
capabilities: primary bootable
*-volume:2
description: Linux filesystem partition
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
capacity: 9538MB
capabilities: primary
*-volume:3
description: Extended partition
physical id: 4
bus info: scsi@0:0.0.0,4
logical name: /dev/sda4
size: 90GB
capacity: 90GB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: Linux filesystem partition
physical id: 5
logical name: /dev/sda5
capacity: 4769MB
capabilities: bootable
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
capacity: 9538MB
*-logicalvolume:2
description: Linux filesystem partition
physical id: 7
logical name: /dev/sda7
capacity: 956MB
*-logicalvolume:3
description: Linux filesystem partition
physical id: 8
logical name: /dev/sda8
capacity: 2863MB
*-logicalvolume:4
description: Linux filesystem partition
physical id: 9
logical name: /dev/sda9
capacity: 3812MB
*-logicalvolume:5
description: Linux filesystem partition
physical id: a
logical name: /dev/sda10
capacity: 3812MB
*-logicalvolume:6
description: Linux filesystem partition
physical id: b
logical name: /dev/sda11
capacity: 2863MB
*-logicalvolume:7
description: Linux filesystem partition
physical id: c
logical name: /dev/sda12
capacity: 956MB
*-logicalvolume:8
description: Linux swap / Solaris partition
physical id: d
logical name: /dev/sda13
capacity: 956MB
capabilities: nofs
*-logicalvolume:9
description: W95 FAT32 partition
physical id: e
logical name: /dev/sda14
capacity: 18GB
*-logicalvolume:10
description: Linux filesystem partition
physical id: f
logical name: /dev/sda15
capacity: 41GB
*-cdrom UNCLAIMED
description: SCSI CD-ROM
product: DVD-RAM UJ-850S
vendor: MATSHITA
physical id: 1
bus info: scsi@1:0.0.0
version: 1.21
capabilities: removable
configuration: ansiversion=5
*-serial
description: SMBus
product: 82801G (ICH7 Family) SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@00:1f.3
version: 02
width: 32 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: ioport:400-41f irq:50
*-network DISABLED
description: IEEE1394 interface
physical id: 1
logical name: eth1
serial: 00:e0:18:00:03:73
capabilities: ieee1394 physical
configuration: broadcast=yes driver=eth1394 multicast=yes
Ma config. serveur X:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "GLcore"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "nVidia Corporation G70 [GeForce Go 7600]"
Driver "nv"
VideoRam 262144
Option "NvAGP" "1"
Option "Coolbits" "1"
Option "NoLogo" "true"
Option "RenderAccel" "true" # render accel is enabled by default
Option "TripleBuffer" "true"
Option "NoRenderExtension" "Off"
Option "AllowGLXWithComposite" "On"
Option "AddARGBVisuals" "true"
Option "AddARGBGLXVisuals" "true"
Option "DPMS" "true"
Option "VBERestore" "true"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
HorizSync 28-72
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G70 [GeForce Go 7600]"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1440x900" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Mes packets installés concernant nvidia, et le serveur graphique:
nvidia-glx, nvidia-glx-dev, nvidia-kernel-2.6.18-4-amd64, nvidia-kernel-common, nvidia-kernel-source, xserver-xorg-video-nv.
xorg, server-xorg, server-xorg-core, server-xorg-input-all, server-xorg-evdev, server-xorg-kbd, server-xorg-mouse, server-xorg-synaptics, server-xorg-wacom, server-xorg-video-dummy, server-xorg-video-fbdev, server-xorg-video-810, server-xorg-video-nv, server-xorg-video-v4l, server-xorg-video-vesa, server-xorg-video-vga
Voilà je pense avoir été le plus exhaustif possible, si néanmoins des informations supplémentaires sont nécessaires à la résolution de mon probléme, je vous en ferais part dès que possible.
Soyez indulgent avec les non informaticiens comme moi qui découvre et apprécie GNU/Linux au quotidien.
Sincères Salutations.
--
---------------------------------------------------------------------------
Si un jour on te reproche que ton travail n'est pas un travail de
professionnel, dis toi que :
Des amateurs ont construit l'arche de Noé, et des professionnels le
Titanic.
---------------------------------------------------------------------------
Pensez librement : Linux thinking !
tux4fun
http://counter.li.org
Linux Registered User #363458
Machine Registered #261921
# hmmm
Posté par NeoX . Évalué à 1.
puis tu peux essayer en changeant
par
vu que tu as installé les paquets nvidia-glx
[^] # Performances nv vs nvidia
Posté par niol (site web personnel) . Évalué à 1.
Par exemple, pour lire une vidéo en 1280x720 (DX50) via XV, ce n'est tout simplement pas possible sur mon ordi avec le driver libre (Xorg utilise tout le temps CPU) alors qu'avec le driver propriétaire, ca passe (moins de 30% du temps CPU pour mplayer et Xorg).
[^] # Re: Performances nv vs nvidia
Posté par frederick . Évalué à 1.
J'ai tout simplement remis le driver nvidia en lieu et place de nv, néanmoins la consommation cpu reste conséquente.
Mes compétences pour compiler à partir des sources étant particuliérement limité, je vais chercher des dépôts pour les drivers packagés pour nvidia arch amd64.
Salutations.
--
---------------------------------------------------------------------------
Si un jour on te reproche que ton travail n'est pas un travail de
professionnel, dis toi que :
Des amateurs ont construit l'arche de Noé, et des professionnels le
Titanic.
---------------------------------------------------------------------------
Pensez librement : Linux thinking !
tux4fun
http://counter.li.org
Linux Registered User #363458
Machine Registered #261921
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.