Writing to /dev/fb0
Sergey Manucharian
sm at ara-ler.com
Fri Jun 21 22:08:46 UTC 2019
Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 13:34:
> Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 12:05:
> > You probably can convert this source file from my tslib branch to
> > standalone app:
> >
> > https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c
>
> Vijay,
>
> Before compiling remove references to font related stuff like
> "put_char" and "put_string" since they need linking with a font
> processing library (not libfreetype).
Strings work too - when compiled with font*.[ch] files from the same
source.
The fb driver spits out the following message
WARNING: Device driver fb has set "memattr" inconsistently (drv 0 pmap 3).
with each pixel drawn and significantly slows down the output.
It'll be good to fix or at least disable that message for real practical
use of direct fb access.
The message itself comes from:
sys/vm/device_pager.c
--
Ϟϻ
More information about the freebsd-arm
mailing list