Bug 164889 - Blur effect crashes 64-bit nVidia systems
Summary: Blur effect crashes 64-bit nVidia systems
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: 3.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 166980 169645 171090 173977 176283 176947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-25 03:01 UTC by Cipta H.
Modified: 2009-01-06 18:42 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrace for try no. 6 (13.59 KB, text/plain)
2008-06-25 03:03 UTC, Cipta H.
Details
Backtrace for the last comment (10.82 KB, text/plain)
2008-08-03 23:28 UTC, Alexey Chernov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cipta H. 2008-06-25 03:01:40 UTC
Version:           3.0 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.3.1 20080612 (Red Hat 4.3.1-2) (GCC) downloaded from fedora rawhide repository
OS:                Linux

Hi, I'm reporting a bug for the KDE Beta 2. The following is information about my machine and the crash:
Qt: 4.4.0
KDE: 4.00.83 (KDE 4.0.83 (KDE 4.1 Beta2)
KWin: 3.0

Kernel: 2.6.25.6-55.fc9.x86_64
Laptop: HP Pavilion dv6575us
Display: NVIDIA GeForce 8400M GS, driver version 173.14.09 installed with kmod-nvidia (fedora package)
OS: Fedora core 9 updated to the latest (except gcc, everything is from normal repo)

KDE:
- kdelibs Revision: 823913
- kdebase Revision: 823971
- phonon  Revision: 823711
- built using GCC 4.3.1 (downloaded rawhide version) in a separate account (installation directory=~/kde).

Crash:
This crash happens everytime I login into KDE. Login using standard login (preinstalled in fedora, looks like GDM), and when the desktop appears an error message always appears (always SIGSEGV) along with the backtrace.I tried this eight times, some things that happened (no restart after login unless it dies):
1. For the first login after boot, the system seems to load just fine until the crash report shows up.
2. While at the splash screen, a small logo (called system-run after I looked it up) is drawn with a small area of the desktop background. I think it's supposed to be bouncing but it's only drawn once. The panel is also visible in the bottom, but the widgets are mirrored vertically. Then it crashes and restarts.
3. Third time's the charm (really). The small system-run symbol appears again, but this time it's flickering for a few seconds, then the display just dies. The power button is still working though, so I turned it off and tried again.
4. The fourth time went exactly like the first.
5. The fifth time, system-run appears again (I think it shows up when I move the mouse), then it flickers every few seconds. Then it crashes and restart, and initially there's no borders but it soon fixes itself.
6. On the sixth try, the mouse stalls, then the splash screen goes away revealing everything upside down withsome alignment problems and no panel. It occasionally flickers, then goes mostly black before crashing and restarting to a correct desktop.
7. On the seventh try the screen flashes once before going like the first.
8. On the eighth try the desktop appears right, the system-run is bouncing before kwin crashed and restarted.

The backtrace looks exactly the same for all the tests, I'll post it soon.

Hope this helps, thanks for making KDE!
Comment 1 Cipta H. 2008-06-25 03:03:42 UTC
Created attachment 25583 [details]
Backtrace for try no. 6

Here's the backtrace.
Comment 2 lucas 2008-06-25 06:13:25 UTC
Mike may be able to recreate this if the crashes are caused by the same thing as in bug 162046.

What nVidia drivers are you using Cipta?
Comment 3 lucas 2008-06-25 06:14:56 UTC
Never mind, 173.14.09.
Comment 4 Mike 2008-06-25 15:10:56 UTC
The crash only happens when using blur for me.  I also get some of the same flickering and rendering of parts of the screen upside down and blurred on some logins (not as predictable as this bug).  Logging out and then back in normally fixed this problem.

I am not using blur at the moment but that backtrace look fairly familiar.  I couldn't manage to downgrade below 169.07 because of some changes to the kernel, but I got the same problem with that.

Let me know if you need another backtrace and I can get a few to add to this bug report.
Comment 5 lucas 2008-06-25 15:35:17 UTC
Cipta, open ~/.kde4/share/config/kwinrc and look for the line

kwin4_effect_blurEnabled=true

and change it to:

kwin4_effect_blurEnabled=false

Do the problems still exist?
Comment 6 Cipta H. 2008-06-25 16:45:07 UTC
no, it doesn't actually. I logged in a few times and it went just fine. So the blur effect in KWin causes this? Because the folder view widget is still blurring the background.
Comment 7 lucas 2008-06-25 17:02:11 UTC
Can anyone on a 64-bit system that doesn't use nVidia reproduce this crash?
Comment 8 Cipta H. 2008-06-26 02:52:03 UTC
Wait- no, the folder view doesn't blur the background anymore, so I think all blur is disabled. Sorry if it causes confusion.
Comment 9 Cipta H. 2008-07-27 08:18:43 UTC
I am using the latest fedora rawhide package now and the bug doesn't appear anymore. So I think this is fixed, and I'm marking this resolved.

[*user*@*hostname* ~]$ kwin -v
Qt: 4.4.0
KDE: 4.1.00 (KDE 4.1.0)
KWin: 3.0

kernel 2.6.25.11-97.fc9.x86_64

Laptop: HP Pavilion dv6575us
Display: NVIDIA GeForce 8400M GS, driver version 173.14.09 installed with kmod-nvidia (fedora package) 
Comment 10 Alexey Chernov 2008-08-03 23:27:59 UTC
Reproducible with KDE 4.1.0, Qt 4.4.1, NVidia proprietary 173.14.12 and 177.13 (beta) on x86_64 for me. Crash report will follow.
Comment 11 Alexey Chernov 2008-08-03 23:28:53 UTC
Created attachment 26610 [details]
Backtrace for the last comment
Comment 12 lucas 2008-08-04 03:09:42 UTC
Reopening.
Comment 13 Alexey Chernov 2008-09-05 21:16:07 UTC
I've switched to KDE 4.1.1 and the bug is reproducible there. I've taken new crash report, it considerably differs from the old one so I will attach it in the next message.
Comment 14 Alexey Chernov 2008-09-05 21:17:29 UTC
Приложение: KWin (kwin), сигнал SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fcf3ac2f750 (LWP 3518)]
[KCrash handler]
#5  0x00007fcf36c2055b in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#6  0x00007fcf36c2190e in *__GI_abort () at abort.c:88
#7  0x00007fcf38270ce9 in ?? () from /usr/lib/libGL.so.1
#8  0x00007fcf35998c3e in ?? () from /usr/lib/libGLcore.so.1
#9  0x00007fcf35999813 in ?? () from /usr/lib/libGLcore.so.1
#10 0x00007fcf357050d4 in ?? () from /usr/lib/libGLcore.so.1
#11 0x00007fcf3544e296 in ?? () from /usr/lib/libGLcore.so.1
#12 0x00007fcf3aa1226e in KWin::SceneOpenGL::flushBuffer (this=0x1720910, 
    mask=8, damage=@0x7fff42c660b0)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/scene_opengl.cpp:696
