Salut à tous

Je vien d'installer le noyau suspend2 comme indiquer sur ce tuto.

j'ai redémarrer et lorsque je lance une session avec beryl XGL l'interface graphique plante complettement.


en plus quand lance une session gnome tout court ... mp-hibernate ne fonctionne pas ...

...

pourriez vous m'aidé ??

Merci d'avance
Si tu as modifié ton kernel (déja modifié par la 3d beryl et autres), il te faut ré-installer aussi l'acceleration graphique le kmod nvida ou ati suivant ton matos.
ce qui veut dire que je doit réinstaller xgl suivant la méthode décrite dans ce tuto ???

désoler j'y connais pas grand chose ...
j'ai essayer de réinstaller fglrx avec le tutos cité dans mon post précédent ... et :
# service fglrx restart
Checking for module fglrx.ko:                              [ÉCHOUÉ]
fglrx.ko for kernel 2.6.20-1.2944_1.fc6.cubbi_suspend2 was [AVERTISSEMENT]
fglrx DRI will not be enabled until one is found.          [AVERTISSEMENT]
une idée ???

pour l'info :

mon xorg.conf :
# Xorg configuration created by system-config-display
# a partir de la c moa qui é rajouté les ligne

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

#À partir des drivers 8.34, supprimez complètement votre section "Module".
#Section "Module"
#       Load  "dbe"
#       Load  "fbdevhw"
#       Load  "glx"
#       Load  "GLcore"
#       Load  "record"
#       Load  "freetype"
#       Load  "type1"
#       SubSection "extmod"
#               Option      "omit xfree86-dga"
#       EndSubSection
#       Load  "dri"
#EndSection

Section "ServerFlags"
        Option      "AIGLX" "false"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "fr"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Iiyama MF-8617ES, VisionMaster"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    27.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option      "VideoOverlay" "on"
        # optionsss que j'ai rajouté :
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "ForceGenericCPU" "off"
        Option      "KernelModuleParm" "locked-userpages=0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
 #sinon parfois pb avec le driver en tant que non root
        Mode         0666
EndSection

Section "Extensions"
        #retirer la ligne suivante a partir des driver ATI 8.34
        #Option "XVideo" "Disable"
        Option      "Composite" "Disable"
EndSection
et :
 yum install kmod-fglrx
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
macromedia                100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
suspend2                  100% |=========================|  951 B    00:00     
updates                                                         1.2 kB 00:00 
core                                                            1.1 kB 00:00 
livna                     100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-fglrx to pack into transaction set.
kmod-fglrx-8.34.8-1.2.6.2 100% |=========================|  13 kB    00:00     
---> Package kmod-fglrx.i686 0:8.34.8-1.2.6.20_1.2925.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.20-1.2925.fc6 for package: kmod-fglrx
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.20-1.2925.fc6. 100% |=========================|  16 MB    01:03     
---> Package kernel.i686 0:2.6.20-1.2925.fc6 set to be installed
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-fglrx.i686 0:8.34.8-1.2.6.20_1.2933.fc6 set to be erased
---> Package kernel.i686 0:2.6.20-1.2933.fc6 set to be erased
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.20-1.2933.fc6 for package: kmod-ndiswrapper
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-ndiswrapper.i686 0:1.38-1.2.6.20_1.2933.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kmod-fglrx              i686       8.34.8-1.2.6.20_1.2925.fc6  livna             245 k
Removing:
 kernel                  i686       2.6.20-1.2933.fc6  installed          45 M
 kmod-fglrx              i686       8.34.8-1.2.6.20_1.2933.fc6  installed         647 k
Installing for dependencies:
 kernel                  i686       2.6.20-1.2925.fc6  updates            16 M
Removing for dependencies:
 kmod-ndiswrapper        i686       1.38-1.2.6.20_1.2933.fc6  installed         204 k

Transaction Summary
=============================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       3 Package(s)         

Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kernel-2.6.20-1.29 100% |=========================|  16 MB    01:03     
(2/2): kmod-fglrx-8.34.8- 100% |=========================| 245 kB    00:00     
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  package kernel-2.6.20-1.2933.fc6 (which is newer than kernel-2.6.20-1.2925.fc6) is already installed
  package kernel-2.6.20-1.2944.fc6 (which is newer than kernel-2.6.20-1.2925.fc6) is already installed
  package kmod-fglrx-8.34.8-1.2.6.20_1.2933.fc6 (which is newer than kmod-fglrx-8.34.8-1.2.6.20_1.2925.fc6) is already installed
  package kmod-fglrx-8.34.8-3.2.6.20_1.2944.fc6 (which is newer than kmod-fglrx-8.34.8-1.2.6.20_1.2925.fc6) is already installed

Error Summary
-------------
Perso Beryl fout en l'air mon hibernation.
Entre les deux le choix à été vite fait : hibernation!
Le kmod-fglrx sont prévues seulement pour les kernel fournis avec les noyaux officiels Fedora. Là tu viens d'installer un kernel pas officiel. Donc il n'existe pas de kmod-fglrx correspondant. Donc pas d'accélération 3D et donc pas d'effet de bureau. c'est ce que te disais refuznik. Tu remarqueras d'ailleurs que quand tu "yum install kmod-fglrx" on te propose d'installer un autre noyau.

