On Sat, Jan 12, 2019 at 12:24:40PM +0100, Elias Bürli wrote: > Hello > > On Thu, Jan 10, 2019 at 9:59 AM Matthieu Herrb <matth...@herrb.eu> wrote: > > > You can try, it shouldn't be too hard. IIRC the only main difference > > is the way the framebuffer and the Sbus/UPA registers are mapped, but > > this code is on the xserver side, not the driver. So it shouldn't have > > much influence. > > > > I don't have a working sparc64 machine with Creator3D graphics these > > days, so I can't really help testing, but if you get something > > working, a patch is always welcome. > > Ok, thanks for the feedback. I will give it a try to compile my own > sunffb driver based on the NetBSD sources (seems like a good project > for a rainy weekend). > While searching for info, I found that someone managed to port it to > debian sparc a while back: > https://lists.debian.org/debian-sparc/2016/03/msg00005.html > > From what I gather, to compile my own X driver module, I need to have > the X development libraries installed (something like libX11-dev). > Are those available as an OpenBSD package/port (I couldn't find it so > far), or do I need to get them manually?
There are no such things as development libraires on OpenBSD. If you install the 'x' sets you have all you need to build things by yourself from sources. You will have to rerun the autoconf tools in /usr/xenocara/driver/xf86-video-sunffb, so a few packages from ports are also needed. Check /usr/xenocara/README for instructions. -- Matthieu Herrb