Bonjour,

Je viens de passer de fc8 à fc10 et je rencontre des problèmes sans doute liés au driver Nvidia. Mon materiel est un portable DELL precision 4300. J'observe deux symptomes différents :

1 Des "freeze" complets de l'écran : le curseur suit encore la souris mais aucun clic n'est actif et aucune touche "magique" ne fonctionne. Une brève pression sur power off me conduit au panneau "éteindre" et à un arret normal au bout de 60 secondes (le malade est en coma dépassé mais le coeur bat encore...). Ces blocages se sont produit pour 7 sur 8 quand Firefox était ouvert. Depuis ce matin j'ai désactivé les effets de bureau et je n'ai eu qu'un seul "freeze" sous le logiciel VisIt mais il est peut-etre trop tot pout conclure

2 Disfonctionnement du logiciel VisIt (http://www.lnll.gov/visit) qui fonctionnait bien sous fc8 : au démarrage la fenetre dans laquelle on devrait visualiser, au lieu d'etre blanche (vide), contient des morceaux incohérents d'autres fenetres ouvertes précédement. Meme situation si on essaye d'ouvrir une autre fenetre de visualisation (on peut en ouvrir 16). J'ai lancé visit avec l'option -debug 5 qui génère des logs et je joins une portion des log au niveau le plus simple (niveau 1) car les autres niveaux de log sont beaucoup plus bavards mais sans autre information d'erreur que celle du niveau 1. Je remarque aussi une erreur spécifique au mode -debug qui n'existe pas en mode normal :
pluton>visit
Running: gui1.11.1
Running: viewer1.11.1 -host 127.0.0.1 -geometry 1147x993+504+28 -borders 28,3,3,3 -shift 29,28 -preshift -26,0 -defer -port 5600
Running: mdserver1.11.1 -host 127.0.0.1 -port 5601
pluton>visit -debug 5
Running: gui1.11.1 -debug 5
Running: viewer1.11.1 -host 127.0.0.1 -debug 5 -geometry 1147x993+504+28 -borders 28,3,3,3 -shift 29,28 -preshift -26,0 -defer -port 5600
Error: couldn't find RGB GLX visual or fbconfig
Running: mdserver1.11.1 -host 127.0.0.1 -debug 5 -port 5601
Le disfonctionnement de VisIt est independant de l'activation des effets de bureau.


A part ca les effets de bureau fonctionnent bien et j'ai meme utilisé le logiciel de visualisation Paraview sans problème particulier (jusqu'à présent...). Ci-joint le maximum d'info pour ceux qui voudront bien se pencher sur ce problème (info obtenues avec les effets de bureau désactivés). D'avance un grand merci aux experts des kmod-nvidia 🙂 . Pour VisIt j'ai utilisé un executable proposé en x86_64 pour fedora4 et il est évident que l'on peut douter de sa compatibilité avec fc10 (marchait bien avec fc8) J'aimerais cependant avoir un avis sur la validité coté driver Nvidia avant de me lancer dans une compilation des sources de VisIt sur fc10.
Materiel : portable DELL precision 4300 avec core 2 duo T7700

[root@localhost ~]# uname -r
2.6.27.15-170.2.24.fc10.x86_64

[root@localhost ~]# yum repolist
Modules complémentaires chargés : refresh-packagekit
id du dépôt                             nom du dépôt                                                statut
adobe-linux-i386                        Adobe Systems Incorporated                                  activé:     17
fedora                                  Fedora 10 - x86_64                                          activé: 14 303
rpmfusion-free                          RPM Fusion for Fedora 10 - Free                             activé:    356
rpmfusion-free-updates                  RPM Fusion for Fedora 10 - Free - Updates                   activé:    295
rpmfusion-nonfree                       RPM Fusion for Fedora 10 - Nonfree                          activé:    137
rpmfusion-nonfree-updates               RPM Fusion for Fedora 10 - Nonfree - Updates                activé:    167
updates                                 Fedora 10 - x86_64 - Updates                                activé:  4 560
repolist: 19 835

[root@localhost ~]# rpm -qa | grep nvidia
kmod-nvidia-2.6.27.15-170.2.24.fc10.x86_64-180.29-1.fc10.x86_64
xorg-x11-drv-nvidia-180.29-1.fc10.x86_64
xorg-x11-drv-nvidia-libs-180.29-1.fc10.i386
xorg-x11-drv-nvidia-libs-180.29-1.fc10.x86_64
kmod-nvidia-180.29-1.fc10.x86_64

[root@localhost ~]# lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: nVidia Corporation Quadro FX 360M [10de:042d] (rev a1)

