Reply
Thread Tools
Posts: 1 | Thanked: 0 times | Joined on Sep 2009
#1
I'm trying to build and start Opengl es example from PowerVR SDK on scratchbox x86 (fermantle). From wiki article about Opengl es and maemo:
"The SDK libs and headers can be dropped into your X86 environment and run into the Xephyr X11 window - but you'll need to kill the window manager first! "

What does this words mean "but you'll need to kill the window manager first"? How can I kill the windows manager?
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#2
Please enter "man kill" in a terminal.
__________________
maemo.org Bugmaster
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#3
If you're using libgles2-dev package in x86 sbox, there's no need to use the Imagination SDK headers / libs nor to kill the compositor. You can build things right away.

EDIT: Save for the Imagination wrapper libs stuff (which I never used). libgles2-dev provides bare EGL and OpenGL ES 2.

Last edited by javispedro; 2009-09-30 at 09:49.
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 540 | Thanked: 387 times | Joined on May 2009
#4
I think a manpage hardly qualifies as a response for someone that doesn't understand what they are doing.

You can manually kill process from terminal in a variety of ways.
Two common methods are kill by process ID# and killall by name.

Keep in mind that process IDs change per instance and that killall requires the exact name of the process.

$ kill 1234

or

$ killall metacity

To list all processes
$ ps -aux
if you wanted to see if Metacity was running
$ ps -aux | grep metacity
then you can kill it
$ killall metacity
and later on start the process again
$ metacity &

You can also see what's running with
$ top

EDIT: I'm just assuming you are using metacity in gnome but you may be using something else or a combination. It may even be asking you to kill hildon. *walks away*

Last edited by linuxeventually; 2009-09-30 at 09:59.
 
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#5
Originally Posted by javispedro View Post
If you're using libgles2-dev package in x86 sbox, there's no need to use the Imagination SDK headers / libs nor to kill the compositor. You can build things right away.

EDIT: Save for the Imagination wrapper libs stuff (which I never used). libgles2-dev provides bare EGL and OpenGL ES 2.
I'm trying to run the SimpleGL example in my scratchbox and it's not displaying anything. I'm using libgles2-dev and it's compiling fine. I'm using the command in the example. I just can't get it to display in Xephir with or without the window manager. Any ideas on why it's not working? I must be forgetting something.
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#6
Under which environment? sbox-FREMANTLE_ARMEL or sbox-FREMANTLE_X86 ?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#7
Originally Posted by smoku View Post
Under which environment? sbox-FREMANTLE_ARMEL or sbox-FREMANTLE_X86 ?
sbox-FREMANTLE_X86.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#8
what do you get? a black window, or no window at all?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#9
Did you "apt-get install libgles2-dev" ?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ Canada
#10
Originally Posted by smoku View Post
Did you "apt-get install libgles2-dev" ?
Yes
Originally Posted by javispedro View Post
what do you get? a black window, or no window at all?
And it's just doing nothing at all. No new window. The desktop stays the same and in the console it just returns normally. for example:
Code:
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] > ./main
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] >
and I also tried:
Code:
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] > run-standalone.sh ./main
[sbox-FREMANTLE_X86: ~/MyDocs/programming/simplegl] >
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:17.