Page 1 sur 1

[PC] CPU presque à 100% (resolu)

Publié : ven. 30 mai 2014, 15:49
par AchilleFraisse
Bonjour,
Je viens de me rendre compte en installant conky, que le CPU de mon PC tournait toujours autour de 80 - 90 %. Et quand je lance une machine virtuel avec virtual box, alors la le ventilo ce mes a tourné comme un fou et le CPU est à 100 %. Bon, d'accord mon PC est vieux (environ 5 ans), mais j'ai reformater mon disque dur il y a 1 mois pour y installer archlinux. Et depuis, je fais attention à ce que j'installe, donc il n'y a pas de cochonerie dessus. Auriez vous une idée à ce problème ?
Voilà mon config :
- 1,72Go de RAM
- J'ai mis 2Go de swap à l'installation
- Disque dur : 118Go
- Actuellement sur conky : - 105 process, X : 40 % CPU, conky : 28 % CPU, firefox : 20 % CPU

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 16:33
par benjarobin
Peux tu donner le log de Xorg ?

Code : Tout sélectionner

cat /var/log/Xorg.0.log
hwinfo --gfxcard
lsmod

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 16:46
par AchilleFraisse
On peut joindre des fichiez via le forum ? Les log font plus de 2000 lignes, et comme je débute sous dwm, je n'arrive pas à faire de copiez-collez :oO

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 17:00
par Moviuro
Pour un pastebin en CLI:

Code : Tout sélectionner

$ <COMMANDE> | curl -F 'sprunge=<-' http://sprunge.us

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 17:01
par AchilleFraisse
C'est bon, j'ai trouvé ;)
Je t'envoie que la fin du fichier /var/log/Xorg.0.log parce qu'il est très long :

Code : Tout sélectionner

