Results 1 to 7 of 7

Thread: Nvidia GF 960M - struggling with drivers for X on Optimus enabled laptop

  1. #1
    Join Date
    2016-Dec
    Posts
    5

    Nvidia GF 960M - struggling with drivers for X on Optimus enabled laptop

    Hi All,

    Looking for your assistance as I’m getting clueless on how to get running X on Nvidia drivers.
    The hardware is Lenovo Y50-70 with Intel and Nvidia GeForce 960M.

    Code:
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
    As per above, switchable graphic is enabled in bios. There’s option for Nvidia GPS (GPU Performance Scaling).

    I’ve followed almost any recommendation on the web (and I’m sure I’ve missed the right one), but couldn’t get the system working.
    I’ve properly disabled nouveau, have X starting on Intel (confirmed with running X directly). With current layout I can’t get GDM3 login window and I’m being presented with white screen that something went wrong.
    Troubleshooting and log review confirmed that this is due to missing GLX support.

    I’ve tried multiple settings and I’m missing the right one.
    Understanding of the problem is that Intel (i915 driver?) is responsible for VGA interface and display leaving Nvidia in the background for 3D/GLX.



    Starting X from console and from other console (via ssh):

    running
    Code:
    # DISPLAY=:0 xterm
    works and displays xterm window.

    Code:
    # DISPLAY=:0 optirun nvidia-settings
    On the console:
    Xlib: extension "GLX" missing on display ":0".
    Code:
    And within X, claims that system doesn’t seem to be using Nvidia driver.
    running DISPLAY=:0 option xterm
    Code:
    ==> /var/log/syslog <==
    Dec 30 16:46:24 host kernel: [ 3081.727656] vgaarb: this pci device is not a vga device
    Dec 30 16:46:24 host kernel: [ 3081.732595] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732653] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732683] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732729] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732758] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732817] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.732846] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.737593] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:24 host kernel: [ 3081.855165] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.26  Thu Dec  8 18:04:14 PST 2016
    Dec 30 16:46:24 host kernel: [ 3081.855659] nvidia-modeset: Allocated GPU:0 (GPU-4b30fe9c-c50f-697a-9feb-2515b19caa83) @ PCI:0000:01:00.0
    Dec 30 16:46:24 host kernel: [ 3081.855723] nvidia-modeset: Freed GPU:0 (GPU-4b30fe9c-c50f-697a-9feb-2515b19caa83) @ PCI:0000:01:00.0
    Dec 30 16:46:24 host kernel: [ 3081.856816] vgaarb: this pci device is not a vga device
    Dec 30 16:46:25 host bumblebeed[2048]: [ 3082.371145] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Dec 30 16:46:31 host kernel: [ 3088.411881] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:46:31 host kernel: [ 3088.415258] nvidia-modeset: Unloading
    Dec 30 16:46:31 host bumblebeed[2048]: [ 3088.704256] [ERROR]Failed to unload module 'nvidia' (ref count: 3)
    Code:
    # DISPLAY=:0 optirun glxgears
    Xlib:  extension "GLX" missing on display ":0".
    Error: couldn't get an RGB, Double-buffered visual
    Code:
    Dec 30 16:48:28 host kernel: [ 3205.662489] vgaarb: this pci device is not a vga device
    Dec 30 16:48:28 host kernel: [ 3205.667082] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667134] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667161] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667202] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667228] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667281] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.667307] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.671754] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:28 host kernel: [ 3205.802699] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.26  Thu Dec  8 18:04:14 PST 2016
    Dec 30 16:48:28 host kernel: [ 3205.803165] nvidia-modeset: Allocated GPU:0 (GPU-4b30fe9c-c50f-697a-9feb-2515b19caa83) @ PCI:0000:01:00.0
    Dec 30 16:48:28 host kernel: [ 3205.803229] nvidia-modeset: Freed GPU:0 (GPU-4b30fe9c-c50f-697a-9feb-2515b19caa83) @ PCI:0000:01:00.0
    Dec 30 16:48:28 host kernel: [ 3205.804168] vgaarb: this pci device is not a vga device
    Dec 30 16:48:29 host bumblebeed[2048]: [ 3206.311128] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Dec 30 16:48:29 host kernel: [ 3206.213648] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Dec 30 16:48:29 host kernel: [ 3206.217025] nvidia-modeset: Unloading
    Dec 30 16:48:29 host bumblebeed[2048]: [ 3206.516345] [ERROR]Failed to unload module 'nvidia' (ref count: 3).

    kernel started with (tried with different settings with same results as above:
    Code:
    BOOT_IMAGE=/vmlinuz-4.8.0-kali2-amd64 root=UUID=<UUID> ro initrd=/install/gtk/initrd.gz quiet nouveau.modeset=0 i915.preliminary_hw_support=1 nouveau.modeset=0 tpm_tis.interrupts=0 acpi_osi=Linux i915.preliminary_hw_support=1 idle=nomwait
    Code:
    # lsmod|egrep -i "nvidia|vga|i915"
    i915                 1282048  3
    video                  40960  2 i915,ideapad_laptop
    i2c_algo_bit           16384  1 i915
    button                 16384  1 i915
    drm_kms_helper        155648  1 i915
    drm                   360448  4 i915,drm_kms_helper
    nvidia              11939840  3
    Code:
    #cat /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "true"
        Option      "AutoAddGPU" "true"
    EndSection
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
    
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "true"
        Option "UseEDID" "false"
        Option "UseDisplayDevice" "none"
        Option "ConnectedMonitor" "DFP"
        BusID "PCI:01:00:0"
    EndSection
    
    
    Section "Screen"
        Identifier "Default Screen"
        Device "DiscreteNvidia"
    EndSection
    The most far I’ve went was by following one of guides (can’t find link):
    Code:
    # /etc/X11/xorg.conf
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "nvidia"
        Inactive "intel"
    EndSection
    
    Section "Device"
        Identifier "intel"
        Driver "intel"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "SNA"
    EndSection
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection
    
    Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "PCI:1@0:0:0"
        Option "ConstrainCursor" "off"
    EndSection
    
    Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
    EndSection
    This was giving me (note bumblebee is disabled):
    Code:
    # DISPLAY=:0 glxgears
    
    
    Running synchronized to the vertical refresh.  The framerate should be
    approximately the same as the monitor refresh rate.
    182631 frames in 5.0 seconds = 36526.180 FPS
    183675 frames in 5.0 seconds = 36734.848 FPS
    btw. values seem to me really high, probably way too high.

    TBC in next post.
    Last edited by kalimera; 2016-12-31 at 14:53.

  2. #2
    Join Date
    2016-Dec
    Posts
    5
    ... continuation of the previous one...

    Other results with bumblebee started as per https://forums.kali.org/showthread.php?21956-(Guide)-Installing-Nvidia-Bumblebee-CUDA-for-Optimus-enabled-Laptops&p=58745&viewfull=1#post58745


    Code:
    DISPLAY=:0 optirun glxgears
    Xlib:  extension "GLX" missing on display ":0".
    Error: couldn't get an RGB, Double-buffered visual
    at this time:
    Code:
    # /etc/X11/xorg.conf
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "intel"
    #    Inactive "intel"
    EndSection
    
    Section "Device"
        Identifier "intel"
        Driver "intel"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "SNA"
    EndSection
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection
    
    Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "PCI:1@0:0:0"
        Option "ConstrainCursor" "off"
    EndSection
    
    Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
    EndSection
    With the same bumbeblee.conf-nvidia file.


    Some of multiple howtos I’ve tried:
    http://docs.kali.org/general-use/ins...-on-kali-linux
    https://forums.linuxmint.com/viewtopic.php?t=202980 (did not downgrade drm libraries)
    http://unix.stackexchange.com/questi...ri-card0-faile (following recommendation to install Debian Jessie files broke my previous installation and rendered it problematic as ended up with different GLX and X build versions).
    http://superuser.com/questions/87305...with-nvidia-dr
    https://wiki.debian.org/Bumblebee
    http://askubuntu.com/questions/69816...7-6700-to-work
    https://forums.kali.org/showthread.p...nabled-Laptops (checked but did not follow as it’s old and seems to be sources focused).
    http://askubuntu.com/questions/72582...rk-with-ubuntu (didn’t use these repositories as Kali is based on Debian more than Ubuntu)
    https://ubuntuforums.org/showthread.php?t=2263316
    http://askubuntu.com/questions/76895...force-gtx-960m

    https://forums.kali.org/showthread.p...ll=1#post58745 - did not recompile bumblebee as current version is 3.2.1-13 which is newer than from within the post.

    https://vxlabs.com/2015/02/05/solvin...-screen-issue/


    Since I’m clueless how to get this running, could any of you please help?

    Thanks in advance

  3. #3
    Join Date
    2016-Dec
    Posts
    5
    For tests, default Ubuntu 16.04, added Nvidia proprietary drivers from GUI/Drivers section, two clicks + one reboot and I've had Nvidia drivers installed with glxgears confirming GeForce 960M is in use.

    It is a bit if shame that Kali being distro targeted to tasks like GPU based operations does not help anyhow to get drivers installed.
    With a lot of effort and hours spent on it, I couldn't manage so far to get GeForce 960M working on Kali based system whilst for Ubuntu based one it took me literally 2 clickes and 2 minutes to download software and finish installation on USB stick

    My next step will be to install necessary packages on Ubuntu instead of using Kali, unless some good soul could help me on how to get drivers working on Kali rolling.

    The packages installed by that selection were:
    Code:
    nvidia-pkgs.lst
    bbswitch-dkms
    dkms
    lib32gcc1
    libc6-i386
    libcuda1-367
    libjansson4:amd64
    libxnvctrl0
    nvidia-367
    nvidia-opencl-icd-367
    nvidia-prime
    nvidia-settings
    ocl-icd-libopencl1:amd64
    screen-resolution-extra
    The xorg.conf saved using Nvidia-Settings-Tool:
    Code:
    Section "ServerLayout"
        Identifier "layout"
        Screen 0 "nvidia"
        Inactive "intel"
    EndSection
    
    Section "Device"
        Identifier "intel"
        Driver "modesetting"
        BusID "PCI:0@0:2:0"
        Option "AccelMethod" "None"
    EndSection
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection
    
    Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "PCI:1@0:0:0"
        Option "ConstrainCursor" "off"
    EndSection
    
    Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration" "on"
        Option "IgnoreDisplayDevices" "CRT"
    EndSection
    X0.log
    Code:
    [    10.900] (==) ServerLayout "layout"
    [    10.900] (**) |-->Screen "nvidia" (0)
    [    10.900] (**) |   |-->Monitor "<default monitor>"
    [    10.906] (**) |   |-->Device "nvidia"
    [    10.906] (**) |   |-->GPUDevice "nvidia"
    [    10.906] (==) No monitor specified for screen "nvidia".
            Using a default monitor configuration.
    [    10.906] (**) |-->Inactive Device "intel"
    [    10.906] (==) Automatically adding devices
    [    10.906] (==) Automatically enabling devices
    [    10.906] (==) Automatically adding GPU devices
    [    10.948] (II) xfree86: Adding drm device (/dev/dri/card0)
    [    10.948] (II) xfree86: Adding drm device (/dev/dri/card1)
    [    10.950] (--) PCI:*(0:0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
    [    10.950] (--) PCI: (0:1:0:0) 10de:139b:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
    [    10.950] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
    [    10.950] (II) "glx" will be loaded by default.
    [    10.950] (II) LoadModule: "glx"
    [    10.954] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
    [    11.201] (II) Module glx: vendor="NVIDIA Corporation"
    [    11.201]    compiled for 4.0.2, module version = 1.0.0
    [    11.201]    Module class: X.Org Server Extension
    [    11.205] (II) NVIDIA GLX Module  367.57  Mon Oct  3 20:28:17 PDT 2016
    [    11.209] (II) LoadModule: "nvidia"
    [    11.209] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
    [    11.254] (II) Module nvidia: vendor="NVIDIA Corporation"
    [    11.254]    compiled for 4.0.2, module version = 1.0.0
    [    11.254]    Module class: X.Org Video Driver
    [    11.258] (II) LoadModule: "modesetting"
    [    11.272] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [    11.276] (II) Module modesetting: vendor="X.Org Foundation"
    [    11.276]    compiled for 1.18.3, module version = 1.18.3
    [    11.276]    Module class: X.Org Video Driver
    [    11.276]    ABI class: X.Org Video Driver, version 20.0
    [    11.276] (II) NVIDIA dlloader X Driver  367.57  Mon Oct  3 20:03:48 PDT 2016
    [    11.276] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [    11.278] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [    11.309] (II) NVIDIA(0): Creating default Display subsection in Screen section
            "nvidia" for depth/fbbpp 24/32
    [    11.309] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [    11.309] (==) NVIDIA(0): RGB weight 888
    [    11.309] (==) NVIDIA(0): Default visual is TrueColor
    [    11.309] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [    11.312] (**) NVIDIA(0): Option "ConstrainCursor" "off"
    [    11.312] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "on"
    [    11.312] (**) NVIDIA(0): Option "IgnoreDisplayDevices" "CRT"
    [    11.312] (**) NVIDIA(0): Enabling 2D acceleration
    [    11.426] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 960M (GM107-A) at PCI:1:0:0 (GPU-0)
    [    11.426] (--) NVIDIA(0): Memory: 4194304 kBytes
    [    11.426] (--) NVIDIA(0): VideoBIOS: 82.07.7c.00.0c
    [    11.426] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [    11.426] (II) NVIDIA(0): Validated MetaModes:
    [    11.426] (II) NVIDIA(0):     "NULL"
    [    11.426] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
    [    11.426] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    [    11.426] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
    [    11.426] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
    [    11.426] (**) modeset(G0): Option "AccelMethod" "None"
    
    cut
    
    [    13.892] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
    [    13.892] (II) NVIDIA:     access.
    [    13.912] (II) NVIDIA(0): Built-in logo is bigger than the screen.
    [    13.912] (II) NVIDIA(0): Setting mode "NULL"
    [    13.916] (==) NVIDIA(0): Disabling shared memory pixmaps
    [    13.916] (==) NVIDIA(0): Backing store enabled
    [    13.916] (==) NVIDIA(0): Silken mouse enabled
    [    13.916] (==) NVIDIA(0): DPMS enabled
    [    13.916] (II) Loading sub module "dri2"
    [    13.916] (II) LoadModule: "dri2"
    [    13.916] (II) Module "dri2" already built-in
    [    13.916] (II) NVIDIA(0): [DRI2] Setup complete
    [    13.917] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

  4. #4
    Join Date
    2014-Feb
    Posts
    4
    I did this, and """apparently""" its now working (no time for full testing yet)

    on a fresh install, I updated all with a dist-upgrade, then:

    apt-get purge nouveau* nvidia* && apt-get install bumblebee-nvidia primus && reboot

    test;

    if not working, try to purge and reinstall the xorg packages (this will bring back fresh conf files). Reboot

    test with glxgears.

    report back.

  5. #5
    Join Date
    2016-Dec
    Posts
    5
    As much as I'd like to have it working by now, it does not.
    Did try with fresh install and removing all nvidia and xserver/xorg packages, updating from on-line repository and re-installing required packages (nvidia-kernel-dkms, bumblebee, primus and as part of it xserver packages). Interestingly xserver-xorg-video-nvidia hasn't been pulled automatically as part of dependencies and had to be added manually.

    The effect is that whilst X starts, there is no acceleration. Xserver starts with


    Running
    Code:
    DISPLAY=:0 primusrun glxgears
    /usr/bin/primusrun: line 41: warning: command substitution: ignored null byte in input
    248 frames in 5.0 seconds = 49.522 FPS
    240 frames in 5.0 seconds = 48.000 FPS
    results in:
    Code:
    Jan  4 10:17:09 hostname kernel: [86272.833561] bbswitch: enabling discrete graphics
    Jan  4 10:17:09 hostname kernel: [86273.355496] ACPI Error: [AR02] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
    Jan  4 10:17:09 hostname kernel: [86273.355505] ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG0._PRT] (Node ffff8ff64e8e19d8), AE_NOT_FOUND (20160422/psparse-542)
    Jan  4 10:17:09 hostname kernel: [86273.372780] nvidia-nvlink: Nvlink Core is being initialized, major device number 247
    Jan  4 10:17:09 hostname kernel: [86273.372794] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  375.26  Thu Dec  8 18:36:43 PST 2016 (using threaded interrupts)
    Jan  4 10:17:10 hostname kernel: [86273.381933] vgaarb: this pci device is not a vga device
    Jan  4 10:17:10 hostname kernel: [86273.384163] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384194] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384208] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384229] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384242] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384271] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.384284] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.404784] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95)
    Jan  4 10:17:10 hostname kernel: [86273.626734] vgaarb: this pci device is not a vga device
    Jan  4 10:17:10 hostname kernel: [86273.660455] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.26  Thu Dec  8 18:04:14 PST 2016
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193757] [WARN][XORG] (WW) Warning, couldn't open module mouse
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193767] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193784] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193788] [WARN][XORG] (WW) Warning, couldn't open module mouse
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193791] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193794] [ERROR][XORG] (EE) PreInit returned 2 for "<default pointer>"
    Jan  4 10:17:10 hostname bumblebeed[15950]: [86281.193797] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
    Loaded modules
    Code:
    nvidia_modeset        790528  2
    nvidia              11939840  56 nvidia_modeset
    i915                 1282048  7
    drm_kms_helper        155648  1 i915
    drm                   360448  6 i915,drm_kms_helper
    i2c_algo_bit           16384  1 i915
    video                  40960  2 i915,ideapad_laptop
    button                 16384  1 i915
    Same results I'm getting with different xorg.conf files. Seems like nvidia is not being really used.

    Would it be possible to do following:
    1. purge xserger/xorg and nvidia related packages
    2. add Ubuntu (xenial/16.04 LTS) repositories
    3. install packages

    Since this is a lot of work and will take a lot of time as system is installed on USB stick, I first wanted to check with you guys, as there has to be more simple way by fixing something on Kali side.

  6. #6
    Join Date
    2014-Feb
    Posts
    4
    It seems to be working here, I will be check. For now, try

    modprobe nvidia

    And test again

  7. #7
    Join Date
    2016-Dec
    Posts
    5
    Not waiting for answers, I've went ahead and tried to source xorg/xserver and nvidia packages from Ubuntu repos.
    Tried with disabling Kali repos and having only Ubuntu Xenial 16.04 LTS repos but it didn't work, the same as didn't work with both enabled.

    The problem is that nvidia drivers (ubuntu nvidia-367) have unmet dependencies:
    Code:
     nvidia-367 : Depends: lib32gcc1 but it is not going to be installed
                  Depends: libc6-i386 but it is not going to be installed
    Checking further these depend on Ubuntu tagged packages (exact libc version).
    The libc6-i386 packages are not available at the same time from Kali repos.

    Trying to install different version of libc-i386 than libc would probably not do any good to the system, hence I've aborted this path.

    Any thoughts on how to get Nvidia accelerated drivers working properly?
    For me it seems to be more and more no-brainer to stick with Ubuntu and just use Kali as reference for some apps.

    For others use, there are two more links which might be helpful:
    1. This one didn't bring me any good results:
    https://forums.linuxmint.com/viewtop...02980#p1097514

    2: Haven't tried this one, but this is more for cuda than X display.
    https://fixmynix.com/install-latest-...omment-page-2/

    Regards.

Similar Threads

  1. Replies: 87
    Last Post: 2018-08-20, 03:34
  2. Replies: 375
    Last Post: 2017-06-19, 11:32
  3. Replies: 0
    Last Post: 2017-01-15, 10:39
  4. Screen issues on a NVIDIA Optimus Laptop
    By Neotec00 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2016-10-14, 09:42

Posting Permissions

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