Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xwsfb on DECstation 5000/133 with PMAGB-B
> I've tried a few more permutations:
>
> NetBSD 7.2 X11R6 sets on a 9.99.92 system, X starts then immediately quits, monitor shows:
>
> XdecNetBSD: screen 0: HX (SFB), 1280x1024
> X connection to :0.0 broken
I saw this several times. Could you confirm your settings?
- make sure 'ldd /usr/X11R6/bin/XdecNetBSD' shows all linked shlibs
are available
- make sure to extract a whole X11R6 (NetBSD 7.2) xfonts.tgz set
(xfonts in /usr/X11R7 don't work)
- 'ktrace /usr/X11R6/bin/XdecNetBSD' then check kdump(1) output
> Is there any debug I can enable that might help with finding out
> why Xorg on 10.0 doesn't work on my PMAGB-B?
The current Xorg server with xf86-video-wsfb requires
mmap(2) with WSDISPLAY_MODE_DUMBFB set by WSDISPLAYIO_SMODE ioctl(2):
https://github.com/NetBSD/xsrc/blob/698f741c39b8267f3e3af22cea83f06c4e5e6996/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c#L870
https://github.com/NetBSD/xsrc/blob/698f741c39b8267f3e3af22cea83f06c4e5e6996/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c#L929
However looks src/sys/dev/sfb.c (and other traditional DEC derived
framebuffer drivers) doesn't provide it for generic wsfb driver
(i.e. dumb fb only access without accelerations via device registers).
https://github.com/NetBSD/src/blob/635c4e7ee7570e1e42d915233cface78a330cd48/sys/dev/tc/sfb.c#L483
I guess implementing WSDISPLAY_MODE_DUMBFB might be trivial, like this:
https://github.com/NetBSD/src/blob/635c4e7ee7570e1e42d915233cface78a330cd48/sys/dev/pci/machfb.c#L2031
I'll dig out my 5000/125 from closet later.
https://dmesgd.nycbug.org/index.cgi?do=view&id=6179
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index