Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only use black and white colors #144

Open
RossComputerGuy opened this issue May 21, 2017 · 2 comments
Open

Can only use black and white colors #144

RossComputerGuy opened this issue May 21, 2017 · 2 comments

Comments

@RossComputerGuy
Copy link
Contributor

Why can't I render any colors that are not black and white.
I get this error:

Error
    at XClient.req_proxy [as ChangeGC] (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:189:30)
    at RenderingContextX11.RC.setBackground (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/renderingcontext_x11.js:31:17)
    at new WindowManager (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/wm/index.js:19:29)
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/index.js:6:2
    at callback (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/index.js:17:17)
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/index.js:56:13
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:590:8
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/ext/render.js:607:17
    at ReadFixedRequest.callback (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:545:21)
    at ReadFixedRequest.execute (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/unpackstream.js:41:10)
{ Error
    at XClient.req_proxy [as ChangeGC] (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:189:30)
    at RenderingContextX11.RC.setBackground (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/renderingcontext_x11.js:31:17)
    at new WindowManager (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/wm/index.js:19:29)
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/index.js:6:2
    at callback (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/index.js:17:17)
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/ntk/lib/index.js:56:13
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:590:8
    at /home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/ext/render.js:607:17
    at ReadFixedRequest.callback (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/xcore.js:545:21)
    at ReadFixedRequest.execute (/home/spaceboyross/Documents/entertaingmentOS-core/src/GUI/node_modules/x11/lib/unpackstream.js:41:10) timestamp: 1495388246048 }

@sidorares
Copy link
Owner

can I look at the code? I guess it's https://github.com/Ross-Computers/entertaingmentOS-core but nothing pushed yet?

if you are using ntk I suggest to use Render-based 2d context instead of x11 context ( which is based on 30+ years old core X11 drawing api )

@RossComputerGuy
Copy link
Contributor Author

My code is lost just now from AMD Radeon drivers failing to run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants