I'm thinking about buying an XPS 15 for CUDA development under Linux. The big deal is something called Optimus.
I'm trying to find out if I can set the BIOS to hard-code which graphics chip to use.
I'm trying to find someone with a relatively new XPS 15 machine to check the BIOS for me. If so, please answer a few Q's for me:
About how old is the machine?
Do you have an Nvidia graphics chip?
Which one? 460m, 525m, 540m, 555m, etc.
What version of BIOS are you running?
Does the BIOS have an Optimus setting? (I'm not sure what they would call it.) It should be under video. It will have options like "discrete" (Nvidia), "integrated" (Intel), or both (Optimus).
Thanks
-
Optimus and linux do not play well at all right now. Here's my input:
XPS 15 l502x
about 6 months old
Bios version A07 (CapitanKasar's undervolted bios)
other info in my sig.
The BIOS has sparse settings, and does not include a setting for video.
Some say it is not possible because of the way optimus works
Going to the laptop display, all video to the screen is processed by the intel card. Any high-work video is processed by the nvidia card and sent through the intel card to the screen.
All video to the hdmi/displayport is sent via the nvidia card.
So in answer to your question, no it can not. Amd switchable graphics can do this, but that is because control of all video is actually passed between the integrated card and the dedicated card.
Hope I've been helpful, granted I don't know much about linux -
You don't need Bumblebee for CUDA on Optimus. Just the CUDA PPA or .run files directly from Nvidia.
Plus, the blog's instructions are pretty garbage since half of the packages are cut off by the margin:
sudo apt-get install nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-compute-profiler libnpp4 nvidia-cuda-doc libcudart4 libcublas4 libcufft4 libcusparse4 libcurand4 nvidia-current nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev opencl-headers
For Arch, just install cuda-toolkit with pacman.
-
Plugging into the HDMI connector will force the nVidia GPU on 100% of the time. -
Thanks all for the info & comments.
I'm trying to force the Nvidia card to be ON all the time, in a Linux environment. (CUDA won't select the Nvidia card. I need to force it somehow.) If hardware does it by just plugging something into the HDMI, I can handle that. If it is software, I'll need to figure out if there is a Linux driver that will do it. There is no Linux support for CUDA. (I'm pretty sure there is regular Linux driver support for their chips.) -
Surely, when the nVidia GPU is enabled, it is controlling ALL displays (internal and external). I can't imagine Intel and nVidia working so well together that they cooperate and share the workload of multiple apps running on different displays simultaneously. But I'm definitely no expert on that.
This is why I much prefer to use a DisplayPort cable instead, as it preserves the Optimus functionality in full. For your CUDA detection purposes, however, it might behoove you to connect with HDMI instead. -
As for the two working together, I'm not sure whether they share the workload, but the intel frame buffer is shared with the nvidia GPU so that it can display on the notebook screen. So while it's using the same buffer, that doesn't mean that the intel graphics is helping with the processing in any way. Frankly I don't really see much point in trying since it's insignificant by comparison and might actually drag performance down.
XPS BIOS Optimus Linux CUDA
Discussion in 'Dell XPS and Studio XPS' started by Sam2255, Jan 14, 2012.