Carlos E. R. composed on 2016-11-28 04:19 (UTC+0100):
Felix Miata wrote:
Carlos E. R. composed on 2016-11-28 02:03 (UTC+0100):
On 2016-11-28 01:19, Felix Miata wrote:
Neither modesetting nor nouveau will function if nomodeset or nouveau.modeset=0 is present on kernel's cmdline, while either of the latter two is required for any nvidia proprietary driver to function. Thus, I'd be surprised to learn that there is any practical way to make an automatic switch between FOSS and proprietary with any NVidia gfxchip.
This paragraph is confusing to me.
You say that for the nvidia proprietary driver to work, one needs either "nomodeset" or "nouveau.modeset=0" in the kernel command line? Well, I use neither:
Isengard:~ # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.4.27-2-default root=UUID=0d457df1-b43d-4587-aa5a-6c919bcbedb8 ro resume=/dev/sda2 splash=verbose showopts Isengard:~ #
Well then NVidia must finally have brought its driver into the KMS era. With what version(s) of its driver did this first occur?
I don't know. I use "NVIDIA-Linux-x86_64-340.96.run", the machine is still on 13.1.
The trick this file:
Telcontar:~ # cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf # generated by nvidia-installer blacklist nouveau options nouveau modeset=0 Telcontar:~ #
It is the same settings you mention, but done in a separate file that is read after booting and loading the kernel, although it is possible that the file is replicated in the initrd ramdisk, so it is read early enough.
Doesn't look as if it is using KMS.
So it would seem as a non-user of proprietary drivers I have oversimplified the possible mechanics by which proprietary driver installation can defeat KMS in order for the proprietary Xorg driver to be employed. Presence of either modeset defeat parameter on cmdline, if present, thus represents a readily available clue to KMS defeat, rather than being necessary to its defeat. Nevertheless, it remains that as long as KMS is blocked, neither nouveau nor modesetting Xorg driver can be used, so it seems that OP's stated goal of automatic switching between proprietary and FOSS for driving his NV117 may be unreachable. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org