Upcoming Nvidia driver (Solved)

Hi all.
I have a Geforce 6150 SE GPU which Nvidia is dropping support for in the near future, when the 304.xx driver will become a leagacy driver. My question is what will I have to do when this happens? Will there be a package that replaces the mainline nvidia package?
Last edited by pressman57 (2012-11-10 19:12:02)

pressman57 wrote:Nvidia is dropping support for in the near future, when the 304.xx driver will become a leagacy driver.
1) Just because it's dropped to a 'legacy' series doesn't mean nvidia is dropping support; in your case the 304.xx series will continue to be supported through 2017.
2) The package will likely drop to the AUR in the form of 'nvidia-304xx{,-utils}', like the previous legacy lines before it

Similar Messages

  • Cannot load nvidia driver module [SOLVED]

    OK so for some reason I can no longer load the nvidia (proprietary) driver.
    I have a laptop with optimus, on board intel and discrete nvidia GTX680M. I use this laptop for cuda development so I don't care about games etc, I just need the driver loaded to debug and run my cuda  apps. bbswitch still works fine as does bumblebee which I don't use normally but I do have it setup and running in case. Also I didn't really work much on coding last week so not sure exactly when this started.
    So here is what happens when I try to insert the nvidia module or use optirun:
    $ sudo modprobe nvidia
    modprobe: ERROR: could not insert 'nvidia': No such device
    $ sudo insmod nvidia
    insmod: ERROR: could not load module nvidia: No such file or directory
    $ optirun -vv glxspheres
    [ 27.485342] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 27.485506] [INFO]Configured driver: nvidia
    [ 27.485635] [DEBUG]optirun version 3.2.1 starting...
    [ 27.485642] [DEBUG]Active configuration:
    [ 27.485645] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 27.485662] [DEBUG] X display: :8
    [ 27.485674] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
    [ 27.485676] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 27.485679] [DEBUG] Accel/display bridge: primus
    [ 27.485681] [DEBUG] VGL Compression: xv
    [ 27.485684] [DEBUG] VGLrun extra options:
    [ 27.485686] [DEBUG] Primus LD Path: /usr/lib:/usr/lib32
    [ 27.560627] [INFO]Response: No - error: Could not load GPU driver
    [ 27.560647] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    [ 27.560651] [DEBUG]Socket closed.
    [ 27.560666] [ERROR]Aborting because fallback start is disabled.
    [ 27.560671] [DEBUG]Killing all remaining processes.
    I don't have an xorg file for the intel gpu.
    device nodes are created:
    $ ls /dev/ | grep nv
    crw-rw-rw- 1 root root 195, 0 Sep 24 14:58 nvidia0
    crw-rw-rw- 1 root root 195, 255 Sep 24 14:58 nvidiactl
    log info:
    $cat /var/log/Xorg.0.log | grep EE
    [ 3.385] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4.299] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4.308] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 4.308] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 4.309] (EE) Failed to load module "fbdev" (module does not exist, 0)
    $ cat /var/log/Xorg.8.log
    [ 11367.762]
    X.Org X Server 1.14.3
    Release Date: 2013-09-12
    [ 11367.762] X Protocol Version 11, Revision 0
    [ 11367.762] Build Operating System: Linux 3.11.0-1-ARCH x86_64
    [ 11367.762] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
    [ 11367.762] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1c3a736e-6aab-45e1-a9ad-5d2f6195cd7d ro quiet
    [ 11367.762] Build Date: 13 September 2013 01:28:59PM
    [ 11367.762]
    [ 11367.762] Current version of pixman: 0.30.2
    [ 11367.762] Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    [ 11367.762] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 11367.762] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Sep 19 23:04:24 2013
    [ 11367.762] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 11367.762] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 11367.762] (==) ServerLayout "Layout0"
    [ 11367.762] (==) No screen section available. Using defaults.
    [ 11367.762] (**) |-->Screen "Default Screen Section" (0)
    [ 11367.762] (**) | |-->Monitor "<default monitor>"
    [ 11367.762] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 11367.762] (**) | |-->Device "DiscreteNvidia"
    [ 11367.762] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 11367.762] (**) Option "AutoAddDevices" "false"
    [ 11367.762] (**) Option "AutoAddGPU" "false"
    [ 11367.762] (**) Not automatically adding devices
    [ 11367.762] (==) Automatically enabling devices
    [ 11367.762] (**) Not automatically adding GPU devices
    [ 11367.762] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 11367.762] Entry deleted from font path.
    [ 11367.762] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 11367.762] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 11367.762] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 11367.762] (==) |-->Input Device "<default pointer>"
    [ 11367.763] (==) |-->Input Device "<default keyboard>"
    [ 11367.763] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 11367.763] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 11367.763] (II) Loader magic: 0x7fdc20
    [ 11367.763] (II) Module ABI versions:
    [ 11367.763] X.Org ANSI C Emulation: 0.4
    [ 11367.763] X.Org Video Driver: 14.1
    [ 11367.763] X.Org XInput driver : 19.1
    [ 11367.763] X.Org Server Extension : 7.0
    [ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 11367.763] setversion 1.4 failed
    [ 11367.764] (--) PCI:*(0:1:0:0) 10de:11a0:1558:5105 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 11367.764] Initializing built-in extension Generic Event Extension
    [ 11367.764] Initializing built-in extension SHAPE
    [ 11367.764] Initializing built-in extension MIT-SHM
    [ 11367.764] Initializing built-in extension XInputExtension
    [ 11367.764] Initializing built-in extension XTEST
    [ 11367.764] Initializing built-in extension BIG-REQUESTS
    [ 11367.764] Initializing built-in extension SYNC
    [ 11367.764] Initializing built-in extension XKEYBOARD
    [ 11367.764] Initializing built-in extension XC-MISC
    [ 11367.764] Initializing built-in extension SECURITY
    [ 11367.764] Initializing built-in extension XINERAMA
    [ 11367.764] Initializing built-in extension XFIXES
    [ 11367.764] Initializing built-in extension RENDER
    [ 11367.764] Initializing built-in extension RANDR
    [ 11367.764] Initializing built-in extension COMPOSITE
    [ 11367.764] Initializing built-in extension DAMAGE
    [ 11367.764] Initializing built-in extension MIT-SCREEN-SAVER
    [ 11367.764] Initializing built-in extension DOUBLE-BUFFER
    [ 11367.764] Initializing built-in extension RECORD
    [ 11367.764] Initializing built-in extension DPMS
    [ 11367.764] Initializing built-in extension X-Resource
    [ 11367.764] Initializing built-in extension XVideo
    [ 11367.764] Initializing built-in extension XVideo-MotionCompensation
    [ 11367.764] Initializing built-in extension XFree86-VidModeExtension
    [ 11367.764] Initializing built-in extension XFree86-DGA
    [ 11367.764] Initializing built-in extension XFree86-DRI
    [ 11367.764] Initializing built-in extension DRI2
    [ 11367.764] (II) LoadModule: "glx"
    [ 11367.764] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 11367.773] (II) Module glx: vendor="NVIDIA Corporation"
    [ 11367.773] compiled for 4.0.2, module version = 1.0.0
    [ 11367.773] Module class: X.Org Server Extension
    [ 11367.773] (II) NVIDIA GLX Module 325.15 Wed Jul 31 18:12:00 PDT 2013
    [ 11367.773] Loading extension GLX
    [ 11367.773] (II) LoadModule: "nvidia"
    [ 11367.773] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 11367.773] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 11367.773] compiled for 4.0.2, module version = 1.0.0
    [ 11367.773] Module class: X.Org Video Driver
    [ 11367.773] (II) LoadModule: "mouse"
    [ 11367.773] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 11367.773] (II) Module mouse: vendor="X.Org Foundation"
    [ 11367.773] compiled for 1.14.0, module version = 1.9.0
    [ 11367.773] Module class: X.Org XInput Driver
    [ 11367.773] ABI class: X.Org XInput driver, version 19.1
    [ 11367.773] (II) LoadModule: "kbd"
    [ 11367.774] (WW) Warning, couldn't open module kbd
    [ 11367.774] (II) UnloadModule: "kbd"
    [ 11367.774] (II) Unloading kbd
    [ 11367.774] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 11367.774] (II) NVIDIA dlloader X Driver 325.15 Wed Jul 31 17:50:57 PDT 2013
    [ 11367.774] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 11367.774] (--) using VT number 7
    [ 11367.774] (II) Loading sub module "fb"
    [ 11367.774] (II) LoadModule: "fb"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 11367.774] (II) Module fb: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.0.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 11367.774] (II) Loading sub module "wfb"
    [ 11367.774] (II) LoadModule: "wfb"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 11367.774] (II) Module wfb: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.0.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (II) Loading sub module "shadow"
    [ 11367.774] (II) LoadModule: "shadow"
    [ 11367.774] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 11367.774] (II) Module shadow: vendor="X.Org Foundation"
    [ 11367.774] compiled for 1.14.3, module version = 1.1.0
    [ 11367.774] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 11367.774] (II) Loading sub module "ramdac"
    [ 11367.774] (II) LoadModule: "ramdac"
    [ 11367.774] (II) Module "ramdac" already built-in
    [ 11367.774] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 11367.774] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 11367.775] (==) NVIDIA(0): RGB weight 888
    [ 11367.775] (==) NVIDIA(0): Default visual is TrueColor
    [ 11367.775] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 11367.775] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 11367.775] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 11367.775] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 11367.775] (**) NVIDIA(0): Enabling 2D acceleration
    [ 11367.775] (**) NVIDIA(0): Ignoring EDIDs
    [ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 11367.775] (**) NVIDIA(0): mode
    [ 11368.299] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 11368.300] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 680M (GK104) at PCI:1:0:0 (GPU-0)
    [ 11368.300] (--) NVIDIA(0): Memory: 4194304 kBytes
    [ 11368.300] (--) NVIDIA(0): VideoBIOS: 80.04.29.00.01
    [ 11368.300] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 11368.300] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 680M at PCI:1:0:0
    [ 11368.300] (--) NVIDIA(0): none
    [ 11368.300] (II) NVIDIA(0): Validated MetaModes:
    [ 11368.300] (II) NVIDIA(0): "nvidia-auto-select"
    [ 11368.300] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [ 11368.300] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [ 11368.300] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [ 11368.300] (--) Depth 24 pixmap format is 32 bpp
    [ 11368.300] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 11368.300] (II) NVIDIA: access.
    [ 11368.304] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 11368.304] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 11368.304] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 11368.304] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 11368.304] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 11368.304] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 11368.304] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 11368.304] (II) NVIDIA(0): Config Options in the README.
    [ 11368.304] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
    [ 11368.308] Loading extension NV-GLX
    [ 11368.312] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 11368.312] (==) NVIDIA(0): Backing store disabled
    [ 11368.312] (==) NVIDIA(0): Silken mouse enabled
    [ 11368.312] (==) NVIDIA(0): DPMS enabled
    [ 11368.312] Loading extension NV-CONTROL
    [ 11368.312] (II) Loading sub module "dri2"
    [ 11368.312] (II) LoadModule: "dri2"
    [ 11368.312] (II) Module "dri2" already built-in
    [ 11368.312] (II) NVIDIA(0): [DRI2] Setup complete
    [ 11368.312] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 11368.312] (--) RandR disabled
    [ 11368.316] (II) Initializing extension GLX
    [ 11368.342] (II) Using input driver 'mouse' for '<default pointer>'
    [ 11368.342] (**) Option "CorePointer" "on"
    [ 11368.342] (**) <default pointer>: always reports core events
    [ 11368.342] (WW) <default pointer>: No Device specified, looking for one...
    [ 11368.422] (II) <default pointer>: Setting Device option to "/dev/input/mice"
    [ 11368.422] (--) <default pointer>: Device: "/dev/input/mice"
    [ 11368.422] (==) <default pointer>: Protocol: "Auto"
    [ 11368.422] (**) <default pointer>: always reports core events
    [ 11368.422] (**) Option "Device" "/dev/input/mice"
    [ 11368.475] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
    [ 11368.475] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
    [ 11368.475] (**) <default pointer>: Buttons: 9
    [ 11368.475] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
    [ 11368.475] (**) <default pointer>: (accel) keeping acceleration scheme 1
    [ 11368.475] (**) <default pointer>: (accel) acceleration profile 0
    [ 11368.475] (**) <default pointer>: (accel) acceleration factor: 2.000
    [ 11368.475] (**) <default pointer>: (accel) acceleration threshold: 4
    [ 11368.475] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
    [ 11368.769] (II) <default pointer>: ps2EnableDataReporting: succeeded
    [ 11368.769] (II) LoadModule: "kbd"
    [ 11368.769] (WW) Warning, couldn't open module kbd
    [ 11368.769] (II) UnloadModule: "kbd"
    [ 11368.769] (II) Unloading kbd
    [ 11368.769] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 11368.769] (EE) No input driver matching `kbd'
    [ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event6)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event5)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.771] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
    [ 11368.771] (II) AutoAddDevices is off - not adding device.
    [ 11368.772] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
    [ 11368.772] (II) AutoAddDevices is off - not adding device.
    [ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card1)
    [ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 11368.772] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 11368.772] setversion 1.4 failed
    [ 11368.772] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event1)
    [ 11368.772] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event2)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/mouse0)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.773] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
    [ 11368.773] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event16)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event17)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event18)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event8)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.774] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
    [ 11368.774] (II) AutoAddDevices is off - not adding device.
    [ 11368.775] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 11368.775] (II) AutoAddDevices is off - not adding device.
    [ 11368.775] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
    [ 11368.775] (II) AutoAddDevices is off - not adding device.
    [ 11374.183] (II) UnloadModule: "mouse"
    [ 11374.199] (II) NVIDIA(GPU-0): Deleting GPU-0
    [ 11374.200] (EE) Server terminated successfully (0). Closing log file.
    I'm not willing to give up and install/build the drivers from the cuda SDK just yet so any help would be greatly appreciated.
    Last edited by tim (2013-10-02 08:20:49)

    So in simple terms, the fix invovled ensuring the nvidia module is loaded before the bbswitch module. I'm not sure about the necessity of the things that follow but the fix may possibly also require removing bumblebee and possibly requires removing nvidia from repos and building the driver downloaded from nvidia.
    This fix could be completely unrelated to the problems I was having with arch but I cannot verify the fix on arch specifically cos I installed every distro under the sun trying to get it all working and I got it to work on a non arch distro.
    So... I'm not sure if I should really mark this a solved because I haven't/can't verify it on arch and technically the solution involved changing to another distro but in fact, I know it has absolutely nothing to do with arch since I saw the same behaviour on 3 other distros. If I have time, I will reinstall arch and verify but for the moment, I have a lot of work to catch up on now that I have a working nvidia driver I can actually use for dev
    Anyway, what I think is going on is there is some bizarre issue with bbswitch that stops the nvidia driver from being found because on the current distro I have installed, if I have no bbswitch, no bumblebee and no nvidia modules loaded or services running etc. I can modprobe the nvidia driver and all works fine. I can then modprobe the bbswitch driver and that works too. IF I modprobe the bbswitch driver first and then modprobe the nvidia driver, I get this error that says the nvidia module cant be found. The location it prints is in some updates directory whcih is odd too because I installed from nvidia source and never installed updates at all and made sure that there were absolutely no repo nvidia drivers or updates etc.
    Last edited by tim (2013-10-02 08:35:39)

  • [Solved] Starcraft 2 crashe with wine bunblebee nvidia driver

    After the upgrade of yesterday (2013/05/12) my starcraft II (under wine) crashes.
    After a downgrade of the nvidia driver ( and linux kernel ) my SCII is running once again perfectly, so I guess there is something wrong between the new nvidia driver (319.17-2) and the following package : bumblebee (3.2.1-1), wine (1.5.30-2) .
    I'm a little buzzy actually and didn't take time to check deeply why, but if someone wants some data just ask
    humhumhum
    Edit: the package bunmblebee has been updated and solves the problem. Thanks.
    Last edited by humhumhum (2013-06-03 11:59:43)

    Do other GL programs work? e.g. glxgears. Is direct rendering enabled? (glxinfo | grep -i direct)

  • SOLVED: Installation of NVidia Driver messes with BASH? (x86-64)

    Hello,
    I just started using Arch - I migrated here from Gentoo (I failed to compile a working kernel five times!) and the convoluted messiness of Debian (which had serious problems with the proprietary NVIDIA driver). Within three hours after I began installing Arch it booted fine and I got nearly all my devices to work. Yaaay!
    I've recently encountered a peculiar problem that occurs after installing GNOME on a 64-bit system. I've re-installed Arch three times, and have seen this problem three times repeated: after all the gnome and gnome-extra packages have been downloaded, unpacked, configured, and installed, BASH no longer recognizes most of the programs that were already installed properly (and were working fine just beforehand);
    I get "command not found" for such commands as make, dhcpcd, modprobe, ifconfig, even reboot and shutdown!!!
    It may have something to do with a message I noticed somewhere in pacman's output that was something to the extent of "updating bash..."
    ...Is this a common problem? Or is this user error on my part? When I get home I'll retrieve the config files from my mid-tower's hard drive and post the non-comment parts if that will help diagnose the problem.
    Last edited by deconstrained (2008-04-01 03:55:41)

    problem: SOLVED --
    I found an old stage 3 tarball (gentoo) from my USB drive that had ./etc/profile in it. I stuck that in /etc/ and it's working fine In fact, it's got some nice features already written into it, i.e. optionally different default paths for the superuser and normal users.
    Just in case anyone else has the same problem, finds this thread in a forum search and needs an /etc/profile:
    # /etc/profile: login shell setup
    # That this file is used by any Bourne-shell derivative to setup the
    # environment for login shells.
    # Load environment settings from profile.env, which is created by
    # env-update from the files in /etc/env.d
    # 077 would be more secure, but 022 is generally quite realistic
    umask 022
    # Set up PATH depending on whether we're root or a normal user.
    # There's no real reason to exclude sbin paths from the normal user,
    # but it can make tab-completion easier when they aren't in the
    # user's PATH to pollute the executable namespace.
    # It is intentional in the following line to use || instead of -o.
    # This way the evaluation can be short-circuited and calling whoami is
    # avoided.
    if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
    else
    PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
    fi
    export PATH
    unset ROOTPATH
    # Extract the value of EDITOR
    [ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`"
    [ -z "$EDITOR" ] && EDITOR="/bin/nano"
    export EDITOR
    if [ -n "${BASH_VERSION}" ] ; then
    # Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
    # including color. We leave out color here because not all
    # terminals support it.
    if [ -f /etc/bash/bashrc ] ; then
    # Bash login shells run only /etc/profile
    # Bash non-login shells run only /etc/bash/bashrc
    # Since we want to run /etc/bash/bashrc regardless, we source it
    # from here. It is unfortunate that there is no way to do
    # this *after* the user's .bash_profile runs (without putting
    # it in the user's dot-files), but it shouldn't make any
    # difference.
    . /etc/bash/bashrc
    else
    PS1='\u@\h \w \$ '
    fi
    else
    # Setup a bland default prompt. Since this prompt should be useable
    # on color and non-color terminals, as well as shells that don't
    # understand sequences such as \h, don't put anything special in it.
    PS1="`whoami`@`uname -n | cut -f1 -d.` \$ "
    fi
    for sh in /etc/profile.d/*.sh ; do
    if [ -r "$sh" ] ; then
    . "$sh"
    fi
    done
    unset sh
    Last edited by deconstrained (2008-04-01 03:54:36)

  • [SOLVED]Make Pacman think that I have libgl (NVIDIA driver)

    Hi,
    I've installed my Nvidia driver manualy because my card (NVS 310) do not work with the packages provides by pacman (even in AUR).
    Now I have a problem because pacman think I do not have
    libgl
    and do not allows me to install any graphical tools like libreoffice even if I ignore libgl:
    pacman -S libreoffice-fresh --ignore libgl
    resolving dependencies...
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1):
    I cannot install one of these package because then conflict with my manual install:
    pacman -S libgl
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1): 4
    resolving dependencies...
    looking for conflicting packages...
    warning: dependency cycle detected:
    warning: nvidia-utils will be installed before its nvidia-libgl dependency
    Packages (2) nvidia-utils-352.09-1 nvidia-libgl-352.09-1
    Total Installed Size: 125.31 MiB
    :: Proceed with installation? [Y/n]
    (2/2) checking keys in keyring [######################################] 100%
    (2/2) checking package integrity [######################################] 100%
    (2/2) loading package files [######################################] 100%
    (2/2) checking for file conflicts [######################################] 100%
    error: failed to commit transaction (conflicting files)
    nvidia-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
    nvidia-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
    Errors occurred, no packages were upgraded.
    So my question is: Is there a way to make pacman understand that I have installed libgl manualy so it do not ask me to install it?
    Thanks
    The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    Last edited by mickours (2015-06-13 19:09:41)

    Thanks for your reply, that was fast!
    Make my own package is definitly the right way to do this and I will when I have some time.
    For now I tried the workaround I mentioned before:
    mickours wrote:The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    And it works!
    Thanks again

  • [SOLVED] XOrg fails to load Nvidia driver on startup

    Hi,
    I'm having a fairly strange issue where XOrg is failing to load my driver when I start up my laptop. I'm using kdm, but this is causing it to fail. However, doing a simple
    $sudo systemctl restart kdm
    works, and everything starts up fine. When kdm is in the failed state, I see this:
    $sudo systemctl status kdm
    ● kdm.service - K Display Manager
    Loaded: loaded (/usr/lib/systemd/system/kdm.service; enabled; vendor preset: disabled)
    Active: active (running) since Fri 2014-12-19 18:47:26 EST; 41s ago
    Main PID: 247 (kdm)
    CGroup: /system.slice/kdm.service
    └─247 /usr/bin/kdm -nodaemon
    Dec 19 18:47:26 laptop systemd[1]: Started K Display Manager.
    Dec 19 18:47:27 laptop kdm[247]: X server died during startup
    Dec 19 18:47:27 laptop kdm[247]: X server for display :0 cannot be started, session disabled
    And in my XOrg log, I see:
    [ 3.639]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 3.639]
    X.Org X Server 1.16.2.901 (1.16.3 RC 1)
    Release Date: 2014-12-09
    [ 3.639] X Protocol Version 11, Revision 0
    [ 3.639] Build Operating System: Linux 3.17.2-1-ARCH x86_64
    [ 3.639] Current Operating System: Linux laptop 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
    [ 3.639] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
    [ 3.639] Build Date: 10 December 2014 02:34:24PM
    [ 3.639]
    [ 3.639] Current version of pixman: 0.32.6
    [ 3.639] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 3.639] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.639] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 19 18:47:26 2014
    [ 3.645] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 3.649] (==) No Layout section. Using the first Screen section.
    [ 3.649] (==) No screen section available. Using defaults.
    [ 3.649] (**) |-->Screen "Default Screen Section" (0)
    [ 3.649] (**) | |-->Monitor "<default monitor>"
    [ 3.650] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 3.650] (==) Automatically adding devices
    [ 3.650] (==) Automatically enabling devices
    [ 3.650] (==) Automatically adding GPU devices
    [ 3.658] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 3.658] Entry deleted from font path.
    [ 3.659] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.659] Entry deleted from font path.
    [ 3.659] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.660] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.660] Entry deleted from font path.
    [ 3.660] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.660] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 3.660] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.660] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.660] (II) Loader magic: 0x818d80
    [ 3.660] (II) Module ABI versions:
    [ 3.660] X.Org ANSI C Emulation: 0.4
    [ 3.660] X.Org Video Driver: 18.0
    [ 3.660] X.Org XInput driver : 21.0
    [ 3.660] X.Org Server Extension : 8.0
    [ 3.662] (EE) systemd-logind: failed to get session: PID 267 does not belong to any known session
    [ 3.663] (--) PCI:*(0:1:0:0) 10de:11a1:1558:0371 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 3.663] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 3.664] (II) LoadModule: "glx"
    [ 3.675] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 3.767] (II) Module glx: vendor="NVIDIA Corporation"
    [ 3.767] compiled for 4.0.2, module version = 1.0.0
    [ 3.767] Module class: X.Org Server Extension
    [ 3.768] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 3.769] (==) Matched nouveau as autoconfigured driver 0
    [ 3.769] (==) Matched nv as autoconfigured driver 1
    [ 3.769] (==) Matched modesetting as autoconfigured driver 2
    [ 3.769] (==) Matched fbdev as autoconfigured driver 3
    [ 3.769] (==) Matched vesa as autoconfigured driver 4
    [ 3.769] (==) Assigned the driver to the xf86ConfigLayout
    [ 3.769] (II) LoadModule: "nouveau"
    [ 3.769] (WW) Warning, couldn't open module nouveau
    [ 3.769] (II) UnloadModule: "nouveau"
    [ 3.769] (II) Unloading nouveau
    [ 3.769] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "nv"
    [ 3.769] (WW) Warning, couldn't open module nv
    [ 3.769] (II) UnloadModule: "nv"
    [ 3.769] (II) Unloading nv
    [ 3.769] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "modesetting"
    [ 3.769] (WW) Warning, couldn't open module modesetting
    [ 3.769] (II) UnloadModule: "modesetting"
    [ 3.769] (II) Unloading modesetting
    [ 3.769] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "fbdev"
    [ 3.769] (WW) Warning, couldn't open module fbdev
    [ 3.769] (II) UnloadModule: "fbdev"
    [ 3.769] (II) Unloading fbdev
    [ 3.769] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 3.769] (II) LoadModule: "vesa"
    [ 3.770] (WW) Warning, couldn't open module vesa
    [ 3.770] (II) UnloadModule: "vesa"
    [ 3.770] (II) Unloading vesa
    [ 3.770] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 3.770] (EE) No drivers available.
    [ 3.770] (EE)
    Fatal server error:
    [ 3.770] (EE) no screens found(EE)
    [ 3.770] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 3.770] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 3.770] (EE)
    Which looks like it loads my nvidia driver, but then just decides not to use it for some reason... After I restart kdm, it seems to use the driver fine:
    [ 78.897]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 78.897]
    X.Org X Server 1.16.2.901 (1.16.3 RC 1)
    Release Date: 2014-12-09
    [ 78.897] X Protocol Version 11, Revision 0
    [ 78.897] Build Operating System: Linux 3.17.2-1-ARCH x86_64
    [ 78.897] Current Operating System: Linux laptop 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
    [ 78.897] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img
    [ 78.897] Build Date: 10 December 2014 02:34:24PM
    [ 78.897]
    [ 78.897] Current version of pixman: 0.32.6
    [ 78.897] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 78.897] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 78.897] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 19 18:48:38 2014
    [ 78.897] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 78.897] (==) No Layout section. Using the first Screen section.
    [ 78.897] (==) No screen section available. Using defaults.
    [ 78.897] (**) |-->Screen "Default Screen Section" (0)
    [ 78.897] (**) | |-->Monitor "<default monitor>"
    [ 78.898] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 78.898] (==) Automatically adding devices
    [ 78.898] (==) Automatically enabling devices
    [ 78.898] (==) Automatically adding GPU devices
    [ 78.898] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 78.898] Entry deleted from font path.
    [ 78.898] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 78.898] Entry deleted from font path.
    [ 78.898] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 78.898] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 78.898] Entry deleted from font path.
    [ 78.898] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 78.898] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 78.898] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 78.898] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 78.898] (II) Loader magic: 0x818d80
    [ 78.898] (II) Module ABI versions:
    [ 78.898] X.Org ANSI C Emulation: 0.4
    [ 78.898] X.Org Video Driver: 18.0
    [ 78.898] X.Org XInput driver : 21.0
    [ 78.898] X.Org Server Extension : 8.0
    [ 78.900] (EE) systemd-logind: failed to get session: PID 542 does not belong to any known session
    [ 78.900] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 78.901] (--) PCI:*(0:1:0:0) 10de:11a1:1558:0371 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 78.901] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 78.901] (II) LoadModule: "glx"
    [ 78.902] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 78.913] (II) Module glx: vendor="NVIDIA Corporation"
    [ 78.913] compiled for 4.0.2, module version = 1.0.0
    [ 78.913] Module class: X.Org Server Extension
    [ 78.913] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 78.914] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 78.914] loading driver: nvidia
    [ 78.914] (==) Matched nvidia as autoconfigured driver 0
    [ 78.914] (==) Matched nouveau as autoconfigured driver 1
    [ 78.914] (==) Matched nv as autoconfigured driver 2
    [ 78.914] (==) Matched nouveau as autoconfigured driver 3
    [ 78.914] (==) Matched nv as autoconfigured driver 4
    [ 78.914] (==) Matched modesetting as autoconfigured driver 5
    [ 78.914] (==) Matched fbdev as autoconfigured driver 6
    [ 78.914] (==) Matched vesa as autoconfigured driver 7
    [ 78.914] (==) Assigned the driver to the xf86ConfigLayout
    [ 78.914] (II) LoadModule: "nvidia"
    [ 78.914] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 78.920] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 78.920] compiled for 4.0.2, module version = 1.0.0
    [ 78.920] Module class: X.Org Video Driver
    [ 78.920] (II) LoadModule: "nouveau"
    [ 78.921] (WW) Warning, couldn't open module nouveau
    [ 78.921] (II) UnloadModule: "nouveau"
    [ 78.921] (II) Unloading nouveau
    [ 78.921] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "nv"
    [ 78.921] (WW) Warning, couldn't open module nv
    [ 78.921] (II) UnloadModule: "nv"
    [ 78.921] (II) Unloading nv
    [ 78.921] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "modesetting"
    [ 78.921] (WW) Warning, couldn't open module modesetting
    [ 78.921] (II) UnloadModule: "modesetting"
    [ 78.921] (II) Unloading modesetting
    [ 78.921] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 78.921] (II) LoadModule: "fbdev"
    [ 78.922] (WW) Warning, couldn't open module fbdev
    [ 78.922] (II) UnloadModule: "fbdev"
    [ 78.922] (II) Unloading fbdev
    [ 78.922] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 78.922] (II) LoadModule: "vesa"
    [ 78.922] (WW) Warning, couldn't open module vesa
    [ 78.922] (II) UnloadModule: "vesa"
    [ 78.922] (II) Unloading vesa
    [ 78.922] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 78.922] (II) NVIDIA dlloader X Driver 343.36 Mon Dec 1 15:28:39 PST 2014
    [ 78.922] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 78.922] (++) using VT number 7
    [ 78.935] (II) Loading sub module "fb"
    [ 78.935] (II) LoadModule: "fb"
    [ 78.935] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 78.936] (II) Module fb: vendor="X.Org Foundation"
    [ 78.936] compiled for 1.16.2.901, module version = 1.0.0
    [ 78.936] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 78.936] (II) Loading sub module "wfb"
    [ 78.936] (II) LoadModule: "wfb"
    [ 78.936] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 78.937] (II) Module wfb: vendor="X.Org Foundation"
    [ 78.937] compiled for 1.16.2.901, module version = 1.0.0
    [ 78.937] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 78.937] (II) Loading sub module "ramdac"
    [ 78.937] (II) LoadModule: "ramdac"
    [ 78.937] (II) Module "ramdac" already built-in
    [ 78.939] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 78.939] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 78.939] (==) NVIDIA(0): RGB weight 888
    [ 78.939] (==) NVIDIA(0): Default visual is TrueColor
    [ 78.939] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 78.940] (**) NVIDIA(0): Enabling 2D acceleration
    [ 79.610] (II) NVIDIA(0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 79.610] (II) NVIDIA(0): 3D Vision stereo.
    [ 79.610] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
    [ 79.612] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 670MX (GK104) at PCI:1:0:0 (GPU-0)
    [ 79.612] (--) NVIDIA(0): Memory: 3145728 kBytes
    [ 79.612] (--) NVIDIA(0): VideoBIOS: 80.04.67.00.06
    [ 79.612] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 79.616] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 670MX at PCI:1:0:0
    [ 79.616] (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0) (boot, connected)
    [ 79.616] (--) NVIDIA(0): Samsung SyncMaster (DFP-1) (connected)
    [ 79.616] (--) NVIDIA(0): DFP-2
    [ 79.616] (--) NVIDIA(0): DFP-3
    [ 79.616] (--) NVIDIA(0): DFP-4
    [ 79.616] (--) NVIDIA(0): Chi Mei Optoelectronics corp. (DFP-0): Internal LVDS
    [ 79.616] (--) NVIDIA(GPU-0): Chi Mei Optoelectronics corp. (DFP-0): 330.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): Samsung SyncMaster (DFP-1): Internal TMDS
    [ 79.616] (--) NVIDIA(GPU-0): Samsung SyncMaster (DFP-1): 165.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-2: Internal TMDS
    [ 79.616] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-3: Internal DisplayPort
    [ 79.616] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
    [ 79.616] (--) NVIDIA(0): DFP-4: Internal DisplayPort
    [ 79.616] (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
    [ 79.616] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 79.616] (**) NVIDIA(0): device Chi Mei Optoelectronics corp. (DFP-0) (Using EDID
    [ 79.616] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
    [ 79.616] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
    [ 79.616] (**) NVIDIA(0): device Samsung SyncMaster (DFP-1) (Using EDID frequencies
    [ 79.616] (**) NVIDIA(0): has been enabled on all display devices.)
    [ 79.618] (==) NVIDIA(0):
    [ 79.618] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
    [ 79.618] (==) NVIDIA(0): will be used as the requested mode.
    [ 79.618] (==) NVIDIA(0):
    [ 79.619] (II) NVIDIA(0): Validated MetaModes:
    [ 79.619] (II) NVIDIA(0): "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select"
    [ 79.619] (II) NVIDIA(0): Virtual screen size determined to be 3600 x 1080
    [ 80.144] (--) NVIDIA(0): DPI set to (128, 130); computed from "UseEdidDpi" X config
    [ 80.144] (--) NVIDIA(0): option
    [ 80.144] (--) Depth 24 pixmap format is 32 bpp
    [ 80.144] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
    [ 80.144] (II) NVIDIA: access.
    [ 80.150] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 80.150] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 80.150] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 80.150] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 80.150] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 80.150] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 80.150] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 80.150] (II) NVIDIA(0): Config Options in the README.
    [ 80.155] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select"
    [ 80.532] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 80.532] (==) NVIDIA(0): Backing store enabled
    [ 80.532] (==) NVIDIA(0): Silken mouse enabled
    [ 80.533] (==) NVIDIA(0): DPMS enabled
    [ 80.533] (II) Loading sub module "dri2"
    [ 80.533] (II) LoadModule: "dri2"
    [ 80.533] (II) Module "dri2" already built-in
    [ 80.533] (II) NVIDIA(0): [DRI2] Setup complete
    [ 80.533] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
    [ 80.533] (--) RandR disabled
    [ 80.539] (II) Initializing extension GLX
    [ 80.605] (II) config/udev: Adding input device Power Button (/dev/input/event14)
    [ 80.605] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 80.605] (II) LoadModule: "evdev"
    [ 80.606] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 80.607] (II) Module evdev: vendor="X.Org Foundation"
    [ 80.607] compiled for 1.16.2, module version = 2.9.1
    [ 80.607] Module class: X.Org XInput Driver
    [ 80.607] ABI class: X.Org XInput driver, version 21.0
    [ 80.607] (II) Using input driver 'evdev' for 'Power Button'
    [ 80.607] (**) Power Button: always reports core events
    [ 80.607] (**) evdev: Power Button: Device: "/dev/input/event14"
    [ 80.608] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 80.608] (--) evdev: Power Button: Found keys
    [ 80.608] (II) evdev: Power Button: Configuring as keyboard
    [ 80.608] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input18/event14"
    [ 80.608] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 80.608] (**) Option "xkb_rules" "evdev"
    [ 80.608] (**) Option "xkb_model" "pc104"
    [ 80.608] (**) Option "xkb_layout" "us"
    [ 80.635] (II) config/udev: Adding input device Video Bus (/dev/input/event15)
    [ 80.635] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 80.635] (II) Using input driver 'evdev' for 'Video Bus'
    [ 80.635] (**) Video Bus: always reports core events
    [ 80.635] (**) evdev: Video Bus: Device: "/dev/input/event15"
    [ 80.635] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 80.635] (--) evdev: Video Bus: Found keys
    [ 80.635] (II) evdev: Video Bus: Configuring as keyboard
    [ 80.635] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:00/input/input19/event15"
    [ 80.635] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 80.635] (**) Option "xkb_rules" "evdev"
    [ 80.635] (**) Option "xkb_model" "pc104"
    [ 80.635] (**) Option "xkb_layout" "us"
    [ 80.636] (II) config/udev: Adding input device Power Button (/dev/input/event13)
    [ 80.636] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 80.636] (II) Using input driver 'evdev' for 'Power Button'
    [ 80.636] (**) Power Button: always reports core events
    [ 80.636] (**) evdev: Power Button: Device: "/dev/input/event13"
    [ 80.636] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 80.636] (--) evdev: Power Button: Found keys
    [ 80.636] (II) evdev: Power Button: Configuring as keyboard
    [ 80.636] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input17/event13"
    [ 80.636] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 80.636] (**) Option "xkb_rules" "evdev"
    [ 80.636] (**) Option "xkb_model" "pc104"
    [ 80.636] (**) Option "xkb_layout" "us"
    [ 80.637] (II) config/udev: Adding input device Lid Switch (/dev/input/event11)
    [ 80.637] (II) No input driver specified, ignoring this device.
    [ 80.637] (II) This device may have been added with another device file.
    [ 80.637] (II) config/udev: Adding input device Sleep Button (/dev/input/event12)
    [ 80.637] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 80.637] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 80.637] (**) Sleep Button: always reports core events
    [ 80.637] (**) evdev: Sleep Button: Device: "/dev/input/event12"
    [ 80.637] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 80.637] (--) evdev: Sleep Button: Found keys
    [ 80.637] (II) evdev: Sleep Button: Configuring as keyboard
    [ 80.637] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input16/event12"
    [ 80.637] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [ 80.637] (**) Option "xkb_rules" "evdev"
    [ 80.637] (**) Option "xkb_model" "pc104"
    [ 80.637] (**) Option "xkb_layout" "us"
    [ 80.638] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18)
    [ 80.638] (II) No input driver specified, ignoring this device.
    [ 80.638] (II) This device may have been added with another device file.
    [ 80.638] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event19)
    [ 80.638] (II) No input driver specified, ignoring this device.
    [ 80.638] (II) This device may have been added with another device file.
    [ 80.639] (II) config/udev: Adding input device LOGITECH G110 G-keys (/dev/input/event3)
    [ 80.639] (**) LOGITECH G110 G-keys: Applying InputClass "evdev keyboard catchall"
    [ 80.639] (II) Using input driver 'evdev' for 'LOGITECH G110 G-keys'
    [ 80.639] (**) LOGITECH G110 G-keys: always reports core events
    [ 80.639] (**) evdev: LOGITECH G110 G-keys: Device: "/dev/input/event3"
    [ 80.639] (--) evdev: LOGITECH G110 G-keys: Vendor 0x46d Product 0xc22b
    [ 80.639] (--) evdev: LOGITECH G110 G-keys: Found keys
    [ 80.639] (II) evdev: LOGITECH G110 G-keys: Configuring as keyboard
    [ 80.639] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.1/3-4.1.1:1.0/0003:046D:C22B.0003/input/input7/event3"
    [ 80.639] (II) XINPUT: Adding extended input device "LOGITECH G110 G-keys" (type: KEYBOARD, id 10)
    [ 80.639] (**) Option "xkb_rules" "evdev"
    [ 80.639] (**) Option "xkb_model" "pc104"
    [ 80.639] (**) Option "xkb_layout" "us"
    [ 80.639] (II) config/udev: Adding input device Gaming Keyboard G110 (/dev/input/event4)
    [ 80.639] (**) Gaming Keyboard G110: Applying InputClass "evdev keyboard catchall"
    [ 80.639] (II) Using input driver 'evdev' for 'Gaming Keyboard G110'
    [ 80.639] (**) Gaming Keyboard G110: always reports core events
    [ 80.639] (**) evdev: Gaming Keyboard G110: Device: "/dev/input/event4"
    [ 80.640] (--) evdev: Gaming Keyboard G110: Vendor 0x46d Product 0xc22a
    [ 80.640] (--) evdev: Gaming Keyboard G110: Found keys
    [ 80.640] (II) evdev: Gaming Keyboard G110: Configuring as keyboard
    [ 80.640] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.3/3-4.1.3:1.0/0003:046D:C22A.0004/input/input8/event4"
    [ 80.640] (II) XINPUT: Adding extended input device "Gaming Keyboard G110" (type: KEYBOARD, id 11)
    [ 80.640] (**) Option "xkb_rules" "evdev"
    [ 80.640] (**) Option "xkb_model" "pc104"
    [ 80.640] (**) Option "xkb_layout" "us"
    [ 80.640] (II) config/udev: Adding input device Gaming Keyboard G110 (/dev/input/event5)
    [ 80.640] (**) Gaming Keyboard G110: Applying InputClass "evdev keyboard catchall"
    [ 80.640] (II) Using input driver 'evdev' for 'Gaming Keyboard G110'
    [ 80.640] (**) Gaming Keyboard G110: always reports core events
    [ 80.640] (**) evdev: Gaming Keyboard G110: Device: "/dev/input/event5"
    [ 80.640] (--) evdev: Gaming Keyboard G110: Vendor 0x46d Product 0xc22a
    [ 80.640] (--) evdev: Gaming Keyboard G110: Found keys
    [ 80.640] (II) evdev: Gaming Keyboard G110: Configuring as keyboard
    [ 80.640] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.1/3-4.1.3/3-4.1.3:1.1/0003:046D:C22A.0005/input/input9/event5"
    [ 80.640] (II) XINPUT: Adding extended input device "Gaming Keyboard G110" (type: KEYBOARD, id 12)
    [ 80.640] (**) Option "xkb_rules" "evdev"
    [ 80.640] (**) Option "xkb_model" "pc104"
    [ 80.641] (**) Option "xkb_layout" "us"
    [ 80.641] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/event1)
    [ 80.641] (**) Razer Razer Lachesis: Applying InputClass "evdev pointer catchall"
    [ 80.641] (II) Using input driver 'evdev' for 'Razer Razer Lachesis'
    [ 80.641] (**) Razer Razer Lachesis: always reports core events
    [ 80.641] (**) evdev: Razer Razer Lachesis: Device: "/dev/input/event1"
    [ 80.641] (--) evdev: Razer Razer Lachesis: Vendor 0x1532 Product 0xc
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found 12 mouse buttons
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found scroll wheel(s)
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found relative axes
    [ 80.641] (--) evdev: Razer Razer Lachesis: Found x and y relative axes
    [ 80.641] (II) evdev: Razer Razer Lachesis: Configuring as mouse
    [ 80.641] (II) evdev: Razer Razer Lachesis: Adding scrollwheel support
    [ 80.641] (**) evdev: Razer Razer Lachesis: YAxisMapping: buttons 4 and 5
    [ 80.641] (**) evdev: Razer Razer Lachesis: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 80.641] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2/3-4.2:1.0/0003:1532:000C.0001/input/input5/event1"
    [ 80.641] (II) XINPUT: Adding extended input device "Razer Razer Lachesis" (type: MOUSE, id 13)
    [ 80.642] (II) evdev: Razer Razer Lachesis: initialized for relative axes.
    [ 80.642] (**) Razer Razer Lachesis: (accel) keeping acceleration scheme 1
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration profile 0
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration factor: 2.000
    [ 80.642] (**) Razer Razer Lachesis: (accel) acceleration threshold: 4
    [ 80.642] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/mouse0)
    [ 80.642] (II) No input driver specified, ignoring this device.
    [ 80.642] (II) This device may have been added with another device file.
    [ 80.643] (II) config/udev: Adding input device Razer Razer Lachesis (/dev/input/event2)
    [ 80.643] (**) Razer Razer Lachesis: Applying InputClass "evdev keyboard catchall"
    [ 80.643] (II) Using input driver 'evdev' for 'Razer Razer Lachesis'
    [ 80.643] (**) Razer Razer Lachesis: always reports core events
    [ 80.643] (**) evdev: Razer Razer Lachesis: Device: "/dev/input/event2"
    [ 80.643] (--) evdev: Razer Razer Lachesis: Vendor 0x1532 Product 0xc
    [ 80.643] (--) evdev: Razer Razer Lachesis: Found keys
    [ 80.643] (II) evdev: Razer Razer Lachesis: Configuring as keyboard
    [ 80.643] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2/3-4.2:1.1/0003:1532:000C.0002/input/input6/event2"
    [ 80.643] (II) XINPUT: Adding extended input device "Razer Razer Lachesis" (type: KEYBOARD, id 14)
    [ 80.643] (**) Option "xkb_rules" "evdev"
    [ 80.643] (**) Option "xkb_model" "pc104"
    [ 80.643] (**) Option "xkb_layout" "us"
    [ 80.643] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
    [ 80.643] (II) No input driver specified, ignoring this device.
    [ 80.643] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event7)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event8)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.644] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event9)
    [ 80.644] (II) No input driver specified, ignoring this device.
    [ 80.644] (II) This device may have been added with another device file.
    [ 80.645] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
    [ 80.645] (II) No input driver specified, ignoring this device.
    [ 80.645] (II) This device may have been added with another device file.
    [ 80.645] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event17)
    [ 80.645] (**) BisonCam, NB Pro: Applying InputClass "evdev keyboard catchall"
    [ 80.645] (II) Using input driver 'evdev' for 'BisonCam, NB Pro'
    [ 80.645] (**) BisonCam, NB Pro: always reports core events
    [ 80.645] (**) evdev: BisonCam, NB Pro: Device: "/dev/input/event17"
    [ 80.645] (--) evdev: BisonCam, NB Pro: Vendor 0x5986 Product 0x512
    [ 80.645] (--) evdev: BisonCam, NB Pro: Found keys
    [ 80.645] (II) evdev: BisonCam, NB Pro: Configuring as keyboard
    [ 80.645] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input23/event17"
    [ 80.645] (II) XINPUT: Adding extended input device "BisonCam, NB Pro" (type: KEYBOARD, id 15)
    [ 80.645] (**) Option "xkb_rules" "evdev"
    [ 80.645] (**) Option "xkb_model" "pc104"
    [ 80.645] (**) Option "xkb_layout" "us"
    [ 80.646] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 80.646] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 80.646] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 80.646] (**) AT Translated Set 2 keyboard: always reports core events
    [ 80.646] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 80.646] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 80.646] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 80.646] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 80.646] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 80.646] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 16)
    [ 80.646] (**) Option "xkb_rules" "evdev"
    [ 80.646] (**) Option "xkb_model" "pc104"
    [ 80.646] (**) Option "xkb_layout" "us"
    [ 80.646] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event20)
    [ 80.646] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
    [ 80.647] (II) LoadModule: "synaptics"
    [ 80.647] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 80.647] (II) Module synaptics: vendor="X.Org Foundation"
    [ 80.647] compiled for 1.16.0, module version = 1.8.1
    [ 80.647] Module class: X.Org XInput Driver
    [ 80.647] ABI class: X.Org XInput driver, version 21.0
    [ 80.647] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [ 80.647] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 80.647] (**) Option "Device" "/dev/input/event20"
    [ 80.756] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5662 (res 42)
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4660 (res 47)
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
    [ 80.757] (**) Option "TapButton1" "1"
    [ 80.757] (**) Option "TapButton2" "2"
    [ 80.757] (**) Option "TapButton3" "3"
    [ 80.757] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    [ 80.757] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 80.757] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [ 80.810] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input22/event20"
    [ 80.810] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 17)
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
    [ 80.810] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.038
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [ 80.810] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [ 80.810] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [ 80.811] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [ 80.811] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
    [ 80.811] (II) config/udev: Adding input device PC Speaker (/dev/input/event16)
    [ 80.811] (II) No input driver specified, ignoring this device.
    [ 80.811] (II) This device may have been added with another device file.
    [ 88.265] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 88.265] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 88.282] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 88.282] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 88.291] (II) NVIDIA(0): Setting mode "LVDS-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, HDMI-0: 1680x1050_60_0 @1680x1050 +1920+0 {ViewPortIn=1680x1050, ViewPortOut=1680x1050+0+0}"
    [ 89.221] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 89.221] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 90.639] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 90.639] (II) NVIDIA(GPU-0): 3D Vision stereo.
    [ 93.745] (II) NVIDIA(GPU-0): Display (Samsung SyncMaster (DFP-1)) does not support NVIDIA
    [ 93.745] (II) NVIDIA(GPU-0): 3D Vision stereo.
    Notably, the following lines appear in the working case, but not the broken case:
    [ 78.914] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 78.914] loading driver: nvidia
    Does anyone know what might be going on here?
    Last edited by straemer (2014-12-20 13:03:58)

    Hmmmm, that doesn't seem to be the issue. I have a nvidia geforce gtx 670mx. The nvidia website does link me to the 340xx driver for that card, but downgrading to that version still has the same issue. I suspect the issue is in Xorg, since it seems to load the module, but then decides it doesn't have a driver to run for some reason.

  • Need to compile nvidia driver for a custom kernel [SOLVED]

    I compiled a custom kernel following this wiki page: http://wiki.archlinux.org/index.php/Ker … rom_Source
    I can boot into it just fine.  I now want to compile an nvidia driver for use with it and followed the steps on this wiki page: http://wiki.archlinux.org/index.php/NVI … tom_kernel
    I run into a problem when makepkg trys to compile it.  Here is the output:
    $ cd ~/devel/abs/nvidia/
    $ makepkg -c
    ==> Making package: nvidia-my 190.42-1 x86_64 (Thu Nov 5 17:42:29 EST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found NVIDIA-Linux-x86_64-190.42-pkg0.run in build dir
    ==> Validating source files with md5sums...
    NVIDIA-Linux-x86_64-190.42-pkg0.run ... Passed
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    Creating directory NVIDIA-Linux-x86_64-190.42-pkg0
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 190.42..................................................................................................................................................
    If you are using a Linux 2.4 kernel, please make sure
    you either have configured kernel sources matching your
    kernel or the correct set of kernel headers installed
    on your system.
    If you are using a Linux 2.6 kernel, please make sure
    you have configured kernel sources matching your kernel
    installed on your system. If you specified a separate
    output directory using either the "KBUILD_OUTPUT" or
    the "O" KBUILD parameter, make sure to specify this
    directory with the SYSOUT environment variable or with
    the equivalent nvidia-installer command line option.
    Depending on where and how the kernel sources (or the
    kernel headers) were installed, you may need to specify
    their location with the SYSSRC environment variable or
    the equivalent nvidia-installer command line option.
    *** Unable to determine the target kernel version. ***
    make: *** [select_makefile] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    The step it's choking on is (from the PKGBUILD), "make SYSSRC=/lib/modules/${_kernver}/build module || return 1"
    What am I doing wrong?
    My PKGBUILD:
    pkgname=nvidia-my
    pkgver=190.42
    _kernver='2.6.32-rc6-MINE'
    pkgrel=1
    pkgdesc="NVIDIA drivers for kernel26."
    arch=('i686' 'x86_64')
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=('kernel26>=2.6.31' 'kernel26<2.6.32' "nvidia-utils=${pkgver}")
    conflicts=('nvidia-96xx' 'nvidia-173xx')
    license=('custom')
    install=nvidia.install
    source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
    md5sums=('f94806feee87de756d14fe3e9bcaf05a')
    [ "$CARCH" = "x86_64" ] && md5sums=('ae431ff849ec01446e6724f9fcfe3bb4')
    build() {
    cd $srcdir
    sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/${_kernver}/build module || return 1
    mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
    My nvidia.install
    post_install() {
    KERNEL_VERSION='2.6.32-rc6-MINE'
    depmod $KERNEL_VERSION
    post_upgrade() {
    post_install
    rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
    post_remove() {
    KERNEL_VERSION='2.6.32-rc6-MINE'
    depmod $KERNEL_VERSION
    Last edited by graysky (2009-11-07 10:54:33)

    Hello,
    I'm kind of a noob and am trying to get follow the directions from the Nvidia wiki on installing on a custom kernel.  I'm trying to use the abs method to install on kernel26rt version 2.6.33rt.  I followed directions exactly and am getting an error that I didn't find on any other posts.  Can you please take a look?  Here is my terminal:
    [jsadural@jlinux nvidia]$ makepkg -ci
    ==> Making package: nvidia-2633rt 270.30-3 (Wed Mar 30 08:53:08 PDT 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
      -> Downloading NVIDIA-Linux-x86_64-270.30-no-compat32.run...
    --2011-03-30 08:53:08--  ftp://download.nvidia.com/XFree86/Linux … mpat32.run
               => “NVIDIA-Linux-x86_64-270.30-no-compat32.run.part”
    Resolving download.nvidia.com... 69.31.121.43
    Connecting to download.nvidia.com|69.31.121.43|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD (1) /XFree86/Linux-x86_64/270.30 ... done.
    ==> SIZE NVIDIA-Linux-x86_64-270.30-no-compat32.run ... 30037601
    ==> PASV ... done.    ==> RETR NVIDIA-Linux-x86_64-270.30-no-compat32.run ... done.
    Length: 30037601 (29M) (unauthoritative)
    100%[======================================>] 30,037,601   696K/s   in 42s     
    2011-03-30 08:53:50 (696 KB/s) - “NVIDIA-Linux-x86_64-270.30-no-compat32.run.part” saved [30037601]
    ==> Validating source files with md5sums...
        NVIDIA-Linux-x86_64-270.30-no-compat32.run ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    Creating directory NVIDIA-Linux-x86_64-270.30-no-compat32
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 270.30........................................................................................................................
    NVIDIA: calling KBUILD...
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (    \
        echo;                                \
        echo "  ERROR: Kernel configuration is invalid.";        \
        echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
        echo;                                \
        /bin/false)
    mkdir -p /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.tmp_versions ; rm -f /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel
      cc -Wp,-MD,/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.33-rt/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.30\" -Wno-unused-function -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.o /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c
    In file included from /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess.h:573:0,
                     from include/linux/poll.h:13,
                     from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:84,
                     from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:13:
    /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
    /usr/src/linux-2.6.33-rt/arch/x86/include/asm/uaccess_64.h:35:6: warning: comparison between signed and unsigned integer expressions
    In file included from /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:13:0:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h: At top level:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:251:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nv_spinlock_t’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv-linux.h:1436:5: error: expected specifier-qualifier-list before ‘nv_spinlock_t’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_alloc_file_private’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1993:5: error: implicit declaration of function ‘semaphore_init’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1994:5: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1995:5: error: implicit declaration of function ‘atomic_spin_lock_init’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:1995:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_poll’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2790:30: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2793:5: error: implicit declaration of function ‘atomic_spin_lock_irqsave’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2793:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2804:5: error: implicit declaration of function ‘atomic_spin_unlock_irqrestore’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:2804:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_close_registry’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3595:18: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3611:22: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_kern_write_registry’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3703:51: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3710:45: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:3720:9: error: ‘nv_file_private_t’ has no member named ‘off’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_post_event’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4330:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4347:5: error: ‘nv_file_private_t’ has no member named ‘waitqueue’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4348:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c: In function ‘nv_get_event’:
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4362:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4365:9: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    /home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.c:4390:5: error: ‘nv_file_private_t’ has no member named ‘fp_lock’
    make[3]: *** [/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel/nv.o] Error 1
    make[2]: *** [_module_/home/jsadural/devel/abs/nvidia/src/NVIDIA-Linux-x86_64-270.30-no-compat32/kernel] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    ==> ERROR: A failure occurred in build().
        Aborting...
    thanks,
    jason

  • Nvidia driver not being used?? [solved]

    Hello,
    Xorg doesn't use the nvidia drivers but the vesa drivers :?
    hwd -s
    gives:
    Video      : nVidia Corp.|NV11 geForce2 100/200 server: Xorg (vesa)
      Driver     : xf86-video-vesa
    Strange, I followed the instructions described in the wiki page and I have 'nvidia' in the daemons array (MOD_AUTOLOAD="yes")
    xorg.conf :
    # Custom X configuration file made by rob on Mon Mar 4
    # Modified: - Files, Modules and Input
    #           - Serverflags
    #           - Monitor
    #           - Graphics Card Layout
    Section "ServerFlags"
          Option "DefaultServerLayout" "Monitor"
    EndSection
    # Files, Modules and Input
    Section "Files"
        RgbPath         "/usr/share/X11/rgb"
        ModulePath      "/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/75dpi"
        FontPath        "/usr/share/fonts/100dpi"
        FontPath        "/usr/share/fonts/OTF
        FontPath        "/usr/share/fonts/Type1"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/cyrillic"
    EndSection
    Section "Module"
        Load           "ddc"  # ddc probing of monitor
        Load           "bitmap" # bitmap-fonts
        Load           "dbe"
        Load           "extmod"
        Load           "glx"
        Load           "type1"
        Load           "freetype"
    EndSection
    Section "InputDevice"
        Identifier     "Wireless Keyboard"
        Driver         "keyboard"
        Option         "CoreKeyboard"
        Option         "XkbRules" "xorg"
        Option         "XkbModel" "pc104"
        Option         "XkbOptions" "compose:ralt"
    EndSection
    Section "InputDevice"
        Identifier     "USB Mouse"
        Driver         "mouse"
        Option         "Device"         "/dev/input/mice"
        Option         "SendCoreEvents"     "true"
        Option         "Protocol"         "IMPS/2"
        Option         "ZAxisMapping"     "4 5"
        Option         "Buttons"         "3"
        Option        "ChordMiddle"    
    EndSection
    # Monitor
    # Settings for Samsung SyncMaster 171s
    # Optimum resolution: 1280x1024 @ 60 Hz
    # Maximum Resolution: 1280x1024 @ 76 Hz
    # Hsync should be: 30.0 - 81.0
    # Vsync should be: 56.0 - 76.0
    # Video Card: Asus V7100M-LP Geforce2 Mx200 rev. 1.00
    # Using nvidia graphics driver from 'extra' repo
    Section "Monitor"
        Identifier     "Samsung SyncMaster 171s"
        Modelname      "Samsung SyncMaster 171s"
        HorizSync       30-81
        VertRefresh     56-76
        Option       "DPMS"   
    EndSection
    # Monitor 'Nvidia Graphics Card' Layout
    Section "Device"
        Identifier     "Geforce2 MX400/200"
        Option "RenderAccel"         "true"
        Option "AllowGLXWithComposite"     "true"
        Option "NoDDC"              "false"
        Option "NoLogo"              "true"
        Option "nvAGP"             "1"
        Driver         "nvidia"
        VendorName     "nVIDIA Corporation"
        BoardName      "All"
    EndSection
    Section "Screen"
        Identifier     "NV Monitor"
        Device         "Geforce2 MX400/200"
        Monitor        "Samsung SyncMaster 171s"
        DefaultDepth    16
            SubSection     "Display"
                Viewport 0 0
                       Depth   16
                   Modes   "1280x1024" "1024x768" "800x600"
            EndSubSection
         SubSection     "Display"
                    Depth  24
                    Modes  "1024x768" "800x600" "640x480"
            EndSubSection
    EndSection
    Section "ServerLayout"
        Identifier "Monitor"
        Screen "NV Monitor" 0 0
        InputDevice "Wireless Keyboard" "CoreKeyboard"
        InputDevice "USB Mouse" "CorePointer"
    EndSection
    Should I remove the vesa driver with pacman -Rf? (because of the dependency check)
    I just want to know if the nvidia drivers are used or not.
    Any idea's?

    hwd has nothing to do with xorg.  If you want to know what video driver you're using, look in /var/log/Xorg.0.log after firing up X.
    Based on that config, you're using the nvidia driver.

  • [SOLVED] nVidia driver 195.36.08 causes KDE4.4 to crash after logging?

    Hi to all Archers
    I noticed the new nVidia driver (195.36.08) on pacman's yesterday updates, I didn't update it immediately and preferred to wait until I was available to fiddle with it in case things went wrong. Apparently, that was the case
    Here's what happens if I install the new driver:
    KDM starts as usual, I login in, I see KDE loading progress and before it finishes, boom it crashes and returns to KDM login once again.
    I tried reinstalling KDE, Xorg and read nVidia wiki to see if there is any hints. I tried once again with a new stock xorg.conf, and removed .nvidia-settings-rc and even disabled KDE compositing but all this couldn't help getting KDE up and running.
    However, when I reinstall the previous version (190.53) everything is back to normal.
    So what I want to know is am I the only one who gets this problem or there're others here having the same issue?
    Because the first time I installed the nVidia driver (almost 3 months now) I used their own installer then used Arch packages afterwards, I suspect that perhaps their installer messed things up !?
    For now the solution is to stick to the previous version.
    I'm using Arch Linux 32bit and my GC is an nVidia 7300GT.
    Regards,
    Med
    Last edited by stuntgp2000 (2010-03-08 00:17:10)

    zero-giulio wrote:
    I want to install the 190.53 version of nvidia driver, because it's the correct driver version for my video card, according to nvidia site (see http://www.nvidia.com/object/linux_disp … 0.53.html).
    Also, in my prevoius arch system I installed that version and everything worked well. I don't want to try the newerr version. It doesn't matter if 190.53 are not the latest driver available. I'm self confident with the 190.53 version.
    How can I install them? The problem is that pacman suggest me only the latest version :-(
    You'll find them here http://schlunix.org/archlinux/extra/os/ after choose your system architecture.
    if you want to know more about downgrading for more than a few packages read this guide http://wiki.archlinux.org/index.php/Dow … g_Packages
    Assuming you have a recent nvidia graphic card and using a i686 system you should download these:
    http://schlunix.org/archlinux/extra/os/ … pkg.tar.gz
    http://schlunix.org/archlinux/extra/os/ … pkg.tar.gz
    Good luck,

  • [solved]display problems after installing nvidia driver

    hi
    i have nvidia geforce 8400 gs card, after i uninstalled all other drivers, installed nvidia,nvidia-utils, then nvidia-config,then installed vpdau-video,then restart
    i noticed that hardware and deamon checks screen after boot became huge letters as if no driver installed yet, and when i run lxterminal i noticed black window on the top left of the screen exactly the same size as the terminal window, and when i browse using chromium and the page contains flash video, the video window image stays on the screen.
    Last edited by shalaby (2011-05-02 15:33:41)

    I think current nvidia driver is broken - I have these black windows at some rare situations also (under KDE without effects; no under OpenBox). IIRC, nvidia developers mentioned somewhere in Arch bugs system they are aware of the problem.

  • [Solved] Can't install Nvidia driver: Mesa-libgl conflict

    I just finished installing my first GUI, KDE to be exact, on Arch Linux. Right now, I'm using the nouveau driver but I want to unlock the full power of my GTX 780 with proprietary nvidia drivers. On my last attempt at installing KDE, I went directly to installing the nvidia driver 304.24. After rebooting and seeing some text flash on screen, however, I was meant with only a black screen. I could still type, login and reboot but not much more since I couldn't see. I tried booting into the Arch Linux fallback GRUB provided for me with no prevail so I decided to just reinstall the OS. For that reason, I want to install this nvidia driver in hopes of being able to avoid another blank screen. So far, I have this:
    [root@arch /]# pacman -S nvidia
    resolving dependencies...
    looking for inter-conflicts...
    :: nvidia-libgl and mesa-libgl are in conflict (libgl). Remove mesa-libgl? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nouveau-dri: requires mesa-libgl
    I've tried looking across the forums for similar problems and even tried to uninstall mesa-libgl and all its dependencies but it just yields this:
    [root@arch /]# pacman -Rns mesa-libgl
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: cairo: requires libgl
    :: glu: requires libgl
    :: libva: requires libgl
    :: mplayer: requires libgl
    :: nouveau-dri: requires mesa-libgl
    :: qt4: requires libgl
    :: qt5-base: requires libgl
    I feel like I might need to uninstall the nouveau driver so as to be able to uninstall mesa-libgl. If I installed the nvidia driver at that point, I fear I might see the blank screen again. Thanks for your help in advance.
    Last edited by Firephyz (2014-07-19 20:04:11)

    Firephyz wrote:
    I just finished installing my first GUI, KDE to be exact, on Arch Linux. Right now, I'm using the nouveau driver but I want to unlock the full power of my GTX 780 with proprietary nvidia drivers. On my last attempt at installing KDE, I went directly to installing the nvidia driver 304.24. After rebooting and seeing some text flash on screen, however, I was meant with only a black screen. I could still type, login and reboot but not much more since I couldn't see. I tried booting into the Arch Linux fallback GRUB provided for me with no prevail so I decided to just reinstall the OS. For that reason, I want to install this nvidia driver in hopes of being able to avoid another blank screen. So far, I have this:
    [root@arch /]# pacman -S nvidia
    resolving dependencies...
    looking for inter-conflicts...
    :: nvidia-libgl and mesa-libgl are in conflict (libgl). Remove mesa-libgl? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nouveau-dri: requires mesa-libgl
    I've tried looking across the forums for similar problems and even tried to uninstall mesa-libgl and all its dependencies but it just yields this:
    [root@arch /]# pacman -Rns mesa-libgl
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: cairo: requires libgl
    :: glu: requires libgl
    :: libva: requires libgl
    :: mplayer: requires libgl
    :: nouveau-dri: requires mesa-libgl
    :: qt4: requires libgl
    :: qt5-base: requires libgl
    I feel like I might need to uninstall the nouveau driver so as to be able to uninstall mesa-libgl. If I installed the nvidia driver at that point, I fear I might see the blank screen again. Thanks for your help in advance.
    You do it wrong.
    sudo pacman -Rdd mesa-libgl && sudo pacman -S nvidia
    After it, you can decide if you want to reinstall mesa-libgl and remove nvidia-libgl or leave nvidia-libgl and do not install mesa-libgl. I do it all the time during update.
    Last edited by firekage (2014-07-19 19:48:30)

  • [Solved]Error after installing new nvidia driver uninstalling nouveau

    Hi,
    On seeing that a new nvidia driver is available, I thought I'll give it a try as the older ones kept crashing/rebooting in kde and gnome.
    I got nvidia and nvidia-utils from pacman. During that there was a conflicting file with libgl, so I had to remove nouveau and then install nvidia. I got an error saying need to unload module from xserver to install and would be possible on reboot or something similar(dont exactly remember the error)
    Then I rebooted and x failed to start with errors ending up with "GdmLocalDisplayFactory: Maximum number of X display failures reached: Check X server log for errors. "
    I tried "sudo modprobe nvidia" and it gave me
    FATAL: Error inserting nvidia (/lib/modules/2.6-----/nvidia/nvidia.ko) No such device
    I tried looking up these errors and didnt get any proper answer or solution.
    On my own attempts I saw I had inserted a module called nouveau in mkinitcpio.conf, I removed that but didnt help either. Read at a few forums and arch-wiki to run "nvidia-xconfig". The command creates a xorg.conf in X11. But on reboot nothing happened, same errors. Later I tried uninstalling and reinstalling both xorg and nvidia in hope something was wrong with the xorg which could get reset with a reinstall but that didnt do it
    The new nvidia driver is 275.19
    Config:
    i7 720QM
    8GB DDR3 1333Mhz
    Nvidia GTX 260M 1 GB
    Its a Alienware m15x.
    Last edited by death__machine (2011-07-21 16:35:48)

    Heres the Xorg.0.log and it mentions the nvidia error
    [ 377.958]
    X.Org X Server 1.10.3
    Release Date: 2011-07-08
    [ 377.959] X Protocol Version 11, Revision 0
    [ 377.960] Build Operating System: Linux 2.6.39-ARCH x86_64
    [ 377.960] Current Operating System: Linux death-laptop 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011 x86_64
    [ 377.961] Kernel command line: root=/dev/sda7 ro VGA=771 quiet splash
    [ 377.961] Build Date: 09 July 2011 07:52:32AM
    [ 377.962]
    [ 377.963] Current version of pixman: 0.22.2
    [ 377.963] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 377.964] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 377.966] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 21 02:24:42 2011
    [ 378.243] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 378.243] (==) No Layout section. Using the first Screen section.
    [ 378.243] (==) No screen section available. Using defaults.
    [ 378.243] (**) |-->Screen "Default Screen Section" (0)
    [ 378.243] (**) | |-->Monitor "<default monitor>"
    [ 378.244] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 378.244] (**) | |-->Device "Device0"
    [ 378.244] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 378.244] (==) Automatically adding devices
    [ 378.244] (==) Automatically enabling devices
    [ 378.244] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 378.244] Entry deleted from font path.
    [ 378.244] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 378.244] Entry deleted from font path.
    [ 378.244] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 378.244] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 378.244] Entry deleted from font path.
    [ 378.244] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 378.244] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 378.244] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 378.244] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 378.244] (II) Loader magic: 0x7d3440
    [ 378.244] (II) Module ABI versions:
    [ 378.244] X.Org ANSI C Emulation: 0.4
    [ 378.244] X.Org Video Driver: 10.0
    [ 378.244] X.Org XInput driver : 12.2
    [ 378.244] X.Org Server Extension : 5.0
    [ 378.246] (--) PCI:*(0:2:0:0) 10de:0618:1028:02a2 rev 162, Mem @ 0xce000000/16777216, 0xd0000000/268435456, 0xcc000000/33554432, I/O @ 0x00002000/128
    [ 378.246] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 378.246] (II) LoadModule: "extmod"
    [ 378.246] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 378.246] (II) Module extmod: vendor="X.Org Foundation"
    [ 378.246] compiled for 1.10.3, module version = 1.0.0
    [ 378.247] Module class: X.Org Server Extension
    [ 378.247] ABI class: X.Org Server Extension, version 5.0
    [ 378.247] (II) Loading extension MIT-SCREEN-SAVER
    [ 378.247] (II) Loading extension XFree86-VidModeExtension
    [ 378.247] (II) Loading extension XFree86-DGA
    [ 378.247] (II) Loading extension DPMS
    [ 378.247] (II) Loading extension XVideo
    [ 378.247] (II) Loading extension XVideo-MotionCompensation
    [ 378.247] (II) Loading extension X-Resource
    [ 378.247] (II) LoadModule: "dbe"
    [ 378.247] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 378.247] (II) Module dbe: vendor="X.Org Foundation"
    [ 378.247] compiled for 1.10.3, module version = 1.0.0
    [ 378.247] Module class: X.Org Server Extension
    [ 378.247] ABI class: X.Org Server Extension, version 5.0
    [ 378.247] (II) Loading extension DOUBLE-BUFFER
    [ 378.247] (II) LoadModule: "glx"
    [ 378.247] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 378.258] (II) Module glx: vendor="NVIDIA Corporation"
    [ 378.259] compiled for 4.0.2, module version = 1.0.0
    [ 378.259] Module class: X.Org Server Extension
    [ 378.259] (II) NVIDIA GLX Module 275.19 Tue Jul 12 18:31:51 PDT 2011
    [ 378.259] (II) Loading extension GLX
    [ 378.259] (II) LoadModule: "record"
    [ 378.259] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 378.259] (II) Module record: vendor="X.Org Foundation"
    [ 378.259] compiled for 1.10.3, module version = 1.13.0
    [ 378.259] Module class: X.Org Server Extension
    [ 378.259] ABI class: X.Org Server Extension, version 5.0
    [ 378.259] (II) Loading extension RECORD
    [ 378.259] (II) LoadModule: "dri"
    [ 378.259] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 378.259] (II) Module dri: vendor="X.Org Foundation"
    [ 378.259] compiled for 1.10.3, module version = 1.0.0
    [ 378.259] ABI class: X.Org Server Extension, version 5.0
    [ 378.259] (II) Loading extension XFree86-DRI
    [ 378.259] (II) LoadModule: "dri2"
    [ 378.260] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 378.260] (II) Module dri2: vendor="X.Org Foundation"
    [ 378.260] compiled for 1.10.3, module version = 1.2.0
    [ 378.260] ABI class: X.Org Server Extension, version 5.0
    [ 378.260] (II) Loading extension DRI2
    [ 378.260] (II) LoadModule: "nvidia"
    [ 378.260] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 378.261] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 378.261] compiled for 4.0.2, module version = 1.0.0
    [ 378.261] Module class: X.Org Video Driver
    [ 379.027] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
    [ 379.028] (EE) NVIDIA: system's kernel log for additional error messages.
    [ 379.028] (II) UnloadModule: "nvidia"
    [ 379.028] (II) Unloading nvidia
    [ 379.028] (EE) Failed to load module "nvidia" (module-specific error, 0)
    [ 379.029] (EE) No drivers available.
    [ 379.029]
    Fatal server error:
    [ 379.030] no screens found
    [ 379.031]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 379.033] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 379.033]

  • Error: nvidia driver and custom kernel [SOLVED]

    Hello guys , I have compiled custom kernel with wiki help and abs and want to install Nvidia driver, but i got the following error when I try to compile with abs..
    ==> Obteniendo Fuentes...
    -> Se encontró NVIDIA-Linux-x86-256.35.run
    ==> Validando el archivo fuente con md5sums...
    NVIDIA-Linux-x86-256.35.run ... Aprobado
    ==> Descomprimiendo fuentes...
    ==> Iniciando build()...
    Creating directory NVIDIA-Linux-x86-256.35
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 256.35............................................................................................................................
    If you are using a Linux 2.4 kernel, please make sure
    you either have configured kernel sources matching your
    kernel or the correct set of kernel headers installed
    on your system.
    If you are using a Linux 2.6 kernel, please make sure
    you have configured kernel sources matching your kernel
    installed on your system. If you specified a separate
    output directory using either the "KBUILD_OUTPUT" or
    the "O" KBUILD parameter, make sure to specify this
    directory with the SYSOUT environment variable or with
    the equivalent nvidia-installer command line option.
    Depending on where and how the kernel sources (or the
    kernel headers) were installed, you may need to specify
    their location with the SYSSRC environment variable or
    the equivalent nvidia-installer command line option.
    *** Unable to determine the target kernel version. ***
    make: *** [select_makefile] Error 1
    Abortando...
    my nvidia.install
    post_install() {
    KERNEL_VERSION='2.6.34-pahko'
    depmod $KERNEL_VERSION
    post_upgrade() {
    post_install
    rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
    post_remove() {
    KERNEL_VERSION='2.6.34-pahko'
    depmod $KERNEL_VERSION
    my PKGBUILD
    # $Id: PKGBUILD 83850 2010-06-23 10:39:40Z pierre $
    # Maintainer : Thomas Baechler <[email protected]>
    pkgname=nvidia-pahko
    pkgver=256.35
    _kernver='2.6.34-pahko'
    pkgrel=1
    pkgdesc="NVIDIA drivers for kernel26."
    arch=('i686' 'x86_64')
    url="http://www.nvidia.com/"
    depends=('kernel26>=2.6.34' 'kernel26<2.6.35' "nvidia-utils=${pkgver}")
    makedepends=('kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35')
    conflicts=('nvidia-96xx' 'nvidia-173xx')
    license=('custom')
    install=nvidia.install
    if [ "$CARCH" = "i686" ]; then
    _arch='x86'
    _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
    md5sums=('f6af8917a500de28396a438f3f548c88')
    elif [ "$CARCH" = "x86_64" ]; then
    _arch='x86_64'
    _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
    md5sums=('7b5924f14a4d2326b4d916efdb7852ff')
    fi
    build() {
    cd $srcdir
    sh ${_pkg}.run --extract-only
    cd ${_pkg}/kernel
    make SYSSRC=/lib/modules/${_kernver}/build module
    package() {
    install -D -m644 $srcdir/${_pkg}/kernel/nvidia.ko \
    $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/nvidia.ko
    install -d -m755 $pkgdir/etc/modprobe.d
    echo "blacklist nouveau" >> $pkgdir/etc/modprobe.d/nouveau_blacklist.conf
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
    uname -r
    2.6.34-pahko
    anybody can help me?
    thank you and sorry about my english
    Last edited by pahko (2010-07-14 04:56:01)

    They should be in the PKGBUILD, its a split PKGBUILD currently I think.

  • [SOLVED] nvidia driver causes blank screen soon after boot

    Hi,
    I have a NVIDIA 560 and was originally using the nouveau driver, but that gave slow performance when doing anything (eg. resizing windows), so I installed the nvidia driver instead by following the wiki section:
    https://wiki.archlinux.org/index.php/NV … au_drivers
    by essentially just following the scripts given there. After switching to nvidia, the screen goes blank soon after boot. I get back into the system by using nomodeset in menu.cfg.
    My question is how do I even begin to find the problem, eg. what log file(s) should I look in and post?
    Thanks
    Last edited by mark1977 (2012-08-19 17:38:42)

    Yes it's the 560 Ti. Thanks I just installed straight from the repos. I've also installed cuda-sdk and cuda-toolkit. I've compiled the libraries inside /opt/cuda-sdk/CUDALibraries fine.
    No I go to compile the sdk examples by running make in /opt/cuda-sdk/C and get the following error:
    # make
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/C/common'
    make[1]: Leaving directory `/opt/cuda-sdk/C/common'
    make[1]: Entering directory `/opt/cuda-sdk/shared'
    make[1]: Leaving directory `/opt/cuda-sdk/shared'
    make[1]: Entering directory `/opt/cuda-sdk/C/src/newdelete'
    make[1]: Leaving directory `/opt/cuda-sdk/C/src/newdelete'
    make[1]: Entering directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
    /usr/bin/ld: cannot find -lcuda
    collect2: error: ld returned 1 exit status
    make[1]: *** [../../bin/linux/release/simpleTextureDrv] Error 1
    make[1]: Leaving directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
    make: *** [src/simpleTextureDrv/Makefile.ph_build] Error 2
    The Makefile itself essentially seems to just include the file /opt/cuda-sdk/C/common/common.mk, which is:
    # Copyright 1993-2011 NVIDIA Corporation. All rights reserved.
    # NVIDIA Corporation and its licensors retain all intellectual property and
    # proprietary rights in and to this software and related documentation.
    # Any use, reproduction, disclosure, or distribution of this software
    # and related documentation without an express license agreement from
    # NVIDIA Corporation is strictly prohibited.
    # Please refer to the applicable NVIDIA end user license agreement (EULA)
    # associated with this source code for terms and conditions that govern
    # your use of this NVIDIA software.
    # Common build script for CUDA source projects for Linux and Mac platforms
    .SUFFIXES : .cu .cu_dbg.o .c_dbg.o .cpp_dbg.o .cu_rel.o .c_rel.o .cpp_rel.o .cubin .ptx
    # Add new SM Versions here as devices with new Compute Capability are released
    SM_VERSIONS := 10 11 12 13 20 21 30
    CUDA_INSTALL_PATH ?= /opt/cuda-toolkit
    ifdef cuda-install
    CUDA_INSTALL_PATH := $(cuda-install)
    endif
    # detect OS
    OSUPPER = $(shell uname -s 2>/dev/null | tr [:lower:] [:upper:])
    OSLOWER = $(shell uname -s 2>/dev/null | tr [:upper:] [:lower:])
    # 'linux' is output for Linux system, 'darwin' for OS X
    DARWIN = $(strip $(findstring DARWIN, $(OSUPPER)))
    ifneq ($(DARWIN),)
    SNOWLEOPARD = $(strip $(findstring 10.6, $(shell egrep "<string>10\.6" /System/Library/CoreServices/SystemVersion.plist)))
    LION = $(strip $(findstring 10.7, $(shell egrep "<string>10\.7" /System/Library/CoreServices/SystemVersion.plist)))
    endif
    # detect 32-bit or 64-bit platform
    HP_64 = $(shell uname -m | grep 64)
    OSARCH= $(shell uname -m)
    # Basic directory setup for SDK
    # (override directories only if they are not already defined)
    SRCDIR ?=
    ROOTDIR ?= ..
    ROOTBINDIR ?= $(ROOTDIR)/../bin
    BINDIR ?= $(ROOTBINDIR)/$(OSLOWER)
    ROOTOBJDIR ?= obj
    LIBDIR := $(ROOTDIR)/../lib
    COMMONDIR := $(ROOTDIR)/../common
    SHAREDDIR := $(ROOTDIR)/../../shared/
    # Compilers
    NVCC := $(CUDA_INSTALL_PATH)/bin/nvcc
    CXX := g++ -fPIC
    CC := gcc -fPIC
    LINK := g++ -fPIC
    # Includes
    INCLUDES += -I. -I$(CUDA_INSTALL_PATH)/include -I$(COMMONDIR)/inc -I$(SHAREDDIR)/inc
    # Warning flags
    CXXWARN_FLAGS := \
    -W -Wall \
    -Wimplicit \
    -Wswitch \
    -Wformat \
    -Wchar-subscripts \
    -Wparentheses \
    -Wmultichar \
    -Wtrigraphs \
    -Wpointer-arith \
    -Wcast-align \
    -Wreturn-type \
    -Wno-unused-function \
    $(SPACE)
    CWARN_FLAGS := $(CXXWARN_FLAGS) \
    -Wstrict-prototypes \
    -Wmissing-prototypes \
    -Wmissing-declarations \
    -Wnested-externs \
    -Wmain \
    # architecture flag for nvcc and gcc compilers build
    CUBIN_ARCH_FLAG :=
    CXX_ARCH_FLAGS :=
    NVCCFLAGS :=
    LIB_ARCH := $(OSARCH)
    # Determining the necessary Cross-Compilation Flags
    # 32-bit OS, but we target 64-bit cross compilation
    ifeq ($(x86_64),1)
    NVCCFLAGS += -m64
    LIB_ARCH = x86_64
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch x86_64
    else
    CXX_ARCH_FLAGS += -m64
    endif
    else
    # 64-bit OS, and we target 32-bit cross compilation
    ifeq ($(i386),1)
    NVCCFLAGS += -m32
    LIB_ARCH = i386
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch i386
    else
    CXX_ARCH_FLAGS += -m32
    endif
    else
    ifeq "$(strip $(HP_64))" ""
    LIB_ARCH = i386
    NVCCFLAGS += -m32
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch i386
    else
    CXX_ARCH_FLAGS += -m32
    endif
    else
    LIB_ARCH = x86_64
    NVCCFLAGS += -m64
    ifneq ($(DARWIN),)
    CXX_ARCH_FLAGS += -arch x86_64
    else
    CXX_ARCH_FLAGS += -m64
    endif
    endif
    endif
    endif
    # Compiler-specific flags (by default, we always use sm_10, sm_20, and sm_30), unless we use the SMVERSION template
    GENCODE_SM10 := -gencode=arch=compute_10,code=\"sm_10,compute_10\"
    GENCODE_SM20 := -gencode=arch=compute_20,code=\"sm_20,compute_20\"
    GENCODE_SM30 := -gencode=arch=compute_30,code=\"sm_30,compute_30\"
    CXXFLAGS += $(CXXWARN_FLAGS) $(CXX_ARCH_FLAGS)
    CFLAGS += $(CWARN_FLAGS) $(CXX_ARCH_FLAGS)
    LINKFLAGS += -L/usr/lib
    LINK += $(LINKFLAGS) $(CXX_ARCH_FLAGS)
    # This option for Mac allows CUDA applications to work without requiring to set DYLD_LIBRARY_PATH
    ifneq ($(DARWIN),)
    LINK += -Xlinker -rpath $(CUDA_INSTALL_PATH)/lib
    endif
    # Common flags
    COMMONFLAGS += $(INCLUDES) -DUNIX
    # If we are enabling GPU based debugging, then we want to use -G, warning that this
    # May have a significant impact on GPU device code, since optimizations are turned off
    ifeq ($(gpudbg),1)
    NVCCFLAGS += -G
    dbg = $(gpudbg)
    endif
    # Debug/release configuration
    ifeq ($(dbg),1)
    COMMONFLAGS += -g
    NVCCFLAGS += -D_DEBUG
    CXXFLAGS += -D_DEBUG
    CFLAGS += -D_DEBUG
    BINSUBDIR := debug
    LIBSUFFIX := D
    else
    COMMONFLAGS += -O2
    BINSUBDIR := release
    LIBSUFFIX :=
    NVCCFLAGS += --compiler-options -fno-strict-aliasing
    CXXFLAGS += -fno-strict-aliasing
    CFLAGS += -fno-strict-aliasing
    endif
    # architecture flag for cubin build
    CUBIN_ARCH_FLAG :=
    # OpenGL is used or not (if it is used, then it is necessary to include GLEW)
    ifeq ($(USEGLLIB),1)
    ifneq ($(DARWIN),)
    OPENGLLIB := -L/System/Library/Frameworks/OpenGL.framework/Libraries
    OPENGLLIB += -lGL -lGLU $(COMMONDIR)/lib/$(OSLOWER)/libGLEW.a
    else
    # this case for linux platforms
    OPENGLLIB := -lGL -lGLU -lX11 -lXi -lXmu
    # check if x86_64 flag has been set, otherwise, check HP_64 is i386/x86_64
    ifeq ($(x86_64),1)
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    else
    ifeq ($(i386),)
    ifeq "$(strip $(HP_64))" ""
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    endif
    endif
    endif
    # check if i386 flag has been set, otehrwise check HP_64 is i386/x86_64
    ifeq ($(i386),1)
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    ifeq ($(x86_64),)
    ifeq "$(strip $(HP_64))" ""
    OPENGLLIB += -lGLEW -L/usr/X11R6/lib
    else
    OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
    endif
    endif
    endif
    endif
    endif
    ifeq ($(USEGLUT),1)
    ifneq ($(DARWIN),)
    OPENGLLIB += -framework GLUT
    else
    ifeq ($(x86_64),1)
    OPENGLLIB += -lglut -L/usr/lib64
    endif
    ifeq ($(i386),1)
    OPENGLLIB += -lglut -L/usr/lib
    endif
    ifeq ($(x86_64),)
    ifeq ($(i386),)
    OPENGLLIB += -lglut
    endif
    endif
    endif
    endif
    ifeq ($(USEPARAMGL),1)
    PARAMGLLIB := -lparamgl_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifeq ($(USERENDERCHECKGL),1)
    RENDERCHECKGLLIB := -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifeq ($(USENVCUVID), 1)
    ifneq ($(DARWIN),)
    NVCUVIDLIB := -L../../common/lib/darwin -lnvcuvid
    endif
    endif
    # Libs
    ifneq ($(DARWIN),)
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib $(NVCUVIDLIB)
    else
    ifeq "$(strip $(HP_64))" ""
    ifeq ($(x86_64),1)
    LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    else
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    endif
    else
    ifeq ($(i386),1)
    LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    else
    LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
    endif
    endif
    endif
    # If dynamically linking to CUDA and CUDART, we exclude the libraries from the LIB
    ifeq ($(USECUDADYNLIB),1)
    LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} -ldl -rdynamic
    else
    # static linking, we will statically link against CUDA and CUDART
    ifeq ($(USEDRVAPI),1)
    LIB += -L/usr/lib -lcuda ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
    else
    ifeq ($(emu),1)
    LIB += -lcudartemu
    else
    LIB += -lcudart
    endif
    LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
    endif
    endif
    ifeq ($(USECUFFT),1)
    ifeq ($(emu),1)
    LIB += -lcufftemu
    else
    LIB += -lcufft
    endif
    endif
    ifeq ($(USECUBLAS),1)
    ifeq ($(emu),1)
    LIB += -lcublasemu
    else
    LIB += -lcublas
    endif
    endif
    ifeq ($(USECURAND),1)
    LIB += -lcurand
    endif
    ifeq ($(USECUSPARSE),1)
    LIB += -lcusparse
    endif
    # Lib/exe configuration
    # Lib/exe configuration
    # Lib/exe configuration
    ifneq ($(STATIC_LIB),)
    TARGETDIR := $(LIBDIR)
    TARGET := $(subst .a,_$(LIB_ARCH)$(LIBSUFFIX).a,$(LIBDIR)/$(STATIC_LIB))
    LINKLINE = ar rucv $(TARGET) $(OBJS)
    else
    ifneq ($(OMIT_CUTIL_LIB),1)
    LIB += -lcutil_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    ifneq ($(OMIT_SHRUTIL_LIB),1)
    LIB += -lshrutil_$(LIB_ARCH)$(LIBSUFFIX)
    endif
    # Device emulation configuration
    ifeq ($(emu), 1)
    NVCCFLAGS += -deviceemu
    CUDACCFLAGS +=
    BINSUBDIR := emu$(BINSUBDIR)
    # consistency, makes developing easier
    CXXFLAGS += -D__DEVICE_EMULATION__
    CFLAGS += -D__DEVICE_EMULATION__
    endif
    TARGETDIR := $(BINDIR)/$(BINSUBDIR)
    TARGET := $(TARGETDIR)/$(EXECUTABLE)
    LINKLINE = $(LINK) -o $(TARGET) $(OBJS) $(LIB)
    endif
    # check if verbose
    ifeq ($(verbose), 1)
    VERBOSE :=
    else
    VERBOSE := @
    endif
    # Check for input flags and set compiler flags appropriately
    ifeq ($(fastmath), 1)
    NVCCFLAGS += -use_fast_math
    endif
    ifeq ($(keep), 1)
    NVCCFLAGS += -keep
    NVCC_KEEP_CLEAN := *.i* *.cubin *.cu.c *.cudafe* *.fatbin.c *.ptx
    endif
    ifdef maxregisters
    NVCCFLAGS += -maxrregcount $(maxregisters)
    endif
    ifeq ($(ptxas), 1)
    NVCCFLAGS += --ptxas-options=-v
    endif
    # Add cudacc flags
    NVCCFLAGS += $(CUDACCFLAGS)
    # Add common flags
    NVCCFLAGS += $(COMMONFLAGS)
    CXXFLAGS += $(COMMONFLAGS)
    CFLAGS += $(COMMONFLAGS)
    ifeq ($(nvcc_warn_verbose),1)
    NVCCFLAGS += $(addprefix --compiler-options ,$(CXXWARN_FLAGS))
    NVCCFLAGS += --compiler-options -fno-strict-aliasing
    endif
    # Set up object files
    OBJDIR := $(ROOTOBJDIR)/$(LIB_ARCH)/$(BINSUBDIR)
    OBJS += $(patsubst %.cpp,$(OBJDIR)/%.cpp.o,$(notdir $(CCFILES)))
    OBJS += $(patsubst %.c,$(OBJDIR)/%.c.o,$(notdir $(CFILES)))
    OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu.o,$(notdir $(CUFILES)))
    # Set up cubin output files
    CUBINDIR := $(SRCDIR)data
    CUBINS += $(patsubst %.cu,$(CUBINDIR)/%.cubin,$(notdir $(CUBINFILES)))
    # Set up PTX output files
    PTXDIR := $(SRCDIR)data
    PTXBINS += $(patsubst %.cu,$(PTXDIR)/%.ptx,$(notdir $(PTXFILES)))
    # Rules
    $(OBJDIR)/%.c.o : $(SRCDIR)%.c $(C_DEPS)
    $(VERBOSE)$(CC) $(CFLAGS) -o $@ -c $<
    $(OBJDIR)/%.cpp.o : $(SRCDIR)%.cpp $(C_DEPS)
    $(VERBOSE)$(CXX) $(CXXFLAGS) -o $@ -c $<
    # Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
    $(OBJDIR)/%.cu.o : $(SRCDIR)%.cu $(CU_DEPS)
    $(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -c $<
    # Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
    $(CUBINDIR)/%.cubin : $(SRCDIR)%.cu cubindirectory
    $(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -cubin $<
    $(PTXDIR)/%.ptx : $(SRCDIR)%.cu ptxdirectory
    $(VERBOSE)$(NVCC) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -ptx $<
    # The following definition is a template that gets instantiated for each SM
    # version (sm_10, sm_13, etc.) stored in SMVERSIONS. It does 2 things:
    # 1. It adds to OBJS a .cu_sm_XX.o for each .cu file it finds in CUFILES_sm_XX.
    # 2. It generates a rule for building .cu_sm_XX.o files from the corresponding
    # .cu file.
    # The intended use for this is to allow Makefiles that use common.mk to compile
    # files to different Compute Capability targets (aka SM arch version). To do
    # so, in the Makefile, list files for each SM arch separately, like so:
    # This will be used over the default rule abov
    # CUFILES_sm_10 := mycudakernel_sm10.cu app.cu
    # CUFILES_sm_12 := anothercudakernel_sm12.cu
    define SMVERSION_template
    #OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_$(1))))
    OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_sm_$(1))))
    $(OBJDIR)/%.cu_$(1).o : $(SRCDIR)%.cu $(CU_DEPS)
    # $(VERBOSE)$(NVCC) -o $$@ -c $$< $(NVCCFLAGS) $(1)
    $(VERBOSE)$(NVCC) -gencode=arch=compute_$(1),code=\"sm_$(1),compute_$(1)\" $(GENCODE_SM20) $(GENCODE_SM30) -o $$@ -c $$< $(NVCCFLAGS)
    endef
    # This line invokes the above template for each arch version stored in
    # SM_VERSIONS. The call funtion invokes the template, and the eval
    # function interprets it as make commands.
    $(foreach smver,$(SM_VERSIONS),$(eval $(call SMVERSION_template,$(smver))))
    $(TARGET): makedirectories $(OBJS) $(CUBINS) $(PTXBINS) Makefile
    $(VERBOSE)$(LINKLINE)
    cubindirectory:
    $(VERBOSE)mkdir -p $(CUBINDIR)
    ptxdirectory:
    $(VERBOSE)mkdir -p $(PTXDIR)
    makedirectories:
    $(VERBOSE)mkdir -p $(LIBDIR)
    $(VERBOSE)mkdir -p $(OBJDIR)
    $(VERBOSE)mkdir -p $(TARGETDIR)
    tidy :
    $(VERBOSE)find . | egrep "#" | xargs rm -f
    $(VERBOSE)find . | egrep "\~" | xargs rm -f
    clean : tidy
    $(VERBOSE)rm -f *.stub.c *.gpu *.cu.cpp *.i *.ii
    $(VERBOSE)rm -f *.cubin *.ptx *.fatbin.c *.hash
    $(VERBOSE)rm -f *.cudafe1.c *.cudafe2.c *.cudafe1.cpp *.cudafe2.cpp
    $(VERBOSE)rm -f $(OBJS)
    $(VERBOSE)rm -f $(CUBINS)
    $(VERBOSE)rm -f $(PTXBINS)
    $(VERBOSE)rm -f $(TARGET)
    $(VERBOSE)rm -f $(NVCC_KEEP_CLEAN)
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.ppm
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.pgm
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bin
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bmp
    $(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.txt
    $(VERBOSE)rm -f $(CUBINDIR)/*.cubin $(PTXDIR)/*.ptx
    $(VERBOSE)rm -rf $(ROOTOBJDIR)
    $(VERBOSE)rm -rf $(LIBDIR)
    $(VERBOSE)rm -rf $(OBJDIR)
    $(VERBOSE)rm -rf $(TARGETDIR)
    clobber : clean
    $(VERBOSE)rm -rf $(COMMONDIR)/lib/*.a
    $(VERBOSE)rm -rf $(SHAREDDIR)/lib/*.a
    $(VERBOSE)rm -rf $(COMMONDIR)/obj
    $(VERBOSE)rm -rf $(SHAREDDIR)/obj
    The output of echo $LD_LIBRARY_PATH is blank.
    I have checked for libcuda and can find it:
    # ls /usr/lib | grep libcuda
    libcuda.so.1
    libcuda.so.304.32
    Is there something obvious I need to do to get these to compile?
    Thanks again.

  • [SOLVED] Problem with nvidia driver install/uninstall

    A while ago I installed the 177.70 driver from nvidia's site, then I was trying to install the 177.80 and to remove the .70 first, I tried
    sh NVIDIA-filename.177.70.run --uninstall
    And the installer told me no nvidia driver was found. I haven't been able to install a newer driver since every time I tried X would give me a driver mismatch error on start-up. I am hesitant to manually remove any files, how would I fully get rid of 177.70 so I can install a newer one??
    TIA
    Last edited by colbert (2008-12-05 02:58:10)

    See script for the command you should be running:
    sh NVIDIA-Linux-x86-180.11-pkg1.run -a -q -s -N --no-opengl-headers
    Assuming you're on 32-bit. To let Nvidia's installer sort out your mess.
    Last edited by brebs (2008-12-04 21:52:19)

Maybe you are looking for

  • ABAP Code for BI objects

    Hi Friends, I have created BI objects like infocubes, infoobjects, DTP, Datasource to transfer data from a flat file to BI system using SAP GUI... All data from flat file are transfered to BI successfully... i dont have any knowledge in ABAP... So i

  • ADF DataControl on a Business Service taking a request parameter through url.

    Hi, Use Case: I have a business service  that contains a method String getPayoad(int b2bMessageId), and then created a data control based on this method. It is not based on BC4J I have a jsf page and dropped this data control on the jsf page (payload

  • Toshiba 46TL938G hangs for the 20 sec hanging channel volume or input

    Hi, I recently bought a Toshiba 46TL938G. When it I turn it on and try to do something the system hangs for about 20 seconds, a large rotating circular icon appears in the top right hand corner of the screen (As if it's performing a start up and info

  • Can I exclude a state from free shipping? Or zip/post code?

    Hi, we currently have one state where it doesn't make sense to offer free shipping (too expensive). We would still like to offer it to other states / regions. Is there away we can exclude a state from free shipping or alternatively apply a different

  • MSS - HCM Processes and Forms

    Can somebody please tell me what the standard HCM Processes and Forms used in MSS are? Thanks WB