Donc pour avoir l'installation des drivers tu as deux trois solutions:
- va sur la page du tuto mais suis la section 4 "Construction des paquets"
- Attends qu'une bonne ame recompile les komd-fglrx avec le noyau que tu utilise
- compile toi même le kmod-fglrx dont tu as besoin
Temet wrote:Perso Beryl fout en l'air mon hibernation.
Entre les deux le choix à été vite fait : hibernation!
je suis d'accord ...
Noee wrote:Le kmod-fglrx sont prévues seulement pour les kernel fournis avec les noyaux officiels Fedora. Là tu viens d'installer un kernel pas officiel. Donc il n'existe pas de kmod-fglrx correspondant. Donc pas d'accélération 3D et donc pas d'effet de bureau....

Donc pour avoir l'installation des drivers tu as deux trois solutions...
bon .. t'en pis pour les effet de bureau ... je peu m'en passer ... mais si j'ai bien compris ce que tu as dit Noee .. c'est carement le driver de ma carte ATI qui ne fonctionne plus ???

Bon. je vais essayer l'une de tes méthode ... merci pour les info !!

Question pour Temet : tu utilise toi aussi le noyau suspend2... est-ce que tu as aussi une ATI ??? et si oui .. laquelle de ces trois méthode utilises-tu ??? (s'il y en a une qui me permettrai de ne pas avoir à refaire la manipe a chaque changement de noyau ... sa m'arrangerais :-D)

Merci pour vos réponse ...
J'ai un noyau suspend2 ... sur une Gentoo!
J'utilise le suspend2 avec les drivers NVidia. N'étant pas dépendant des paquetages (rpm (kmod-fglrx) dans ton cas), je peux installer les drivers avec les noyaux que je veux.
La solution pour toi est soit d'utiliser les drivers sur le site NVidia et de les installer à l'ancienne, soit faire ton propre kmod (ne me demande pas comment ! ^^).
Voilà.

Bonne chance.
j'arrive pas à aller sur :
ATI Driver Installer
dans la section 4 tuto suivant.

EDIT :
La solution pour toi est soit d'utiliser les drivers sur le site NVidia et de les installer à l'ancienne
NVidia ... c'est pas la même chose qu'ATI ...
tu veux parler des solution décrite par Noee ???
Oups oui, remplace "NVidia" par "ATI" et ça roule!
OK :-D ... pas de pb ...
bon ... j'ai télécharger le fichier : ati-driver-installer-8.36.5-x86.x86_64.run

et je l'ai lancé comme indiqué dans le tutos ...
mais il me jète parce que mon kernel n'a pas de kernel-devel ... (si j'ai bien compris)
#./ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Fedora/FC6
Created directory fglrx-install.sr7479
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.36.5...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Fedora/FC6
Please install an appropriate Linux kernel module build package.
The package(s) you need are likely kernel-devel and/or kernel-headers.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install.sr7479
j'ai donc regarder si le kernel-devel éxister pour suspend2 ...
$ yum search kernel-devel-suspend2
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
No Matches found
En gros sa veut dire que je pourais pas avoir ma carte ATI fonctionnel et en même temps le kernel suspend2 ??? c'est bien sa ??
oup .. en fouillant dans le depo suspend2 j'ai trouvé le trouvé son url et j'ai été y jeté un coup d'oeil ...
en fais le devel c'est :
kernel-suspen2-devel :-P

et non l'inverse
Putain j'avais oublié ça ... c'est le bordel les distros binaires bordel o_O'.
Bah je sais, je passe ... j'ai pas trouvé les sources sur ton tuto (lu en double diagonale car au boulot).
Sorry :/

EDIT : bon bah tu l'as trouvé! lol
ouai ... je l'ai trouvé ... il me crée bien mes 4 rpm ... mais quand j'essais d'installer ces rpm il me donne des erreur :
erreur: Dépendances requises:
        kmod-fglrx entre en conflit avec ATI-fglrx-8.36.5-1.fc6.i386
        xorg-x11-drv-fglrx entre en conflit avec ATI-fglrx-8.36.5-1.fc6.i386
        ATI-fglrx entre en conflit avec xorg-x11-drv-fglrx-8.34.8-10.lvn6.i386
        ATI-fglrx-devel entre en conflit avec xorg-x11-drv-fglrx-8.34.8-10.lvn6.i386
une idée ???

(encore merci pour votre aide)
oui. Les kmod-fglrx entrent en conflit avec la version que tu es en train d'installer. Il faut donc que tu les désinstalles.

yum remove kmod-fglrx xorg-x11-drv-fglrx

puis recommence
OK ... merci .. je test sa tout de suite

EDIT :

alors ...
les rpm s'installe parfaitement ... mais (pourquoi faut-il toujours qu'il y ait un "mais" :roll: ) :
#rmmod radeon
ERROR: Module radeon does not exist in /proc/modules
#rmmod drm
ERROR: Module drm does not exist in /proc/modules
une idée ??

