I followed your steps Davide3i but when I run "optirun glxspheres64" I get an error that the GPU cannot be accessed and that I don't have the right driver. Am I missing something?
I followed your steps Davide3i but when I run "optirun glxspheres64" I get an error that the GPU cannot be accessed and that I don't have the right driver. Am I missing something?
The exact errors, for optirun glxspheres64:
[ 294.432628] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 294.432651] [ERROR]Aborting because fallback start is disabled.
for modinfo nvidia:
modinfo: ERROR: Module nvidia not found.
EDIT:
I edited /etc/bumblebee/bumblebee.conf and changed nvidia-current to nvidia and then optirun glxspheres64 worked but modinfo nvidia still gives me an error but iv managed to install cuda, hashcat and pyrit all working fine.
Last edited by MrUnruly; 2015-08-29 at 18:18.
I think that many errors may be caused by different systems' configurations. Still, if CUDA's computation is working, I would not mind to all the "errors" you've encountered.
Hi, if you don't mind please tell me which tutorial you follow? I have quite similar laptop, ASUS with intel 4000 HD and NVidia GeForce GT710M GPU Card. I have never succeeded to get NVidia and optimus running on this dual hybrid cpu card laptop. So I really beg for your kindness
In contrast to all the guides on installing the nVidia driver on Kali Linux, you must not install anything nVidia related before running the official nVidia installer.
Here is how I got the driver working.
1. Make sure your Kali Linux system is up to date:2. Install the kernel headers:apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade3. Download the nVidia driver for your graphics card and save it in a location convenient to you (e.g. your home directory).apt-get install -y linux-headers-$(uname -r)
4. Blacklist the nouveau driver:Enter the following commands in a terminal as root:make sure you have a file called "nvidia-installer-disable-nouveau.conf" inside of [/etc/modprobe.d/]. If it's not there, create it and paste inside...
blacklist nouveau
options nouveau modeset=05. If you face the login screen after reboot, do not log in but change to a terminal with ALT+F1.sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
update-grub
update-initramfs
reboot
6. Log in to the terminal as root.
7. Kill GDM:8. Remove all nVidia related stuff:service gdm3 stop9. Navigate to the directory you downloaded the nVidia driver to.apt-get purge nvidia-*
10. Make sure the driver installer (*.run) is executable:11. Start the nVidia driver installer and follow the instructions on the screen. Let it configure your X server.chmod +x NVidia...run
12. Reboot again. You should now be fine
Hope that helps. At least that's how I got my system working. The nvidia-kernel-dkms package from the Kali repository, unfortunately, does not support my graphics card (GeForce 8400 GS) any more so I had to install the official nVidia driver (340.93) instead.
Last edited by [email protected]; 2015-09-11 at 12:22.
No matter what I do, I can't get this to work. Tried all sorts of guides.
Hi
which GUID should i follow now
for my MSI gp60
Since Kali 2.0 everything you need is in the repo:
1. Edit your sources:
Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:Code:leafpad /etc/apt/sources.list
Code:# Regular repositories deb http://http.kali.org/kali sana main non-free contrib deb http://security.kali.org/kali-security sana/updates main contrib non-free # Source repositories deb-src http://http.kali.org/kali sana main non-free contrib deb-src http://security.kali.org/kali-security sana/updates main contrib non-free2. Blacklist the nouveau driver:Code:apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
make sure you have a file called "nvidia-installer-disable-nouveau.conf" inside of /etc/modprobe.d/. If it's not there, create it and paste inside...
Enter the following commands in a terminal as root:Code:blacklist nouveau options nouveau modeset=0
rebootCode:sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub update-grub update-initramfs -u
3. Install linux headers for your kernel:
4. Install dependencies we will need later. The first two are for CUDA and the others are for pyrit:Code:apt-get install linux-headers-$(uname -r)
5. Install bumblebee, primus (this will install the Nvidia driver too):Code:apt-get install freeglut3-dev libxmu-dev libpcap-dev libssl-dev
6. Install Cuda, OpenCl:Code:apt-get install bumblebee-nvidia primus
7. Proceed to post #2 of this Guide to install cudaHashcat and Pyrit (just remember to apt-get remove them first)Code:apt-get install nvidia-cuda-toolkit nvidia-opencl-icd
I installed all the drivers as said in the instructions (by noobiesmall), and I can run "optirun --no-failsafe glxspheres64" without any errors. My problem is, that when I run "lspci | egrep "VGA|3D"", then for VGA compatible controller, it says Intel ... Graphics Controller (NVIDIA is only there as 3D controller). Also if I run "modinfo nvidia", it says module nvidia not found. At glxinfo it says OpenGL vendor string: Intel Open Source Technology Center. It looks like it tries to use intel instead of nvidia. How can I force it to use NVidia? Or did I install the driver wrong? (I tried a LOT of tutorials, but this is the farthest I could get)
If I run "optirun glxinfo" it correctly returns the NVidia driver version:
My PCI address is 1:00.0Code:root@AndrewLaptop:~# optirun glxinfo | grep -i nvidia OpenGL vendor string: NVIDIA Corporation OpenGL core profile version string: 4.4.0 NVIDIA 352.21 OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler OpenGL version string: 4.5.0 NVIDIA 352.21 OpenGL shading language version string: 4.50 NVIDIA
And I think it is correct in the xorg.conf.nvidia:Code:root@AndrewLaptop:~# lspci | egrep "VGA|3D" 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev ff)
What does your "nvidia-smi" and "cudaHashcat64.bin -b" say?Code:Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:01:00:0" # If the X server does not automatically detect your VGA device, # you can manually set it here. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data # as you see in the commented example. # This Setting may be needed in some platforms with more than one # nvidia card, which may confuse the proprietary driver (e.g., # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04. # BusID "PCI:01:00:0" # Setting ProbeAllGpus to false prevents the new proprietary driver # instance spawned to try to control the integrated graphics card, # which is already being managed outside bumblebee. # This option doesn't hurt and it is required on platforms running # more than one nvidia graphics card with the proprietary driver. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT). # If this option is not set, the new Xorg may blacken the screen and # render it unusable (unless you have some way to run killall Xorg). Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" EndSection
Last edited by geiszla; 2015-09-26 at 08:29. Reason: additional questions
modinfo nvidia-current
optirun nvidia-smiCode:filename: /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko alias: char-major-195-* version: 352.21 supported: external license: NVIDIA alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00* alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: drm vermagic: 4.0.0-kali1-amd64 SMP mod_unload modversions parm: NVreg_Mobile:int parm: NVreg_ResmanDebugLevel:int parm: NVreg_RmLogonRC:int parm: NVreg_ModifyDeviceFiles:int parm: NVreg_DeviceFileUID:int parm: NVreg_DeviceFileGID:int parm: NVreg_DeviceFileMode:int parm: NVreg_UpdateMemoryTypes:int parm: NVreg_InitializeSystemMemoryAllocations:int parm: NVreg_UsePageAttributeTable:int parm: NVreg_MapRegistersEarly:int parm: NVreg_RegisterForACPIEvents:int parm: NVreg_CheckPCIConfigSpace:int parm: NVreg_EnablePCIeGen3:int parm: NVreg_EnableMSI:int parm: NVreg_MemoryPoolSize:int parm: NVreg_RegistryDwords:charp parm: NVreg_RmMsg:charp parm: NVreg_AssignGpus:charp
I don't have cudaHashcat installed ...Code:Sat Sep 26 13:38:26 2015 +------------------------------------------------------+ | NVIDIA-SMI 352.21 Driver Version: 352.21 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 765M Off | 0000:01:00.0 N/A | N/A | | N/A 38C P0 N/A / N/A | 13MiB / 2047MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+
optirun pyrit list_cores
Code:Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ The following cores seem available... #1: 'CUDA-Device #1 'GeForce GTX 765M'' #2: 'CPU-Core (SSE2/AES)' #3: 'CPU-Core (SSE2/AES)' #4: 'CPU-Core (SSE2/AES)' #5: 'CPU-Core (SSE2/AES)' #6: 'CPU-Core (SSE2/AES)' #7: 'CPU-Core (SSE2/AES)' #8: 'CPU-Core (SSE2/AES)'
Last edited by noobiesmall; 2015-09-26 at 10:41.
Ok, thanks, now cudaHashcat works. Pyrit doesn't want to recognize my NVidia card, but hashcat is enough for me for now.
1. remove existing instalation first!
2. Move to your home directory (I'm installing it there) and then check out the pyrit trunkCode:apt-get remove pyrit
3. Build and install pyritCode:cd ~ svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
4. Add CUDA supportCode:cd pyrit_svn/pyrit/ python setup.py build python setup.py install
5. Test pyritCode:cd ../cpyrit_cuda/ python setup.py build python setup.py install
Code:optirun pyrit list_cores optirun pyrit benchmark
Hi, i am following this guide of @staticn0de.
i've passed install bumblebee, primus,...
First, when i install Nvidia driver, the Driver's installtion say that it found an older nvidia version , and suddenly terminate. ( i did not install nvidia before that).
I try some command:
Code:optirun glxspheres64 Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce GT 720M/PCIe/SSE2 80.783860 frames/sec - 78.128333 Mpixels/sec 83.099757 frames/sec - 80.368102 Mpixels/secCode:modinfo nvidia_current filename: /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko alias: char-major-195-* version: 352.21 supported: external license: NVIDIA alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00* alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: drm vermagic: 4.0.0-kali1-amd64 SMP mod_unload modversionsThen, i install Cuda. At the end, the log show: Driver = not selected. When i try step23:Code:lspci | grep -i nvidia 04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev ff)
I am using Kali 2.0 Sana ( kernel 4.0.0 amd64) , gcc version = 4.9.2, GPU GT 720M (optimus)Code:optirun ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 35 -> CUDA driver version is insufficient for CUDA runtime version Result = FAIL
==> Driver version: 352.21
Cuda v7.5 (64bit) ==> version: 352.39 ???
Please help me to resolve this problem
Hi, i'm stuck on step 14.
After reboot the system it show me white screen and a message, it says "Oh no! Something has gone wrong. a problem has occurred and the system can't recover. Please log out and try again".
I'm trying to install Nvidia v352.50 (i also installed virtalgl 4.2.1, latest version available)
I also tried every tutorial on the web but nothing worked. On every guide i get the same problem, white screen.
I gotta a gt 755m, and trying to install drivers on Kali Sana 2.0.
another strange things is that when i run "modprobe -r nouveau" it say me an error, "MMIO write of 0x00000002 FAULT at...", but if i run again "modprobe -r nouveau" it won't be shown again.
You appear to have a similar issue as me, except I did not follow the OPTIMUS guide.
https://forums.kali.org/showthread.p...ursor-of-Death
I now know my Laptop is OPTIMUS enabled, so I will give this guide a try.
After several months of trying, updating from Kali 1.xxx to 2.0 along the way, I finally got it to work on a HP Pavilion
The point I always got stuck at was running optirun, which gave me errors ranging from GPU not found up to bumblebeed not running...
If like me you went through several scenario's maybe the following can help you:
First of all, if you have a clean install of Kali 2.0 the instructions in post 308 work. It is just the leftovers of previous attempts and some peculiar settings that might block you.
My tips:
1) before running the guide from post 308 purge anything nvidia related: apt-get remove --purge *nvidia*
Then proceed as mentioned in post 308
2) Do not install any nvidia driver on top. Installing bumblebee-nvidia does that for you. Somewhere in the installation you will get an ASCII menu for Xorg, just press OK or apt will keep on complaining that the install is not completed
3) Make sure that line 22 of /etc/bumblebee/bumblebee.conf reads Driver=nvidia, but that line 55 (?) in the [driver-nvidia] section reads KernelDriver=nvidia-current. It looks like a clean install actually does that correctly.
4) And then the real clincher: to get the card ID right in /etc/bumblebee/xorg.conf.nvidia I did the lspci | egrep 'VGA|3D' and got id PCI:0a:00.0 as a result. So I filled in BusID "PCI:0a:00:0"... And that is wrong: the xorg file doesn't work in hexadecimal, but in decimal. There is a dent in my desk where I banged my head after learning of that piece of information...
So after setting it as BusID "PCI:10:00:0" I finally got optirun to work.
Next up, installing cudaHascat and Pyrit...someday
Hey guys,
If anyone is still having issues, I just re-wrote the first post.
If you follow it, you will have NVIDIA Driver 352.21 (from the repo) and CUDA 7.5.18 (from the CUDA site) after 22 easy steps.
chown -R us ./base
Just registered to say Thank You! Was stuck with this since last 3 months. Thanks to "noobiesmall" for his modified guide. Thanks to duiker.ts for his checks. And finally to staticn0de, I was just gonna post that it was not working and I was making the outputs as required by staticn0de where I caught the error myself! Thanks a lot, my cudaHashcat is finally working properly.
Much appreciated static!
ocl/cuda/hashcat is at version 2.0.1 now http://hashcat.net/oclhashcat/
http://hashcat.net/forum/thread-4882.htmlFull changelog v1.37 -> v2.00
...
Made the project Open-Source
...
Kali Linux USB Installation using LinuxLive USB Creator
Howto Install HDD Kali on a USB Key
Clean your laptop fan | basic knowledge
Hey Quest, It's been a long time.
I made a custom deb for kali (cudahashcat-2.01) and updated second post. I'm not sure if anyone actually uses them that's why I stopped making them.
https://forums.kali.org/showthread.p...ll=1#post35240
chown -R us ./base
Thank you kindly sir for that deb! DLing now... Yes it's been a while. Good to see you around!! *might be heading your way if I find a project in Oz*
I do not know how many use it. I do know that oclhashcat is a different animal that must be handled with care. I had a very close call. It almost killed my lappy once. After a catastrophic shutdown due to overheat, it took 10mins to be able to re-start my comp. That was ugly and scary.
Cheers!!
Last edited by Quest; 2015-12-13 at 22:50.
Kali Linux USB Installation using LinuxLive USB Creator
Howto Install HDD Kali on a USB Key
Clean your laptop fan | basic knowledge
Hey,
ive some problems can you help me pls iam new on Kali and tried this tutorial but it doesnt load the bumblebee daemon.
here are the outputs:
1: lspci | egrep 'VGA|3D'
2: modprobe nvidiaCode:01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 420M] (rev a1)
3: modprobe nvidia-uvmCode:No Output :/
4ptirun glxspheres64Code:No Output :/
5: dmesg | tail -n 100Code:[ 748.065193] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect. [ 748.065249] [ERROR]Could not connect to bumblebee daemon - is it running?
6: echo $PATHCode:[ 21.232850] sound hdaudioC0D0: autoconfig for ALC272X: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 21.232855] sound hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 21.232856] sound hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 21.232858] sound hdaudioC0D0: mono: mono_out=0x0 [ 21.232859] sound hdaudioC0D0: inputs: [ 21.232861] sound hdaudioC0D0: Internal Mic=0x19 [ 21.232863] sound hdaudioC0D0: Mic=0x18 [ 21.239431] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input12 [ 21.239547] input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13 [ 21.239574] input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14 [ 21.259659] input: PC Speaker as /devices/platform/pcspkr/input/input15 [ 21.740485] acer_wmi: Acer Laptop ACPI-WMI Extras [ 21.740501] acer_wmi: Function bitmap for Communication Button: 0x1 [ 21.740504] acer_wmi: Brightness must be controlled by acpi video driver [ 21.741046] input: Acer WMI hotkeys as /devices/virtual/input/input17 [ 21.741298] input: Acer BMA150 accelerometer as /devices/virtual/input/input18 [ 21.816795] iTCO_vendor_support: vendor-support=0 [ 21.851780] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11 [ 21.851820] iTCO_wdt: Found a HM55 TCO device (Version=2, TCOBASE=0x0460) [ 21.851927] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 21.973041] cfg80211: Calling CRDA to update world regulatory domain [ 22.382514] psmouse serio1: synaptics: queried max coordinates: x [..5772], y [..5086] [ 22.425870] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19 [ 22.425940] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20 [ 22.425999] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21 [ 22.426054] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22 [ 22.498870] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 0, fw id: 570026 [ 22.573330] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input16 [ 22.669328] ACPI: Battery Slot [BAT0] (battery present) [ 22.734189] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround [ 22.921024] media: Linux media interface: v0.10 [ 23.040435] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro [ 23.131632] Linux video capture interface: v2.00 [ 23.518833] ath: phy0: ASPM enabled: 0x43 [ 23.518838] ath: EEPROM regdomain: 0x65 [ 23.518839] ath: EEPROM indicates we should expect a direct regpair map [ 23.518841] ath: Country alpha2 being used: 00 [ 23.518842] ath: Regpair used: 0x65 [ 23.561659] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 23.561920] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffc90010860000, irq=17 [ 23.676708] ACPI: AC Adapter [AC] (on-line) [ 23.753970] uvcvideo: Found UVC 1.00 device 1.3M WebCam (064e:a219) [ 23.763763] input: 1.3M WebCam as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input23 [ 23.763856] usbcore: registered new interface driver uvcvideo [ 23.763859] USB Video Class driver (1.1.1) [ 23.948302] Adding 8110076k swap on /dev/mapper/Unknown--vg-swap_1. Priority:-1 extents:1 across:8110076k FS [ 24.575674] cfg80211: World regulatory domain updated: [ 24.575679] cfg80211: DFS Master region: unset [ 24.575680] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 24.575682] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 24.575683] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 24.575685] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 24.575687] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 24.575689] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 24.575690] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 24.575691] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 24.575693] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 26.401686] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem [ 26.404192] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null) [ 27.220178] systemd-journald[262]: Received request to flush runtime journal from PID 1 [ 32.587342] Bluetooth: Core ver 2.20 [ 32.587360] NET: Registered protocol family 31 [ 32.587361] Bluetooth: HCI device and connection manager initialized [ 32.587366] Bluetooth: HCI socket layer initialized [ 32.587368] Bluetooth: L2CAP socket layer initialized [ 32.587376] Bluetooth: SCO socket layer initialized [ 32.986493] Netfilter messages via NETLINK v0.30. [ 38.829311] tg3 0000:02:00.0 eth0: Link is down [ 64.092415] wlan0: authenticate with a6:81:c4:bb:57:5a [ 64.108775] wlan0: direct probe to a6:81:c4:bb:57:5a (try 1/3) [ 64.310138] wlan0: send auth to a6:81:c4:bb:57:5a (try 2/3) [ 64.334631] wlan0: authenticated [ 64.338207] wlan0: associate with a6:81:c4:bb:57:5a (try 1/3) [ 64.344617] wlan0: RX AssocResp from a6:81:c4:bb:57:5a (capab=0x421 status=0 aid=1) [ 64.344745] wlan0: associated [ 64.344809] cfg80211: Calling CRDA for country: DE [ 64.347533] ath: EEPROM regdomain: 0x8114 [ 64.347537] ath: EEPROM indicates we should expect a country code [ 64.347538] ath: doing EEPROM country->regdmn map search [ 64.347539] ath: country maps to regdmn code: 0x37 [ 64.347540] ath: Country alpha2 being used: DE [ 64.347541] ath: Regpair used: 0x37 [ 64.347542] ath: regdomain 0x8114 dynamically updated by country IE [ 64.347583] cfg80211: Regulatory domain changed to country: DE [ 64.347584] cfg80211: DFS Master region: ETSI [ 64.347585] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 64.347587] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 64.347589] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 64.347591] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 64.347592] cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s) [ 64.347593] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 364.967021] wlan0: AP a6:81:c4:bb:57:5a changed bandwidth, new config is 2412 MHz, width 1 (2412/0 MHz) [ 701.849901] perf interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 [ 740.822204] [drm] Initialized drm 1.1.0 20060810 [ 740.997184] nvidia: module license 'NVIDIA' taints kernel. [ 740.997191] Disabling lock debugging due to kernel taint [ 741.007453] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem [ 741.007938] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0 [ 741.007944] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.21 Tue Jun 9 21:53:31 PDT 2015 [ 741.030624] nvidia_uvm: Loaded the UVM driver, major device number 246
Code:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
7: cat /etc/bumblebee/bumblebee.conf
8: cat /etc/bumblebee/xorg.conf.nvidiaCode:# Configuration file for Bumblebee. Values should **not** be put between quotes ## Server options. Any change made in this section will need a server restart # to take effect. [bumblebeed] # The secondary Xorg server DISPLAY number VirtualDisplay=:8 # Should the unused Xorg server be kept running? Set this to true if waiting # for X to be ready is too long and don't need power management at all. KeepUnusedXServer=false # The name of the Bumbleblee server group name (GID name) ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. TurnCardOffAtExit=false # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false # The Driver used by Bumblebee server. If this value is not set (or empty), # auto-detection is performed. The available drivers are nvidia and nouveau # (See also the driver-specific sections below) Driver=nvidia # Directory with a dummy config file to pass as a -configdir to secondary X XorgConfDir=/etc/bumblebee/xorg.conf.d ## Client options. Will take effect on the next optirun executed. [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. Bridge=auto # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy # List of paths which are searched for the primus libGL.so.1 when using # the primus bridge PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus # Should the program run under optirun even if Bumblebee server or nvidia card # is not available? AllowFallbackToIGC=false # Driver-specific settings are grouped under [driver-NAME]. The sections are # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto- # detection resolves to NAME). # PMMethod: method to use for saving power by disabling the nvidia card, valid # values are: auto - automatically detect which PM method to use # bbswitch - new in BB 3, recommended if available # switcheroo - vga_switcheroo method, use at your own risk # none - disable PM completely # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods ## Section with nvidia driver specific options, only parsed if Driver=nvidia [driver-nvidia] # Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-current PMMethod=auto # colon-separated path to the nvidia libraries LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia # comma-separated path of the directory containing nvidia_drv.so and the # default Xorg modules path XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ## Section with nouveau driver specific options, only parsed if Driver=nouveau [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
9:service bumblebeed restartCode:Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:01:00:0" # If the X server does not automatically detect your VGA device, # you can manually set it here. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data # as you see in the commented example. # This Setting may be needed in some platforms with more than one # nvidia card, which may confuse the proprietary driver (e.g., # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04. # BusID "PCI:01:00:0" # Setting ProbeAllGpus to false prevents the new proprietary driver # instance spawned to try to control the integrated graphics card, # which is already being managed outside bumblebee. # This option doesn't hurt and it is required on platforms running # more than one nvidia graphics card with the proprietary driver. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT). # If this option is not set, the new Xorg may blacken the screen and # render it unusable (unless you have some way to run killall Xorg). Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" EndSection
10: modinfo nvidiaCode:No Output :/
11: find 2> /dev/null / -name nvidia*.koCode:modinfo: ERROR: Module nvidia not found.
Code:/var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-current.ko /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-uvm.ko /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko
Hi sl1k3rx,
Welcome to the forum.
Are you sure you have an optimus laptop? I can't see your intel card in dmesg or lspci.
For example, mine shows:
What is the full output of lspci? (no parameters)Code:root@kali:~# lspci | egrep 'VGA|3D' 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) 03:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)
chown -R us ./base
1.
2.Code:lspci | egrep 'VGA|3D' 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) 04:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev ff)
3.Code:modprobe nvidia --> NO ouput in terminal
4.Code:modprobe nvidia-uvm --> NO ouput in terminal
5.Code:modinfo nvidia modinfo: ERROR: Module nvidia not found $ modinfo nvidia-uvm filename: /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko supported: external license: MIT depends: nvidia vermagic: 4.0.0-kali1-amd64 SMP mod_unload modversions parm: NVuvm_prefetch_stats:int parm: NVuvm_prefetch_threshold:int parm: NVuvm_prefetch_adaptive:int parm: NVuvm_prefetch_epoch:int parm: NVuvm_prefetch_sparsity_inc:int parm: NVuvm_prefetch_sparsity_dec:int parm: NVuvm_prefetch:int
6.Code:echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
7.Code:dmesg | tail -n 100 [ 27.169640] systemd-journald[271]: Received request to flush runtime journal from PID 1 [ 33.199522] bbswitch: version 0.8 [ 33.199530] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 33.199539] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP [ 501.380850] nvidia: module license 'NVIDIA' taints kernel. [ 501.380856] Disabling lock debugging due to kernel taint [ 501.839747] nvidia 0000:04:00.0: enabling device (0000 -> 0003) [ 501.840241] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1 [ 501.840246] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.21 Tue Jun 9 21:53:31 PDT 2015 [ 501.869241] nvidia_uvm: Loaded the UVM driver, major device number 248 [ 519.056665] vgaarb: this pci device is not a vga device [ 519.074805] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.074864] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.074896] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.074925] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.074953] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.074981] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.075026] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.075055] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.092205] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95) [ 519.296065] vgaarb: this pci device is not a vga device [ 526.205863] ACPI Warning: \_SB_.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150204/nsarguments-95)
11.Code:cat /etc/bumblebee/bumblebee.conf [bumblebeed] # The secondary Xorg server DISPLAY number VirtualDisplay=:8 # Should the unused Xorg server be kept running? Set this to true if waiting # for X to be ready is too long and don't need power management at all. KeepUnusedXServer=false # The name of the Bumbleblee server group name (GID name) ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. TurnCardOffAtExit=false # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false # The Driver used by Bumblebee server. If this value is not set (or empty), # auto-detection is performed. The available drivers are nvidia and nouveau # (See also the driver-specific sections below) Driver=nvidia # Directory with a dummy config file to pass as a -configdir to secondary X XorgConfDir=/etc/bumblebee/xorg.conf.d ## Client options. Will take effect on the next optirun executed. [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. Bridge=auto # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy # List of paths which are searched for the primus libGL.so.1 when using # the primus bridge PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus # Should the program run under optirun even if Bumblebee server or nvidia card # is not available? AllowFallbackToIGC=false # Driver-specific settings are grouped under [driver-NAME]. The sections are # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto- # detection resolves to NAME). # PMMethod: method to use for saving power by disabling the nvidia card, valid # values are: auto - automatically detect which PM method to use # bbswitch - new in BB 3, recommended if available # switcheroo - vga_switcheroo method, use at your own risk # none - disable PM completely # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods ## Section with nvidia driver specific options, only parsed if Driver=nvidia [driver-nvidia] # Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-current PMMethod=auto # colon-separated path to the nvidia libraries LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia # comma-separated path of the directory containing nvidia_drv.so and the # default Xorg modules path XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ## Section with nouveau driver specific options, only parsed if Driver=nouveau [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau 8.9.Code:cat /etc/bumblebee/xorg.conf.nvidia Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:04:00:0" # If the X server does not automatically detect your VGA device, # you can manually set it here. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data # as you see in the commented example. # This Setting may be needed in some platforms with more than one # nvidia card, which may confuse the proprietary driver (e.g., # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04. # BusID "PCI:01:00:0" # Setting ProbeAllGpus to false prevents the new proprietary driver # instance spawned to try to control the integrated graphics card, # which is already being managed outside bumblebee. # This option doesn't hurt and it is required on platforms running # more than one nvidia graphics card with the proprietary driver. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT). # If this option is not set, the new Xorg may blacken the screen and # render it unusable (unless you have some way to run killall Xorg). Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" EndSection10. cat /etc/modprobe.d/nvidia.conf alias nvidia nvidia-current remove nvidia-current rmmod nvidia nvidia-uvmCode:find 2> /dev/null / -name nvidia*.ko /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-current.ko /var/lib/dkms/nvidia-current/352.21/4.0.0-kali1-amd64/x86_64/module/nvidia-uvm.ko /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-current.ko /lib/modules/4.0.0-kali1-amd64/updates/dkms/nvidia-uvm.ko
12.Code:ls /lib/modules/3.14-kali1-amd64/updates/dkms ls: cannot access /lib/modules/3.14-kali1-amd64/updates/dkms: No such file or directory
13.Code:cat /lib/modules/3.14-kali1-amd64/modules.dep | grep -i nvidia cat: /lib/modules/3.14-kali1-amd64/modules.dep: No such file or directory
14.Code:dmesg [ 501.380850] nvidia: module license 'NVIDIA' taints kernel. [ 501.380856] Disabling lock debugging due to kernel taint [ 501.839747] nvidia 0000:04:00.0: enabling device (0000 -> 0003) [ 501.840241] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1 [ 501.840246] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.21 Tue Jun 9 21:53:31 PDT 2015 [ 501.869241] nvidia_uvm: Loaded the UVM driver, major device number 248 [ 519.056665] vgaarb: this pci device is not a vga device
Code:lsmod Module Size Used by nvidia_uvm 73728 0 nvidia 8519680 1 nvidia_uvm nfnetlink_queue 24576 0 nfnetlink_log 20480 0 nfnetlink 16384 2 nfnetlink_log,nfnetlink_queue bluetooth 425984 0 bbswitch 16384 0 binfmt_misc 20480 1
Hi Rat,
Welcome to the forum. What is the error message you are receiving? What is not working? Can you use optirun glxspheres64?
Does CUDA work?
Also, modinfo nvidia-current should work
chown -R us ./base
how to install graphic driver on kali linux please help me :
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
xD
Best to you for 2016 static!
Kali Linux USB Installation using LinuxLive USB Creator
Howto Install HDD Kali on a USB Key
Clean your laptop fan | basic knowledge
Hello everyone, I beg your help. I trying to solve this problem is not the first day...
Laptop Dexp H168: both Intel and Nvidia cards (Optimus?).
When I was buying a laptop on it was installed Windows 8. So, i deleted it. The next step was installing Kali 2.0 Sana.
I made '.iso' on USB via Win32DiskImager (to my luck it works fine).
Firstly i made: "EPS" (250M bootable), "/" (100G), "swap" (2xRAM), "opt" (50G logical), "home" (650G logical).
Kali was installed and worked correctly (how i think). In "lspci | egrep 'VGA|3D'" were:
When i tried to install Nvidia drivers via:Code:00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: NVIDIA Corporation GK108M [GeForce GT 940M] (rev 02)
I had a white screen with "Oh, No! Something....blablabla". And Kali wasn't loaded. I decided to reinstall Kali...Code:apt-get install nvidia-kernel-$(uname -r) aptitude install nvidia-kernel-dkms aptitude install nvidia-xconfig
When i done this (yes, i'm done this) Kali worked correctly, but in "lspci | egrep 'VGA|3D'" now:
I decided that the problem is improper installation of the drivers and decided to install Nvidia again, as it is written in the first post of this thread.Code:00:02:0 VGA compatible controller: Intel Corporation Device 191b (rev 06) 01:00:0 3D controller: NVIDIA Corporation Device 1347 (rev a2)
Before the number '9' everything goes perfectly, but then ... When i tried to 'apt-get install bumblebee-nvidia primus' the videocard's fan started to make much noise. And when this commands was executed the laptop was himself halted. When i tried to start OS i had black terminal screen:
but it was frozen and didn't react. After some time (3-5 minutes) switches itself off again. So the circle.Code:Kali GNU/Linux 2.0 Kali tty1 Kali login: __
I tried to reinstall Kali and Nvidia another 2 times, but the same.
What i should do? Variants such as "Throw your computer" will not be accepted
Last edited by Edelweiss; 2016-01-14 at 21:20.
Tried to install Nvidia drivers from post #305 of this thread:
After i complete:
Videocard's fan started to rotate much, but i had managed do reboot. When i try load Kali i have the same message:Code:apt-get install bumblebee-nvidia primus
So, i entered in 'Rescue mode' and did '10' and '12' items of this.Code:Kali GNU/Linux 2.0 Kali tty1 Kali login: __
After reboot i had the next message:
and shutdown after 3-5 minutes again...Code:Kali GNU/Linux 2.0 Kali tty1 Kali login: [ 40.122326] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 0, t=5253 jiffies, g=1442, c=1441m q=836)
Would you please show me where to go? Thanks
Last edited by Edelweiss; 2016-01-13 at 23:33.
Hi all & stanicn0de
I follow your totur on first page
stuck at step 15
Code:root@kali:~# optirun glxspheres64 [ 267.653858] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [ 267.653947] [ERROR]Aborting because fallback start is disabled.-----------------------------------------Code:root@kali:~# modinfo nvidia modinfo: ERROR: Module nvidia not found.
lspci | egrep 'VGA|3D'
modprobe nvidiaCode:root@kali:~# lspci | egrep -i 'vga|3d' 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
modprobe nvidia-uvmCode:No Output
optirun glxspheres64Code:No Output
dmesg | tail -n 50Code:[ 1166.593615] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [ 1166.593703] [ERROR]Aborting because fallback start is disabled.
echo $PATHCode:[ 24.124210] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 24.124218] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEGR.GFX0 [ 24.124235] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95) [ 24.124397] bbswitch: detected an Optimus _DSM function [ 24.124413] pci 0000:01:00.0: enabling device (0000 -> 0003) [ 24.124421] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on [ 24.127783] bbswitch: disabling discrete graphics [ 24.127799] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95) [ 24.324051] wlan0: authenticate with 02:1f:d4:04:19:b9 [ 24.338573] wlan0: send auth to 02:1f:d4:04:19:b9 (try 1/3) [ 24.342232] wlan0: authenticated [ 24.346262] wlan0: associate with 02:1f:d4:04:19:b9 (try 1/3) [ 24.357030] wlan0: RX AssocResp from 02:1f:d4:04:19:b9 (capab=0x431 status=0 aid=5) [ 24.357131] wlan0: associated [ 24.357154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 24.359861] ath: EEPROM regdomain: 0x8348 [ 24.359865] ath: EEPROM indicates we should expect a country code [ 24.359866] ath: doing EEPROM country->regdmn map search [ 24.359868] ath: country maps to regdmn code: 0x3a [ 24.359869] ath: Country alpha2 being used: US [ 24.359870] ath: Regpair used: 0x3a [ 24.359872] ath: regdomain 0x8348 dynamically updated by country IE [ 24.359896] cfg80211: Regulatory domain changed to country: US [ 24.359897] cfg80211: DFS Master region: FCC [ 24.359898] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 24.359901] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) [ 24.359903] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A) [ 24.359905] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s) [ 24.359907] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s) [ 24.359909] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 24.359910] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 34.433831] fuse init (API version 7.23) [ 36.010157] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 36.010167] Bluetooth: BNEP filters: protocol multicast [ 36.010186] Bluetooth: BNEP socket layer initialized [ 36.211345] Bluetooth: RFCOMM TTY layer initialized [ 36.211374] Bluetooth: RFCOMM socket layer initialized [ 36.211398] Bluetooth: RFCOMM ver 1.11 [ 266.589460] bbswitch: enabling discrete graphics [ 267.442938] nvidia: module license 'NVIDIA' taints kernel. [ 267.442948] Disabling lock debugging due to kernel taint [ 267.461294] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none [ 267.462114] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1 [ 267.462128] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.55 Thu Oct 8 15:18:00 PDT 2015 [ 1156.534343] nvidia_uvm: Loaded the UVM driver, major device number 246 [ 1239.776637] nvidia_uvm: Unregistered the UVM driver [ 1239.799211] [drm] Module unloaded [ 1239.825001] bbswitch: disabling discrete graphics [ 1239.825018] ACPI Warning: \_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95) [ 1239.838811] pci 0000:01:00.0: Refused to change power state, currently in D0
cat /etc/bumblebee/bumblebee.confCode:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
cat /etc/bumblebee/xorg.conf.nvidia
service bumblebeed restartCode:# Configuration file for Bumblebee. Values should **not** be put between quotes ## Server options. Any change made in this section will need a server restart # to take effect. [bumblebeed] # The secondary Xorg server DISPLAY number VirtualDisplay=:8 # Should the unused Xorg server be kept running? Set this to true if waiting # for X to be ready is too long and don't need power management at all. KeepUnusedXServer=false # The name of the Bumbleblee server group name (GID name) ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. TurnCardOffAtExit=false # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false # The Driver used by Bumblebee server. If this value is not set (or empty), # auto-detection is performed. The available drivers are nvidia and nouveau # (See also the driver-specific sections below) Driver=nvidia # Directory with a dummy config file to pass as a -configdir to secondary X XorgConfDir=/etc/bumblebee/xorg.conf.d ## Client options. Will take effect on the next optirun executed. [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. Bridge=auto # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy # List of paths which are searched for the primus libGL.so.1 when using # the primus bridge PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus # Should the program run under optirun even if Bumblebee server or nvidia card # is not available? AllowFallbackToIGC=false # Driver-specific settings are grouped under [driver-NAME]. The sections are # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto- # detection resolves to NAME). # PMMethod: method to use for saving power by disabling the nvidia card, valid # values are: auto - automatically detect which PM method to use # bbswitch - new in BB 3, recommended if available # switcheroo - vga_switcheroo method, use at your own risk # none - disable PM completely # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods ## Section with nvidia driver specific options, only parsed if Driver=nvidia [driver-nvidia] # Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-current PMMethod=auto # colon-separated path to the nvidia libraries LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia # comma-separated path of the directory containing nvidia_drv.so and the # default Xorg modules path XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ## Section with nouveau driver specific options, only parsed if Driver=nouveau [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
modinfo nvidia
find 2> /dev/null / -name nvidia*.koCode:modinfo: ERROR: Module nvidia not found.
Code:/var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current.ko /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
Suggestion or just a little help i'll appreciate it
THANKS.Code:root@0b51d14n:~/NVIDIA_CUDA-7.5_Samples/1_Utilities/deviceQuery# optirun ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce 920M" CUDA Driver Version / Runtime Version 7.5 / 7.5 CUDA Capability Major/Minor version number: 3.5 Total amount of global memory: 1024 MBytes (1073610752 bytes) ( 2) Multiprocessors, (192) CUDA Cores/MP: 384 CUDA Cores GPU Max Clock rate: 954 MHz (0.95 GHz) Memory Clock rate: 900 Mhz Memory Bus Width: 64-bit L2 Cache Size: 524288 bytes Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096) Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 2048 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 1 copy engine(s) Run time limit on kernels: Yes Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled Device supports Unified Addressing (UVA): Yes Device PCI Domain ID / Bus ID / location ID: 0 / 4 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 7.5, CUDA Runtime Version = 7.5, NumDevs = 1, Device0 = GeForce 920M Result = PASS
Hi all, unfortunately I have the same issue like reintakura:
lspci | egrep 'VGA|3D'
modprobe nvidia, modprobe nvidia-uvmCode:00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 425M] (rev a1)
optirun glxspheres64Code:No Output
dmesg | tail -n 50Code:[ 3464.033594] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) [ 3464.033700] [ERROR]Aborting because fallback start is disabled.
Code:[ 11.678275] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 12.324145] Adding 7971836k swap on /dev/sda5. Priority:-1 extents:1 across:7971836k FS [ 14.535880] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo [ 18.918289] Bluetooth: Core ver 2.20 [ 18.918308] NET: Registered protocol family 31 [Bluetooth] [ 18.969846] Netfilter messages via NETLINK v0.30. [IPv6] [wlan0] [ 23.267068] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 23.270952] cfg80211: Regulatory domain changed to country: DE [ 23.270956] cfg80211: DFS Master region: ETSI [ 23.270958] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 23.270960] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 23.270963] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 23.270965] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 23.270966] cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s) [ 23.270968] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 23.872947] sha256_ssse3: Using SSSE3 optimized SHA-256 implementation [ 24.118613] bbswitch: version 0.8 [ 24.118621] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 24.118629] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.P0P1.PEGP [ 24.118647] ACPI Warning: \_SB_.PCI0.P0P1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95) [ 24.118836] bbswitch: detected an Optimus _DSM function [ 24.118852] pci 0000:01:00.0: enabling device (0006 -> 0007) [ 24.118859] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on [ 24.120831] bbswitch: disabling discrete graphics [ 24.120845] ACPI Warning: \_SB_.PCI0.P0P1.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-95) [ 31.993462] fuse init (API version 7.23) [Bluetooth] [ 94.050737] bbswitch: enabling discrete graphics [ 94.383372] nvidia: module license 'NVIDIA' taints kernel. [ 94.383381] Disabling lock debugging due to kernel taint [ 94.395197] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none [ 94.396188] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1 [ 94.396194] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.55 Thu Oct 8 15:18:00 PDT 2015
Last edited by Bobbybaum; 2016-01-29 at 15:12. Reason: Typo
echo $PATH
cat /etc/bumblebee/bumblebee.confCode:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
cat /etc/bumblebee/xorg.conf.nvidiaCode:# Configuration file for Bumblebee. Values should **not** be put between quotes ## Server options. Any change made in this section will need a server restart # to take effect. [bumblebeed] # The secondary Xorg server DISPLAY number VirtualDisplay=:8 # Should the unused Xorg server be kept running? Set this to true if waiting # for X to be ready is too long and don't need power management at all. KeepUnusedXServer=false # The name of the Bumbleblee server group name (GID name) ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. TurnCardOffAtExit=false # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false # The Driver used by Bumblebee server. If this value is not set (or empty), # auto-detection is performed. The available drivers are nvidia and nouveau # (See also the driver-specific sections below) Driver=nvidia # Directory with a dummy config file to pass as a -configdir to secondary X XorgConfDir=/etc/bumblebee/xorg.conf.d ## Client options. Will take effect on the next optirun executed. [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. Bridge=auto # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy # List of paths which are searched for the primus libGL.so.1 when using # the primus bridge PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus # Should the program run under optirun even if Bumblebee server or nvidia card # is not available? AllowFallbackToIGC=false # Driver-specific settings are grouped under [driver-NAME]. The sections are # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto- # detection resolves to NAME). # PMMethod: method to use for saving power by disabling the nvidia card, valid # values are: auto - automatically detect which PM method to use # bbswitch - new in BB 3, recommended if available # switcheroo - vga_switcheroo method, use at your own risk # none - disable PM completely # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods ## Section with nvidia driver specific options, only parsed if Driver=nvidia [driver-nvidia] # Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-current PMMethod=auto # colon-separated path to the nvidia libraries LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia # comma-separated path of the directory containing nvidia_drv.so and the # default Xorg modules path XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ## Section with nouveau driver specific options, only parsed if Driver=nouveau [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
service bumblebeed restartCode:Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:01:00:0" # If the X server does not automatically detect your VGA device, # you can manually set it here. # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data # as you see in the commented example. # This Setting may be needed in some platforms with more than one # nvidia card, which may confuse the proprietary driver (e.g., # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04. # BusID "PCI:01:00:0" # Setting ProbeAllGpus to false prevents the new proprietary driver # instance spawned to try to control the integrated graphics card, # which is already being managed outside bumblebee. # This option doesn't hurt and it is required on platforms running # more than one nvidia graphics card with the proprietary driver. # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT). # If this option is not set, the new Xorg may blacken the screen and # render it unusable (unless you have some way to run killall Xorg). Option "ProbeAllGpus" "false" Option "NoLogo" "true" Option "UseEDID" "false" Option "UseDisplayDevice" "none" EndSection
modinfo nvidia-currentCode:No Output
find 2> /dev/null / -name nvidia*.koCode:filename: /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko alias: char-major-195-* version: 352.55 supported: external license: NVIDIA alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00* alias: pci:v000010DEd*sv*sd*bc03sc02i00* alias: pci:v000010DEd*sv*sd*bc03sc00i00* depends: drm vermagic: 4.3.0-kali1-amd64 SMP mod_unload modversions parm: NVreg_Mobile:int parm: NVreg_ResmanDebugLevel:int parm: NVreg_RmLogonRC:int parm: NVreg_ModifyDeviceFiles:int parm: NVreg_DeviceFileUID:int parm: NVreg_DeviceFileGID:int parm: NVreg_DeviceFileMode:int parm: NVreg_UpdateMemoryTypes:int parm: NVreg_InitializeSystemMemoryAllocations:int parm: NVreg_UsePageAttributeTable:int parm: NVreg_MapRegistersEarly:int parm: NVreg_RegisterForACPIEvents:int parm: NVreg_CheckPCIConfigSpace:int parm: NVreg_EnablePCIeGen3:int parm: NVreg_EnableMSI:int parm: NVreg_MemoryPoolSize:int parm: NVreg_RegistryDwords:charp parm: NVreg_RmMsg:charp parm: NVreg_AssignGpus:charp
Thanks for your help!Code:/lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko /lib/modules/4.3.0-kali1-amd64/updates/dkms/nvidia-current.ko /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko /var/lib/dkms/nvidia-current/352.55/4.3.0-kali1-amd64/x86_64/module/nvidia-current.ko
Last edited by Bobbybaum; 2016-01-28 at 13:38. Reason: Changing from nvidia to nvidia-current & typo
Bumblebee pkg needed to be updated to work with new Xorg.
I have solved problem by changing Xorg path in bumblebee.
Uncomment source repo in /etc/apt/sources.list and do:
Code:apt-get update apt-get install devscripts apt-get build-dep bumblebee apt-get source bumblebee sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h cd bumblebee-3.2.1/ dpkg-buildpackage -us -uc -nc dpkg -i ../bumblebee_3.2.1-10_amd64.deb service bumblebeed restart
Bumblebee pkg needed to be updated to work with new Xorg.
I have solved problem by changing Xorg path in bumblebee.
Uncomment source repo in /etc/apt/sources.list and do:
Code:apt-get update apt-get install devscripts apt-get build-dep bumblebee apt-get source bumblebee sed -i 's/\"Xorg\"/\"\/usr\/lib\/xorg\/Xorg\"/' bumblebee-3.2.1/src/bbsecondary.h cd bumblebee-3.2.1/ dpkg-buildpackage -us -uc -nc dpkg -i ../bumblebee_3.2.1-10_amd64.deb service bumblebeed restart
how to install graphic on lenovo l510 (thinkpad) Lenovo Mobile Intel® GM45 Express Chipset
root@BT5KL:~# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
02:00.4 System peripheral: JMicron Technology Corp. xD Host Controller
05:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
Last edited by bt5kl; 2016-02-18 at 08:45.
Hoping someone can help here. Desktop system with 64-bit Kali 2.0 Rolling installed to HDD.
When running(as root) the CUDA install, I get the following output:
So, the error seems pretty obvious that I do not have the correct compiler, but how should I find the correct one?Code:chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run Accept the EULA Select yes to unsupported configuration No to graphics driver Yes to the toolkit Accept default location Yes to symbolic link Yes to samples Yes to default samples location The toolkit will install ERROR: Error: unsupported compiler: 5.3.1. Use –override to override this check. Missing recommended library: libGLU.so Missing recommended library: libXi.so Missing recommended library: libXmu.so Error: Cannot find Toolkit in /usr/local/cuda-7.5
I did install all the CUDA dependencies:
Any help is much appreciated!Code:apt-get install freeglut3-dev libxmu-dev libpcap-dev libssl-dev
Hi int0xcc!
I am most grateful for your post.
I have spend more than 3 days on this problem without success. I even opened a thread here:
https://forums.kali.org/showthread.p...inkpad-Yoga-15
Your instructions solved the problem right on the the first attempt. I am going to test them on other distros too.
I will post your instructions on the above mentioned thread.
Thank you very very much again
DinoS
Tx/Rx >>>
apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
./cuda*.run --override compiler
Accept the EULA
Select yes to unsupported configuration
No to graphics driver
Yes to the toolkit
Accept default location
Yes to symbolic link
Yes to samples
Yes to default samples location
The toolkit will install
Last edited by x5ctf; 2016-03-04 at 07:04.
I have a problem guys. I can succesfully run optirun glxspheres64 but modinfo nvidia says that I don't have nvidia module installed
1. lspci | egrep 'VGA|3D
2. modprobe nvidiaCode:00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
3. modprobe nvidia-uvmCode:modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.4.0-kali1-amd64
4. optirun glxspheres64Code:modprobe: FATAL: Module nvidia-uvm not found in directory /lib/modules/4.4.0-kali1-amd64
5. dmesg | tail -n 100Code:Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) Visual ID of window: 0x20 Context is Direct OpenGL Renderer: GeForce GT 750M/PCIe/SSE2 306.941638 frames/sec - 342.546869 Mpixels/sec 305.789812 frames/sec - 341.261430 Mpixels/sec 310.069638 frames/sec - 346.037716 Mpixels/sec 308.716589 frames/sec - 344.527713 Mpixels/sec
6. echo $PATHCode:[ 296.115287] nvidia: module license 'NVIDIA' taints kernel. [ 296.115290] Disabling lock debugging due to kernel taint [ 296.123083] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 1 [ 296.123087] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 352.79 Wed Jan 13 16:17:53 PST 2016 [ 297.819878] vgaarb: this pci device is not a vga device [ 297.841735] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841774] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841797] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841818] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841840] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841860] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841893] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.841915] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 297.865676] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 298.059827] vgaarb: this pci device is not a vga device [ 306.727138] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.063360] vgaarb: this pci device is not a vga device [ 531.065402] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065441] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065464] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065486] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065507] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065528] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065560] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065581] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.065964] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95) [ 531.254516] vgaarb: this pci device is not a vga device [ 541.237741] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
7. cat /etc/bumblebee/bumblebee.confCode:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/oracle/instantclient_11_2:/opt/VirtualGL/bin:/usr/local/cuda-7.5/bin
8. cat /etc/bumblebee/xorg.conf.nvidiaCode:# Configuration file for Bumblebee. Values should **not** be put between quotes ## Server options. Any change made in this section will need a server restart # to take effect. [bumblebeed] # The secondary Xorg server DISPLAY number VirtualDisplay=:8 # Should the unused Xorg server be kept running? Set this to true if waiting # for X to be ready is too long and don't need power management at all. KeepUnusedXServer=false # The name of the Bumbleblee server group name (GID name) ServerGroup=bumblebee # Card power state at exit. Set to false if the card shoud be ON when Bumblebee # server exits. TurnCardOffAtExit=false # The default behavior of '-f' option on optirun. If set to "true", '-f' will # be ignored. NoEcoModeOverride=false # The Driver used by Bumblebee server. If this value is not set (or empty), # auto-detection is performed. The available drivers are nvidia and nouveau # (See also the driver-specific sections below) Driver=nvidia # Directory with a dummy config file to pass as a -configdir to secondary X XorgConfDir=/etc/bumblebee/xorg.conf.d ## Client options. Will take effect on the next optirun executed. [optirun] # Acceleration/ rendering bridge, possible values are auto, virtualgl and # primus. Bridge=auto # The method used for VirtualGL to transport frames between X servers. # Possible values are proxy, jpeg, rgb, xv and yuv. VGLTransport=proxy # List of paths which are searched for the primus libGL.so.1 when using # the primus bridge PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus # Should the program run under optirun even if Bumblebee server or nvidia card # is not available? AllowFallbackToIGC=false # Driver-specific settings are grouped under [driver-NAME]. The sections are # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto- # detection resolves to NAME). # PMMethod: method to use for saving power by disabling the nvidia card, valid # values are: auto - automatically detect which PM method to use # bbswitch - new in BB 3, recommended if available # switcheroo - vga_switcheroo method, use at your own risk # none - disable PM completely # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods ## Section with nvidia driver specific options, only parsed if Driver=nvidia [driver-nvidia] # Module name to load, defaults to Driver if empty or unset KernelDriver=nvidia-current PMMethod=auto # colon-separated path to the nvidia libraries LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia # comma-separated path of the directory containing nvidia_drv.so and the # default Xorg modules path XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ## Section with nouveau driver specific options, only parsed if Driver=nouveau [driver-nouveau] KernelDriver=nouveau PMMethod=auto XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
9. service bumblebeed restartCode:Section "ServerLayout" Identifier "Layout0" Option "AutoAddDevices" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "DiscreteNvidia" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:01:00:0"
Restarted succesfully
10. modinfo nvidia
11. find 2> /dev/null / -name nvidia*.koCode:modinfo: ERROR: Module nvidia not found
EDIT: I get PASS with CUDA deviceQueryCode:/var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current.ko /var/lib/dkms/nvidia-current/352.79/4.4.0-kali1-amd64/x86_64/module/nvidia-current-uvm.ko /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current.ko /lib/modules/4.4.0-kali1-amd64/updates/dkms/nvidia-current-uvm.ko
Last edited by Cricco95; 2016-03-05 at 12:23.
Hello guys, can you tell me if there is any new guide, to install nvidia + cuda, in gtx 950m? Cause after 1º attempt... i lost and needed to re-install kali.
Thanks in advance