Re: Missing X binary

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <CAGN_6pa7eTh=Ms5BNaiv1BMOVdg84jF=66vdJYTB=1NyALMidA@mail.gmail.com>
OK, after a selection of minor issues - gxemul now runs X11 from a
current NetBSD/pmax build

https://twitter.com/abs0/status/1466899301427257347 (as I can't
usefully send a screenshot to the list :)

So issues:
- Working out the seemingly random set of files to tweak to get pmax
to build xf86-video-wsfb
- Finding out that Xorg 1.20 won't build, so switching pmax to using
1.10 (similar to vax)
- X failing to start due to missing WSDISPLAYIO_GET_FBINFO support in
the cfb driver (now added)
- Xorg 1.10 is missing the uxterm binary used by the default ctwmrc
(which is _really_ annoying, if trivial to workaround)
- Thinking the keyboard mapping is all to hell, until I realised that
the key marked <X] sends The Correct Sequence To Delete A Character,
not ^H

Anyway, I'm going to run up a full release build with ISO, and then
upload it with some brief notes in case anyone else wants to have a
play (which will be tomorrow now as I'm currently enjoying a power cut
with a less than full laptop battery), then look to get it in-tree for
the next NetBSD version.

David

On Wed, 1 Dec 2021 at 21:08, David Brownlee <[email protected]> wrote:
>
> On Wed, 1 Dec 2021 at 18:59, Parodper <[email protected]> wrote:
> >
> > O 01/12/21 ás 19:26, David Brownlee escribiu:
> > > On Sun, 31 Oct 2021 at 10:28, Parodper <[email protected]> wrote:
> > >>
> > >> Hi,
> > >>
> > >> I was playing around on gxemul with a DECstation 3MAX VM, and found out,
> > >> when trying to startx, that the xserver.tgz set does not include the
> > >> eponymous X server.
> > >>
> > >> Am I missing something, or is it just not included?
> > >
> > > It looks like it dropped out during an upgrade of the Xorg version
> > > between NetBSD-7 and NetBSD-8 (probably when XAA acceleration support
> > > was dropped). As it happens it should be possible to run a generic
> > > Xwsfb X server, similar to VAX.
> >
> > Thanks for the answer. Will try that when I have the time.
> >
> > > However, unless I miss my guess, gxemul doesn't actually emulate
> > > DECstation display hardware, so an X server may not help you.
> >
> > http://gavare.se/gxemul/gxemul-stable/doc/machine_decstation.html#netbsdpmaxinstall
> > does show twm, but that info was last updated on NetBSD 7.1.2
>
> Aha - thanks for the pointer!
>
> OK, so the NetBSD-7.1 ISO failed to boot for me under gxemul, but I
> was able to boot and install the latest netbsd-HEAD from
> http://nyftp.netbsd.org/ and then use it to mount the NetBSD-7.1 ISO
> and extract the sets into /altroot
>
> A quick 'chroot /altroot' and 'export PATH=/usr/X11R6/bin:$PATH' then
> 'startx' and the glory of twm is revealed.
>
> Let me tweak a copy of the NetBSD tree to build an Xwsfb server and
> see what happens...
>
> Thanks
>
> David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.