Bug 207411

Summary: vt has no modes with nvidia, however syscons does
Product: Base System Reporter: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: emaste, marek
Priority: --- Keywords: vt
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209213

Description Jonathan de Boyne Pollard 2016-02-22 08:09:35 UTC
* https://lists.freebsd.org/pipermail/freebsd-current/2014-March/048937.html

This bug reported to a FreeBSD mailing list by Thomas Hoffmann in 2014 still exists.

With syscons, and the nvidia kernel module, vidcontrol -i mode lists a range of available video modes.  

With vt, vidcontrol -i mode lists modes with zero in all fields (except for negative memory window sizes), and programs that make the same ioctl() call themselves in order to determine available video modes either complain about no video modes or crash with division by zero errors and suchlike.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2019-09-20 10:45:07 UTC
Reporting zeroed or bogus modes has been fixed. The underlying issue (lack of mode changing support via vidcontrol) still exists, and vidcontrol -i mode now reports:

% vidcontrol -i mode
    mode#     flags   type    size       font      window      linear buffer
------------------------------------------------------------------------------
%