-
Notifications
You must be signed in to change notification settings - Fork 11
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
OF_FULLSCREEN seems not works with PandaboardES #80
Comments
This is implemented on Raspberry Pi, but may not be working on the x11 pandaboard |
yes fullscreen is not implement yet, will do when i have a moment, |
This should be fixed in b6a2310 Please test. |
Closing for now. Please reopen if it is not working. |
@bakercp don't works for me:
i think this is related to: #76 |
hi @bakercp see here gdb:
|
can you type bt in gdb after the crash? that will give you the full stack trace so we can see exactly were the error is. i'm busy right now but will give this a try assoon as i have a moment |
Hey @kalwalt the error screenWidth = XWidthOfScreen(x11Screen);
screenHeight = XHeightOfScreen(x11Screen); @arturoc perhaps you know a way to get the screen size without first initing the x11Screen var. Anyway, can you make sure that you have ofLogLevel set to verbose so we can see how far it gets? And also confirm that you compiled your debug lib with this commit 9f85ffc (which is where I thought I fixed this a few minutes ago)? |
I had a similar problem with the display manager within ofxFenster and I ended up reopening the display based on common addresses. It's not that nice as a solution but maybe works in your case as well? https://github.com/underdoeg/ofxFenster/blob/master/src/ofxDisplayManager.cpp#L56 |
@bacercpi confirm that i have this commit 9f85ffc and ofLogLevel is set to verbose as the example is. this is the output from gdb with bt: Program received signal SIGABRT, Aborted. |
Regarding:
I just pushed a few more changes to the ofAppEGLWindow -- see this one for the significant bit 63a3318. I need to get a pandaboard .... :/ |
I wonder if this would work on the beagleboard as well? On Wed, Jan 2, 2013 at 11:39 AM, Christopher Baker <[email protected]
"I believe in science. Unlike mathematical theorems, scientific results I cannot prove that electrons exist, but I believe fervently in their -- Seth Lloyd: Quantum Mechanical Engineer, MIT /. |
yes, the beagleboard works with the armv7 version too, i've only tested On 01/02/2013 05:41 PM, Dan Moore wrote:
|
Ill bring up my beagleboard soon.
|
it seems not fixed @bakercp @arturoc .
and running the viewportExample in OF_FULLSCREEN mode with GLES1
|
I think this may be happening because we can't get the monitor resolution currently until x11 has been inited. If you start with OF_FULLSCREEN, that is. Can you start with OF_WINDOW and then toggle to fullscreen? If so, we need to simply find a way to implement |
i realized that my GLES2 test above wasn't right here alpaMaskingShaderExample in OF_FULLSCREEN
Instead starting with OF_WINDOW the window enlarge but not in complete fullscreen mode ( address bar remain visible) |
Ahh, got it. So there are a few things to do here.
@underdoeg just implemented x11 fullscreen recently, so we should look at his implementation. |
@kalwalt I just added some x11 fullscreen code to the |
ok curiuos to see if it works @bakercp ! |
@kalwalt I'd also like to help track down your mouse issues today. I just hopped on IRC if you want to have a more synchronous conversation. |
the fullscreen still is not working @bakercp . Here, in Italy it's a bit late so i'will take a look tomorrow, with a fresh mind! |
back to this issue. I understood that we don't receive the screen size before that x11 window is inited and so the app crash. i did a little test . i put my max width and height monitor sizes in ofAppEGLWindow.cpp in ofPoint ofAppEGLWindow::getScreenSize()
with this i got a window but anyway not in fullscreen mode ( as instead i supposed to) . |
Unfortunately, I have to defer to @arturoc on this one b/c I don't have a Pandaboard to test with. My fullscreen solution was taken directly from @underdoeg 's multi-window branch. |
will take a look tomorrow |
That said -- it looks like a beta for the accelerated x11 drivers for RPi have been released so I'll look into testing it on the Pi. No promises yet ... :) |
many thanks to all! |
I was afraid this might happen and the fullscreen wouldn't work everywhere. I took the code and adapted it from the ghost library. There are different ways to go fullscreen with X11, of which ghost has implemented two. I just took the first one that worked on my machine and thought I'll add the other one later on... I used the netwm method here: https://github.com/underdoeg/ghost/blob/master/intern/GHOST_WindowX11.cpp#L931 but you cold also do it with motif. https://github.com/underdoeg/ghost/blob/master/intern/GHOST_WindowX11.cpp#L982 |
hi @bakercp Fullscreen mode works with Rpi? because i have purchased a Rpi , it will arrive in 10 days about, and if this issue can't be solved , i will migrate to Rpi for my project... |
Last time I checked it worked on the pi.
|
very good! thanks for the answer @danthemellowman ! |
Yes, fullscreen works on the pi (at least it did yesterday :)). Also, there are new x11 hardware drivers for the Raspberry pi now. They are very "alpha" but as soon as they become a little bit more stable, I'll install them and test out the x11 stuff on the pi. If we can fix it there on the Pi, it will probably work on the Pandaboard as well. |
i'm thinking to use glfw instead. I think should works also for arm and i'have already used in linux64 bit. Do you think there is some reason to do not this? |
Currently (at least at last check) glfw wasn't hardware optimized for PI. On Wed, Feb 20, 2013 at 3:55 PM, Walter Perdan [email protected]:
|
hi @bakercp @arturoc and all, i have my raspberrypi now and fullscreen works very well with it! for now i tested only some examples... for now i switch to raspberrypi for my projects until this issue will definetely solved (i mean with the pandaboard...) . I have also tried the glfw lib with my pandaboard ... but i got some errors that i don't know how to solve . the good is glfw works good in armhf , basically the errors are related to OF and linking lib excluded. I will open a separate issuefor this. I think will be good to have glfw support ! p.s. Now i finish my exams for this session and i'm a bit free... |
Hei @kalwalt I will be getting a few pcDuinos in the mail soon, which should have x11 working. At that time, I'll be able to make sure that |
Great! i saw your post about pcDuino.... |
That is the new SparkFun board I was talking about. Did you see in the video where you have to have a USB keyboard plugged in Hei @kalwalt https://github.com/kalwalt I will be getting a few pcDuinos — |
Did you see in the video where you have to have a USB keyboard plugged in
|
For me OF_WINDOW or OF_FULLSCREEN do the same ( instead OF_FULLSCREEN should do a real fullscreen mode ) i don't know if it is a bug or a functionality not yet implemented in the arm branch . Just want to make a flag note.
The text was updated successfully, but these errors were encountered: