Can I use OpenCL to directly write to FrameBuffer, bypassing X11/Wayland completly?
up vote
0
down vote
favorite
I am thinking about replacing X11/Wayland completely and create my own display server.
Now for this I will directly write to frame buffer, and use hardware acceleration using OpenCL.[I know I will have to rewrite font coder, to video coder to audio decoders, and I am ready for it]
Now before I start all this and waste my efforts, can I know are there any similar projects ?
If not do you think this is possible and a good idea to use OpenCL for this purpose?
Now why I am doing this: I wanted to create an Aug.Reality based OS environment. Which will have voice and eye trackers as a replacement for Keyboard and Mouse. Along with an integrated AI assistance.
Or short and simple, as a hobby I am doing this.
I know I will get many negative marks for this, but there is not enough material to conclude on this.
linux
add a comment |
up vote
0
down vote
favorite
I am thinking about replacing X11/Wayland completely and create my own display server.
Now for this I will directly write to frame buffer, and use hardware acceleration using OpenCL.[I know I will have to rewrite font coder, to video coder to audio decoders, and I am ready for it]
Now before I start all this and waste my efforts, can I know are there any similar projects ?
If not do you think this is possible and a good idea to use OpenCL for this purpose?
Now why I am doing this: I wanted to create an Aug.Reality based OS environment. Which will have voice and eye trackers as a replacement for Keyboard and Mouse. Along with an integrated AI assistance.
Or short and simple, as a hobby I am doing this.
I know I will get many negative marks for this, but there is not enough material to conclude on this.
linux
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am thinking about replacing X11/Wayland completely and create my own display server.
Now for this I will directly write to frame buffer, and use hardware acceleration using OpenCL.[I know I will have to rewrite font coder, to video coder to audio decoders, and I am ready for it]
Now before I start all this and waste my efforts, can I know are there any similar projects ?
If not do you think this is possible and a good idea to use OpenCL for this purpose?
Now why I am doing this: I wanted to create an Aug.Reality based OS environment. Which will have voice and eye trackers as a replacement for Keyboard and Mouse. Along with an integrated AI assistance.
Or short and simple, as a hobby I am doing this.
I know I will get many negative marks for this, but there is not enough material to conclude on this.
linux
I am thinking about replacing X11/Wayland completely and create my own display server.
Now for this I will directly write to frame buffer, and use hardware acceleration using OpenCL.[I know I will have to rewrite font coder, to video coder to audio decoders, and I am ready for it]
Now before I start all this and waste my efforts, can I know are there any similar projects ?
If not do you think this is possible and a good idea to use OpenCL for this purpose?
Now why I am doing this: I wanted to create an Aug.Reality based OS environment. Which will have voice and eye trackers as a replacement for Keyboard and Mouse. Along with an integrated AI assistance.
Or short and simple, as a hobby I am doing this.
I know I will get many negative marks for this, but there is not enough material to conclude on this.
linux
linux
asked yesterday
user3769778
111
111
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago
add a comment |
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f487998%2fcan-i-use-opencl-to-directly-write-to-framebuffer-bypassing-x11-wayland-complet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f487998%2fcan-i-use-opencl-to-directly-write-to-framebuffer-bypassing-x11-wayland-complet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What you want is OpenGL, or better yet Vulkan, not OpenCL. OpenCL is just data processing, it doesn't do rendering, which is what you want. OpenGL is all about rendering, and Vulkan does both (and will likely do a better job integrating with whatever VR tech you choose to use).
– Austin Hemmelgarn
yesterday
@AustinHemmelgarn OpenGL cannot work without X11. There are some cards which do support it but not all platform support it that way.
– user3769778
11 hours ago