Re: matrox G400 framebuffer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alle 17:36, domenica 26 gennaio 2003, Facci Carlo ha scritto:
> Ciao
>
> >mga_vid,
>
> sarebbe?
What does this code do?
mga_vid is a kernel module that utilitizes the Matrox g200/g400 video
scaler/overlay unit to perform YUV->RGB colorspace conversion and
arbitrary video scaling.
mga_vid is also a monster hack.
How does mga_vid work?
This kernel module sets up the BES (backend scaler) with approriate
valu es based on parameters supplied via ioctl. It also maps a chunk of
video memory into userspace via mmap. This memory is stolen from X (which may
decide to write to it later). The application can then write image
data directly to the frame buffer (if it knows the right padding, etc).
Altre istruzioni le trovi nella documentazione di mplayer, e nei sorgenti di
mplayer sotto driver/ trovi i sorgenti per la compilazione di mga_vid, poi
segui le istruzioni e ti vedi i filmati accelerati con mga da terminale.
> Non avevo ancora provato, ma confermo, anzi poi la consolle diventa
> quasi inutilizzabile.. alcuni caratteri non si vedono, addirittura mi
> trovo la grafica di X.... Bah...
Beh, se fai dei passi in avanti nella soluzione dell'arcano ti prego di
informarmi :)
>
> Cmq grazie! :-)
Prego!
> Ciao Carlo
- --
Francesco
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+NHaZbiN+img/e0kRAt1JAJ0UL9YROcen00rRppL3ScH9AHcyjQCdFcA5
YNsGK5HHd5qi7tuy1g9nOVI=
=MbUG
-----END PGP SIGNATURE-----
Reply to: