Nvidia GPU optirun work but

Hi guys,

I have a problem with my GPU. yes thats a nvidia GPU like all :stuck_out_tongue:

I install the 390 nvidia driver with sudo apt install nvidia-driver bumbleblee-nvidia primus xserver-xorg-video-nvidia and some other package for OpenCL to make hashcat and pyrit work with it…

if i make nvidia-smi i have NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
But if i make optirun nvidia-smi :
Thu Jun 7 16:05:31 2018
±----------------------------------------------------------------------------+
| NVIDIA-SMI 390.48 Driver Version: 390.48 |
|-------------------------------±---------------------±---------------------+
| 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 920MX Off | 00000000:01:00.0 Off | N/A |
| N/A 38C P0 N/A / N/A | 5MiB / 2004MiB | 0% Default |
±------------------------------±---------------------±---------------------+

    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |    0     19247      G   /usr/lib/xorg/Xorg                             4MiB |
    +-----------------------------------------------------------------------------+

When i type lspci -k | grep EA3 '3D|DISPLAY|VGA' i have this output :

    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
            Subsystem: ASUSTeK Computer Inc. Skylake GT2 [HD Graphics 520]
            Kernel driver in use: i915
            Kernel modules: i915
    --
    01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 920MX] (rev ff)
            Kernel modules: nvidia

Like you see i dont have a kernel driver in use for my 920mx

i can use it like that the intel GPU for all my current task and optirun to use for ponctually task like hashcat but i like when all is in order :stuck_out_tongue:

What version of Parrot are you running? (include version, edition, and architecture) the last 4.16.0-parrot12-amd64

Configured to multiboot with other systems? (yes / no) no

when i make inxi -G

Graphics:  Card-1: Intel HD Graphics 520 driver: i915 v: kernel
           Card-2: NVIDIA GM108M [GeForce 920MX] driver: N/A
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz                                               
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) v: 4.5 Mesa 17.3.9 

when i use optirun with inxi -G

Graphics:  Card-1: Intel HD Graphics 520 driver: i915 v: kernel
           Card-2: NVIDIA GM108M [GeForce 920MX] driver: nvidia v: 390.48
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz                                               
           OpenGL: renderer: GeForce 920MX/PCIe/SSE2 v: 4.6.0 NVIDIA 390.48

Nobody to help me to work this GPU without optirun??? i will make some alias but thtas boring my alias files will have thousnads of entry at the end xD

Nobody who know how optirun hnadle the driver etc?? or some hint :frowning:
i take my joker ask to the public never work :smiley: