Re: [E-devel] Configuring evas
On Mon 20 Oct 2003, Philip Gary Hansen wrote: > Is there any way that I can check whether entrance is running in opengl? > The reason I ask is because right now under the new edje version it runs a bit > slow. I am using an NVidia geforce 4 right now so I would imagine that it would > run better under gl. > Entrance in CVS now includes a config option for enabling GL. As Carsten said, whereas GL should give you significantly improved performance (personally it works great for me), it is not a silver bullet and can have problems in complex/weird situations. In other words, GL is "experimental", so don't report display bugs if you're running with the GL engine. To enable GL, set /entrance/engine to 1 in /etc/entrance_config.db (use edb_gtk_ed or edb_ed to set that). -- Ibukun Olumuyiwa http://xcomputerman.com "Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding." - Proverbs 4:7 --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Configuring evas
--- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configuring entrance
On Sun 19 Oct 2003, Alan Schmitt wrote: > Hi, > > I wanted to play with entrance, and I am getting a hard time configuring > it. > > What happens is that when I start entranced (as root, it segfaults when > started as a user), I can enter my login and password, and basically > entrance seems to restart (I see the console for a couple seconds, then > X starts). > > For this try, I'm using the default configuration from cvs. I do > not see any WM entry in the above screen (just a big "turn off button > that does not seem to do anything). > > I have the following in /var/log/messages: > > Oct 19 19:54:18 alan-schm1p entranced: Starting X server. > Oct 19 19:54:24 alan-schm1p entranced: Starting Entrance. > Oct 19 19:54:48 alan-schm1p entrance: PAM: Success. > Oct 19 19:54:49 alan-schm1p entrance: Executing /etc/X11/xdm/Xsession > Oct 19 19:54:49 alan-schm1p entrance: Starting session for user "schmitta". > Oct 19 19:54:49 alan-schm1p PAM_pwdb[28142]: (xdm) session opened for user schmitta > by (uid=0) > Oct 19 19:54:49 alan-schm1p PAM_pwdb[28142]: (xdm) session closed for user schmitta > Oct 19 19:54:49 alan-schm1p ssh-agent[28238]: error: accept from AUTH_SOCKET: Socket > operation on non-socket > Oct 19 19:54:49 alan-schm1p last message repeated 608 times > Oct 19 19:54:49 alan-schm1p entranced: The session has ended normally. > Oct 19 19:54:49 alan-schm1p ssh-agent[28238]: error: accept from AUTH_SOCKET: Socket > operation on non-socket > Oct 19 19:54:54 alan-schm1p last message repeated 113582 times > Oct 19 19:54:54 alan-schm1p entranced: Attempting to restart X server. > Oct 19 19:54:54 alan-schm1p ssh-agent[28238]: error: accept from AUTH_SOCKET: Socket > operation on non-socket > Oct 19 19:54:59 alan-schm1p last message repeated 82889 times > Oct 19 19:55:01 alan-schm1p entranced: Successfully restarted the X server. > Oct 19 19:55:01 alan-schm1p entranced: Starting Entrance. > Oct 19 19:56:55 alan-schm1p entranced: The session has ended normally. > Oct 19 19:57:00 alan-schm1p entranced: Attempting to restart X server. > Oct 19 19:57:06 alan-schm1p entranced: Successfully restarted the X server. > Oct 19 19:57:06 alan-schm1p entranced: Starting Entrance. > Oct 19 19:57:10 alan-schm1p entranced: The session has ended normally. > Oct 19 19:57:13 alan-schm1p entranced: Attempting to restart X server. > Oct 19 19:57:20 alan-schm1p entranced: Successfully restarted the X server. > Oct 19 19:57:20 alan-schm1p entranced: Starting Entrance. > Oct 19 19:57:20 alan-schm1p entranced: Display and display manager are shutting down. > > Anything I'm doing wrong ? Thanks for any hint, entrance looks very good > ;-) > > Alan > > -- > The hacker: someone who figured things out and made something cool happen. Firstly, session support is still very incomplete with the new edje-based architecture, so if you're having problems starting up your session, for now you're pretty much on your own. The errors reported by your ssh-agent are very suspect, especially since that error was repeated over 600 times within a fraction of a second if I read that right. That appears to be a local issue. -- Ibukun Olumuyiwa http://xcomputerman.com "Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding." - Proverbs 4:7 --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Configuring evas
On Mon 20 Oct 2003, Philip Gary Hansen wrote: > Is there any way that I can check whether entrance is running in opengl? > The reason I ask is because right now under the new edje version it runs a bit > slow. I am using an NVidia geforce 4 right now so I would imagine that it would > run better under gl. > > > > --- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > ___ > enlightenment-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Err - oops. Set /entrance/engine to "gl", not 1. Getting mixed up with entice_config.db here. :) -- Ibukun Olumuyiwa http://xcomputerman.com "Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding." - Proverbs 4:7 --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Configuring evas
On Mon, 20 Oct 2003 17:23:37 -0600 Philip Gary Hansen <[EMAIL PROTECTED]> (Bbabbled: (B (B> Is there any way that I can check whether entrance is running in opengl? (B> The reason I ask is because right now under the new edje version it runs a bit (B> slow. I am using an NVidia geforce 4 right now so I would imagine that it (B> would run better under gl. (B (Bit will run a bit faster, but will suffer from bugs, drawing artifacts and loss (Bof image quality (in some cases quite severe loss). unless there's a special (Boption to turn it on it's likely using the software engine. i know jeoparde was (Bplaying with code recently to have it be an option, but i don't know if its in (Bcvs yet or if you even have that. (B (B-- (B--- Codito, ergo sum - "I code, therefore I am" (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $B7'<*(B - $Bhttp://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 (B___ (Benlightenment-devel mailing list (B[EMAIL PROTECTED] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Edje and DirectFB
Hi! Ive been fooling a bit around, adding ecore_directfb and ecore_evas_directfb (mostly just copied from fb modules) Ive been trying hard to be able to use edje with directfb.. Ive only gotten to the part where I can use the "edje" program to display it self in a DirectFB surface/window. Though I find it really odd, that the only graphics I see is the test programs (the part selection and the border window of the edje) not the edje itself.. I modified edje_main.c to display "e_logo.eet test" by default (without having to click in the selection) It works well with both x11 and fb, but not directfb... Is there anything obvios I might have overlooked that you can tell without having to look at the code I did..? I started out by basically just rename fb to dfb.. then added code to open DirectFB and create a window, then modifed evas to use directfb engine instead of fb engine. A note on evas too. I noticed the text objects dont work.. I tried modifing code to use DirectFBs text natively instead of evases common font software code. I got it to work to some extend though not satisfactory (skipped difficult parts like querying positions of characters and such) Is there a reason why the evas software code was chosen over DirectFBs? I guess text drawing cant really be accelerated, but still.. My interest is to be able to run edjes in DirectFB surfaces, including all the input stuff, which means a bit of work on a directfb ecore module too as I understand.. Im ready to give it a go, but Ive been using a bit too much time trying to understand why the "edje" program only shows its own graphics and not the edje... sorry for the long email! and the poor english. But Ill give back fully functional edje on DirectFB :) atleast Ill give it my best try! best regards Hallvar Helleseth --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] configuring entrance
* Ibukun Olumuyiwa ([EMAIL PROTECTED]) wrote: > > Firstly, session support is still very incomplete with the new > edje-based architecture, so if you're having problems starting up your > session, for now you're pretty much on your own. > > The errors reported by your ssh-agent are very suspect, especially > since that error was repeated over 600 times within a fraction of > a second if I read that right. That appears to be a local issue. Thanks for your answer. I'll try removing the session entries (which were in the default config file) and see how it goes. I must say in always start X by doing "startx" and having a correct .xinitrc. I have no idea how sessions are supposed to work. I looked quickly at the Xsession script, and it seems to be doing a lot of ssh, but I don't really know why. Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. pgp0.pgp Description: PGP signature
[E-devel] Evas Gradient
Hi,
I was trying to make a gradient spin when I came across this little problem.
ok so here is what happens.
I set up my GLOBAL gradient, and then the timer like this:
ecore_timer_add(0.1, change_angle, NULL);
I have a global angle i and then do this:
int change_angle(void* data)
{
evas_object_gradient_angle_set(grad, ++i);
printf("i = %d\n", i);
}
OK, this is all great. the gradient will rotate. BUT, if I take out the
printf statement I get no rotation. I am guessing its my fault, but I can not pin it
down.
all code can be located at: http://www.hornecomputing.com/egrad/
Stafford
---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Edje and DirectFB
On Tue, 21 Oct 2003 18:15:02 +0200 Hallvar Helleseth <[EMAIL PROTECTED]> (Bbabbled: (B (B> Hi! (B> (B> Ive been fooling a bit around, adding ecore_directfb and (B> ecore_evas_directfb (mostly just copied from fb modules) (B> (B> Ive been trying hard to be able to use edje with directfb.. Ive only (B> gotten to the part where I can use the "edje" program to display it self (B> in a DirectFB surface/window. Though I find it really odd, that the only (B> graphics I see is the test programs (the part selection and the border (B> window of the edje) not the edje itself.. I modified edje_main.c to (B> display "e_logo.eet test" by default (without having to click in the (B> selection) It works well with both x11 and fb, but not directfb... (B> (B> Is there anything obvios I might have overlooked that you can tell (B> without having to look at the code I did..? (B> (B> I started out by basically just rename fb to dfb.. then added code to (B> open DirectFB and create a window, then modifed evas to use directfb (B> engine instead of fb engine. (B> (B> A note on evas too. I noticed the text objects dont work.. I tried (B> modifing code to use DirectFBs text natively instead of evases common (B> font software code. I got it to work to some extend though not (B> satisfactory (skipped difficult parts like querying positions of (B> characters and such) Is there a reason why the evas software code was (B> chosen over DirectFBs? I guess text drawing cant really be accelerated, (B> but still.. (B (Bit's easier to get an accurate port. ie text is 1:1 the same for every (Bcharacter, glyph, pixel, spacing, kerning etc. also you get the character (Bquerying for free. :) (B (B> My interest is to be able to run edjes in DirectFB surfaces, including (B> all the input stuff, which means a bit of work on a directfb ecore (B> module too as I understand.. Im ready to give it a go, but Ive been (B> using a bit too much time trying to understand why the "edje" program (B> only shows its own graphics and not the edje... (B> (B> sorry for the long email! and the poor english. But Ill give back fully (B> functional edje on DirectFB :) atleast Ill give it my best try! (B (Bok. check timers in ecore work. check ilders, and idle enterers work. last time (Bi played with directfb the real problem was dfb didn't have select() support. (Bthis means i couldn't sit in a select and wait on fd's and use it as a timer (Bsystem. i'd need to have dfb's event call wait until a timeout and have a (Bseparate thread do select() and then post a fake "wake up" event to the dfb (Bevent queue to wake up the dfb "next event" call. this was a bit of a PITA. (B (Becore_evas uses idle handlers to render with evas. edje uses ecore_evas's (Bpre_render and post_render calls to freeze then thaw the edje - which basically (Bmeans the edje wont update change or be recalculated as long as its frozen. it (Bcould be this? (which would lead back to idle enterers not working and thus (Btimers and idlers too). check on this. you also need to build the eet image (Bloader in evas - maybe you didn't build it? try these things... maybe it'll get (Byou up and running. (B (B> best regards Hallvar Helleseth (B> (B> (B> (B> --- (B> This SF.net email is sponsored by OSDN developer relations (B> Here's your chance to show off your extensive product knowledge (B> We want to know what you know. Tell us and you have a chance to win $100 (B> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 (B> ___ (B> enlightenment-devel mailing list (B> [EMAIL PROTECTED] (B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel (B (B (B-- (B--- Codito, ergo sum - "I code, therefore I am" (BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED] $B7'<*(B - $Bhttp://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 (B___ (Benlightenment-devel mailing list (B[EMAIL PROTECTED] (Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel
RE: [E-devel] Evas Gradient
Your change_angle function is declared to return an int, and although I
dont have the evas source in front of me right now, I dont think
evas_object_gradient_angle_set() returns and int. However, printf does
(int printf(const char *format, arg1, arg2, arg3, ..); ). When you
take the printf call out, nothings being returned... Try changing your
function to void, or returning a success code instead of printf if you
want..?
Ryan
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Stafford Horne
> Sent: Tuesday, October 21, 2003 9:01 AM
> To: [EMAIL PROTECTED]
> Subject: [E-devel] Evas Gradient
>
>
> Hi,
> I was trying to make a gradient spin when I came across
> this little problem.
>
> ok so here is what happens.
> I set up my GLOBAL gradient, and then the timer like this:
>
> ecore_timer_add(0.1, change_angle, NULL);
>
> I have a global angle i and then do this:
>
> int change_angle(void* data)
> {
> evas_object_gradient_angle_set(grad, ++i);
> printf("i = %d\n", i);
> }
>
> OK, this is all great. the gradient will rotate. BUT,
> if I take out the printf statement I get no rotation. I am
> guessing its my fault, but I can not pin it down.
>
> all code can be located at: http://www.hornecomputing.com/egrad/
>
> Stafford
>
>
>
>
> ---
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance
> to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas Gradient
Right track, wrong solution. :)
Try just putting a return 1 at the end of your function, ecore timer's
stop if 0 is returned, the printf causes a non-zero value to be on the stack, so
the unspecified return value is positive, apparently w/o that it is 0.
On Tue, Oct 21, 2003 at 07:54:43PM -0700, Ryan wrote:
> Your change_angle function is declared to return an int, and although I
> dont have the evas source in front of me right now, I dont think
> evas_object_gradient_angle_set() returns and int. However, printf does
> (int printf(const char *format, arg1, arg2, arg3, ..); ). When you
> take the printf call out, nothings being returned... Try changing your
> function to void, or returning a success code instead of printf if you
> want..?
>
> Ryan
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Stafford Horne
> > Sent: Tuesday, October 21, 2003 9:01 AM
> > To: [EMAIL PROTECTED]
> > Subject: [E-devel] Evas Gradient
> >
> >
> > Hi,
> > I was trying to make a gradient spin when I came across
> > this little problem.
> >
> > ok so here is what happens.
> > I set up my GLOBAL gradient, and then the timer like this:
> >
> > ecore_timer_add(0.1, change_angle, NULL);
> >
> > I have a global angle i and then do this:
> >
> > int change_angle(void* data)
> > {
> > evas_object_gradient_angle_set(grad, ++i);
> > printf("i = %d\n", i);
> > }
> >
> > OK, this is all great. the gradient will rotate. BUT,
> > if I take out the printf statement I get no rotation. I am
> > guessing its my fault, but I can not pin it down.
> >
> > all code can be located at: http://www.hornecomputing.com/egrad/
> >
> > Stafford
> >
> >
> >
> >
> > ---
> > This SF.net email is sponsored by OSDN developer relations
> > Here's your chance to show off your extensive product knowledge
> > We want to know what you know. Tell us and you have a chance
> > to win $100
> > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> > ___
> > enlightenment-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
>
> ---
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
| Nathan Ingersoll \\ Computer Systems & Network Coordinator |
| [EMAIL PROTECTED]\\ http://www.ruralcenter.org|
| http://ningerso.atmos.org/ \\ Minnesota Center for Rural Health|
signature.asc
Description: Digital signature
Re: [E-devel] Evas Gradient
Thanks,
That was it. I guess I should be more careful.
Stafford
On Tue, 21 Oct 2003 22:30:04 -0500
Nathan Ingersoll <[EMAIL PROTECTED]> wrote:
> Right track, wrong solution. :)
>
> Try just putting a return 1 at the end of your function, ecore timer's
> stop if 0 is returned, the printf causes a non-zero value to be on the stack, so
> the unspecified return value is positive, apparently w/o that it is 0.
>
> On Tue, Oct 21, 2003 at 07:54:43PM -0700, Ryan wrote:
> > Your change_angle function is declared to return an int, and although I
> > dont have the evas source in front of me right now, I dont think
> > evas_object_gradient_angle_set() returns and int. However, printf does
> > (int printf(const char *format, arg1, arg2, arg3, ..); ). When you
> > take the printf call out, nothings being returned... Try changing your
> > function to void, or returning a success code instead of printf if you
> > want..?
> >
> > Ryan
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Stafford Horne
> > > Sent: Tuesday, October 21, 2003 9:01 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [E-devel] Evas Gradient
> > >
> > >
> > > Hi,
> > > I was trying to make a gradient spin when I came across
> > > this little problem.
> > >
> > > ok so here is what happens.
> > > I set up my GLOBAL gradient, and then the timer like this:
> > >
> > > ecore_timer_add(0.1, change_angle, NULL);
> > >
> > > I have a global angle i and then do this:
> > >
> > > int change_angle(void* data)
> > > {
> > > evas_object_gradient_angle_set(grad, ++i);
> > > printf("i = %d\n", i);
> > > }
> > >
> > > OK, this is all great. the gradient will rotate. BUT,
> > > if I take out the printf statement I get no rotation. I am
> > > guessing its my fault, but I can not pin it down.
> > >
> > > all code can be located at: http://www.hornecomputing.com/egrad/
> > >
> > > Stafford
> > >
> > >
> > >
> > >
> > > ---
> > > This SF.net email is sponsored by OSDN developer relations
> > > Here's your chance to show off your extensive product knowledge
> > > We want to know what you know. Tell us and you have a chance
> > > to win $100
> > > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> > > ___
> > > enlightenment-devel mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> >
> > ---
> > This SF.net email is sponsored by OSDN developer relations
> > Here's your chance to show off your extensive product knowledge
> > We want to know what you know. Tell us and you have a chance to win $100
> > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> > ___
> > enlightenment-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> --
>
> | Nathan Ingersoll \\ Computer Systems & Network Coordinator |
> | [EMAIL PROTECTED]\\ http://www.ruralcenter.org|
> | http://ningerso.atmos.org/ \\ Minnesota Center for Rural Health|
>
>
>
---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
