#1 Le 23/05/2007, à 09:28
- lliv'ux
Probleme mise en veille prolongée / hibernation
Bonjourrr;
Mon soucis: si je mets mon pc (portable) en veille prolongée ou en hibernation, quand je redemarre, ecran noir j'ai l'impression que la becane tourne, mais pas de serveur graphique, même po de mode consle (ctrl+alt+F3)
OS= Ubuntu ultimate Edgy (32bits, v.i686)
proco= AMD Turion 2x1600 Mhrtz
Modele Pc= Asus A6t
Nvidia Geforge Go 7600 (256 Mo)
olivier@olivier-laptop:~$ uname -r
2.6.17-11-generic
au cas ou:
sudo gedit /etc/X11/xorg.conf=
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# /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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 64.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
C'est po dramatique mais ça m'arrangerait quand mâme de po être obligé d'arreter/redemarrer completement la machine.
Mercitos d' avansos
Il vaut mieux pomper d'arrache pied même s'il ne se passe rien que de risquer qu'il se passe quelque chose de pire en ne pompant pas (Shadoks)
Hors ligne
#2 Le 24/05/2007, à 09:23
- lliv'ux
Re : Probleme mise en veille prolongée / hibernation
je vois que apparrement ceci ne motive guere de reponse, mais j'ai fais : "sudo apt-get install hibernate", install sans prob. Redemmarrage, mise en hibernation, ...
TOTAL CRASH, serveur X injoignable, droits d'accès à tous mes fichiers limités en lecture seulement. Heureusement, apres un demarrage sur un "recovery mode" tout est OP.... sauf l'hibernation
au cas ou:
sudo gedit /etc/acpi/hibernate.sh
#!/bin/bash
. /etc/default/acpi-support
. /usr/share/acpi-support/power-funcs
. /usr/share/acpi-support/policy-funcs
if [ x$ACPI_HIBERNATE != xtrue ] && [ x$1 != xforce ]; then
exit;
fi
# Unset video posting - it's not needed for suspend to disk
unset POST_VIDEO
unset USE_DPMS
. /etc/acpi/prepare.sh
#if [ x$LOCK_SCREEN = xtrue ]; then
# for x in /tmp/.X11-unix/*; do
# displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
# getXuser;
# if [ x"$XAUTHORITY" != x"" ]; then
# export DISPLAY=":$displaynum"
# . /usr/share/acpi-support/screenblank
# fi
# done
#fi
echo -n $HIBERNATE_MODE >/sys/power/disk
if [ -x /sbin/s2disk ]; then
DEVICE="/dev/disk/by-uuid/`awk -F= '{print $3}' </etc/initramfs-tools/conf.d/resume`"
if [ -f /etc/usplash.conf ]; then
. /etc/usplash.conf
/sbin/s2disk -x "$xres" -y "$yres" $DEVICE
else
/sbin/s2disk $DEVICE
fi
else
echo -n "disk" >/sys/power/state
fi
$LAPTOP_MODE stop
. /etc/acpi/resume.sh
Il vaut mieux pomper d'arrache pied même s'il ne se passe rien que de risquer qu'il se passe quelque chose de pire en ne pompant pas (Shadoks)
Hors ligne
#3 Le 24/05/2007, à 22:44
- Agrou
Re : Probleme mise en veille prolongée / hibernation
J'ai vaguement lu que sa pouvais être en rapport avec le driver de la carte vidéo ( je suppose que tu utilise le driver proprio nvidia). J'ai la même carte que toi et je rencontre le même problème. Ce qui est "marrant" c'est que si j'ai amarok de lancé quand je fait la mise ne veille, la musique revient quelques secondes quand j'essaie de sortir de l'hibernation. Mais l'écran reste noir et la musique se coupe après quelques secondes.
Bref désolé de ne pas avoir pu etre utile par contre sa m'interresrerai vachement de pouvoir utilisier la veille donc si quelqu'un à une solution...;)
http://linuxdansmonpc.is-a-geek.com/
« Quoi que tu fasses cela sera insignifiant, mais il est très important que tu le fasses». Mohandas Gandhi
Hors ligne
#4 Le 24/05/2007, à 23:28
- HKH
Re : Probleme mise en veille prolongée / hibernation
salut
j ai une carte graphique nvidia 7600GS sous feisty avec les derniers drivers proprio
j avais le meme soucis resolu en suivant ce topic:
http://forum.ubuntu-fr.org/viewtopic.php?id=86849
j espere que ca vous depannera!!
Hors ligne