#jogamp @ irc.freenode.net - 20151014 05:05:17 (UTC)


20151014 05:05:17 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20151013050517.html
20151014 05:05:17 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20151014050517.html
20151014 05:23:18 * doev (~doev@anon) has joined #jogamp
20151014 05:24:11 * doev (~doev@anon) Quit (Client Quit)
20151014 06:16:30 * jvanek (jvanek@anon) has joined #jogamp
20151014 06:41:36 * elect (~GBarbieri@anon) has joined #jogamp
20151014 06:41:42 <elect> hi
20151014 07:26:25 * eclesia (~husky@anon) has joined #jogamp
20151014 07:26:31 <eclesia> good morning
20151014 07:40:52 * monsieur_max (~maxime@anon) has joined #jogamp
20151014 09:45:45 <monsieur_max> hello people
20151014 10:28:39 * elect (~GBarbieri@anon) Quit (Ping timeout: 240 seconds)
20151014 10:38:15 * elect (~GBarbieri@anon) has joined #jogamp
20151014 10:45:24 <xranby> hello!
20151014 11:16:22 <monsieur_max> is there a particular way to exit a jogl application ? From the tests file, stopping the animator, and destroying the window is how it is done... however in my particular case, when i exit a fullscreen application not using the native resolution, the desktop keeps that resolution after the end of the application. This happen on my xfce linux on jogamp 2.3.1, but not on windows.
20151014 11:21:23 <elect> I do this
20151014 11:21:23 <elect> https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/helloTriangle/HelloTriangle.java#L347-L348
20151014 11:21:40 <elect> and this https://github.com/elect86/jogl-samples/blob/master/jogl-samples/src/helloTriangle/HelloTriangle.java#L248
20151014 11:22:03 <monsieur_max> elect: yup doing the same
20151014 11:22:09 <elect> it works for me on ubuntu and win
20151014 11:22:32 <elect> so I presume it has to do with the fullscreen
20151014 11:22:39 <monsieur_max> elect: yup
20151014 11:22:58 <monsieur_max> fullscreen in non-native resolution on linux / xfce
20151014 11:22:59 <elect> what about if you toggle the fullscreen just before quitting?
20151014 11:23:12 <monsieur_max> yeah it's done, i forgot to mention about it
20151014 11:24:03 <elect> however now I remember I had the same problem when I ran the jogl unit tests
20151014 11:24:18 <elect> I have the second monitor rotated and vertical
20151014 11:24:23 <xranby> elect: let me check if this test passed on your machine.. https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode00cNEWT.java
20151014 11:24:33 <elect> after the tests I lost also the rotation
20151014 11:24:35 * xranby grabs the link elect posted the other ay
20151014 11:24:38 <xranby> day
20151014 11:25:03 <elect> I'll try xranby
20151014 11:25:06 * xranby finds it odd that X11 needs special treatment
20151014 11:25:45 <xranby> 20151011 14:16:57 <elect> https://www.wetransfer.com/downloads/0619dbfb21ba06d322d6522b97f39caf20151011121833/3c0ec6931527fdb0475d11698b3f32e520151011121833/6e95b3
20151014 11:25:45 <xranby> 20151011 14:17:07 <elect> that is my jogl-2.4-bmanual-20151011-linux-amd64-test-results-local.7z
20151014 11:26:02 <monsieur_max> i could code a nasty workaround that stores and restore the original state of the monitor but , well, it's notthe way to go
20151014 11:26:55 <xranby> odd legal page,, trust us,, you dont want to read these 7 legal document,, click ok and be a good net citizen
20151014 11:27:22 <xranby> https://www.wetransfer.com/legal "Legal stuff"
20151014 11:30:20 <sgothel> NEWT shall reset the MonitorDevice's mode to the original at launch time, this reset is done at the JVM shutdown-hook
20151014 11:30:32 <sgothel> we even have a unit test for this
20151014 11:31:01 <zubzub> does the jvm shutdown hook also work when you kill -n it?
20151014 11:31:09 <zubzub> or when it segfaults?
20151014 11:31:17 <zubzub> (just wondering)
20151014 11:31:28 <xranby> zubzub: no i do not think it will because then the jvm die
20151014 11:31:32 <sgothel> nope, but signal TERM shall work though
20151014 11:32:52 <xranby> if you manage to create segfaults, post it to the bugzilla
20151014 11:33:52 <monsieur_max> sgothel: ah perfect, remember the test class for it ?
20151014 11:34:15 <zubzub> xranby: creating segfaults it easy, given that I create them myself with some jni :p
20151014 11:34:56 <monsieur_max> zubzub: are you actually paid for this ?
20151014 11:36:14 <zubzub> what's "this"?
20151014 11:36:17 <xranby> monsieur_max: https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/newt/mm/ <- read the commend at each of these tests.. i did and found this test
20151014 11:36:18 <xranby> https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01aNEWT.java
20151014 11:36:28 <xranby> * Tests MonitorMode reset, by destroying the last Screen (reference), * i.e. the original MonitorMode should get reinstated!
20151014 11:36:44 <monsieur_max> zubzub: creating segfaults ;)
20151014 11:37:15 <zubzub> I wish, I'd be rich! :p
20151014 11:37:22 <xranby> https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01dNEWT.java
20151014 11:37:30 <xranby> * Demonstrates fullscreen without MonitorMode change * and fullscreen before and after MonitorMode change. * <p> * Also tests MonitorMode reset, by destroying the last Screen (reference), * i.e. the original MonitorMode should get reinstated!
20151014 11:38:45 <xranby> it would be good to know if these two tests passes on your machine
20151014 11:39:14 <xranby> TestScreenMode01dNEWT and TestScreenMode01aNEWT
20151014 11:40:05 <xranby> both of these tests uses the setResetXRandRIfX11AfterClass() thingy
20151014 11:40:05 <xranby> hmm
20151014 11:40:17 <sgothel> the shutdown hook test must be performed manually ofc :)
20151014 11:40:44 <sgothel> ManualScreenMode03aNEWT
20151014 11:41:16 <xranby> https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/newt/mm/ManualScreenMode03aNEWT.java
20151014 11:41:25 <xranby> * Manual testing the ScreenImpl shutdown hook, * which shall reset the ScreenMode to it's original state * when the application exists (normal or ctrl-c).
20151014 11:41:38 <monsieur_max> xranby: thanks, i'll give a try this evening
20151014 11:41:42 <xranby> like sgothel said
20151014 11:48:40 <monsieur_max> you'll hear of me ... soon... or not !
20151014 13:09:43 <rmk0> .o.
20151014 13:50:04 <rmk0> hoping to be back working with opengl and jogl in the next few weeks
20151014 13:50:12 <rmk0> it's been quite a while!
20151014 14:05:48 * eclesia stops opengl for a bit, working on un-database and then will try a text to speech engine ^^
20151014 14:57:25 <elect> I cant believe it
20151014 14:57:38 <elect> you remember when I had those crash with the old nvidia drivers
20151014 14:57:59 <elect> it turned out it was because I was setting the anisotropic filter in the sampler to 0
20151014 14:58:04 <elect> valid values are >= 1
20151014 14:58:11 <elect> and they are float, not int
20151014 14:58:33 <elect> anyway, the strange thing is that it never complained before in the past
20151014 14:58:41 <monsieur_max> elect: tsss everyone knows that !
20151014 14:58:44 <elect> that code was there since a lot of time
20151014 14:58:47 <elect> :s
20151014 14:58:59 <elect> but something triggered it now
20151014 14:59:18 <elect> OR the nvidia compiler was successfully fixing that in the past
20151014 14:59:38 <elect> and now another different succession of gl commands wasnt triggering the fix anymore
20151014 14:59:41 <elect> who knows
20151014 14:59:55 <elect> anyway, monsieur_max, I am coming for you now
20151014 14:59:59 <elect> ^^
20151014 15:00:04 <monsieur_max> :P
20151014 15:00:55 <monsieur_max> i'm trying to figure out how to ptimize my game, what tool could i use to find bottleneck that could lower perfs ?
20151014 15:01:26 <elect> are you perf limited?
20151014 15:02:40 <monsieur_max> well, my computer is quite powerfull, and i'm willing to make my game playable on low machines too
20151014 15:03:09 <elect> have you had the change to run it on a low machine?
20151014 15:03:23 <monsieur_max> it's somewhat expected for a 2D game to be able to run it in native resolution fullscreen at an acceptable fps
20151014 15:03:39 <monsieur_max> well, i ran it on a mac mini 2009, it's a ION chipset
20151014 15:04:03 <monsieur_max> i've got a lousy netbook too, running an AMD thingie
20151014 15:04:12 <elect> acceptable?
20151014 15:04:35 <monsieur_max> not really
20151014 15:04:39 <elect> which is the minimum profile that you target?
20151014 15:04:53 <monsieur_max> well, lets say 30fps
20151014 15:04:59 <monsieur_max> ah profile ..
20151014 15:05:06 <monsieur_max> you mean gl profile ?
20151014 15:05:08 <elect> yep
20151014 15:05:14 <monsieur_max> it's GL2
20151014 15:10:38 <elect> is it tiled?
20151014 15:11:30 <monsieur_max> elect: not sure to understand the word "tiled" in the right way
20151014 15:11:55 <elect> the rendering engine is tiled based?
20151014 15:12:18 <elect> *tile
20151014 15:12:52 <elect> I remember from the screenshots it looked a 2.5D game, did it?
20151014 15:13:11 <monsieur_max> it's a 2d game, so yes it's tiled
20151014 15:39:32 * elect (~GBarbieri@anon) Quit (Ping timeout: 272 seconds)
20151014 15:41:31 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20151014 15:46:18 * elect (~elect@anon) has joined #jogamp
20151014 16:00:30 * eclesia (~husky@anon) has left #jogamp
20151014 16:29:41 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151014 16:50:05 * sgothel (~sgothel@anon) Quit (*.net *.split)
20151014 16:59:48 * sgothel (~sgothel@anon) has joined #jogamp
20151014 17:07:15 * sgothel (~sgothel@anon) Quit (*.net *.split)
20151014 17:10:19 * sgothel (~sgothel@anon) has joined #jogamp
20151014 17:53:06 * monsieur_max (~maxime@anon) has joined #jogamp
20151014 17:53:37 <monsieur_max> updated my projects to 2.3.2, everything is working as before
20151014 17:56:18 <elect> did you expect differently
20151014 17:56:28 <elect> infidel
20151014 18:45:56 * xranby_f22 (~familjen@anon) has joined #jogamp
20151014 18:54:27 * elect (~elect@anon) Quit (Ping timeout: 256 seconds)
20151014 19:28:12 <monsieur_max> i was expecting that it'd make my game totally better ! disappointed
20151014 19:37:02 <xranby_f22> monsieur_max: your game now work with the latest nvidia beta drivers
20151014 19:37:23 <xranby_f22> and probably work on the raspberry pi using eric anholts mesa3d opengl2 driver
20151014 19:37:31 <xranby_f22> hence yes it is almighty better
20151014 19:37:36 <monsieur_max> :)
20151014 19:37:48 <monsieur_max> can't argue with that, i admit
20151014 19:38:50 * xranby_f22 start planning for hosting the jogamp.com servers in sweden
20151014 19:39:34 <xranby_f22> i finally got the proper internet connection delivered
20151014 19:39:51 <xranby_f22> waiting for the support to allocate a public ip
20151014 19:39:57 <xranby_f22> a static one
20151014 19:44:03 <monsieur_max> ah good
20151014 19:45:05 <rmk0> jogamp.com is moving?
20151014 19:48:09 <xranby_f22> rmk0: i registered the jogamp.com address some years ago, they currently point to jogamp.org
20151014 19:48:36 <xranby_f22> to make sure that the project owned the domain that match the classes
20151014 19:49:17 <xranby_f22> my goal is to replicate all the infrastructure
20151014 19:49:38 <xranby_f22> so that we have a working build farm at two locations
20151014 19:50:31 <xranby_f22> redundancy
20151014 19:51:12 <rmk0> nice
20151014 19:57:36 <monsieur_max> mmmh in which jar szhould i find "com/jogamp/junit/util/SingletonJunitCase"
20151014 19:58:05 <monsieur_max> i got a NoClassDefFoundError qwhile trying to execute jogl test from command line
20151014 19:58:22 <monsieur_max> sorry for mistype ...
20151014 20:01:25 <monsieur_max> got to go, will read logs tomorrow, so if anyone got the answer, that'll be fine answering here :)
20151014 20:01:29 <monsieur_max> good night
20151014 20:01:40 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151014 20:11:33 <xranby_f22> everytime i search for jogl this pops up -> http://www.jogl-brunner.com
20151014 20:23:12 <xranby_f22> http://www.yiibai.com/tag/JOGL/ <- jogl fixed function tutorials in simplified chinese
20151014 21:37:37 * xranby_f22 (~familjen@anon) Quit (Remote host closed the connection)
20151015 04:03:11 * rmk0 (~rmk0@anon) Quit (Ping timeout: 264 seconds)
20151015 05:05:17 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20151015050517.html