et :
$ fglrxinfo 
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
(j'ai tj mon xorg.conf)
#rmmod radeon
ERROR: Module radeon does not exist in /proc/modules
#rmmod drm
ERROR: Module drm does not exist in /proc/modules
C'est résultats ne sont pas très grave. Avec "rmmod" tu cherches à désactiver les modules "radeon" et "drm". Il te dis qu'il ne trouve pas ces modules, donc qu'ils sont déjà désactivé.

les étapes:
# aticonfig --initial
# init 5
Ne te renvoies pas d'erreur?

Peux tu poster ton xorg.conf maintenant? Il a du changer.
OK ...
# aticonfig --initial
Found fglrx primary device section
Nothing to do, terminating.

donc pas de pb ...

en revanche ... :
# cat /etc/X11/xorg.conf
# Xorg configuration created by livna-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "fr"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Iiyama MF-8617ES, VisionMaster"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    27.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "ForceGenericCPU" "off"
        Option      "KernelModuleParm" "locked-userpages=0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"

 #sinon parfois pb avec le driver en tant que non root
        Mode         0666
EndSection
mon ancien (jutilisé compize .. j'avais suivit le tuto de nicofo) :
# cat /etc/X11/xorgORIG2.conf 

# Xorg configuration created by system-config-display
# a partir de la c moa qui é rajouté les ligne

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection


#À partir des drivers 8.34, supprimez complètement votre section "Module"
#Section "Module"
#       Load  "dbe"
#       Load  "fbdevhw"
#       Load  "glx"
#       Load  "GLcore"
#       Load  "record"
#       Load  "freetype"
#       Load  "type1"
#       SubSection "extmod"
#               Option      "omit xfree86-dga"
#       EndSubSection
#       Load  "dri"
#EndSection

Section "ServerFlags"
        Option      "AIGLX" "false"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "fr"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Iiyama MF-8617ES, VisionMaster"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    27.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option      "VideoOverlay" "on"
        # optionsss que j'ai rajouté :
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "ForceGenericCPU" "off"
        Option      "KernelModuleParm" "locked-userpages=0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"

 #sinon parfois pb avec le driver en tant que non root
        Mode         0666
EndSection

Section "Extensions"

        #retirer la ligne suivante a partir des driver ATI 8.34
        #Option "XVideo" "Disable"
        Option      "Composite" "Disable"
EndSection
et pour finir :
# diff xorg.conf xorgORIG2.conf 
1c1,3
< # Xorg configuration created by livna-config-display
---
> 
> # Xorg configuration created by system-config-display
> # a partir de la c moa qui é rajouté les ligne
10,11c12,29
< Section "Files"
<       ModulePath   "/usr/lib/xorg/modules"
---
> 
> #À partir des drivers 8.34, supprimez complètement votre section "Module"
> #Section "Module"
> #     Load  "dbe"
> #     Load  "fbdevhw"
> #     Load  "glx"
> #     Load  "GLcore"
> #     Load  "record"
> #     Load  "freetype"
> #     Load  "type1"
> #     SubSection "extmod"
> #             Option      "omit xfree86-dga"
> #     EndSubSection
> #     Load  "dri"
> #EndSection
> 
> Section "ServerFlags"
>       Option      "AIGLX" "false"
38,39d55
<  ### Comment all HorizSync and VertSync values to use DDC:
<  ### Comment all HorizSync and VertSync values to use DDC:
51a68,69
>       Option      "VideoOverlay" "on"
>       # optionsss que j'ai rajouté :
73a92,98
> Section "Extensions"
> 
>       #retirer la ligne suivante a partir des driver ATI 8.34
>       #Option "XVideo" "Disable"
>       Option      "Composite" "Disable"
> EndSection
>
est-ce que je dois remettre mon ancien xorg.conf ??? parceque la le fglrxinfo me dit que je n'utilise pas le driver ATI ...
ça ne coute rien d'essayer 🙂
Fait une sauvegarde de celui là au cas où.
# fglrxinfo 
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series
OpenGL version string: 2.0.6458 (8.36.5)
[center]:-D:-D:-D:-DMERCI:-D:-D:-D:-D:-D[/center]


EDIT : pourquoi il y a tj un mais 🙁
# hibernate 
awk: Fatal: erreur lors de la lecture du fichier source « /sys/power/suspend2/version »: Périphérique ou ressource occupé
/usr/share/hibernate/scriptlets.d/suspend2: line 408: [: -ge: unary operator expected
/usr/share/hibernate/scriptlets.d/suspend2: line 651: read: read error: 0: Périphérique ou ressource occupé
You haven't specified a resume2= parameter on your kernel command line

Your GRUB or LILO config should have something like resume2=swap:/dev/hdaX
where /dev/hdaX is your swap partition. You will then need to either reboot
after doing so or set it manually (this time only) using:
    echo swap:/dev/hdaX > /sys/power/suspend2/resume2
hibernate: Aborting.
bon .. je comprend qu'il faut que je modifie le grub ... mais comment ???

et pui comment on peut modifier les "kernel command line" ???