Re: cg14 vesa (modes) project on github
Andrew Randrianasulu <[email protected]> Thu, 8 Jan 2026 05:12:14 +0300
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <CA+rFky5FSpqdKGzDzrbhJEDEFu1OGFnzRJt5-4wq-4TWcty20A@mail.gmail.com> |
чт, 8 янв. 2026 г., 04:33 Michael <[email protected]>: > Hello, > > On Wed, 7 Jan 2026 20:00:23 +0300 > Andrew Randrianasulu <[email protected]> wrote: > > > found this project; > > > > https://github.com/mdehling/cg14-vesa-mod > > "NetBSD 9.2 boots fine. The Xorg 'xf86-video-suncg14' driver implements > only 24-bit support. I have patched it to add 8-bit support and Xorg > works fine at 1920x1200x60 in 8-bit mode with a 4MB VSIMM. No hardware > acceleration for now!" > > ... I added 8bit support a while ago, mostly because people wanted to > run higher resolutions with 4MB VSIMMs. I also added ( still somewhat > wonky ) 16bit colour support, for the same reason. > > That being said, my drivers *should* run with whatever the firmware > hands them, hm, I think I should test this patched qemu against latest netbsd/sparc install cd .... I am not sure NetBSD'S kernel driver can deal with _partial_ cg14 emulation, without real SX coprocessor backing it. Is there simple way to turn off framebuffer accel for testing? Without recompiling ... they don't touch the pixel clock or any other video mode > related registers. There may be some hidden assumptions about > scanlines being 32bit aligned though, and that would mess with 1366x768 > for example ( I remember fixing a bug like that when jdc@ added mode > setting support to our ffb drivers ) > > have fun > Michael > > >