Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 30/04/2009, à 10:34

nicodup

[resolu]depuis upgrade 9.04 xorg 99% cpu toutes les 5 min

Bonjour,

depuis l'upgrade vers 9.04, xorg monte dans les tours toutes les cinq minutes (précisément) et me bouffe 99% du cpu pendant une dizaine de secondes > le clavier est suspendu, l'affichage se grise et ça revient ... et ça recommence toutes les cinq minutes.
Voilà le fichier /etc/gdm/Init/Default avant la maj

--- /etc/gdm/Init/Default	2009-01-05 13:59:43.000000000 +0100
+++ /etc/gdm/Init/Default.dpkg-new	2009-04-03 10:25:51.000000000 +0200
@@ -2,8 +2,6 @@
 # Stolen from the debian kdm setup, aren't I sneaky
 # Plus a lot of fun stuff added
 #  -George
-if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on 
-fi
 
 PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH
 OLD_IFS=$IFS
@@ -34,8 +32,8 @@
 sysmodmap=/etc/X11/Xmodmap
 
 XMODMAP=`gdmwhich xmodmap`
-if [ x$XMODMAP != x ] ; then
-  if [ x$GDM_PARENT_DISPLAY = x ]; then
+if [ "x$XMODMAP" != "x" ] ; then
+  if [ "x$GDM_PARENT_DISPLAY" = "x" ]; then
     if [ -f $sysmodmap ]; then
       $XMODMAP $sysmodmap
     fi
@@ -49,7 +47,7 @@
 
   UNAME=`gdmwhich uname`
   PROCESSOR=`$UNAME -p`
-  if [ x$PROCESSOR = xsparc ]; then
+  if [ "x$PROCESSOR" = "xsparc" ]; then
     if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
     then
       $XMODMAP -e "clear Mod1" \
@@ -63,7 +61,7 @@
 fi
 
 SETXKBMAP=`gdmwhich setxkbmap`
-if [ x$SETXKBMAP != x ] ; then
+if [ "x$SETXKBMAP" != "x" ] ; then
   # FIXME: is this all right?  Is this completely on crack?
   # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
   # FIXME: This should be done in code.  Or there must be an easier way ...
@@ -87,4 +85,5 @@
     fi
   fi
 fi
+
 exit 0

et après

#!/bin/sh
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
#  -George

PATH=/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin:$PATH
OLD_IFS=$IFS

gdmwhich () {
  COMMAND="$1"
  OUTPUT=
  IFS=:
  for dir in $PATH
  do
    if test -x "$dir/$COMMAND" ; then
      if test "x$OUTPUT" = "x" ; then
        OUTPUT="$dir/$COMMAND"
      fi
    fi
  done
  IFS=$OLD_IFS 
  echo "$OUTPUT"
}

sysresources=/etc/X11/Xresources

# merge in defaults
if [ -f "$sysresources" ]; then
    xrdb -merge "$sysresources"
fi

sysmodmap=/etc/X11/Xmodmap

XMODMAP=`gdmwhich xmodmap`
if [ "x$XMODMAP" != "x" ] ; then
  if [ "x$GDM_PARENT_DISPLAY" = "x" ]; then
    if [ -f $sysmodmap ]; then
      $XMODMAP $sysmodmap
    fi
  else
    ( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $XMODMAP -pke ) | $XMODMAP -
  fi

  #
  # Switch Sun's Alt and Meta mod mappings
  #

  UNAME=`gdmwhich uname`
  PROCESSOR=`$UNAME -p`
  if [ "x$PROCESSOR" = "xsparc" ]; then
    if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
    then
      $XMODMAP -e "clear Mod1" \
               -e "clear Mod4" \
               -e "add Mod1 = Alt_L" \
               -e "add Mod1 = Alt_R" \
               -e "add Mod4 = Meta_L" \
               -e "add Mod4 = Meta_R"
    fi
  fi
fi

SETXKBMAP=`gdmwhich setxkbmap`
if [ "x$SETXKBMAP" != "x" ] ; then
  # FIXME: is this all right?  Is this completely on crack?
  # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
  # FIXME: This should be done in code.  Or there must be an easier way ...
  if [ -n "$GDM_PARENT_DISPLAY" ]; then
    XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $SETXKBMAP -v )`
    if [ -n "$XKBSETUP" ]; then
      XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'`
      XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'`
      XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'`
      XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'`
      XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'`
      if [ -n "$XKBKEYMAP" ]; then
        $SETXKBMAP -keymap "$XKBKEYMAP"
      elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n "$XKBGEOMETRY" ]; then
        $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" -geometry "$XKBGEOMETRY"
      elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
        $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
      elif [ -n "$XKBSYMBOLS" ]; then
        $SETXKBMAP -symbols "$XKBSYMBOLS"
      fi
    fi
  fi
fi

exit 0

J'ai regardé sur le forum avant de poser la question, je n'ai rien vu qui corresponde à mon problème ; une bonne idée ?

Carte graphique Nvidia Quadro FX1600M

Dernière modification par nicodup (Le 30/04/2009, à 14:42)

Hors ligne

#2 Le 30/04/2009, à 13:08

nicodup

Re : [resolu]depuis upgrade 9.04 xorg 99% cpu toutes les 5 min

Allez, un ptit coup de main roll

Hors ligne

#3 Le 30/04/2009, à 14:43

nicodup

Re : [resolu]depuis upgrade 9.04 xorg 99% cpu toutes les 5 min

Mise à jour du driver NVidia 1.73 > 1.88 (qui plantais sous Hardy)

Hors ligne