#jogamp @ irc.freenode.net - 20150907 05:05:09 (UTC)


20150907 05:05:09 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20150906050509.html
20150907 05:05:09 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20150907050509.html
20150907 06:12:47 * monsieur_max (~maxime@anon) has joined #jogamp
20150907 06:40:56 * elect (~elect@anon) has joined #jogamp
20150907 06:51:24 <elect> hi
20150907 06:52:03 <elect> monsieur_max, three upvotes are too many, cmon
20150907 06:52:15 <monsieur_max> :)
20150907 07:01:50 <elect> anyway, I find this other one very funny, http://deathbulge.com/comics
20150907 07:13:20 <monsieur_max> yeah same :)
20150907 09:05:50 * doev (~doev@anon) has joined #jogamp
20150907 09:12:08 * doev (~doev@anon) Quit (Quit: Verlassend)
20150907 09:46:25 <xranby> sgothel: running tests today... in one of 1000 runs i get one notification from Xlib:
20150907 09:46:27 <xranby> test01.create[914]: [visible, focused, ], 800x600
20150907 09:46:27 <xranby> Xlib: extension "NV-GLX" missing on display ":0".
20150907 09:49:07 * xranby (~xranby@anon) Quit (Remote host closed the connection)
20150907 09:58:49 * xranby (~xranby@anon) has joined #jogamp
20150907 10:52:22 * rmk0 (~rmk0@anon) Quit (Ping timeout: 260 seconds)
20150907 11:36:46 * jvanek (jvanek@anon) has joined #jogamp
20150907 11:52:39 * rmk0 (~rmk0@anon) has joined #jogamp
20150907 12:11:14 * xranby (~xranby@anon) Quit (Quit: Leaving.)
20150907 13:09:14 * xranby (~xranby@anon) has joined #jogamp
20150907 13:20:22 <xranby> sgotel: my "lucky machne" pulled in a new nvidia driver 340.76 during todays system update and.. suddenly everything is stable. i cant reproduce the robovm issue nor the 1211 interrupt issue
20150907 14:01:50 * elect (~elect@anon) Quit (Read error: Connection reset by peer)
20150907 15:53:20 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150907 16:13:52 * bruce- (~x@anon) Quit (Ping timeout: 246 seconds)
20150907 16:14:08 * bruce- (~x@anon) has joined #jogamp
20150907 16:26:21 <sgothel> great .. this is w/ the fix - so .. hmm, good :)
20150907 17:04:16 * elect (~elect@anon) has joined #jogamp
20150907 17:53:25 * elect (~elect@anon) Quit (Ping timeout: 252 seconds)
20150907 18:16:15 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20150907 18:32:24 <xranby_f22> sgothel: i tried to reproduce it for several hours before the update installed thus i think your gluegen fix fixed it indeed
20150907 18:38:27 <xranby_f22> while testing various things i observed one odd thing:
20150907 18:39:10 <xranby_f22> If i started and kept the jogl-demos demos.es2.RawGL2ES2demo running then notable stuttering was seen when switching focus between two separate X11 gnome terminal windows
20150907 18:39:56 <xranby_f22> The stutter was serve while the window manager did the focus switch.
20150907 18:40:29 <xranby_f22> also resizing the GLWindow running the demos.es2.RawGL2ES2demo caused stuttering during the resize.
20150907 18:40:57 <xranby_f22> seen using ubuntu 14.04 x86_64 + nvidia driver using the unity window manager
20150907 18:52:31 * monsieur_max (~maxime@anon) has joined #jogamp
20150907 18:56:12 * elect (~elect@anon) has joined #jogamp
20150907 19:13:46 * xranby_f22 (~familjen@anon) Quit (Remote host closed the connection)
20150907 19:15:48 * xranby_f22 (~familjen@anon) has joined #jogamp
20150907 19:16:46 <xranby_f22> maybe it is a compositor thing... i see the same kind of stuttering happening using gnomeshell
20150907 19:17:29 <xranby_f22> example, i see small stutterings in my GLWindow when i resize a gnome terminal on the same screen
20150907 19:18:38 <xranby_f22> it was at least to me unexpected that resizing one window on my system did make my GLWindow drop frames
20150907 19:20:17 <xranby_f22> ok some positive news.. running a jogamp GLWindow application compiled with AOT using robovm makes it use only 713kb heap
20150907 19:22:56 <xranby_f22> i find that to be quite cool
20150907 19:35:03 <xranby_f22> XXL GLWindow test... creating GLWindows up to 4096x4096 runs with decent fast framerate
20150907 19:35:50 <xranby_f22> but somewhere between 4096x4096 and 8192x8192 all performance is lost.. guess it is some driver/GPU bottleneck saturated :)
20150907 19:36:47 <xranby_f22> trying to move up towards 16384x16384 made the mousepointer freeze and gnomeshell rebooted the session
20150907 19:37:21 <xranby_f22> at least interesting to test the current limitations
20150907 19:38:25 <xranby_f22> xrandr --fb 4096x4096 --output DVI-I-2 --mode 1920x1080 --panning 4096x4096
20150907 19:38:26 <xranby_f22> xrandr --fb 8192x8192 --output DVI-I-2 --mode 1920x1080 --panning 8192x8192
20150907 19:38:26 <xranby_f22> xrandr --fb 16384x16384 --output DVI-I-2 --mode 1920x1080 --panning 16384x16384
20150907 19:38:54 <xranby_f22> i use the above xrandr setup lines to test the XXL GLWindows
20150907 19:39:08 <sgothel> back ..
20150907 19:39:11 <sgothel> ah ..
20150907 19:41:46 <sgothel> Note: WindowImpl does not clip the size @ setSize
20150907 19:50:40 <xranby_f22> sgothel: can you observe the "auto-resize" content is rendered outside the window issue on macosx issue?
20150907 19:51:11 <sgothel> haven't tackled that one yet .. but will check later, ofc
20150907 19:51:35 <sgothel> auto-resize? a maximum issue?
20150907 19:52:31 <xranby_f22> sgothel: the lines are supposed to go from the top left and right corners https://jogamp.org/bugzilla/attachment.cgi?id=730
20150907 19:54:18 <xranby_f22> this GLWindow was created larger than the screen, newt auto-resized it down to fit inside the screen but the surface is still too large on macosx
20150907 19:55:07 <xranby_f22> causing a upper part of the surface to be outside the window
20150907 19:57:44 <sgothel> NEWT does the auto-resize? or the native WM?
20150907 19:58:04 <sgothel> the last thing I understand ..
20150907 19:58:45 <xranby_f22> good question
20150907 19:59:04 <xranby_f22> all we know at the moment is that a GLWindow is in use
20150907 19:59:15 <sgothel> so reconfigureImpl for OSX, X11 and Windows don't clip the size
20150907 19:59:24 <sgothel> let me check our native code
20150907 20:02:12 <sgothel> x11, windows: no clipping - so here it comes from the native WM
20150907 20:05:07 <sgothel> On OSX 'setWindowClientTopLeftPointAndSize(..)' is used, which does not clip .. but performs a 'coordinate system swap'
20150907 20:07:03 <sgothel> y-flip from TL-screen -> BL-screen
20150907 20:07:21 <sgothel> TopLeft -> BottomLeft
20150907 20:07:58 <sgothel> NewtMacWindow::newtAbsClientTLWinPos2AbsBLScreenPos(..)
20150907 20:08:41 <sgothel> yes .. that method uses the screen size to calculate the top-left .. autch
20150907 20:08:59 <sgothel> sorry, to calculate the Bottom-Left
20150907 20:09:14 <sgothel> doesn't work here, since window height >> screen height
20150907 20:09:21 <sgothel> hmm
20150907 20:10:00 <xranby_f22> https://jogamp.org/bugzilla/show_bug.cgi?id=1214
20150907 20:18:30 <sgothel> so you experienced, that on X11 the window size is already clipped to virt-screen size ?
20150907 20:18:46 <sgothel> then we should do that in WindowImpl .. explicitly .. agreed ..
20150907 20:20:52 <sgothel> hope we don't break some weird use-case .. but IMHO it is ok ..
20150907 20:21:18 <sgothel> so a validateSize @ native-creation _and_ at setSize_if_nativeCreated
20150907 20:21:32 <sgothel> only then we have the virtual screen size available
20150907 20:21:56 <sgothel> ok?
20150907 20:22:26 * xranby_f22 is parsing what you said
20150907 20:22:37 <xranby_f22> one moment
20150907 20:26:48 <xranby_f22> sgothel: i experience that on X11 if i create windows larger than the screen then the windowmanager tries to fit the window inside the screen, however if i resize the window after it has been created then i can make them XXL large
20150907 20:27:13 <xranby_f22> thus large windows are supported on the hardware level
20150907 20:28:14 <sgothel> GLWindow/X11: req. size 4096 x 4096 -> 3840x2136 (max-size)
20150907 20:28:29 <sgothel> (i.e. WM auto-clipping)
20150907 20:28:58 <sgothel> hmm .. one sec
20150907 20:30:04 <sgothel> yes - possible
20150907 20:30:23 <sgothel> clipped at creation - manual resize possible later on ..
20150907 20:30:51 <sgothel> so .. need to fix the OSX method first I guess
20150907 20:33:16 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20150907 20:42:05 * elect (~elect@anon) Quit (Ping timeout: 252 seconds)
20150907 21:20:36 <xranby_f22> sgothel: i created a new junit test for fun to test test04WindowLargerThanVirtualScreenAndNonResizeable trying to create a NEWT Window of 20000x20000 size... to my surprise the test passed after 7 second having a side effect of killing gnome shell in the process.
20150907 21:21:50 <xranby_f22> i added a setSize after setVisible to test this "proof of concept"
20150907 21:22:04 <sgothel> Xerxes becomes to be renown for his odd tests [negative test cases] :)
20150907 21:22:27 <sgothel> indeed .. we don't have that much negative tests .. i.e. expected to fail
20150907 21:22:53 <sgothel> seems like neither the 'gnome shell' :)
20150907 21:23:01 <xranby_f22> hehe
20150907 21:23:19 <sgothel> kwin was OK w/ a 'super size me' test run here manually
20150907 21:23:32 <sgothel> (drag window w/ ALT-F2 .. then resize ..)
20150907 21:23:46 <sgothel> no .. it was just ALT+drag .. I guess
20150907 21:23:57 <xranby_f22> negative tests are great, when the negative tests starts to pass then you know you have done engineering and can start refactoring
20150907 21:24:58 <sgothel> then we would have never start refactoring at all .. due to the sheer humongous space of possibilities here :)
20150907 21:25:12 <xranby_f22> :/
20150907 21:25:21 <xranby_f22> that is a possibility
20150907 21:25:21 <sgothel> so .. we are a bit sloppy here :)
20150907 21:25:28 <xranby_f22> i do not want to delay the release further
20150907 21:25:42 <sgothel> it is done .. when it is done
20150907 21:25:52 <xranby_f22> when quality is high!
20150907 21:25:56 <xranby_f22> yes, no need to rush
20150907 21:26:16 <sgothel> so the OSX bug .. we analyzed here .. shall be fixed - so thats a great thing .. having all those nasty cases
20150907 21:26:47 <sgothel> and the crazy cases sideeffects .. must be pushed up to the WMs then etc ..
20150907 21:27:10 <sgothel> one reason I make the tests singleton per machine, i.e. to not test the driver etc regularly (jenkins)
20150907 21:27:23 <sgothel> then I guess .. we would never get a 'green light'
20150907 21:28:02 <sgothel> gladly .. drivers a getting better .. especially the free ones - they are excellent IMHO
20150907 21:29:16 <sgothel> I remember one odd test case .. one tries to create a huge onscreen window,
20150907 21:29:37 <sgothel> moves it 'offscreen' (i.e. invisible coordinates) .. just to have something huge for high-dpi printing
20150907 21:29:54 <sgothel> all this - to avoid tiled rendering w/ a real offscreen thing
20150907 21:30:06 <sgothel> so now, well, we can do that - tiled offscreen rendering
20150907 21:33:23 <xranby_f22> such improvements are the best, that originate from a users need
20150907 21:34:03 <sgothel> yeah .. these you cannot pull our of your nose just like that .. yummy .. :)
20150907 22:22:52 * i-make-robots (~i-make-ro@anon) has joined #jogamp
20150907 22:23:53 <xranby_f22> i-make-robots: hi again
20150907 22:25:01 <i-make-robots> hey!
20150907 22:25:11 <i-make-robots> i got a new one for you. one that's actually in 3d this time.
20150907 22:25:21 <xranby_f22> i-make-robots: sweet
20150907 22:25:45 <i-make-robots> https://instagram.com/p/7JZ-vAofH0/?taken-by=imakerobots
20150907 22:26:04 <i-make-robots> still shot: https://instagram.com/p/7IzokJIfGQ/?taken-by=imakerobots
20150907 22:26:06 <xranby_f22> i-make-robots: the easiest may be if you clone the jogl git and add the content to the jogl/www folder.. it is all static html files
20150907 22:26:48 <i-make-robots> i'm waaay behind on deadlines. I just dropped in to let you know. :T
20150907 22:27:06 <xranby_f22> cool, thank you
20150907 22:27:16 <sgothel> thank you .. sorry, missed that, will edit it these days
20150907 22:27:17 <i-make-robots> if you'd like to add it, cool. otherwise I'll note to do something around the 5th when I'm free.
20150907 22:27:18 <xranby_f22> i dont know what deadline you have in front of you
20150907 22:27:39 <i-make-robots> ny maker faire is coming up. I am showing off this code and the robot attached on the 26th.
20150907 22:27:39 <xranby_f22> i hope it is a fun one
20150907 22:27:43 <xranby_f22> ah
20150907 22:27:43 <i-make-robots> so much to do before then.
20150907 22:27:59 <xranby_f22> exciting!
20150907 22:28:25 <xranby_f22> i-make-robots: do you have a booth?
20150907 22:28:42 <i-make-robots> yes
20150907 22:28:54 <xranby_f22> i-make-robots: like do you know the seating number right now.. if we should add it to the homepage
20150907 22:29:15 <i-make-robots> i'll be showing a giant wall of LEDs (~2300) running real time video from the jogamp simulation of the robot, which will also be there.
20150907 22:29:24 <i-make-robots> i don't have a booth number yet. it's definitely outdoors.
20150907 22:29:44 <i-make-robots> i have a talk on sunday, the 27th at 5 when I'll talk about the robot's development and future plans.
20150907 22:30:14 <i-make-robots> i may also have an impromptu one on saturday. "if you want all the details come back for my talk."
20150907 22:30:23 <xranby_f22> i-make-robots: is this instagram the best way to follow the events progress?
20150907 22:31:01 <i-make-robots> my progress, for sure. Maker faire? Not so sure. they probably have staff running every social media channel at once.
20150907 22:31:09 <i-make-robots> I'll be vlogging ro something from the fair.
20150907 22:32:10 <xranby_f22> https://instagram.com/imakerobots/ <- i will keep an eye on this channel. i look forward seeing the shiny LED wall :)
20150907 22:33:10 <sgothel> good night .. early to bedtime for me today :)
20150907 22:33:26 <sgothel> (sed 's/to //g' :)
20150907 22:33:43 <xranby_f22> sgothel: happy to have todays brainstorming
20150907 22:33:45 <xranby_f22> good night
20150907 22:33:58 <xranby_f22> and sleep well
20150907 22:34:55 <xranby_f22> https://instagram.com/p/5-gMclofE1/ <- you wall appears to be working fine :D
20150907 22:37:20 <xranby_f22> https://instagram.com/p/7G_BHaofCU/ <- robot arm sw in action
20150907 22:38:42 <i-make-robots> just posted a photo for you.
20150907 22:41:59 <xranby_f22> https://instagram.com/p/7WK-X4ofNX/ Nice!
20150907 22:42:24 <i-make-robots> thanks.
20150907 22:42:31 <i-make-robots> well... enjoy, and maybe I'll see you there.
20150907 22:42:34 <xranby_f22> i-make-robots: heh.. i guess your wood robot would break if it did that pose
20150907 22:42:40 <i-make-robots> ciao!
20150907 22:42:44 <xranby_f22> ciao!
20150907 22:42:49 <i-make-robots> oh no, it's fine.
20150907 22:42:58 <i-make-robots> the hard part ouwld be clamping it down so it doesn't tip over.
20150907 22:43:13 * i-make-robots (~i-make-ro@anon) Quit (Quit: i-make-robots)
20150908 05:05:09 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20150908050509.html