Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cg14 vesa (modes) project on github





чт, 8 янв. 2026 г., 04:33 Michael <macallan1888%gmail.com@localhost>:
Hello,

On Wed, 7 Jan 2026 20:00:23 +0300
Andrew Randrianasulu <randrianasulu%gmail.com@localhost> 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




Home | Main Index | Thread Index | Old Index