Re:One Dog vs. the Windows 3.1 Graphics Stack
by int_19h on Saturday January 04, 2025 @03:38PM
(#42597513)
It's been a very long time, but I recall X having a generic VGA driver that "just worked". Are you saying that's not there anymore?
[ Parent
| on HN ]
Re:One Dog vs. the Windows 3.1 Graphics Stack
by ok123456 on Saturday January 04, 2025 @04:15PM
(#42597731)
I remember the "generic" VGA driver having horrible default settings that resulted in 300x200 at 16 colors.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by kijiki on Saturday January 04, 2025 @05:35PM
(#42598187)
320x200 at 256 colors. X doesn't support any depth lower than 8bit, so VGA 640x480 wouldn't work.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by mjg59 on Saturday January 04, 2025 @05:53PM
(#42598282)
X does, modern X apps may not.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by Zardoz84 on Saturday January 04, 2025 @05:42PM
(#42598217)
I remember that Xfree86 allowed 1 bit (B&W) modes
Re:One Dog vs. the Windows 3.1 Graphics Stack
by maximilianburke on Saturday January 04, 2025 @09:40PM
(#42599317)
X absolutely supports depths of 1 and 4 bits per pixel, along with 8bpp, with its VGA server: https://www.xfree86.org/4.8.0/vga.4.html
Re:One Dog vs. the Windows 3.1 Graphics Stack
by kijiki on Saturday January 04, 2025 @11:11PM
(#42599707)
Thanks for the correction.
I hadn't thought of 1bpp because it isn't interesting on VGA hardware. But you're absolutely right about 4bpp having been a thing.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by int_19h on Saturday January 04, 2025 @09:20PM
(#42599233)
I just had a look at the install of ancient NetBSD I have running on my Pocket386, and the X server in there (which is XFree86 3.x) does have a generic VGA driver that does 640x480 at 16 colors just fine. I'm not sure what the "default settings" would be in this context since X that old doesn't even start without a proper XF86Config.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by ok123456 on Sunday January 05, 2025 @12:25PM
(#42603301)
Old would mean mid-90s XFree86.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by int_19h on Sunday January 05, 2025 @02:57PM
(#42604514)
That's exactly what I'm talking about here, as well. NetBSD 1.2 is from 1996.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by marcodiego on Saturday January 04, 2025 @03:54PM
(#42597613)
Not only that, I remember X.org source tree had a bult-in x86 emulator so VGA bios of some PCI video cards could be run on Solaris.
Re:One Dog vs. the Windows 3.1 Graphics Stack
by mjg59 on Saturday January 04, 2025 @05:56PM
(#42598301)
Technically not related to Solaris, since Solaris x86 existed and you wouldn't need it there, but yes, this was used on Sparc and any other CPU unable to run the card BIOS (including 64-bit x86 Linux, since virtual 8086 mode goes away when you're on long mode)
Re:One Dog vs. the Windows 3.1 Graphics Stack
by mjg59 on Saturday January 04, 2025 @06:15PM
(#42598380)
Generic VGA doesn't generally exist on EFI platforms, the firmware doesn't program the card into a state where the VGA registers are going to do anything useful. You should get a working unaccelerated framebuffer from the firmware, though.