[root@localhost ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by livna-config-display

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
    ModulePath   "/usr/lib64/xorg/modules"
EndSection

Section "ServerFlags"
    Option        "AIGLX" "on"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "nvidia"
    Option        "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
    Option        "Composite" "Enable"
EndSection

[root@localhost ~]# cat /var/log/Xorg.0.log | grep EE
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
[root@localhost ~]# cat /var/log/Xorg.0.log | grep WW
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) NVIDIA(0): UBB is incompatible with the Composite extension.  Disabling
(WW) NVIDIA(0):     UBB.
Et pour finir à propos de VisIt le fichier viewer.1.vlog :
/usr/local/visit/1.11.1/linux-x86_64/bin/viewer -host 127.0.0.1 -debug 5 -geometry 1147x993+504+28 -borders 28,3,3,3 -shift 29,28 -preshift -26,0 -defer -port 5600 -key 6d53a1dcbfb570a999a7 
Processing option 1 -debug
Processing option 3 -geometry
Processing option 5 -borders
Processing option 7 -shift
Processing option 9 -preshift
Processing option 11 -defer
Viewer using font: Helvetica,12,-1,5,50,0,0,0,0,0
Qt: Warning: QFont::setRawMode(): Invalid XLFD: "Helvetica,12,-1,5,50,0,0,0,0,0"
Trying to load translator file: /usr/local/visit/1.11.1/linux-x86_64/bin/translations/visit_fr_FR
Loaded translation /usr/local/visit/1.11.1/linux-x86_64/bin/translations/visit_fr_FR
ViewerSubject::CustomizeAppearance: Setting the application style to: motif
ViewerSubject::CustomizeAppearance: Font okay. name=Helvetica,12,-1,5,50,0,0,0,0,0
ViewerSubject::CustomizeAppearance: Setting foreground and background color
Skipping plugin libIBoundaryPlot.so in /usr/local/visit/1.11.1/linux-x86_64/plugins/plots, since a plugin by that name was already loaded from /usr/local/visit/current/linux-x86_64/plugins/plots

...suit une longue liste de Skipping...

Skipping plugin libIZoneDumpOperator.so in /usr/local/visit/1.11.1/linux-x86_64/plugins/operators, since a plugin by that name was already loaded from /usr/local/visit/current/linux-x86_64/plugins/operators
Succesfully loaded info about 35 operator plugins.
Loaded full plot plugin Boundary version 1.0

...suit une longue liste de Loaded et de Skipping disabled...

Loaded full operator plugin Transform version 1.0
Skipping disabled operator plugin Tube version 1.0
Skipping disabled operator plugin ZoneDump version 1.0
Qt: Warning: QGLContext::makeCurrent(): Cannot make invalid context current.
Qt: Warning: QGLContext::makeCurrent(): Cannot make invalid context current.
Qt: Warning: QGLContext::makeCurrent(): Cannot make invalid context current.
ViewerMultipleAction::ConnectChildAction: Can't connect another action.
ViewerMultipleAction::ConnectChildAction: Can't connect another action.
ViewerMultipleAction::ConnectChildAction: Can't connect another action.
ViewerMultipleAction::ConnectChildAction: Can't connect another action.
Qt: Warning: QGLContext::makeCurrent(): Cannot make invalid context current.
DiscoverClientInformation: clear the client information list and send _QueryClientInformation to all clients. 
Starting to close the viewer.
Closing metadata server on localhost.
et le fichier gui.1.vlog
/usr/local/visit/1.11.1/linux-x86_64/bin/gui -debug 5 
QvisApplication::QvisApplication: -font Helvetica,12,-1,5,50,0,0,0,0,0
Qt: Warning: QFont::setRawMode(): Invalid XLFD: "Helvetica,12,-1,5,50,0,0,0,0,0"
Trying to load translator file: /usr/local/visit/1.11.1/linux-x86_64/bin/translations/visit_fr_FR
Loaded translation /usr/local/visit/1.11.1/linux-x86_64/bin/translations/visit_fr_FR
QvisGUIApplication::CustomizeAppearance: Called with notify=false
QvisGUIApplication::CustomizeAppearance: Setting style to: motif
QvisGUIApplication::CustomizeAppearance: Font okay. name=Helvetica,12,-1,5,50,0,0,0,0,0
Saved GUI geometry: w=437 h=991 x=32 y=28
QvisGUIApplication::MoveAndResizeMainWindow: Vertical main window
QvisGUIApplication::MoveAndResizeMainWindow: Resizing main window to: 437x991
QvisGUIApplication::MoveAndResizeMainWindow: Moving main window to: 32x28
QvisGUIApplication::CalculateViewerArea: Using saved geometry. Putting viewer windows to the right of the GUI windows at: 1147x993+504+28
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Skipping plugin libIBoundaryPlot.so in /usr/local/visit/1.11.1/linux-x86_64/plugins/plots, since a plugin by that name was already loaded from /usr/local/visit/current/linux-x86_64/plugins/plots

...suit une longue liste de Skipping....