#13 0x00007fcf3aa125cf in KWin::SceneOpenGL::paint (this=0x1720910, 
    damage=@0x7fff42c66250, toplevels=@0x7fff42c66240)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/scene_opengl.cpp:628
#14 0x00007fcf3aa02a7a in KWin::Workspace::performCompositing (this=0x16de750)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/composite.cpp:357
#15 0x00007fcf3a9a024f in KWin::Workspace::qt_metacall (this=0x16de750, 
    _c=QMetaObject::InvokeMetaMethod, _id=137, _a=0x7fff42c66350)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/build/kwin/workspace.moc:433
#16 0x00007fcf3a0ad81c in QMetaObject::activate (sender=0x16deb48, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3007
#17 0x00007fcf3a0a81ba in QObject::event (this=0x16deb48, e=0xdbe)
    at kernel/qobject.cpp:1096
#18 0x00007fcf38c6c18e in QApplicationPrivate::notify_helper (this=0x16066a0, 
    receiver=0x16deb48, e=0x7fff42c669c0) at kernel/qapplication.cpp:3800
#19 0x00007fcf38c70cae in QApplication::notify (this=0x7fff42c66cd0, 
    receiver=0x16deb48, e=0x7fff42c669c0) at kernel/qapplication.cpp:3765
#20 0x00007fcf378ffe28 in KApplication::notify (this=0x7fff42c66cd0, 
    receiver=0x16deb48, event=0x7fff42c669c0)
    at /usr/src/packages/kde4/4.1.1/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:311
