0

I am trying to boot a Linux system (Debian 11) with an NVIDIA GPU; I need to avoid loading the nouveau driver, which I can do if I include some options on the linux command line (in grub.cfg):

terminal_input console terminal_output console set gfxmode=text set timeout=5 menuentry 'Debian 11' { linux /debian11/boot/vmlinuz-5.10.0-22-amd64 console=tty0 ip=dhcp root=/dev/nfs ro nfsroot=192.168.50.111:/image/debian11,vers=3,nolock panic=60 ipv6.disable=1 rootwait vga=normal nofb nomodeset video=vesafb:off initrd /debian11/boot/initrd.img-5.10.0-22-amd64 } 

The reason for doing this is that I need to load NVIDIA's proprietary modules, and it works OK, as far as it goes. The unfortunate consequence of this is that I no longer have the VTYs available - not a huge problem, since this is for a server that is mostly accessed via ssh, but sometimes it is necessary to look at the text console, so I'd like to have it back - but without loading the nouveau module. This used to be perfectly easy in the past, but it seems the kernel insists on loading a framebuffer device instead of just printing text.

Is there a way to fix this?

8
  • 1
    Why aren't you using simpledrm/simpledrmdrmfb? It works just fine with NVIDIA. Commented Mar 1, 2024 at 14:50
  • @ArtemS.Tashkinov I was not aware there was such a thing :-) I'll check it out. Does it require rebuilding the kernel? Commented Mar 1, 2024 at 15:49
  • Dunno, aren't you running your distro kernel? Commented Mar 1, 2024 at 16:32
  • 2
    I understand nomodeset but who or what added vga=normal nofb video=vesafb:off? Those don't look appropriate or warranted at all. Try without them. Commented Mar 1, 2024 at 16:59
  • 1
    I highly recommend posting your issue here: forums.developer.nvidia.com/c/gpu-graphics/linux/148 Commented Mar 1, 2024 at 17:33

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.