Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
disable_nvidia_nouveau [01.12.2016 10:19] – Pascal Suter | disable_nvidia_nouveau [01.12.2016 17:57] – Pascal Suter | ||
---|---|---|---|
Line 41: | Line 41: | ||
apt-get -y install nvidia-$(pyvidia) | apt-get -y install nvidia-$(pyvidia) | ||
</ | </ | ||
+ | |||
+ | ===== what if nouveau is disabled, nvidia is installed but xorg logs "no device found"? | ||
+ | if you have a system that contains both nvidia and non-nvidia graphics adapters (for example an onboard intel GPU), you might need to tell xorg which PCI device to use in combination with the nvidia driver. to do that, run | ||
+ | nvidia-smi | ||
+ | on the target system. it will display a Bus-Id for your card that looks similar to this: | ||
+ | 0000: | ||
+ | you will need this id for your xorg.conf file. However, the values displayed through nvidia-smi are **hex** values, for xorg.conf you need **decimal** numbers. if you don't know how to convert from hex to dec you can just google for "0x31 = ? decimal" | ||
+ | now edit your ''/ | ||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Driver | ||
+ | BusID " | ||
+ | EndSection | ||
+ | </ | ||
+ | there might be more stuff in there, that's fine, just add the BusID line and keep the rest as is. what's important is, that you add the BusID in the Device section where the Driver is set to " | ||
+ | |||
+ | now restart your xorg and it should find your card at the given PCI id | ||
+ | ===== I want the opposite, Monitor on my onboard card, Nvidia card just for CUDA ===== | ||
+ | in that case you should not need any xorg.conf file, as long as you only connect a screen to your onboard card. BUT, when you install your nvidia drivers, you should make sure that the nvidia glx extensions are not installed, otherwise you won't even have software accelerated glx support which means no more unity desktop and no mor glx applications. in order to do that, you need to pass an additional option to the nvidia installer: | ||
+ | ./ | ||
+ | now your system will still use the standard xorg glx module and hence work with your onboard card. |