Coder Social home page Coder Social logo

Framebuffer about microwindows HOT 4 OPEN

gaaw7 avatar gaaw7 commented on May 28, 2024
Framebuffer

from microwindows.

Comments (4)

ghaerr avatar ghaerr commented on May 28, 2024

The video mode you're using vga=791 is 16 bit color 1024x768. I don't have a framebuffer setup for 16 bit (working on it), so I'm only guessing that perhaps the truecolor -> 565 alpha blit routine is possibly not called correctly from other commits, since the non-alpha blended colors seem to be working.

Any chance you can boot into a 1024x768 24-bit color mode (vga=792) to see whether the problem persists? I am running 32 bit framebuffer and things look fine. If you can give me another day or so I hope to have a 16-bit FB setup.

What is the other error you're getting with the vnc server compile?

from microwindows.

ghaerr avatar ghaerr commented on May 28, 2024

Ok, I've got a 16-bit frame buffer setup and have duplicated your problem.

I'm not quite sure the fix yet, but everything will work for the time being if you
set SCREEN_PIXTYPE=MWPF_TRUECOLOR565 in your config file,
rather than using the default MWPF_TRUECOLORARGB.

from microwindows.

gaaw7 avatar gaaw7 commented on May 28, 2024

Thanks Gregory,
with 24 bits works ok.
When compiled with vnc support i've received this error

In file included from /usr/include/rfb/rfb.h:41:0,
from /root/microwindows/microwindows-master/src/nanox/srvmain.c:25:
/usr/include/stdio.h:314:6: error: unknown type name '_IO_cookie_io_functions_t'
_IO_cookie_io_functions_t __io_funcs) __THROW __wur;
^
/root/microwindows/microwindows-master/src/nanox/srvmain.c: In function 'GsInitialize':
/root/microwindows/microwindows-master/src/nanox/srvmain.c:1014:14: warning: implicit declaration of function 'GdOpenVNC' [-Wimplicit-function-declaration]
if (!GdOpenVNC(psd, Argc, Argv)) {
^
/root/microwindows/microwindows-master/src/nanox/srvmain.c:1014:29: error: 'Argc' undeclared (first use in this function)
if (!GdOpenVNC(psd, Argc, Argv)) {
^
/root/microwindows/microwindows-master/src/nanox/srvmain.c:1014:29: note: each undeclared identifier is reported only once for each function it appears in
/root/microwindows/microwindows-master/src/nanox/srvmain.c:1014:35: error: 'Argv' undeclared (first use in this function)
if (!GdOpenVNC(psd, Argc, Argv)) {
^
/root/microwindows/microwindows-master/src/nanox/srvmain.c: In function 'GsTerminate':
/root/microwindows/microwindows-master/src/nanox/srvmain.c:1125:2: warning: implicit declaration of function 'GdCloseVNC' [-Wimplicit-function-declaration]
GdCloseVNC();
^

from microwindows.

ghaerr avatar ghaerr commented on May 28, 2024

Not sure what the reason for your stdio.h error is.

The Argc and Argv errors are because the HAVE_VNC_SERVER isn't supported when compiling with LINK_APP_INTO_SERVER. It will compile when that option is set to N.

from microwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.