summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-15 10:12:54 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-15 10:12:54 +0000
commit16f43fb637a78f5e99297ec3a33df03dccab7b3e (patch)
tree30952f4860698c1528e6294a13ae3d88a2eb5a1e
parentd5b1dd4e6769950c508e8a889f12c3d871d44388 (diff)
downloaddrakx-16f43fb637a78f5e99297ec3a33df03dccab7b3e.tar
drakx-16f43fb637a78f5e99297ec3a33df03dccab7b3e.tar.gz
drakx-16f43fb637a78f5e99297ec3a33df03dccab7b3e.tar.bz2
drakx-16f43fb637a78f5e99297ec3a33df03dccab7b3e.tar.xz
drakx-16f43fb637a78f5e99297ec3a33df03dccab7b3e.zip
(to_raw_X) really prevent loading/unloading twice the same glx module on non NV cards
-rw-r--r--perl-install/Xconfig/card.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 363a0befd..91f93300f 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -69,10 +69,7 @@ sub to_raw_X {
# This loads the NVIDIA GLX extension module.
# IT IS IMPORTANT TO KEEP NAME AS FULL PATH TO libglx.so ELSE
# IT WILL LOAD XFree86 glx module and the server will crash.
- if ($card->{Driver2} ne 'nvidia') {
- $raw_X->set_load_module("/usr/X11R6/$lib/modules/extensions/libglx.a", 1);
- }
-
+ $raw_X->set_load_module("/usr/X11R6/$lib/modules/extensions/libglx.so", $card->{DRI_GLX_SPECIAL});
$raw_X->remove_Section('DRI');
$raw_X->remove_load_module('v4l') if $card->{use_DRI_GLX} && $card->{Driver} eq 'r128';