Bug#735049: nvidia-support: Debconf prompts are misleading for NVIDIA Optimus users

Andreas Beckmann anbe at debian.org
Thu Jan 16 11:14:09 UTC 2014


On 2014-01-14 14:05, Vincent Cheng wrote:
> On Sun, Jan 12, 2014 at 4:15 AM, Andreas Beckmann <anbe at debian.org> wrote:
>> Or can we somehow detect Optimus systems and show an entirely different
>> template there?
> 
> Ack, probably a better idea than just assuming the user knows how to
> determine if their laptop uses optimus or not. How Canonical does this
> in their nvidia-prime package can be found at [1], which requires
> nothing more than lspci (not sure if we can just assume pciutils is
> available).

That looks pretty easy, and having a dependency on pci-utils can be
arranged (we might already have this).

So what possible combinations should we handle:

* no nvidia: no debconf
* nvidia + intel + laptop:
  * bumblebee installed: no debconf
  * bumblebee not installed: new debconf recommending bumblebee
* remaining nvidia: old debconf prompt: you need to configure manually

Could you suggest some wording for the template?
Also we should update README.Debian for Optimus systems - could you
suggest some paragraphs?

> I guess we could check for optimus systems in a similar
> manner somewhere in postinst, and then just avoid triggering the
> nvidia-support/create-nvidia-conf template?

create-nvidia-conf is not active, it was a test from me, but never
activated.

> (First email ever using my @debian.org address, yippee! ;)

Welcome!


Andreas



More information about the pkg-nvidia-devel mailing list