Ubuntu 9.04 sortie mise en veille

coyote67 Messages postés 448 Statut Membre -  
x11r6 Messages postés 365 Statut Membre -
Bonjour à tous,
voilà, j'ai un petit problème lors de la sortie de mise en veille sous ubuntu 9.04
l'écran reste noir et rien ne se passe........................
bref je n'arrive pas à sortir de la mise en veille à part appuyer sur le bouton marche/arrêt pour un redémarrage
mon pc est un msi gx700 carte graphique nvidia
j'ai vu sur forum une manip à faire mais ce n'était pas très clair
si quelqu'un a rencontré le m^me problème que moi, merci de me donner la solution!!!!
:-)

19 réponses

  1. Xavstarblues Messages postés 10585 Date d'inscription   Statut Contributeur Dernière intervention   1 858
     
    bonjour
    essayes de faire un CTRL+ALT+backspace (la touche au dessus de entrée), ca redemarre l'interface graphique
    0
  2. coyote67 Messages postés 448 Statut Membre 35
     
    merci!
    je vais essayer ça ce soir
    0
  3. x11r6 Messages postés 365 Statut Membre 59
     
    j'ai ce souci sur un poste qui fais des black screen comme ça !

    ctrl+alt+backspace ne fonctionne pas....reboote obligatoire... (sous debian squeeze)

    une chance sur deux :)
    0
  4. coyote67 Messages postés 448 Statut Membre 35
     
    ah...............
    ça viendrait du chipset nvidia
    c'est ton cas sur ta machine?
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. x11r6 Messages postés 365 Statut Membre 59
     
    oui....

    chipset nvidia quadro 700 xgl

    driver proprio nvidia
    0
  7. Utilisateur anonyme
     
    Normalement, ce problème est du au fait qu'il faut la même quantité de swap que de ram.

    Mais je ne sais pas si c'est vrm ça.

    @++ :-))
    0
  8. x11r6 Messages postés 365 Statut Membre 59
     
    Ce n'est pas mon cas 1 Go de ram 512 de swap
    0
  9. Utilisateur anonyme
     
    Oui c'est ton cas, ce que je dis c'est : que si je ne me trompe pas, il te faudrais 1Go de swap pour un Go de RAM.

    @++ :-))

    Edit : Ouais bon je crois que je me suis tromper,..
    0
    1. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
       
      Salut,

      Je ne suis pas sûr.
      Mais bon, il peut toujours créer un fichier swap pour voir ;-)
      0
  10. x11r6 Messages postés 365 Statut Membre 59
     
    humm je regarde ça !

    Merci !
    0
  11. x11r6 Messages postés 365 Statut Membre 59
     
    bon ben cela ne vient pas du swap...
    1 GO de RAM et 1 GO de SWAP
    BLACK SCREEN !!!

    dommage.....

    j'ai même tenté 1.5 go de ram au cas où même résultat !

    Cordialement
    0
  12. coyote67 Messages postés 448 Statut Membre 35
     
    salut,
    j'ai effectivement regardé la doc sur ubuntu veille et hibernation
    j'ai modifié le fichier xorg.conf
    pas de résultat probant
    j'ai vu qu'il fallait aussi modifier un paramètre du bios, par défaut S1 mettre en S3
    mais j'ai un bios de la misère (jamais vu aussi peu d'options dans un bios)
    je n'ai donc pas pu aller plus loin
    0
  13. bob031 Messages postés 8228 Statut Membre 473
     
    Bonjour,

    auriez-vous un fichier nommé /etc/default/acpi-support ?

    si oui, peut-on le voir ?

    merci.

    http://winterdom.com/2009/02/finalubuntuhibernatetouches
    0
  14. x11r6 Messages postés 365 Statut Membre 59
     
    sous debian fichier inexistant !
    mais celui-ci

    ///////////////////////////////////////////////////////////
    /etc/acpi/events/powerbtn-acpi-support
    event=button[ /]power
    action=/etc/acpi/powerbtn-acpi-support.sh

    //////////////////////////////////////////////////////////////////
    cat /etc/acpi/powerbtn-acpi-support.sh

    #!/bin/sh

    # This script initiates a shutdown when the power putton has been
    # pressed. Loosely based on the sample that ships with the acpid package.
    # If the acpid sample is present as a real config file (as it was in earlier
    # versions of acpid), we skip this script. (Purging and reinstalling acpid
    # resolves this situation, or simply deleting /etc/acpi/events/powerbtn.)

    if [ -f /etc/acpi/events/powerbtn -o -f /etc/acpi/events/powerbtn.dpkg-bak ] ; then
    echo Acpi-support not handling power button, acpid handler exists at /etc/acpi/events/powerbtn or /etc/acpi/events/powerbtn.dpkg-bak.
    exit 0
    fi

    [ -e /usr/share/acpi-support/policy-funcs ] || exit 0

    . /usr/share/acpi-support/policy-funcs

    # If powersaved is running, let it process the acpi event
    if pidof powersaved; then
    exit 0
    fi

    if [ `CheckPolicy` = 0 ] ; then
    exit 0
    fi

    if [ -x /etc/acpi/powerbtn.sh ] ; then
    # Compatibility with old config script from acpid package
    /etc/acpi/powerbtn.sh
    elif [ -x /etc/acpi/powerbtn.sh.dpkg-bak ] ; then
    # Compatibility with old config script from acpid package
    # which is still around because it was changed by the admin
    /etc/acpi/powerbtn.sh.dpkg-bak
    else
    # Normal handling.
    /sbin/shutdown -h -P now "Power button pressed"
    fi
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      passons alors au fichier /boot/grub/menu.lst.

      y a-t-il l'option "resume" pointant sur la partition swap ?

      par exemple : “resume=/dev/sda4”
      0
  15. x11r6 Messages postés 365 Statut Membre 59
     
    pas de resume :)

    debian:~# cat /boot/grub/menu.lst
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-legacy-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not change this entry to 'saved' or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 5

    # Pretty colours
    color cyan/blue white/blue

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=/dev/mapper/swap-sys ro

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,0)

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    alternative=true

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(single-user) single
    # altoptions=(single-user mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all

    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false

    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,0)
    kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/swap-sys ro quiet
    initrd /initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
    root (hd0,0)
    kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/swap-sys ro single
    initrd /initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-1-686
    root (hd0,0)
    kernel /vmlinuz-2.6.26-1-686 root=/dev/mapper/swap-sys ro quiet
    initrd /initrd.img-2.6.26-1-686

    title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
    root (hd0,0)
    kernel /vmlinuz-2.6.26-1-686 root=/dev/mapper/swap-sys ro single
    initrd /initrd.img-2.6.26-1-686

    title Debian GNU/Linux, kernel 2.6.26-1-486
    root (hd0,0)
    kernel /vmlinuz-2.6.26-1-486 root=/dev/mapper/swap-sys ro quiet
    initrd /initrd.img-2.6.26-1-486

    title Debian GNU/Linux, kernel 2.6.26-1-486 (single-user mode)
    root (hd0,0)
    kernel /vmlinuz-2.6.26-1-486 root=/dev/mapper/swap-sys ro single
    initrd /initrd.img-2.6.26-1-486

    ### END DEBIAN AUTOMAGIC KERNELS LIST
    0
  16. bob031 Messages postés 8228 Statut Membre 473
     
    il faudrait modifier le fichier menu.lst, et rajouter l'option "resume" pointant vers la partition swap !

    peut-être à cet endroit :

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet


    mais pourtant, je vois ceci :

    kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/swap-sys ro quiet

    ATTENTION : ce sont des informations recueillies sur le net, je n'ai aucune idée de ce que cela peut donner.
    0
  17. bob031 Messages postés 8228 Statut Membre 473
     
    sinon un truc à tester très simplement pour ceux qui ont compiz activé : désactiver compiz !

    @x11r6 : dans le fichier je vois ceci :

    /etc/acpi/events/powerbtn-acpi-support
    event=button[ /]power
    action=/etc/acpi/powerbtn-acpi-support.sh


    tu m'as montré le fichier powerbtn-acpi-support.sh, mais y a-t-il un fichier powerbtn-acpi-support ?
    0
  18. x11r6 Messages postés 365 Statut Membre 59
     
    plus claire comme ça,
    oui c'est celui-là !
    #cat /etc/acpi/events/powerbtn-acpi-support

    event=button[ /]power
    action=/etc/acpi/powerbtn-acpi-support.sh

    cf "mais pourtant, je vois ceci :
    kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/swap-sys ro quiet"

    rien a voir c'est mon LVM, je l'ai appellé swap c'est tout :)
    0
    1. bob031 Messages postés 8228 Statut Membre 473
       
      ok ! on laisse tomber le fichier acpi !

      mes petites recherches ne m'indiquent rien de mieux ....si ce n'est l'option "resume" pointant vers la partition swap dans le fichier /boot/grub/menu.lst ... mais comme je l'ai dit je ne sais pas ce que cela va donner ...donc si c'est une machine du boulot, vaut mieux laisser tomber.

      qu'indique la commande
      free -m

      0
  19. x11r6 Messages postés 365 Statut Membre 59
     
    debian:~# free -m
    total used free shared buffers cached
    Mem: 1011 996 14 0 109 653
    -/+ buffers/cache: 234 777
    Swap: 1928 0 1928
    debian:~#

    j'ai testé à 2 Giga...

    c'est une machine perso.... je n'utilise plus les consoles tty c'est tout, et j'ai désactivé l'économiseur d'écran...

    J'avais déjà fait des recherches mais sans succès...merci pour votre aide en tout cas....

    J'attend un peu (backup) puis je vais tester une réinstall...cross finger
    0