Skipping plugin libIZoneDumpOperator.so in /usr/local/visit/1.11.1/linux-x86_64/plugins/operators, since a plugin by that name was already loaded from /usr/local/visit/current/linux-x86_64/plugins/operators
Succesfully loaded info about 35 operator plugins.
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Loaded full plot plugin Boundary version 1.0
Loaded full plot plugin Contour version 1.0

...suit une longue liste de Loaded et de Skipping disabled....

Skipping disabled operator plugin ZoneDump version 1.0
Reading from the viewer's socket is currently not allowed!
Initializing the "File selection" window because it was in the config file.
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
QvisMainWindow::SetFromNode: Initializing the main window because it was in the config file.
QvisMainWindow::SetFromNode: Overriding geometry from config file.
QvisMainWindow::SetFromNode: Using saved splitter values {, 0.293578, 0.292431, 0.391055}
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Reading from the viewer's socket is currently not allowed!
Starting crash recovery file timer.
Telling viewer to close.
Tu as raison le problème vient bien de l'option composite de ton xorg.conf voir UBB is incompatible with the Composite extension. ftp://download.nvidia.com/XFree86/Linux-x86/1.0-8762/README/appendix-s.html

Pour ton problème soit tu lui fait refaire un xorg.conf. Soit tu rajoutes manuellement dans ton xorg.conf une partie modules comme ceci pour qu'il prenne le module glx :
Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
EndSection

Ne pas oublier de redemarrer pour qu'ils prennent les modifications.
@Refuznik
Merci beaucoup pour ton aide. Plus de "freeze" et ca marche parfaitement. J'avais cru que GLX était ok parce que xdpyinfo donnait bien GLX et NV-GLX

Il me reste le problème de VisIt et là ca risque d'etre la galère : sur le forum visitusers on me conseille de compiler VisIt ainsi que les librairies Qt, Mesa et VTK mais j'ai un doute car :
1 - Tout fonctionnait bien sous fc8 et en compilant les sources je devrais obtenir les memes bibliothèques que celles
qui sont dans le package actuel sauf si le compilateur gcc a changé. Je pense plutot à une difference d'API au
niveau Qt car dans les logs le premier message est :
Qt: Warning: QGLContext::makeCurrent(): Cannot make invalid context current
Sous fc10 j'ai :
/usr/lib64/qt-3.3/libqt-mt.so.3.3.8
alors que VisIt utilise
/usr/local/visit/1.11.1/linux-x86_64/lib/libqt-mt.so.3.3.2
Mais si je recompile VisIt en suivant leur procedure je vais simplement reconstruire libqt-mt.so.3.3.2 et si le
problème vient de cette version de Qt ca ne changera rien

2 - Paraview fonctionne bien donc je peux difficilement accuser OpenGL ou libvtk

3 - Les symptomes observés font fortement penser à un problème lié à l'option composite car on crée une fenetre qui
semble initialement transparente avec un background qui au lieu d'etre blanc est constituée par ce qui était
présent dessous. J'ai essayé de mettre ""Disable" à la place de "Enable" dans l'option composite de xorg.conf et
malheureusement ca ne change rien !!!

Tous les conseils sont les bienvenus...
Dans ton xorg.conf essaie en mettant aiglx sur off et en précisant la résolution et le metamode de ton moniteur.
Aurais tu une url correcte pour savoir ce que fait exeactement ce soft et voir les dependances.
@Refuznik

Bonjour,

Désolé, mais mon enthousiasme pour ta solution était peut-etre prematuré. En effet les modules dbe,extmod,freetype et glx sont chargés par défaut comme le confirme Xorg.0.log :
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
J'ai eu encore un "freeze" après ta modif (un seul...) mais je n'en ai plus eu (meme avec les effets de bureau activés) depuis une mise à jour de xorg-x11-server qui a eu lieu le 25. Je ne sais pas si c'est lié ?

En ce qui concerne VisIt (https://wci.llnl.gov/codes/visit) le problème est résolu : il provenait simplement de la présence de /usr/lib64 dans ma variable d'environnement LD_LIBRARY_PATH. Je ne comprend pas complétement le mécanisme qui conduit à ce disfonctionnement subtil..Un exemple instructif et plus simple que visit est donné par glxgears avec /usr/lib64 dans LD_LIBRARY_PATH
pluton>glxgears
Error: couldn't get an RGB, Double-buffered visual
C'est un piège assez subtil et j'ai perdu pas mal de temps à fouiller dans tout ce qui concerne Nvidia et X11 avant de penser à ce LD_LIBRARY_PATH erroné.

En tout cas je confirme aux utilisateurs potentiels de VisIt que la version packagée
visit1_11_1.linux-x86_64-fedora4.tar.gz tourne sans problème sur fc10 en x86_64

Merci encore pour ton aide