aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-legacy-304xx-kernel-dkms
[ 20.794] (==) Log file: "/var/log/Xorg.0.log", Time: Sat May 30 07:41:09 2015
[ 21.101] (==) Using config file: "/etc/X11/xorg.conf"
[ 21.101] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 21.124] (==) No Layout section. Using the first Screen section.
[ 21.124] (==) No screen section available. Using defaults.
[ 21.124] (**) |-->Screen "Default Screen Section" (0)
[ 21.124] (**) | |-->Monitor "<default monitor>"
[ 21.138] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 21.138] (**) | |-->Device "Card0"
[ 21.138] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 21.138] (==) Automatically adding devices
[ 21.138] (==) Automatically enabling devices
[ 21.138] (==) Automatically adding GPU devices
[ 21.189] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 21.189] Entry deleted from font path.
[ 21.194] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 21.194] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 21.194] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 21.208] (II) Loader magic: 0x7f88f9158d80
[ 21.209] (II) Module ABI versions:
[ 21.209] X.Org ANSI C Emulation: 0.4
[ 21.209] X.Org Video Driver: 18.0
[ 21.209] X.Org XInput driver : 21.0
[ 21.209] X.Org Server Extension : 8.0
[ 21.209] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 21.209] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 21.211] (--) PCI: (0:0:13:0) 10de:03d6:1458:d000 rev 162, Mem @ 0xfb000000/16777216, 0xc0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
[ 21.211] (--) PCI:*(0:2:0:0) 10de:0622:1acc:9602 rev 161, Mem @ 0xf8000000/16777216, 0xd0000000/268435456, 0xf6000000/33554432, I/O @ 0x0000ac00/128, BIOS @ 0x????????/524288
[ 21.213] (II) LoadModule: "glx"
[ 21.225] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 24.092] (II) Module glx: vendor="NVIDIA Corporation"
[ 24.092] compiled for 4.0.2, module version = 1.0.0
[ 24.092] Module class: X.Org Server Extension
[ 24.092] (II) NVIDIA GLX Module 304.125 Mon Dec 1 20:22:48 PST 2014
[ 24.092] (II) LoadModule: "nvidia"
[ 24.105] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 24.295] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 24.295] compiled for 4.0.2, module version = 1.0.0
[ 24.295] Module class: X.Org Video Driver
[ 24.339] (II) NVIDIA dlloader X Driver 304.125 Mon Dec 1 20:00:30 PST 2014
[ 24.339] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 24.348] (++) using VT number 7
[ 24.358] (II) Loading sub module "fb"
[ 24.358] (II) LoadModule: "fb"
[ 24.358] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 24.406] (II) Module fb: vendor="X.Org Foundation"
[ 24.406] compiled for 1.16.4, module version = 1.0.0
[ 24.406] ABI class: X.Org ANSI C Emulation, version 0.4
[ 24.406] (II) Loading sub module "wfb"
[ 24.406] (II) LoadModule: "wfb"
[ 24.407] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 24.424] (II) Module wfb: vendor="X.Org Foundation"
[ 24.424] compiled for 1.16.4, module version = 1.0.0
[ 24.424] ABI class: X.Org ANSI C Emulation, version 0.4
[ 24.424] (II) Loading sub module "ramdac"
[ 24.424] (II) LoadModule: "ramdac"
[ 24.424] (II) Module "ramdac" already built-in
[ 24.450] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 24.450] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 24.450] (==) NVIDIA(0): RGB weight 888
[ 24.450] (==) NVIDIA(0): Default visual is TrueColor
[ 24.450] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 24.460] (**) NVIDIA(0): Enabling 2D acceleration
[ 25.952] (II) NVIDIA(GPU-0): Display (Ancor Communications Inc ASUS VW227 (CRT-0)) does not
[ 25.952] (II) NVIDIA(GPU-0): support NVIDIA 3D Vision stereo.
[ 25.971] (II) NVIDIA(0): NVIDIA GPU GeForce 9600 GT (G94) at PCI:2:0:0 (GPU-0)
[ 25.971] (--) NVIDIA(0): Memory: 524288 kBytes
[ 25.971] (--) NVIDIA(0): VideoBIOS: 62.94.0d.00.1d
[ 25.971] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 25.971] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 25.973] (--) NVIDIA(0): Valid display device(s) on GeForce 9600 GT at PCI:2:0:0
[ 25.973] (--) NVIDIA(0): Ancor Communications Inc ASUS VW227 (CRT-0) (connected)
[ 25.973] (--) NVIDIA(0): CRT-1
[ 25.973] (--) NVIDIA(0): TV-0
[ 25.973] (--) NVIDIA(0): DFP-0
[ 25.973] (--) NVIDIA(0): DFP-1
[ 25.973] (--) NVIDIA(0): Ancor Communications Inc ASUS VW227 (CRT-0): 400.0 MHz maximum pixel clock
[ 25.973] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[ 25.973] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[ 25.973] (--) NVIDIA(0): TV encoder: Unknown
[ 25.973] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[ 25.973] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 25.973] (--) NVIDIA(0): DFP-1: 330.0 MHz maximum pixel clock
[ 25.973] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[ 25.974] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 25.974] (**) NVIDIA(0): device Ancor Communications Inc ASUS VW227 (CRT-0) (Using
[ 25.974] (**) NVIDIA(0): EDID frequencies has been enabled on all display
[ 25.974] (**) NVIDIA(0): devices.)
[ 25.977] (==) NVIDIA(0):
[ 25.977] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 25.977] (==) NVIDIA(0): will be used as the requested mode.
[ 25.977] (==) NVIDIA(0):
[ 25.977] (II) NVIDIA(0): Validated MetaModes:
[ 25.977] (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
[ 25.977] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 26.015] (--) NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
[ 26.015] (--) NVIDIA(0): option
[ 26.015] (--) Depth 24 pixmap format is 32 bpp
[ 26.017] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA GPU at PCI:0:13:0. Please
[ 26.017] (EE) NVIDIA(GPU-1): check your system's kernel log for additional error
[ 26.017] (EE) NVIDIA(GPU-1): messages and refer to Chapter 8: Common Problems in the
[ 26.017] (EE) NVIDIA(GPU-1): README for additional information.
[ 26.017] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
[ 26.017] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 26.020] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 26.020] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 26.020] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 26.020] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 26.020] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 26.020] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 26.020] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 26.020] (II) NVIDIA(0): Config Options in the README.
[ 26.021] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[ 26.143] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 26.143] (==) NVIDIA(0): Backing store enabled
[ 26.143] (==) NVIDIA(0): Silken mouse enabled
[ 26.145] (==) NVIDIA(0): DPMS enabled
[ 26.146] (II) Loading sub module "dri2"
[ 26.146] (II) LoadModule: "dri2"
[ 26.146] (II) Module "dri2" already built-in
[ 26.146] (II) NVIDIA(0): [DRI2] Setup complete
[ 26.146] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 26.147] (--) RandR disabled