Results 1 to 3 of 3

Thread: Nvidia Drivers for Kali not working (conflicting drivers)?

  1. #1
    Join Date
    2014-Sep
    Posts
    5

    Nvidia Drivers for Kali not working (conflicting drivers)?

    Hello I have been tring to install the Cuda toolkit

    I have followed the instructions of blacklisting Nouveau I downloaded CUDA form the NVIDiA website and when I rebooted and pressed ctrl alt F1 it said it installed correctly. So I rebooted. My problem is that I cant get the Xorg.conf file to work. When ever I run nvidia-xconfig I get

    xorg.conf does not exist and directory has been created. I look at it using the txt editor and it seems in line with everything. After I reboot tho the gui does not appear just the command prompt version.

    In order to get the Gui to work I need to issue "
    rm /etc/X11/xorg.conf
    Only after I remove this file I can boot with gui



    When ever I
    Code:
    lspci -vnn | grep VGA -A 12
    00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
    	Subsystem: Lenovo Device [17aa:3801]
    	Flags: bus master, fast devsel, latency 0, IRQ 47
    	Memory at c2000000 (64-bit, non-prefetchable) [size=4M]
    	Memory at b0000000 (64-bit, prefetchable) [size=256M]
    	I/O ports at 5000 [size=64]
    	Expansion ROM at <unassigned> [disabled]
    	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    	Capabilities: [d0] Power Management version 2
    	Capabilities: [a4] PCI Advanced Features
    	Kernel driver in use: i915
    
    00:03.0 Audio device [0403]: Intel Corporation Haswell HD Audio Controller [8086:0c0c] (rev 06)
    --
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:0fcd] (rev a1) (prog-if 00 [VGA controller])
    	Subsystem: Lenovo Device [17aa:3801]
    	Flags: bus master, fast devsel, latency 0, IRQ 7
    	Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
    	Memory at 90000000 (64-bit, prefetchable) [size=256M]
    	Memory at a0000000 (64-bit, prefetchable) [size=32M]
    	I/O ports at 4000 [disabled] [size=128]
    	Expansion ROM at a2000000 [disabled] [size=512K]
    	Capabilities: [60] Power Management version 3
    	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    	Capabilities: [78] Express Endpoint, MSI 00
    	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    	Capabilities: [100] Virtual Channel
    Code:
    glxinfo | grep OpenGL
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Error: couldn't find RGB GLX visual or fbconfig
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".

    I have a laptop and I have to chipsets an intel and an nvidia one. So wither they are conflicting or nouveu and cuda are conflicting How can I verify any of these and fix? Thank you!

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Hi there,

    You are right, your drivers are conflicted.

    The xorg you are generating can not see the nvidia GPU as the Intel is found first (in simple terms)

    You need to use something which can switch between them.

    I wrote a guide in the how to section of this forum. Look for nvidia +cuda + optimus, it is normally on the first page.

    Skip to post 25(link in first post) and follow that. Post any issues in that thread, it should sort you out.

  3. #3
    Join Date
    2014-Mar
    Posts
    6
    I would also note that if you are using a Lenovo laptop, the last time I had looked into this issue (maybe 6 months ago?) Lenovo had the BIOS locked down so only windows could truly take advantage of the Nvidia card and had stated they had no plans to change this for "unsupported software".

Similar Threads

  1. Kali 2 and nvidia drivers
    By Fushikkles in forum General Archive
    Replies: 11
    Last Post: 2017-03-16, 16:50
  2. Replies: 1
    Last Post: 2016-09-24, 07:25
  3. Nvidia drivers not working
    By MSSC in forum General Archive
    Replies: 0
    Last Post: 2015-11-11, 19:53
  4. Nvidia 850M drivers not working
    By segate in forum General Archive
    Replies: 2
    Last Post: 2015-07-06, 05:37
  5. Install NVIDIA Drivers on Kali
    By Algierd in forum General Archive
    Replies: 0
    Last Post: 2013-12-16, 22:06

Posting Permissions

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