[ 25702.300] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 25702.300] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 25702.300] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 25702.325] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 25712.656] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 25712.656] (II) NOUVEAU(0): NVLeaveVT is called.
[ 25714.000] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 25714.000] (II) NOUVEAU(0): NVEnterVT is called.
[ 25714.074] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 25714.098] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 25714.098] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 25714.125] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 26001.037] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 26001.038] (II) NOUVEAU(0): NVLeaveVT is called.
[ 26071.034] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 26071.034] (II) NOUVEAU(0): NVEnterVT is called.
[ 26071.115] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 26071.115] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 26071.115] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 26071.141] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 26087.517] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 26087.518] (II) NOUVEAU(0): NVLeaveVT is called.
[ 26103.580] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 26103.580] (II) NOUVEAU(0): NVEnterVT is called.
[ 26103.644] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 26103.644] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 26103.644] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 26103.670] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 26112.944] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 26112.944] (II) NOUVEAU(0): NVLeaveVT is called.
[ 26113.789] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 26113.790] (II) NOUVEAU(0): NVEnterVT is called.
[ 26113.858] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 26113.858] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 26113.858] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 26113.884] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 26165.891] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 26165.891] (II) NOUVEAU(0): NVLeaveVT is called.
[ 26180.745] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 26180.746] (II) NOUVEAU(0): NVEnterVT is called.
[ 26180.822] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 26180.822] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 26180.822] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 26180.848] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 26361.904] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 26361.904] (II) NOUVEAU(0): NVLeaveVT is called.
[ 26386.394] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 26386.395] (II) NOUVEAU(0): NVEnterVT is called.
[ 26386.475] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 26386.475] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 26386.475] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 26386.501] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 28929.550] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 28929.551] (II) NOUVEAU(0): NVLeaveVT is called.
[ 28933.960] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 28933.961] (II) NOUVEAU(0): NVEnterVT is called.
[ 28934.034] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 28934.034] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 28934.034] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 28934.060] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 29049.144] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 29049.144] (II) NOUVEAU(0): NVLeaveVT is called.
[ 29060.458] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 29060.458] (II) NOUVEAU(0): NVEnterVT is called.
[ 29060.535] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 29060.535] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 29060.535] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 29060.562] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 29381.464] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 29381.464] (II) NOUVEAU(0): NVLeaveVT is called.
[ 29385.188] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 29385.188] (II) NOUVEAU(0): NVEnterVT is called.
[ 29385.261] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 29385.261] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 29385.262] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 29385.289] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 29521.036] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 29521.036] (II) NOUVEAU(0): NVLeaveVT is called.
[ 29531.156] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 29531.156] (II) NOUVEAU(0): NVEnterVT is called.
[ 29531.228] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 29531.228] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 29531.228] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 29531.255] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 29585.361] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 29585.361] (II) NOUVEAU(0): NVLeaveVT is called.
[ 29589.172] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 29589.172] (II) NOUVEAU(0): NVEnterVT is called.
[ 29589.244] (II) NOUVEAU(0): EDID vendor "HSD", prod id 1206
[ 29589.244] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 29589.244] (II) NOUVEAU(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
[ 29589.270] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
hwinfo --gfxcard:

Code : Tout sélectionner

24: PCI 200.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.328]
  Unique ID: B35A.zWp3WE2Gkl4
  Parent ID: 37TO.0+yd1VTJO70
  SysFS ID: /devices/pci0000:00/0000:00:10.0/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: graphics card
  Model: "nVidia ION VGA [GeForce 9400M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0876 "ION VGA [GeForce 9400M]"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8402 
  Revision: 0xb1
  Driver: "nouveau"
  Driver Modules: "drm"
  Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable)
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
  Memory Range: 0xf6000000-0xf7ffffff (ro,non-prefetchable)
  I/O Ports: 0xcc00-0xcc7f (rw)
  Memory Range: 0xfbde0000-0xfbdfffff (ro,non-prefetchable,disabled)
  IRQ: 41 (168491 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v000010DEd00000876sv00001043sd00008402bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #20 (PCI bridge)

Primary display adapter: #24
lsmod :

Code : Tout sélectionner

Module                  Size  Used by
vboxdrv               246761  0 
fuse                   71217  1 
usb_storage            39127  0 
rpcsec_gss_krb5        22805  0 
auth_rpcgss            41880  1 rpcsec_gss_krb5
oid_registry            2015  1 auth_rpcgss
nfsv4                 370483  1 
dns_resolver            3908  1 nfsv4
snd_hda_codec_hdmi     33500  1 
nouveau               996454  2 
joydev                  7691  0 
snd_hda_codec_realtek    42329  1 
snd_hda_codec_generic    46814  1 snd_hda_codec_realtek
mousedev                9164  0 
arc4                    1596  2 
mxm_wmi                 1199  1 nouveau
ttm                    56268  1 nouveau
drm_kms_helper         32032  1 nouveau
drm                   196474  4 ttm,drm_kms_helper,nouveau
agpgart                22747  2 drm,ttm
i2c_algo_bit            4640  1 nouveau
snd_hda_intel          33079  0 
rtl8192se              55712  0 
uvcvideo               65180  0 
videobuf2_vmalloc       2732  1 uvcvideo
rtl_pci                14502  1 rtl8192se
videobuf2_memops        1651  1 videobuf2_vmalloc
rtlwifi                42973  2 rtl_pci,rtl8192se
videobuf2_core         26295  1 uvcvideo
mac80211              446445  3 rtl_pci,rtlwifi,rtl8192se
videodev              100419  2 uvcvideo,videobuf2_core
atl1c                  34090  0 
coretemp                5502  0 
media                  10120  2 uvcvideo,videodev
cfg80211              388522  2 mac80211,rtlwifi
eeepc_wmi               4104  0 
asus_wmi               14141  1 eeepc_wmi
snd_hda_codec          87945  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
evdev                   8816  13 
shpchp                 22606  0 
snd_hwdep               4970  1 snd_hda_codec
mac_hid                 2721  0 
microcode              12201  0 
psmouse                92731  0 
serio_raw               4033  0 
pcspkr                  1519  0 
snd_pcm                67460  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              15422  1 snd_pcm
thermal                 7112  0 
snd                    45927  8 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore               4455  1 snd
wmi                     7355  3 mxm_wmi,nouveau,asus_wmi
sparse_keymap           2742  1 asus_wmi
led_class               2699  1 asus_wmi
rfkill                 12995  2 cfg80211,asus_wmi
hwmon                   2425  3 coretemp,nouveau,asus_wmi
ac                      2742  0 
video                  10428  2 nouveau,asus_wmi
i2c_nforce2             5231  0 
i2c_core               22850  6 drm,drm_kms_helper,i2c_algo_bit,nouveau,i2c_nforce2,videodev
battery                 6293  0 
button                  3781  1 nouveau
acpi_cpufreq            9002  1 
processor              21865  1 acpi_cpufreq
nfs                   174978  2 nfsv4
lockd                  68168  1 nfs
sunrpc                207740  15 nfs,rpcsec_gss_krb5,auth_rpcgss,lockd,nfsv4
fscache                43925  2 nfs,nfsv4
ext4                  457997  3 
crc16                   1123  1 ext4
mbcache                 4618  1 ext4
jbd2                   74148  1 ext4
sd_mod                 34142  5 
crc_t10dif               815  1 sd_mod
crct10dif_common        1136  1 crc_t10dif
ata_generic             2466  0 
pata_acpi               2495  0 
atkbd                  14966  0 
libps2                  3743  2 atkbd,psmouse
ahci                   20975  4 
libahci                18576  1 ahci
ohci_pci                3356  0 
ohci_hcd               32760  1 ohci_pci
ehci_pci                3372  0 
libata                153295  4 ahci,pata_acpi,libahci,ata_generic
ehci_hcd               57931  1 ehci_pci
scsi_mod              116215  3 usb_storage,libata,sd_mod
usbcore               161268  6 uvcvideo,usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci
usb_common              1664  1 usbcore
i8042                  11455  1 libps2
serio                   8477  6 serio_raw,atkbd,i8042,psmouse

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 18:20
par benjarobin
Oui sauf que je ne veux pas la fin du log, je veux tout le log...
Sinon tu pourrais essayer avec les drivers propriétaires...

Re: [PC] CPU presque à 100% (en cours)

Publié : ven. 30 mai 2014, 19:16
par AchilleFraisse
Voilà, je pense que ce sera plus simple comme ça :http://sprunge.us/JJGG !
Mervi à Moviuro ;)

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 13:07
par AchilleFraisse
Personne ?

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 15:30
par Moviuro
AchilleFraisse a écrit :Personne ?
C'est pas bien de presser les gens, on aide quand on pense savoir et qu'on a le temps de filer un coup de main, donc patience.

