summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-04-02 14:22:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-04-02 14:22:41 +0000
commit715731e319bf5b1525b9dcd30c0af5d81d674d59 (patch)
tree63ac65ab0dc1874ba1b7b61c891069ef240205ef /lib/Xconfig/card.pm
parenta6cdce4c164891b846c6d47e19b2056a5c9e40af (diff)
downloaddrakx-kbd-mouse-x11-715731e319bf5b1525b9dcd30c0af5d81d674d59.tar
drakx-kbd-mouse-x11-715731e319bf5b1525b9dcd30c0af5d81d674d59.tar.gz
drakx-kbd-mouse-x11-715731e319bf5b1525b9dcd30c0af5d81d674d59.tar.bz2
drakx-kbd-mouse-x11-715731e319bf5b1525b9dcd30c0af5d81d674d59.tar.xz
drakx-kbd-mouse-x11-715731e319bf5b1525b9dcd30c0af5d81d674d59.zip
- workaround pb with nvidia driver: make dm restart xserver (#38297)
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 5ad3179..c972a31 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -356,8 +356,8 @@ sub libgl_config_and_more {
system("/sbin/ldconfig");
}
- if ($card->{Driver} eq 'fglrx') {
- log::l("workaround buggy fglrx driver: make dm restart xserver (#29550)");
+ if (member($card->{Driver}, 'fglrx', 'nvidia')) {
+ log::l("workaround buggy fglrx/nvidia driver: make dm restart xserver (#29550, #38297)");
eval { common::update_gnomekderc_no_create("$::prefix/etc/kde/kdm/kdmrc", 'X-:0-Core' => (
TerminateServer => "true",
)) };