Hello

I followed this guide https://forums.kali.org/showthread.p...ll=1#post35420

Everything is working but each time I want to use the optirun command, I have to do the following command before :

Code:
sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1
If I don't do that, I have an error on my optirun command :

Code:
root@kali:~# optirun glxspheres64
[ 3199.014506] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!

[ 3199.014616] [ERROR]Aborting because fallback start is disabled.
So I have to find a way for make the above command permanent. I already edited my /etc/default/grub file with the following line :

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"
then

Code:
update-grub
But it don't works, I still have to use the 'sudo tee /sys/module/rcutree/parameters/rcu_idle_gp_delay <<<1' command to get optirun working.

Here is my /etc/default/grub file : http://pastebin.com/GtACSxeu

Or maybe there is a way to run the command at kali startup, but I don't know how to do that.

So I hope someone could help me