Since my distro of choice has upgraded to Linux Kernel 6 and newer, the virtual console output is broken. The last known kernel that worked is 5.18.16. I am currently using the nvidia linux driver 525.89.02, the latest kernel 6.1.14. The computer boots, as expected and for a brief moment the virtual console outputs on the screen and then stops, as if the screen hangs/freezes. A short moment later X11/Gnome load normally, and the system operates as normal except for the virtual console.
Switching TTYs I see the same the same output prior to the output stopping.
Now the thing is the virtual console is working it just the screen is not updating. I can CTRL+ALT+F3, login and execute commands successfully, the screen never changes. So I can login and enter ‘sudo reboot’ and the machine will reboot shortly there after. I can switch back to Gnome without issue. I believe the issue might be with the framebuffer. I have tried setting modeset to 0 and 1 without success.
diff --git a/drivers/video/aperture.c b/drivers/video/aperture.c
index 41e77de1ea82..7ca0730ed1c5 100644
@@ -294,7 +294,7 @@ int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t si
* ask for this, so let's assume that a real driver for the display
* was already probed and prevent sysfb to register devices later.
+ // sysfb_disable();
every kernel release
this happen with both drivers (close source and open source)
Interesting. I hadn’t seen this particular version of this bug before, but I think you’re right that this is another configuration that triggers this kernel bug. Normally, the problem occurs when a DRM driver for a different GPU registers a framebuffer console, but in this case it looks like the vfio-pci driver taking control of the secondary GPU has the side effect of disabling the framebuffer console on the primary GPU.