Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to display a red screen in all/part of the screen for 1 frame exactly and I didn't really understand how to do it in the GUI server.
I succeed to print on my screen only from Ctrl+Alt+F1 mode using this code but the problems with this code where :
1. Now working on the GUI server.
2. Slow as hell.
So what am I looking for ? A way to print red screen/picture on the screen for exactly 1 frame ( that part really important! ) in the GUI server.
Another important thing is that I want to write directly to the monitor without using any application such ( OpenGL ). I'm using Xubuntu with Intel graphics 530 ( if needed I can switch to other kind of linux in order make it work ).
Thank you and have a nice day
one frame - what is the frame rate - just curious if the brain will even consciously pick that up. 'write little subliminal messages in your program ''' bleep bleep bleep
Google is great when you know what to ask.. Have you read my question? I asked how to write to the screen *without any application* like directly to the gpu.
Google is great when you know what to ask.. Have you read my question? I asked how to write to the screen *without any application* like directly to the gpu.
whence you figure out how to do it within a cli program then the next step would be what?
no application is imposable. that is what programming does it writes applications to do things. Even without human interaction.
directly to the gpu -> high-level -> assembly - > machine language
try something like this using key words and phrases - that is how google is written to work.
GUI server how to change screen color using what ever language you're writing it with.
a GUI Server is just a server that is now using a desktop/window manager to manipulate it to do what you want it (the server) to do.
whence you figure out how to do it within a cli program then the next step would be what?
no application is imposable. that is what programming does it writes applications to do things. Even without human interaction.
try something like this using key words and phrases - that is how google is written to work.
GUI server how to change screen color using what ever language you're writing it with.
I really appreciate your answer but you can't tell me it's impossible I ask for one thing and you answer about other, there is a reason why I don't want application so.. If you can't answer me, thanks and I'll wait for someone else.
I really appreciate your answer but you can't tell me it's impossible I ask for one thing and you answer about other, there is a reason why I don't want application so.. If you can't answer me, thanks and I'll wait for someone else.
you said:
"Another important thing is that I want to write directly to the monitor without using any application such ( OpenGL )."
meaning that you're going to have to use a language to write an application to change the monitor color other than OpenGL ---
I gave you C - not OpenGL
you are I do believe not having a full grasp of understanding on what an (the term) application really is.
You need to brush up on your jargon as well. along with the sequence of events that need to take place before your monitor color changes colors. where that actually takes place. It, the GPU still needs an API that with that an application is written to make it do what you want it to show up on the screen you are writing to.
Component: GPU
You wanting to use your GPU specificity you're going to have to get details of what GPU it is and the resources it has for it to make it change a screen color to whatever colors it is capable of. So you can access your GPU directly.
or rewrite your question and use code blocks for your code. nevertheless you are still going to end up writing an application to get this done.
you said:
"Another important thing is that I want to write directly to the monitor without using any application such ( OpenGL )."
meaning that you're going to have to use a language to write an application to change the monitor color other than OpenGL ---
I gave you C - not OpenGL
you are I do believe not having a full grasp of understanding on what an (the term) application really is.
You need to brush up on your jargon as well. along with the sequence of events that need to take place before your monitor color changes colors. where that actually takes place. It, the GPU still needs an API that with that an application is written to make it do what you want it to show up on the screen you are writing to.
Component: GPU
You wanting to use your GPU specificity you're going to have to get details of what GPU it is and the resources it has for it to make it change a screen color to whatever colors it is capable of. So you can access your GPU directly.
or rewrite your question and use code blocks for your code. nevertheless you are still going to end up writing an application to get this done.
OK maybe I miss understood the meaning of Application, I'll tell you clearly what I need : I want to actually draw pixels on the monitor regardless
what the user does now with the computer. From what I read and from the example above I need to write to the framebuffer but I can't get the framebuffer of te X server ...
And as I say I have only integrated GPU of my Intel i7-6700 which is Intel Graphics 530
The method you are using IS AN APPLICATION, just one you wrote, instead of written by another. Perhaps look at existing applications for getting and putting the background.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.