[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE Crashing - Sarge



Hi there.

I had the same problem.  The cause was that I had a half-finished
install of the Nvidia GPU drivers, and glx (the module Nvidia uses to
"talk 3D" to X) was conflicting with the OpenGL and dri modules, thus
not loading and making *all* of KDE's apps to cry on exit.  I don't have
what have KDE's apps to do with glx,thogh...

The cure was to remove the GLcore and dri modules from
/etc/X11/XF86Config-4, glx was already there, and to change my video
cards driver from nv to nvidia.  After an X restart, I had glx at last.

If you have the Nvidia GPU drivers onboard, but *don't* see the Nvidia
logo when X starts (and have not dehabilitated it yourself), then most
probably you have the same issue. Either remove glx from your
XF86Config-4, or finish the driver installation.

To know what is your problem, check your ~/.xsession-errors.  An excerpt
from mine:

KCrash: Application 'kcminit' crashing...
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

Every crash (except 1 or 2 "normal" ones) had the GLX error.  And
indeed, running glxinfo would state, more wildly than clearly, that I
had not glx.  The next step was to check current X log:

$ grep -i glx /var/log/XFree86.0.log
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
(II) Loading extension GLX
Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)


So, indeeded, glx couln't load becouse an unresolved glx symbol in a dri
library.  That ringed some bells from the last time I installed the
driver completely by hand; that time I had to disable some modules from
X, included dri.  I was installing a 2.6 box, so I had compiled
nvidia-kernel-source by hand and installed the resulting package plus
nvidia-common and nvidia-glx, so I had chomped the nvidia-kernel's
readme, but not glx's one.  There are specified the needed modifications
 to XF86Config-4: remove GLcore and dri, add glx, change nv to nvidia.

The strange things are KDE apps crying for glx when closing, and
XF86Config-4 loading glx *and* GLcore/dri without my intervention.
Posible bugs?


Bruno Bellantuono escribió:
Folks,

I had always used Debian testing perfectly, but on 27th July I made a
 dist-upgrade, as usually. Suddenly all KDE applications started
crashing just after they were closed. Applications like Knotes,
Kmixer, Korganizer, summarizing ALL KDE applications. Such a thing
had never happened to my system. All other applications (mozilla,
gaim, etc...) are working perfectly. I've also tried to upgrade to
unstable, but the crashes are still happening. Does anybody have an
idea to solve this problem?

Regards,

Bruno





Reply to: