Results 1 to 50 of 376

Thread: (Guide) Installing Nvidia + Bumblebee + CUDA for Optimus enabled Laptops

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2014-Aug
    Posts
    3

    Post

    Thanks for the reply!

    Code:
       lspci | egrep 'VGA|3D'
                  00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
                  0a:00.0 3D controller: NVIDIA Corporation Device 1292 (rev ff)


    Code:
    root@Kali:~# echo ON >> /proc/acpi/bbswitch
               root@Kali:~# modprobe nvidia
               root@Kali:~# modprobe nvidia-uvm
               root@Kali:~# optirun glxspheres64
               [  196.534830] [ERROR]Cannot access secondary GPU - error: X did not start properly
    
                [  196.534915] [ERROR]Aborting because fallback start is disabled.

    Code:
    root@Kali:~# dmesg | tail -n 100
    [    7.833718] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [    7.977371] uvcvideo: Found UVC 1.00 device HP Truevision HD (04f2:b40d)
    [    7.986270] input: HP Truevision HD as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input10
    [    7.986450] usbcore: registered new interface driver uvcvideo
    [    7.986451] USB Video Class driver (1.1.1)
    [    8.115977] usb 1-2: ath9k_htc: Firmware htc_9271.fw requested
    [    8.116096] usbcore: registered new interface driver ath9k_htc
    [    8.375737] cfg80211: World regulatory domain updated:
    [    8.375741] cfg80211:  DFS Master region: unset
    [    8.375741] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [    8.375745] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    8.375746] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    8.375748] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
    [    8.375749] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [    8.375751] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
    [    8.375752] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
    [    8.512885] usb 1-2: firmware: direct-loading firmware htc_9271.fw
    [    8.746372] Console: switching to colour frame buffer device 170x48
    [    8.752407] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    [    8.752410] i915 0000:00:02.0: registered panic notifier
    [    8.753259] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
    [    8.753984] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
    [    8.754174] ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20131218/psargs-359)
    [    8.754184] ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node ffff88015e8806f0), AE_NOT_FOUND (20131218/psparse-536)
    [    8.754299] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:19/LNXVIDEO:00/input/input11
    [    8.795342] usb 1-2: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
    [    8.796068] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
    [    8.799829] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
    [    8.844430] acpi device:3b: registered as cooling_device5
    [    8.844704] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input12
    [    8.844935] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [    8.846918] snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
    [    8.852338] snd_hda_intel 0000:00:03.0: irq 62 for MSI/MSI-X
    [    8.997402] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
    [    8.997663] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
    [    8.997888] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input13
    [    9.026024] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input17
    [    9.026238] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input16
    [    9.032636] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 33 credits
    [    9.298616] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.3
    [    9.298623] ath: EEPROM regdomain: 0x809c
    [    9.298626] ath: EEPROM indicates we should expect a country code
    [    9.298629] ath: doing EEPROM country->regdmn map search
    [    9.298631] ath: country maps to regdmn code: 0x52
    [    9.298635] ath: Country alpha2 being used: CN
    [    9.298637] ath: Regpair used: 0x52
    [    9.303397] ieee80211 phy1: Atheros AR9271 Rev:1
    [    9.303431] cfg80211: Calling CRDA for country: CN
    [    9.310588] cfg80211: Regulatory domain changed to country: CN
    [    9.310596] cfg80211:  DFS Master region: unset
    [    9.310599] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [    9.310603] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [    9.310606] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2300 mBm)
    [    9.310609] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
    [    9.310612] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [    9.310615] cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
    [    9.310618] cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
    [    9.310620] cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
    [   11.865869] EXT4-fs (sda5): re-mounted. Opts: (null)
    [   15.144614] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
    [   15.589589] loop: module loaded
    [   19.478453] Netfilter messages via NETLINK v0.30.
    [   19.547083] bbswitch: version 0.8
    [   19.547099] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [   19.547111] bbswitch: Found discrete VGA device 0000:0a:00.0: \_SB_.PCI0.RP05.PEGP
    [   19.547131] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   19.547286] bbswitch: detected an Optimus _DSM function
    [   19.547311] pci 0000:0a:00.0: enabling device (0006 -> 0007)
    [   19.547418] bbswitch: Succesfully loaded. Discrete card 0000:0a:00.0 is on
    [   19.552195] bbswitch: disabling discrete graphics
    [   19.552222] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
    [   25.557236] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   31.072128] r8169 0000:09:00.0: firmware: direct-loading firmware rtl_nic/rtl8106e-2.fw
    [   31.105575] r8169 0000:09:00.0 eth0: link down
    [   31.105630] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   35.640636] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   36.758510] r8169 0000:09:00.0 eth0: link down
    [   36.758584] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   37.367795] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [   41.386377] wlan1: authenticate with 9c:8e:dc:1d:35:8c
    [   41.677621] wlan1: send auth to 9c:8e:dc:1d:35:8c (try 1/3)
    [   41.679346] wlan1: authenticated
    [   41.681608] wlan1: associate with 9c:8e:dc:1d:35:8c (try 1/3)
    [   41.685362] wlan1: RX AssocResp from 9c:8e:dc:1d:35:8c (capab=0x411 status=0 aid=1)
    [   41.695106] wlan1: associated
    [   41.695139] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [   41.695214] cfg80211: Calling CRDA for country: TW
    [   41.702625] cfg80211: Regulatory domain changed to country: TW
    [   41.702632] cfg80211:  DFS Master region: unset
    [   41.702635] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   41.702640] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm)
    [   41.702643] cfg80211:   (5270000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 1700 mBm)
    [   41.702646] cfg80211:   (5490000 KHz - 5590000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [   41.702648] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 3000 mBm)
    [   41.702651] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
    [  181.701038] bbswitch: enabling discrete graphics
    [  192.293592] nvidia: module license 'NVIDIA' taints kernel.
    [  192.293599] Disabling lock debugging due to kernel taint
    [  192.314235] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.67  Fri Apr  4 13:48:39 PDT 2014
    [  192.410048] nvidia_uvm: Loaded the UVM driver, major device number 249
    Code:
    root@Kali:~# echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/opt/VirtualGL

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    @Xperianist

    For your path, you don't need the second /opt/VirtualGL (you have it at the end) as there is no bins in that folder. Additonal paths can break your install.

    That being said, I don't think that is the issue. I can see you have installed the older drivers. I have left those there for a kind of legacy reason but you should use the latest drivers which start at post 25.

    I know it is most likely not what you are looking for but the newer drivers will most likely fix your issue ( as they have for quite a few people now)

    As for your partiular fault, do you have an Nvidia GT750M?

Similar Threads

  1. Replies: 6
    Last Post: 2017-01-04, 19:39
  2. NVIDIA and CUDA with OPTIMUS
    By jolubedju in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-06-03, 10:52
  3. Kali Linux 1.05 nvidia optimus cuda and pyrit
    By gfbaggio in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-04-28, 20:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •