Seems like I've solved my own problem, but for the ones that have the same problem here is what i did:
Code:
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* included/linux
Download the headers from apt-get for your kernel.
To get the version:
Then:
Code:
apt-get update && apt-get install linux-headers-Your.Version
Download the latest beta driver from nvidia.com
Do this to get it executable:
Code:
chmod -x Your.Driver.sh
Logout from X or do this before the startx-command and install the drivers.
Code:
sh filename.sh --kernel-source-path='/usr/src/linux'
Make sure nvidia do the config before closing or do this command:
Reboot.
Before you do startx you have to manually config the X.
So first you need to know your GPU.
Do:
And look for your card. Copy the numbers to the left where the text starts, and the exact name of your card.
Mine was: 01.00.0 something, something nVidia Corporation GF108 [GeForce GT 430]
So now let's add some settings and stuff in the config:
Code:
nano /etc/X11/xorg.conf
Search for the: Section "Device"
In identifier you put your card name inside the "".
Add:
Code:
Option "BusType" "PCIE"
Option "DesktopSetup" "horizontal"
And next thing to do is to add that number we got before using lspci but you delete the unnecessary zeros.
From 01.00.0 to 1.0.0 and put them like this:
My section looks like this:
Code:
Section "Device"
Identifier "nVidia Corporation GF108 [GeForce GT 430]"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "BusType" "PCIE"
Option "DesktopSetup" "horizontal"
BusID "PCI:1:0:0"
EndSection
Ctrl-o to save.
Reboot if you want and there you go.
This worked for me but I've tried alot of things before that so hopefully this will do it.