Results 1 to 32 of 32

Thread: Intel HD graphics and Nvivida GTX 970M conflict

  1. #1
    Join Date
    2015-Oct
    Posts
    22

    Angry Intel HD graphics and Nvivida GTX 970M conflict

    Hey fork, I am facing problem between two of my graphics card.

    Kali: 2016.2
    Dell Laptop with graphics Intel HD and Nvidia:

    lspci output:
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)


    I tried every solution available on the net but none of them work.
    i would like to Nvivida as my primary or only vga as it works best with hashcat.

    There is no option in my bios to disable Intel Card and when i install nvidia drivers use these instructions http://docs.kali.org/general-use/ins...-on-kali-linux i ends up at "Oh sorry, Something went wrong" I already have 4 clean install for kali but no success.

    Any help ??

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show output of lsmod? We will going to blacklist intel HD driver. But before doing this have you installed the right driver for Nvidia graphics?
    Last edited by _defalt; 2017-01-17 at 03:45.

  3. #3
    Join Date
    2015-Oct
    Posts
    22
    Thank you Sir, below is the output from lsmod.

    I didn't blacklist anything, but i twice install nvidia using these instruction: http://docs.kali.org/general-use/ins...-on-kali-linux and both time i end up at "Oh Sorry, Something went wrong and cannot be recovered" and i clean install kali four times.

    Attached is cleaner and easier to read output of lsmod.

    Module Size Used by
    ctr 16384 2
    ccm 20480 1
    pci_stub 16384 1
    vboxpci 24576 0
    vboxnetadp 28672 0
    vboxnetflt 28672 0
    vboxdrv 454656 3 vboxnetadp,vboxnetflt,vboxpci
    snd_hda_codec_hdmi 45056 1
    snd_hda_codec_realtek 86016 1
    nfnetlink_queue 20480 0
    snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
    nfnetlink_log 20480 0
    nfnetlink 16384 2 nfnetlink_log,nfnetlink_queue
    binfmt_misc 20480 1
    fuse 98304 5
    nls_ascii 16384 1
    nls_cp437 20480 1
    vfat 20480 1
    arc4 16384 2
    intel_rapl 20480 0
    fat 69632 1 vfat
    x86_pkg_temp_thermal 16384 0
    intel_powerclamp 16384 0
    iwlmvm 241664 0
    coretemp 16384 0
    snd_hda_intel 36864 6
    i2c_designware_platform 16384 0
    i2c_designware_core 20480 1 i2c_designware_platform
    mac80211 651264 1 iwlmvm
    kvm_intel 188416 0
    snd_hda_codec 131072 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_gen eric,snd_hda_codec_realtek
    dcdbas 16384 0
    snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd _hda_codec_generic,snd_hda_codec_realtek
    kvm 585728 1 kvm_intel
    dell_smm_hwmon 16384 0
    snd_hwdep 16384 1 snd_hda_codec
    iwlwifi 147456 1 iwlmvm
    efi_pstore 16384 0
    irqbypass 16384 1 kvm
    nouveau 1544192 0
    snd_pcm 110592 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_c odec_hdmi
    i915 1282048 16
    snd_timer 32768 1 snd_pcm
    joydev 20480 0
    rtsx_pci_ms 20480 0
    snd 86016 20 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,sn d_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_cod ec_realtek,snd_pcm
    cfg80211 573440 3 iwlmvm,iwlwifi,mac80211
    iTCO_wdt 16384 0
    efivars 20480 1 efi_pstore
    soundcore 16384 1 snd
    serio_raw 16384 0
    pcspkr 16384 0
    memstick 20480 1 rtsx_pci_ms
    iTCO_vendor_support 16384 1 iTCO_wdt
    mxm_wmi 16384 1 nouveau
    tpm_crb 16384 0
    hid_multitouch 20480 0
    sg 32768 0
    mei_me 36864 0
    btusb 45056 0
    ttm 98304 1 nouveau
    btrtl 16384 1 btusb
    mei 102400 1 mei_me
    uvcvideo 90112 0
    videobuf2_vmalloc 16384 1 uvcvideo
    videobuf2_memops 16384 1 videobuf2_vmalloc
    videobuf2_v4l2 24576 1 uvcvideo
    evdev 24576 19
    videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
    videodev 176128 3 uvcvideo,videobuf2_core,videobuf2_v4l2
    idma64 20480 0
    media 40960 2 uvcvideo,videodev
    virt_dma 16384 1 idma64
    drm_kms_helper 155648 2 nouveau,i915
    drm 360448 10 nouveau,i915,ttm,drm_kms_helper
    i2c_algo_bit 16384 2 nouveau,i915
    shpchp 36864 0
    processor_thermal_device 16384 0
    intel_soc_dts_iosf 16384 1 processor_thermal_device
    intel_lpss_pci 16384 0
    hci_uart 86016 0
    btbcm 16384 2 hci_uart,btusb
    btqca 16384 1 hci_uart
    btintel 16384 2 hci_uart,btusb
    bluetooth 544768 7 btrtl,hci_uart,btintel,btqca,btbcm,btusb
    int3403_thermal 16384 0
    battery 16384 0
    ac 16384 0
    dell_rbtn 16384 0
    wmi 16384 2 mxm_wmi,nouveau
    intel_lpss_acpi 16384 0
    video 40960 2 nouveau,i915
    intel_lpss 16384 2 intel_lpss_pci,intel_lpss_acpi
    acpi_als 16384 0
    kfifo_buf 16384 1 acpi_als
    int3400_thermal 16384 0
    int3402_thermal 16384 0
    tpm_tis 16384 0
    int340x_thermal_zone 16384 3 int3402_thermal,int3403_thermal,processor_thermal_ device
    acpi_thermal_rel 16384 1 int3400_thermal
    rfkill 24576 7 bluetooth,dell_rbtn,cfg80211
    industrialio 65536 2 acpi_als,kfifo_buf
    tpm_tis_core 20480 1 tpm_tis
    acpi_pad 24576 0
    button 16384 2 nouveau,i915
    tpm 45056 3 tpm_tis,tpm_crb,tpm_tis_core
    efivarfs 16384 1
    ip_tables 24576 0
    x_tables 36864 1 ip_tables
    autofs4 40960 2
    ext4 585728 1
    crc16 16384 2 bluetooth,ext4
    jbd2 106496 1 ext4
    crc32c_generic 16384 0
    fscrypto 28672 1 ext4
    ecb 16384 0
    mbcache 16384 2 ext4
    hid_generic 16384 0
    usbhid 53248 0
    sd_mod 45056 6
    rtsx_pci_sdmmc 24576 0
    mmc_core 143360 1 rtsx_pci_sdmmc
    crct10dif_pclmul 16384 0
    crc32_pclmul 16384 0
    crc32c_intel 24576 2
    ghash_clmulni_intel 16384 0
    aesni_intel 167936 2
    aes_x86_64 20480 1 aesni_intel
    lrw 16384 1 aesni_intel
    gf128mul 16384 1 lrw
    glue_helper 16384 1 aesni_intel
    ablk_helper 16384 1 aesni_intel
    cryptd 24576 3 ablk_helper,ghash_clmulni_intel,aesni_intel
    psmouse 135168 0
    ahci 36864 4
    libahci 32768 1 ahci
    libata 249856 2 ahci,libahci
    i2c_i801 24576 0
    i2c_smbus 16384 1 i2c_i801
    xhci_pci 16384 0
    rtsx_pci 57344 2 rtsx_pci_sdmmc,rtsx_pci_ms
    xhci_hcd 188416 1 xhci_pci
    mfd_core 16384 2 rtsx_pci,intel_lpss
    r8169 81920 0
    mii 16384 1 r8169
    scsi_mod 225280 3 sd_mod,libata,sg
    usbcore 249856 5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
    usb_common 16384 1 usbcore
    fan 16384 0
    thermal 20480 0
    i2c_hid 20480 0
    hid 118784 4 i2c_hid,hid_generic,usbhid,hid_multitouch
    fjes 28672 0

    Thankyou and appreciated,
    Attached Files Attached Files
    Last edited by rauf; 2017-01-17 at 00:40.

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    i915 module is being used by Intel HD Graphics 530. You can blacklist it to prevent it from starting during boot. I can't find any module in your output which is related to NVIDIA Corporation GM107M [GeForce GTX 960M]. Have you installed its drivers correctly? Can you show the output of lspci -v?

  5. #5
    Join Date
    2015-Oct
    Posts
    22
    Hi, lspci output attached.

    No i didn't install the nvidia drivers in this install but this is my 4th clean install.

    In first 3 installs i did install my nvidia driver using these steps: http://docs.kali.org/general-use/ins...-on-kali-linux and every time it broke my install with the error message "Oh sorry, something went wrong and cannot be recovered"

    The install i am running right now is without any install related to nvidia.

    Everything else is fine absolutely fine, other then the "hashcat" and i am a die hard fan of hashcat
    Attached Files Attached Files

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    You have to install Nvidia drivers. Look for solutions if you get errors. Next time when you upload output, use these:["CODE"] and ["/CODE"] without inverted commas. See below: The text should be written in between the two.
    Code:
     Enter your output here
    Last edited by _defalt; 2017-01-18 at 16:36.

  7. #7
    Join Date
    2015-Oct
    Posts
    22
    I will,
    So can i try black listing my intel driver and install nvidia driver ?? because if i install nvidia drivers without blacklisting intel it totally broker my kali install.
    Quote Originally Posted by _defalt View Post
    You have to install Nvidia drivers. Look for solutions if you get errors. Next time when you upload output, use these:["CODE"] and ["/CODE"] without inverted commas. See below: The text should be written in between the two.
    Code:
     Enter your output here

  8. #8
    Join Date
    2015-Oct
    Posts
    22
    Hi Again, I tried installing nvidia drivers and after reboot same error "oh no, something went wrong and cannot be recovered" and in rescue mode i ran "apt-get remove nvidia* --purge" and kali boot again. So the culprint is nvidia driver. Any work around for this issue please ??

  9. #9
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    You can't blacklist intel driver. The intel module is in use. Once you install Nvidia drivers then only you can. I also don't know what is the cause of error. Have you searched any related thread here on how to install Nvidia drivers?

    What commands you are entering to install Nvidia drivers?
    Last edited by _defalt; 2017-01-19 at 03:48.

  10. #10
    Join Date
    2015-Oct
    Posts
    22

    Angry

    Quote Originally Posted by _defalt View Post
    You can't blacklist intel driver. The intel module is in use. Once you install Nvidia drivers then only you can. I also don't know what is the cause of error. Have you searched any related thread here on how to install Nvidia drivers?

    What commands you are entering to install Nvidia drivers?
    I did try black listing intel HD driver but no success. I tried blacklisting intel driver by following methods:
    1.
    Code:
    vi /etc/modprobe.d/blacklist
    blacklist i915
    update-initramfs -u
    2. Boot kali and hit "e" to edit the gurb defaults
    Code:
    quiet nouveau.modeset=0 i915.modeset=0
    I added "i915.modeset=0" in the end

    Both methods no success.


    Installing Nvidia driver: I used following commands to install nvidia drivers
    1.
    Code:
    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)
    apt-get install nvidia-kernel-dkms
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot
    2. Download the driver from nvidia website for "GTX960M" and ran it

    Both methods, no success. Same error "same error "Oh no, Something went wrong""


    Fix "Oh sorry, something went wrong and cannot be recovered"
    Yes, I did try a lot of solutions without any success.

    1.
    Code:
    vi /etc/gdm3/daemon.conf
    Change:
    AutomaticLoginEnable=false
    AutomaticLogin=root or user1 (if u create a new user and want to login from it)
    To
    AutomaticLoginEnable=true
    AutomaticLogin=root or user1
    2. Tried unloading intel driver
    Code:
    modprobe -r i915 (in rescue mode or virtual terminal)
    Both solutions, No success.

    Solution for Oh no! Something has gone wrong." that actually worked for me was
    Code:
    apt-get remove nvidia* --purge
    reboot
    But this solutions, was actually removing the nvidia driver and then kali booted up successfully

  11. #11
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    If you had blacklisted intel HD graphics then you would have faced blank screen problem due to the absence of display driver. Don't mess with kernel modules like this else you'll end up with more problems.

    All drivers are installed in /lib/firmware/. If you have proprietary drivers of NVIDIA then copy them into that folder. And Reboot.

  12. #12
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    If you had blacklisted intel HD graphics then you would have faced blank screen problem due to the absence of display driver. Don't mess with kernel modules like this else you'll end up with more problems.

    All drivers are installed in /lib/firmware/. If you have proprietary drivers of NVIDIA then copy them into that folder. And Reboot.
    Hi _defalt,
    I really appreciate that you are try to help me, but i couldn't find any other way to blacklist the intel driver and also have no idea where i can find the NVIDIA proprietary drivers to paste in /lib/firmware/.
    Is there any way you can help how exactly you want me to black list my Intel and Install Nvidia drivers.

    Thanks and very much appreciated.

  13. #13
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Did I tell you to blacklist it? You shouldn't. Perhaps I should edit my previous comment. If you read it carefully I told that you can only if Nvidia drivers are installed and working.

    Click on File manager>Other locations>Computer>lib>firmware.Copy your drivers in this folder.

    Do you have drivers downloaded? Maybe a link of that site from where you can download them?
    Last edited by _defalt; 2017-01-20 at 03:39.

  14. #14
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    Did I tell you to blacklist it? You shouldn't. Perhaps I should edit my previous comment. If you read it carefully I told that you can only if Nvidia drivers are installed and working.

    Click on File manager>Other locations>Computer>lib>firmware.Copy your drivers in this folder.

    Do you have drivers downloaded? Maybe a link of that site from where you can download them?
    Thank You.

  15. #15
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Have you tried this solution: https://www.blackmoreops.com/2014/03...er-kali-linux/

    Can you show the output of uname -a
    Run apt-cache search linux-headers
    apt-get install linux-headers-$(uname-r)

    Then try to install.
    Last edited by _defalt; 2017-01-20 at 19:08.

  16. #16
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    Have you tried this solution: https://www.blackmoreops.com/2014/03...er-kali-linux/

    Can you show the output of uname -a
    Run apt-cache search linux-headers
    apt-get install linux-headers-$(uname-r)

    Then try to install.
    Thank you,
    Yes, https://www.blackmoreops.com/2014/03...er-kali-linux/ is 200% same instructions that i followed. Not once, 3 times and every single time it broke ma kali install. Same error all 3 times. "Oh no, Something went wrong....."

    Code:
    Linux black 4.8.0-kali2-amd64 #1 SMP Debian 4.8.15-1kali1 (2016-12-23) x86_64 GNU/Linux

  17. #17
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    The link is old and doesn't guarantee to work with latest upgrades of kernel.

    Can you show the output of cat etc/apt/sources.list.

  18. #18
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    The link is old and doesn't guarantee to work with latest upgrades of kernel.

    Can you show the output of cat etc/apt/sources.list.
    Here is the output:
    Code:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Yes, I knew the link was old and belongs to kali 1.

    I followed these steps as well, but no success
    Code:
    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)
    apt-get install nvidia-kernel-dkms
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot

  19. #19
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Your repositories are incorrect. Uncomment the second entry by putting # before deb-src http://http.kali.org/kali kali-rolling main contrib non-free like this:
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    The line in your repository # For source package access, uncomment the following line, kali-linux developers really meant that and you were supposed to do that.
    I don't recommend to follow any tutorial and workarounds from outside links. Their experience don't fit with new version of kernel.
    Follow only this: http://docs.kali.org/general-use/ins...-on-kali-linux.
    Last edited by _defalt; 2017-01-21 at 18:29.

  20. #20
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    Your repositories are incorrect. Uncomment the second entry by putting # before deb-src http://http.kali.org/kali kali-rolling main contrib non-free like this:
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    The line in your repository # For source package access, uncomment the following line, kali-linux developers really meant that and you were supposed to do that.
    I don't recommend to follow any tutorial and workarounds from outside links. Their experience don't fit with new version of kernel.
    Follow only this: http://docs.kali.org/general-use/ins...-on-kali-linux.
    Hi,
    I fixed my source list. Now it looks like this:
    Code:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    and yes, In my previous post I copied the commands from the same link http://docs.kali.org/general-use/ins...-on-kali-linux.
    because i thought instead of sending you to the link lets copy the commands here.
    Code:
    apt-get update
    apt-get dist-upgrade
    apt-get install -y linux-headers-$(uname -r)
    apt-get install nvidia-kernel-dkms
    sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
    update-grub
    reboot
    I really appreciate you help, but i gave up on nvidia driver install on my laptop.
    I also have a Dell desktop computer almost same specs as of my laptop (Nvidia GeForce GTX 960 in desktop computer). I installed nvidia drivers without any problems in my destktop and it's running absolutely fine no problems at all.

    Now i can use my desktop computer for hashcat. ( i am hastcat lover )

    Thank you very much once again for all your help.

  21. #21
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Now you have fixed your repositories, you can try once again by following that link.

  22. #22
    Join Date
    2015-Oct
    Posts
    22
    Quote Originally Posted by _defalt View Post
    Now you have fixed your repositories, you can try once again by following that link.
    Broke again.

    Now i am running 7th Clean install

  23. #23
    Join Date
    2017-Feb
    Posts
    8
    I have the same problems as you, i couldn't install nvidia GEFORCE GT630 or the intel HD graphics at any way. but have you managed to install intel HD graphics or not ?!!

  24. #24
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by Ahmed Elkhateeb View Post
    I have the same problems as you, i couldn't install nvidia GEFORCE GT630 or the intel HD graphics at any way. but have you managed to install intel HD graphics or not ?!!
    Intel HD graphics are come pre-installed in kali-linux. The module name is i915. You can view more information by entering modinfo i915 | head and lspci. It is the Nvidia driver which is installed by the user.

  25. #25
    Join Date
    2017-Feb
    Posts
    8
    yeah i can see that when entering lspci , but look at this Screenshot from 2017-02-20 23-05-17.jpg
    graphics is intel ivybridge mobile & when i installed windows virtual machine on vmware it also didn't recognized the intel HD graphics .
    It may be installed as you said but it isn't activated .
    Note : i am still new to Linux distrbution

  26. #26
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Enable Intel Virtualization technology from your BIOS settings.

  27. #27
    Join Date
    2017-Feb
    Posts
    8
    It's enabled
    Last edited by Ahmed Elkhateeb; 2017-02-21 at 15:22.

  28. #28
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    It seems more of a problem with the VMware. I don't have solutions for VMware, i don't use vrtual machines. Go through all the VMware settings and find a suspected option until any VMware expert posts solution for this.

  29. #29
    Join Date
    2017-Feb
    Posts
    8
    VMware isn't important for me now .. All I want is to fix this problem on Linux ��.. Iam sure it isn't activated since when I run the live version on my friend laptop it reads his GPU but it didn't when I try it for my laptop
    Thanks in advance

  30. #30
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Boot into live USB and see if it shows on your PC? If it does then the problem is with VMware.

  31. #31
    Join Date
    2017-Feb
    Posts
    8
    I did. The live boot also didn't show it

  32. #32
    Join Date
    2015-Aug
    Posts
    10
    Did we ever figure out the solution? I'm having the same issues and have just started searching for solutions.

Similar Threads

  1. Intel HD graphics isn't working, How can i enable it ?!!
    By Ahmed Elkhateeb in forum General Archive
    Replies: 5
    Last Post: 2017-02-23, 18:35
  2. intel graphics driver issue?
    By elidd1 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2015-12-25, 21:24
  3. Intel n3520, hd graphics drivers
    By skycrazy in forum General Archive
    Replies: 1
    Last Post: 2015-04-24, 22:39
  4. Kali 1.0.7 and intel HD4400 graphics
    By fennica2003 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-07-15, 14:03

Posting Permissions

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