tech-kern archive

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

Re: pm2fb driver



Dear Michael-san.

Hello.

I carry out a test according to your instructions.

====================
NetBSD/alpha

Bitmap font
See:
https://twitter.com/nullnilaki/status/544884990329102337
https://twitter.com/nullnilaki/status/544885134453788673

Anti-aliased font
See:
https://twitter.com/nullnilaki/status/544885264271687680
https://twitter.com/nullnilaki/status/544885522405945344

wsfb-driver
See:
https://twitter.com/nullnilaki/status/544885686629711872
====================
NetBSD/sparc64

Bitmap font
See:
https://twitter.com/nullnilaki/status/544916180784267265
https://twitter.com/nullnilaki/status/544916729470533632

Anti-aliased font
See:
https://twitter.com/nullnilaki/status/544916880993968128
https://twitter.com/nullnilaki/status/544917012581842945

wsfb-driver
See:
https://twitter.com/nullnilaki/status/544917098514771968
====================

>- a workaround for pm2fb_bitblt() on little endian hardware as
>discussed recently ( Seriously, I have no idea why this is necessary.
>Endianness shouldn't matter for unaligned blits - according to the
>manual 'adjust' should be the number of pixels the source needs to be
>shifted in order to match the destination's alignment, for vertical
>scrolling it should be 0. The Xorg driver contains nothing
>endian-specific there either. There must be something else I'm
>missing. )

I agree with you.
It may seem strange, nevertheless it is a fact.

====================

>Please try xf86-video-glint as well.

It is quite impossible.

XFree86 is the default for NetBSD/alpha.(Support ancient chip)

See:
http://nxr.netbsd.org/xref/src/share/mk/bsd.own.mk#1019

and

Xorg is broken on NetBSD/alpha.
I think that X cannot map /dev/mem.

See:
http://mail-index.netbsd.org/port-alpha/2014/09/27/msg000710.html
http://mail-index.netbsd.org/port-alpha/2012/06/16/msg000545.html
http://mail-index.netbsd.org/port-alpha/2011/04/17/msg000443.html

I tried to fix this problem, but I was give up.
I and tsutsui-san was fixed bus_space_mmap's problem instead of it.

See:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48431

Therefore, I use only wsfb-driver.
====================

I think that all problem are solved!

Please modify /sys/arch/alpha/conf/GENERIC!

--- conf.orig/GENERIC   2014-09-20 00:06:45.000000000 +0000
+++ conf/GENERIC        2014-09-20 00:03:49.000000000 +0000
@@ -360,6 +360,7 @@
 viaide* at     pci? dev ? function ?           # VIA/AMD/Nvidia IDE controllers
 pcn*   at      pci? dev ? function ?           # AMD PCnet-PCI Ethernet
 pcscp* at      pci? dev ? function ?           # AMD Am53c974 PCscsi-PCI
+pm2fb*  at      pci? dev ? function ?           # 3Dlabs Permedia 2 Graphics
 ppb*   at      pci? dev ? function ?           # PCI-PCI Bridges
 puc*   at      pci? dev ? function ?           # PCI "universal" comm. cards
 radeonfb* at   pci? dev ? function ?           # ATI/AMD Radeon Graphics

====================

I am very happy that I was able to work with you.

An addition
See:
https://twitter.com/nullnilaki/status/544886037747470336
https://twitter.com/nullnilaki/status/544917388102082560

-- 
Best regards,
Naruaki Etomi


Home | Main Index | Thread Index | Old Index