#21 0x00007fcf3a9bd8cd in KWin::Application::notify (this=0x7fff42c66cd0, 
    o=0x16deb48, e=0x7fff42c669c0)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/main.cpp:369
#22 0x00007fcf3a099748 in QCoreApplication::notifyInternal (
    this=0x7fff42c66cd0, receiver=0x16deb48, event=0x7fff42c669c0)
    at kernel/qcoreapplication.cpp:591
#23 0x00007fcf3a0c44a9 in QTimerInfoList::activateTimers (this=0x1609e70)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 0x00007fcf3a0c209d in timerSourceDispatch (source=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:166
#25 0x00007fcf36327cc7 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#26 0x00007fcf363284f2 in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#27 0x00007fcf363289a8 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#28 0x00007fcf3a0c24ee in QEventDispatcherGlib::processEvents (this=0x16068d0, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#29 0x00007fcf38cf224f in QGuiEventDispatcherGlib::processEvents (this=0xdbe, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fcf3a098b65 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fff42c66bf0)
    at kernel/qeventloop.cpp:149
#31 0x00007fcf3a098cc8 in QEventLoop::exec (this=0x7fff42c66c30, 
    flags=@0x7fff42c66c40) at kernel/qeventloop.cpp:200
#32 0x00007fcf3a09acce in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:849
#33 0x00007fcf3a9bef3a in kdemain (argc=3, argv=0x7fff42c671a8)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/kwin/main.cpp:511
#34 0x0000000000400883 in main (argc=3, argv=0x7fff42c671a8)
    at /usr/src/packages/kde4/4.1.1/kdebase-workspace-4.1.1/build/kwin/kwin_dummy.cpp:3
#0  0x00007fcf36c849b0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 15 lucas 2008-09-16 06:38:25 UTC
*** Bug 171090 has been marked as a duplicate of this bug. ***
Comment 16 Alexey Chernov 2008-10-09 00:13:15 UTC
Is actual for KDE 4.1.2
Comment 17 Jacek 2008-11-08 11:40:40 UTC
I confirm this bug.
I am using nvidia restricted drivers 177 on kubuntu amd64 with nvidia gforce 8400 kde 4.1. It is quite serios as when I don't get kwin error msg i need to reboot whole system and pray for error msg to make this work ;]

I noticed that the problem occurs when I enable direct rendering in desktop settings - I will try to see if it will work with direct rendering and blur disabled. 



Crash report:

Program: KWin (kwin), sygnał SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f468bdbe730 (LWP 7106)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00007f468d4882d6 in ?? () from /usr/lib/libGLcore.so.1
#6  0x00007f468d4888d1 in ?? () from /usr/lib/libGLcore.so.1
#7  0x00007f468d211a88 in ?? () from /usr/lib/libGLcore.so.1
#8  0x00007f468d2688a5 in ?? () from /usr/lib/libGLcore.so.1
#9  0x00007f468d590166 in ?? () from /usr/lib/libGLcore.so.1
#10 0x00007f468d20da66 in ?? () from /usr/lib/libGLcore.so.1
#11 0x00007f4693b8be20 in KWin::GLRenderTarget::enable ()
   from /usr/lib/libkwineffects.so.1
#12 0x00007f46943b7c14 in ?? () from /usr/lib/libkdeinit4_kwin.so
#13 0x00007f468951a592 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#14 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#15 0x00007f46895105d4 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#16 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#17 0x00007f46894ff925 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#18 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#19 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#20 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#21 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#22 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#23 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#24 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#25 0x00007f46894f3436 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#26 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#27 0x00007f46894ef321 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#28 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#29 0x00007f468951defd in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#30 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#31 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#32 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#33 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#34 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#35 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#36 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#37 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#38 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#39 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#40 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#41 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#42 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#43 0x00007f46895166f4 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#44 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#45 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#46 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#47 0x00007f468952a935 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#48 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#49 0x00007f4693b83fa0 in KWin::Effect::paintScreen ()
   from /usr/lib/libkwineffects.so.1
