Advertisement
ZeroTrace

Bumblebee = Primus on Kali

Mar 21st, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.42 KB | None | 0 0
  1. LSPCI | EGREP 'VGA|3D' OUTZPUT
  2. 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
  3. 01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd4 (rev ff)
  4.  
  5. MODPROBE NVIDIA OUTPUT
  6. ERROR: could not insert 'nvidia': No such device
  7.  
  8. MODEPROBE NVIDIA-UVM OUTPUT
  9. ERROR: could not insert 'nvidia_uvm': No such device
  10.  
  11. GLXSPHERES64 OUTPUT
  12. Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
  13. Visual ID of window: 0x21
  14. Context is Direct
  15. OpenGL Renderer: GeForce GTX 660M/PCIe/SSE2
  16. 317.448118 frames/sec - 354.272099 Mpixels/sec
  17. 328.754079 frames/sec - 366.889553 Mpixels/sec
  18. 329.162190 frames/sec - 367.345004 Mpixels/sec
  19. 326.498922 frames/sec - 364.372797 Mpixels/sec
  20. 326.029608 frames/sec - 363.849042 Mpixels/sec
  21. 326.464546 frames/sec - 364.334433 Mpixels/sec
  22. 327.338645 frames/sec - 365.309928 Mpixels/sec
  23. 330.092176 frames/sec - 368.382868 Mpixels/sec
  24. 330.017952 frames/sec - 368.300035 Mpixels/sec
  25. 326.102586 frames/sec - 363.930486 Mpixels/sec
  26. 325.769632 frames/sec - 363.558909 Mpixels/sec
  27. 325.724777 frames/sec - 363.508851 Mpixels/sec
  28. 325.654570 frames/sec - 363.430500 Mpixels/sec
  29. 325.656122 frames/sec - 363.432232 Mpixels/sec
  30. 326.614655 frames/sec - 364.501955 Mpixels/sec
  31. 325.008184 frames/sec - 362.709133 Mpixels/sec
  32. 325.727144 frames/sec - 363.511492 Mpixels/sec
  33. 324.316435 frames/sec - 361.937142 Mpixels/sec
  34.  
  35. DMESG | TAIL -N 100 OUTPUT
  36. [ 18.954765] pci 0000:01:00.0: enabling device (0006 -> 0007)
  37. [ 18.954842] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
  38. [ 18.958432] bbswitch: disabling discrete graphics
  39. [ 18.958444] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  40. [ 19.715914] Netfilter messages via NETLINK v0.30.
  41. [ 23.532584] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
  42. [ 23.540579] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
  43. [ 23.793491] iwlwifi 0000:03:00.0: L1 Enabled - LTR Disabled
  44. [ 23.800976] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
  45. [ 23.858092] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  46. [ 94.293312] bbswitch: enabling discrete graphics
  47. [ 94.718871] nvidia: module license 'NVIDIA' taints kernel.
  48. [ 94.718878] Disabling lock debugging due to kernel taint
  49. [ 94.729340] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
  50. [ 94.729858] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
  51. [ 94.729869] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.47 Thu Feb 19 18:56:03 PST 2015
  52. [ 94.981316] nvidia 0000:01:00.0: irq 32 for MSI/MSI-X
  53. [ 94.986085] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  54. [ 94.986161] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  55. [ 94.986199] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  56. [ 94.986259] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  57. [ 94.986297] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  58. [ 94.986334] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  59. [ 94.986406] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  60. [ 94.986440] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  61. [ 100.846830] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  62. [ 140.588782] [drm] Module unloaded
  63. [ 140.589985] bbswitch: disabling discrete graphics
  64. [ 140.590008] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  65. [ 140.605656] pci 0000:01:00.0: Refused to change power state, currently in D0
  66. [ 325.595864] bbswitch: enabling discrete graphics
  67. [ 325.906752] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
  68. [ 325.907191] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1
  69. [ 325.907200] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 346.47 Thu Feb 19 18:56:03 PST 2015
  70. [ 325.924293] nvidia 0000:01:00.0: irq 32 for MSI/MSI-X
  71. [ 325.926411] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  72. [ 325.926446] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  73. [ 325.926463] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  74. [ 325.926488] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  75. [ 325.926503] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  76. [ 325.926518] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  77. [ 325.926550] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  78. [ 325.926565] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  79. [ 330.672989] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  80. [ 332.194554] [drm] Module unloaded
  81. [ 332.196012] bbswitch: disabling discrete graphics
  82. [ 332.196025] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
  83. [ 332.211383] pci 0000:01:00.0: Refused to change power state, currently in D0
  84. [ 430.944923] NVRM: This is a 64-bit BAR mapped above 4GB by the system
  85. [ 430.944923] NVRM: BIOS or the Linux kernel, but the PCI bridge
  86. [ 430.944923] NVRM: immediately upstream of this GPU does not define
  87. [ 430.944923] NVRM: a matching prefetchable memory window.
  88. [ 430.944931] NVRM: This may be due to a known Linux kernel bug. Please
  89. [ 430.944931] NVRM: see the README section on 64-bit BARs for additional
  90. [ 430.944931] NVRM: information.
  91. [ 430.944940] nvidia: probe of 0000:01:00.0 failed with error -1
  92. [ 430.945423] NVRM: The NVIDIA probe routine failed for 1 device(s).
  93. [ 430.945428] NVRM: None of the NVIDIA graphics adapters were initialized!
  94. [ 430.945430] [drm] Module unloaded
  95. [ 430.945565] NVRM: NVIDIA init module failed!
  96. [ 491.342848] ------------[ cut here ]------------
  97. [ 491.342860] WARNING: CPU: 1 PID: 3977 at /build/linux-H6_NPX/linux-3.18.6/fs/proc/generic.c:315 proc_register+0xd8/0x170()
  98. [ 491.342862] proc_dir_entry 'driver/nvidia' already registered
  99. [ 491.342864] Modules linked in: nvidia(PO+) nfnetlink_log nfnetlink bbswitch(O) binfmt_misc loop dm_crypt ecb uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev btusb bluetooth xpad ff_memless media snd_hda_codec_hdmi joydev snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep arc4 snd_pcm iwldvm mac80211 x86_pkg_temp_thermal iTCO_wdt iTCO_vendor_support i915 jmb38x_ms snd_seq snd_seq_device snd_timer iwlwifi drm_kms_helper intel_powerclamp lpc_ich mei_me memstick mei mfd_core snd cfg80211 ideapad_laptop sparse_keymap intel_rapl drm i2c_algo_bit i2c_i801 coretemp i2c_core psmouse kvm_intel kvm soundcore serio_raw rfkill evdev ac battery video button processor ext4 crc16 mbcache jbd2 dm_mod sg sr_mod cdrom sd_mod hid_generic usbhid hid usb_storage crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci libata scsi_mod alx mdio sdhci_pci sdhci mmc_core thermal xhci_pci thermal_sys ehci_pci ehci_hcd xhci_hcd usbcore usb_common [last unloaded: nvidia]
  100. [ 491.342947] CPU: 1 PID: 3977 Comm: modprobe Tainted: P O 3.18.0-kali3-amd64 #1 Debian 3.18.6-1~kali2
  101. [ 491.342949] Hardware name: LENOVO Lenovo IdeaPad Y580/Product Name, BIOS 5DCN40WW(V2.07) 10/10/2012
  102. [ 491.342951] 0000000000000000 0000000000000009 ffffffff81554a5e ffff8801ae317bb8
  103. [ 491.342955] ffffffff8106db8b ffff8800367301c0 ffff8801b66d9cb5 ffff8801b66d9c40
  104. [ 491.342958] ffff8801b8506e40 0000000000000000 ffffffff8106dc7a ffffffff81733338
  105. [ 491.342962] Call Trace:
  106. [ 491.342970] [<ffffffff81554a5e>] ? dump_stack+0x41/0x51
  107. [ 491.342976] [<ffffffff8106db8b>] ? warn_slowpath_common+0x8b/0xc0
  108. [ 491.342981] [<ffffffff8106dc7a>] ? warn_slowpath_fmt+0x4a/0x50
  109. [ 491.342985] [<ffffffff81228e28>] ? proc_register+0xd8/0x170
  110. [ 491.342988] [<ffffffff81228fd0>] ? proc_mkdir_data+0x50/0x70
  111. [ 491.343063] [<ffffffffa153be9b>] ? nv_register_procfs+0x5b/0x210 [nvidia]
  112. [ 491.343115] [<ffffffffa184a2ce>] ? nvidia_init_module+0x2ce/0x79c [nvidia]
  113. [ 491.343166] [<ffffffffa184a7ab>] ? nv_drm_init+0xf/0xf [nvidia]
  114. [ 491.343217] [<ffffffffa184a82d>] ? nvidia_frontend_init_module+0x82/0x855 [nvidia]
  115. [ 491.343222] [<ffffffff81002158>] ? do_one_initcall+0xd8/0x210
  116. [ 491.343228] [<ffffffff810e77e5>] ? load_module+0x1ce5/0x2660
  117. [ 491.343232] [<ffffffff810e35a0>] ? unset_module_core_ro_nx+0x80/0x80
  118. [ 491.343237] [<ffffffff8118d516>] ? vmap_page_range_noflush+0x256/0x370
  119. [ 491.343241] [<ffffffff8118d65a>] ? map_vm_area+0x2a/0x40
  120. [ 491.343247] [<ffffffff810e8224>] ? SyS_init_module+0xc4/0x110
  121. [ 491.343253] [<ffffffff8155a9ed>] ? system_call_fast_compare_end+0xc/0x11
  122. [ 491.343256] ---[ end trace 498d79bf6b141160 ]---
  123. [ 491.343306] NVRM: This is a 64-bit BAR mapped above 4GB by the system
  124. [ 491.343306] NVRM: BIOS or the Linux kernel, but the PCI bridge
  125. [ 491.343306] NVRM: immediately upstream of this GPU does not define
  126. [ 491.343306] NVRM: a matching prefetchable memory window.
  127. [ 491.343310] NVRM: This may be due to a known Linux kernel bug. Please
  128. [ 491.343310] NVRM: see the README section on 64-bit BARs for additional
  129. [ 491.343310] NVRM: information.
  130. [ 491.343318] nvidia: probe of 0000:01:00.0 failed with error -1
  131. [ 491.343355] Error: Driver 'nvlink' is already registered, aborting...
  132. [ 491.343637] NVRM: The NVIDIA probe routine failed for 1 device(s).
  133. [ 491.343639] NVRM: None of the NVIDIA graphics adapters were initialized!
  134. [ 491.343641] [drm] Module unloaded
  135. [ 491.343770] NVRM: NVIDIA init module failed!
  136.  
  137. ECHO $PATH OUTPUT
  138. /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/VirtualGL/bin:/usr/local/cuda-7.0/bin
  139.  
  140. CAT /ETC/BUMBLEBEE/BUMBLEBEE.CONF OUTPUT
  141. # Configuration file for Bumblebee. Values should **not** be put between quotes
  142.  
  143. ## Server options. Any change made in this section will need a server restart
  144. # to take effect.
  145. [bumblebeed]
  146. # The secondary Xorg server DISPLAY number
  147. VirtualDisplay=:8
  148. # Should the unused Xorg server be kept running? Set this to true if waiting
  149. # for X to be ready is too long and don't need power management at all.
  150. KeepUnusedXServer=false
  151. # The name of the Bumbleblee server group name (GID name)
  152. ServerGroup=bumblebee
  153. # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
  154. # server exits.
  155. TurnCardOffAtExit=false
  156. # The default behavior of '-f' option on optirun. If set to "true", '-f' will
  157. # be ignored.
  158. NoEcoModeOverride=false
  159. # The Driver used by Bumblebee server. If this value is not set (or empty),
  160. # auto-detection is performed. The available drivers are nvidia and nouveau
  161. # (See also the driver-specific sections below)
  162. Driver=nvidia
  163. # Directory with a dummy config file to pass as a -configdir to secondary X
  164. XorgConfDir=/etc/bumblebee/xorg.conf.d
  165.  
  166. ## Client options. Will take effect on the next optirun executed.
  167. [optirun]
  168. # Acceleration/ rendering bridge, possible values are auto, virtualgl and
  169. # primus.
  170. Bridge=auto
  171. # The method used for VirtualGL to transport frames between X servers.
  172. # Possible values are proxy, jpeg, rgb, xv and yuv.
  173. VGLTransport=proxy
  174. # List of paths which are searched for the primus libGL.so.1 when using
  175. # the primus bridge
  176. PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
  177. # Should the program run under optirun even if Bumblebee server or nvidia card
  178. # is not available?
  179. AllowFallbackToIGC=false
  180.  
  181.  
  182. # Driver-specific settings are grouped under [driver-NAME]. The sections are
  183. # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
  184. # detection resolves to NAME).
  185. # PMMethod: method to use for saving power by disabling the nvidia card, valid
  186. # values are: auto - automatically detect which PM method to use
  187. # bbswitch - new in BB 3, recommended if available
  188. # switcheroo - vga_switcheroo method, use at your own risk
  189. # none - disable PM completely
  190. # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
  191.  
  192. ## Section with nvidia driver specific options, only parsed if Driver=nvidia
  193. [driver-nvidia]
  194. # Module name to load, defaults to Driver if empty or unset
  195. KernelDriver=nvidia
  196. PMMethod=auto
  197. # colon-separated path to the nvidia libraries
  198. LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
  199. # comma-separated path of the directory containing nvidia_drv.so and the
  200. # default Xorg modules path
  201. XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
  202. XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
  203.  
  204. ## Section with nouveau driver specific options, only parsed if Driver=nouveau
  205. [driver-nouveau]
  206. KernelDriver=nouveau
  207. PMMethod=auto
  208. XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
  209.  
  210. CAT /ETC/BUMBLEBEE/XORG.CONF.NVIDIA OUTPUT
  211. Section "ServerLayout"
  212. Identifier "Layout0"
  213. Option "AutoAddDevices" "false"
  214. Option "AutoAddGPU" "false"
  215. EndSection
  216.  
  217. Section "Device"
  218. Identifier "DiscreteNvidia"
  219. Driver "nvidia"
  220. VendorName "NVIDIA Corporation"
  221.  
  222. # If the X server does not automatically detect your VGA device,
  223. # you can manually set it here.
  224. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
  225. # as you see in the commented example.
  226. # This Setting may be needed in some platforms with more than one
  227. # nvidia card, which may confuse the proprietary driver (e.g.,
  228. # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
  229. BusID "PCI:01:00:0"
  230.  
  231. # Setting ProbeAllGpus to false prevents the new proprietary driver
  232. # instance spawned to try to control the integrated graphics card,
  233. # which is already being managed outside bumblebee.
  234. # This option doesn't hurt and it is required on platforms running
  235. # more than one nvidia graphics card with the proprietary driver.
  236. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
  237. # If this option is not set, the new Xorg may blacken the screen and
  238. # render it unusable (unless you have some way to run killall Xorg).
  239. Option "ProbeAllGpus" "false"
  240.  
  241. Option "NoLogo" "true"
  242. Option "UseEDID" "false"
  243. Option "UseDisplayDevice" "none"
  244. EndSection
  245.  
  246. SERVICE BUMBLEBEED RESTART OUTPUT
  247. [ ok ] Restarting bumblebeed: bumblebeed.
  248.  
  249. MODINFO NVIDIA OUTPUT
  250. filename: /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/nvidia.ko
  251. alias: char-major-195-*
  252. version: 346.47
  253. supported: external
  254. license: NVIDIA
  255. alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
  256. alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
  257. alias: pci:v000010DEd*sv*sd*bc03sc02i00*
  258. alias: pci:v000010DEd*sv*sd*bc03sc00i00*
  259. depends: drm,i2c-core
  260. vermagic: 3.18.0-kali3-amd64 SMP mod_unload modversions
  261. parm: NVreg_Mobile:int
  262. parm: NVreg_ResmanDebugLevel:int
  263. parm: NVreg_RmLogonRC:int
  264. parm: NVreg_ModifyDeviceFiles:int
  265. parm: NVreg_DeviceFileUID:int
  266. parm: NVreg_DeviceFileGID:int
  267. parm: NVreg_DeviceFileMode:int
  268. parm: NVreg_RemapLimit:int
  269. parm: NVreg_UpdateMemoryTypes:int
  270. parm: NVreg_InitializeSystemMemoryAllocations:int
  271. parm: NVreg_UsePageAttributeTable:int
  272. parm: NVreg_MapRegistersEarly:int
  273. parm: NVreg_RegisterForACPIEvents:int
  274. parm: NVreg_CheckPCIConfigSpace:int
  275. parm: NVreg_EnablePCIeGen3:int
  276. parm: NVreg_EnableMSI:int
  277. parm: NVreg_MemoryPoolSize:int
  278. parm: NVreg_RegistryDwords:charp
  279. parm: NVreg_RmMsg:charp
  280. parm: NVreg_AssignGpus:charp
  281.  
  282. FIND 2> /DEV/NULL / -NAME NVIDIA*.KO OUTPUT
  283. /var/lib/dkms/nvidia/346.47/3.18.0-kali3-amd64/x86_64/module/nvidia.ko
  284. /var/lib/dkms/nvidia/346.47/3.18.0-kali3-amd64/x86_64/module/nvidia-uvm.ko
  285. /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/nvidia.ko
  286. /lib/modules/3.18.0-kali3-amd64/kernel/drivers/video/nvidia-uvm.ko
  287.  
  288. *****************************************************
  289. OPTIONAL COMMANDS
  290. *****************************************************
  291. GLXINFO | GREP -I "DIRECT RENDERING" OUTPUT
  292. direct rendering: Yes
  293.  
  294. UNAME -R OUTPUT
  295. 3.18.0-kali3-amd64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement