I have gone to great lengths to appease Nvidia Drivers. The following does not produce a console on my hardware
set linux_gfx_mode=text export linux_gfx_mode menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f47d27d1-2d39-4f88-8ecc-cc26d7ab51cc' { recordfail gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 6999d3cd-e1c1-4938-8930-10fe35a36b34 else search --no-floppy --fs-uuid --set=root 6999d3cd-e1c1-4938-8930-10fe35a36b34 fi linux /vmlinuz-3.19.0-14-lowlatency root=UUID=f47d27d1-2d39-4f88-8ecc-cc26d7ab51cc ro text elevator=deadline zcache nomodeset i915.modeset=0 nouveau.modeset=0 video=vesa:off vga=normal init=/lib/systemd/systemd nomdmonddf nom$ initrd /initrd.img-3.19.0-14-lowlatency }
this still yields the infamous
[ 6.615376] NVRM: Your system is not currently configured to drive a VGA console [ 6.615379] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver [ 6.615381] NVRM: requires the use of a text-mode VGA console. Use of other console [ 6.615383] NVRM: drivers including, but not limited to, vesafb, may result in [ 6.615384] NVRM: corruption and stability problems, and is not supported.
Thomas Lübking from kde.org telling me its all in my config:
On Freitag, 17. April 2015 01:06:51 CEST, lavacano wrote:
its a EFI/nvidia/VGA bug
No. It's a grub thing. Grub allocates a framebuffer and you either have to preventi it from doing so or make it release it again.
"it just works"
The behavior is undefined. It works until it does not.
there is literally no combination of vesa/uvesafb/vesa off console=text that works in any case
See the archlinux link. It's a grub thing.
never not throw that error when using UEFI and Nvidia linux :(
I won't believe there's an UEFI that keeps a framebuffer open after its init job is done until I see one ;-P
I yield to hivemind's superior grub wrangling!
FYI:
cat /etc/default/grub | sed '/^\#/d' GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="text elevator=deadline zcache nomodeset i915.modeset=0 nouveau.modeset=0 video=vesa:off vga=normal" GRUB_CMDLINE_LINUX="init=/lib/systemd/systemd" GRUB_TERMINAL_OUTPUT=console GRUB_GFXPAYLOAD_LINUX=text GRUB_TERMINAL=console
[link][4 comments]