#50 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#51 0x00007f46894f52c1 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#52 0x00007f46943ba180 in ?? () from /usr/lib/libkdeinit4_kwin.so
#53 0x00007f46943a8f84 in ?? () from /usr/lib/libkdeinit4_kwin.so
#54 0x00007f46943b32f4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#55 0x00007f46943a51b4 in ?? () from /usr/lib/libkdeinit4_kwin.so
#56 0x00007f46943496b2 in ?? () from /usr/lib/libkdeinit4_kwin.so
#57 0x00007f4693448134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#58 0x00007f4693442a43 in QObject::event () from /usr/lib/libQtCore.so.4
#59 0x00007f4692017c3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#60 0x00007f469201f9ea in QApplication::notify () from /usr/lib/libQtGui.so.4
#61 0x00007f4690de7fcb in KApplication::notify () from /usr/lib/libkdeui.so.5
#62 0x00007f4693433d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#63 0x00007f469345fab6 in ?? () from /usr/lib/libQtCore.so.4
#64 0x00007f469345c1fd in ?? () from /usr/lib/libQtCore.so.4
#65 0x00007f468f8f0d3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#66 0x00007f468f8f450d in ?? () from /usr/lib/libglib-2.0.so.0
#67 0x00007f468f8f46cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#68 0x00007f469345c15f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#69 0x00007f46920a9a9f in ?? () from /usr/lib/libQtGui.so.4
#70 0x00007f4693432682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#71 0x00007f469343280d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#72 0x00007f4693434cbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#73 0x00007f4694362761 in kdemain () from /usr/lib/libkdeinit4_kwin.so
#74 0x00007f4693fcf466 in __libc_start_main () from /lib/libc.so.6
#75 0x0000000000400659 in _start ()
#0  0x00007f46940595f0 in nanosleep () from /lib/libc.so.6

Comment 18 Jacek 2008-11-08 11:51:09 UTC
Turning blur off or direct rendering off solves the problem.
Both of those cannot be enabled together.
Comment 19 Michael Chalvatzis 2008-11-15 08:50:13 UTC
I can confirm this behaviour. Blur enabled -> crash. Blur disabled KDE starts up without any crashes.
What is the root cause?
The nvidia driver or the blur effect or the combination of both or what?

thanks and cheers, michael
Comment 20 Alexander Ponyatikh 2008-11-16 16:42:27 UTC
I've installed nvidia driver 180.06 BETA and everything works fine now with both blur and direct rendering turned on. Try it out.

You can also check a new 177.82 stable driver, may be they fixed it too.
Comment 21 lucas 2008-11-19 03:58:46 UTC
*** Bug 166980 has been marked as a duplicate of this bug. ***
Comment 22 lucas 2008-11-19 09:21:52 UTC
*** Bug 173977 has been marked as a duplicate of this bug. ***
Comment 23 lucas 2008-11-19 12:07:13 UTC
*** Bug 169645 has been marked as a duplicate of this bug. ***
Comment 24 lucas 2008-11-28 04:14:48 UTC
*** Bug 176283 has been marked as a duplicate of this bug. ***
Comment 25 lucas 2008-11-30 14:40:15 UTC
Apparently fixed in nVidia 180.x drivers.
Comment 26 lucas 2008-12-05 06:04:29 UTC
*** Bug 176947 has been marked as a duplicate of this bug. ***
Comment 27 Nadav Kavalerchik 2009-01-06 18:42:50 UTC
seems to work fine on:

hp dv7 + debian sid 64bit + kde 4.1.86 
+ nvidia 9600M GT + nvidia 177.82 + Xorg 1.4.2 

nvidia section from xorg.conf: 
Section "Device" 
Identifier "Device0" 
Driver "nvidia" 
VendorName "NVIDIA Corporation" 
BusID "PCI:1:0:0" 
# compiz(fusion) recommands for nvidia 
Option "RenderAccel" "True" 
Option "AddARGBGLXVisuals" "True" 
Option "DamageEvents" "True" 
Option "UseEvents" "False" 
Option "TripleBuffer" "True" 
Option "BackingStore" "True" 
Option "NoLogo" "True" 
#http://userbase.kde.org/GPU-Performance#NVIDIA 
Option "UseCompositeWrapper" "True" 
Option "AllowIndirectPixmaps" "True" 
Option "PixmapCacheSize" "200000" 
Option "OnDemandVBlankInterrupts" "True" 
EndSection