Ensuite, tu es sûr que c'est lié à X ? que se passe-t-il si tu laisses la machine en tty ? (Ctrl-Alt-F1, login puis systemctl stop <ton login manager>).
Ensuite, tu peux essayer de lancer (h)top dans un tty et voir ce qui se passe quand tu lances X et que ton CPU grimpe à 100% à nouveau. (genre quels processus, blablabla)
Essaye aussi de lancer juste XTerm dans une session Xorg, voir ce qui se passe.
Si c'est lié juste à X, essaye de changer de driver (et pour éviter de tout casser, fais une sauvegarde de /etc !)

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 16:42
par benjarobin
AchilleFraisse a écrit :Personne ?
J'ai bien fait une proposition mais apparemment tu l'as ignoré...

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 17:17
par AchilleFraisse
benjarobin a écrit :Oui sauf que je ne veux pas la fin du log, je veux tout le log...
Sinon tu pourrais essayer avec les drivers propriétaires...
C'est quoi ?

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 17:27
par onyx67
AchilleFraisse a écrit :
benjarobin a écrit :Oui sauf que je ne veux pas la fin du log, je veux tout le log...
Sinon tu pourrais essayer avec les drivers propriétaires...
C'est quoi ?
Pour toi, le driver propriétaire NVIDIA

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 21:21
par AchilleFraisse
Ben c'est bien celui que j'ai installé lors de l'installation de Xorg

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 21:43
par benjarobin
Je ne pense pas non...

Re: [PC] CPU presque à 100% (en cours)

Publié : sam. 31 mai 2014, 22:20
par mélodie
Avec pastebin tu peux paster un log complet vers le pastebin de Archlinux.

Code : Tout sélectionner

5 archlinuxfr/pastebin 0.1-1 [installed]
    Pastes FILE to http://pastebin.archlinux.fr
Je n'utilise pas dwm, donc je n'ai pas besoin d'utiliser le '| truc..." avec "pastebin commande ..." afin d'envoyer le résultat sur pastebin au lieu de l'envoyer sur la sortie standard.

Je laisse aux autres le soin de compléter cette info.

Re: [PC] CPU presque à 100% (resolu)

Publié : lun. 16 juin 2014, 23:30
par onyx67
@ AchilleFraisse: ça serai quand même sympa de nous dire comment tu as résolu ton problème...