#jogamp @ irc.freenode.net - 20160131 05:05:21 (UTC)
20160131 05:05:21 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20160130050521.html
20160131 05:05:21 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20160131050521.html
20160131 08:00:10 * elect (~elect@anon) has joined #jogamp
20160131 08:39:26 * elect (~elect@anon) Quit (Ping timeout: 240 seconds)
20160131 09:55:40 * monsieur_max (~maxime@anon) has joined #jogamp
20160131 10:05:42 * elect (~elect@anon) has joined #jogamp
20160131 12:25:26 * rmk0 (~rmk0@anon) Quit (*.net *.split)
20160131 12:26:17 * odin_ (~Odin@anon) Quit (*.net *.split)
20160131 12:26:30 * bruce- (~x@anon) Quit (*.net *.split)
20160131 12:26:57 * monsieur_max (~maxime@anon) Quit (*.net *.split)
20160131 12:27:01 * guillaum1 (~gl@anon) Quit (*.net *.split)
20160131 12:27:12 * bigpet (uid25664@anon) Quit (*.net *.split)
20160131 12:27:12 * sgothel1 (~sgothel@anon) Quit (*.net *.split)
20160131 12:29:12 * odin_ (~Odin@anon) has joined #jogamp
20160131 12:29:12 * bruce- (~x@anon) has joined #jogamp
20160131 12:29:32 * rmk0 (~rmk0@anon) has joined #jogamp
20160131 12:29:36 * elect (~elect@anon) Quit (Ping timeout: 260 seconds)
20160131 12:29:59 * bigpet (uid25664@anon) has joined #jogamp
20160131 12:29:59 * sgothel1 (~sgothel@anon) has joined #jogamp
20160131 12:35:37 * monsieur_max (~maxime@anon) has joined #jogamp
20160131 12:35:38 * guillaum1 (~gl@anon) has joined #jogamp
20160131 13:03:06 * Eclesia (~eclesia@anon) has joined #jogamp
20160131 13:03:38 <Eclesia> hi
20160131 13:46:16 <guillaum1> Ouille
20160131 13:48:31 <Eclesia> original
20160131 13:49:06 <guillaum1> sry :-)
20160131 15:29:29 <Eclesia> minecraft ...
20160131 16:58:46 * sgothel1 (~sgothel@anon) Quit (Ping timeout: 240 seconds)
20160131 17:19:36 * sgothel (~sgothel@anon) has joined #jogamp
20160131 17:19:36 * sgothel (~sgothel@anon) Quit (Changing host)
20160131 17:19:36 * sgothel (~sgothel@anon) has joined #jogamp
20160131 17:19:36 * ChanServ sets mode +v sgothel
20160131 17:51:43 * elect (~elect@anon) has joined #jogamp
20160131 18:35:03 * Eclesia need help :'(
20160131 18:35:44 <Eclesia> what am I missing to use correctly an byte integer texture ?
20160131 18:35:52 <Eclesia> #version 330
20160131 18:36:04 <Eclesia> uniform isampler2D tex;
20160131 18:37:07 <Eclesia> when loading texture : format = GL4.GL_RED_INTEGER; internalformat = GL4.GL_R8I; type = GL4.GL_BYTE
20160131 18:37:27 <rmk0> looks right
20160131 18:38:22 * Eclesia hates opengl when such things happen
20160131 18:39:17 <Eclesia> no error, but value is always 0 in my image ...
20160131 18:44:42 <Eclesia> no better way to waste several hours pfff
20160131 18:45:09 <rmk0> i have the same question as always... are you using apitrace?
20160131 18:46:34 <Eclesia> *sigh* have to make an executable jar
20160131 18:46:59 <rmk0> you don't have to, if you can define an environment variable
20160131 18:47:17 <rmk0> LD_PRELOAD=/opt/apitrace/lib/apitrace/wrappers/glxtrace.so
20160131 18:47:41 <rmk0> can also define TRACE_FILE=/tmp/something.trace to decide where the trace is saved
20160131 18:48:12 <Eclesia> add that will popup start recording just like that ?
20160131 18:49:16 <rmk0> yeah
20160131 18:49:33 <rmk0> all the apitrace command does is do the above in a platform independent way
20160131 18:49:44 <rmk0> injects a dll on windows, sets up LD_PRELOAD on unix, etc
20160131 18:54:01 <Eclesia> you thinks it's ok if I define it in .bashrc ?
20160131 18:55:15 <Eclesia> it will active it on every gl apps if i do that ... so i guess answer's 'no'
20160131 18:55:23 <rmk0> hehe
20160131 18:55:29 <rmk0> maybe you want trace files everywhere
20160131 18:56:14 * Eclesia searching for a way to add it as a jvm parameter
20160131 18:56:48 <rmk0> has to be an environment variable
20160131 18:57:14 <Eclesia> so in the end I still have to make an executable jar :/
20160131 18:57:41 <rmk0> you can't set environment variables?
20160131 18:58:34 <Eclesia> sure I can in a shell: export ....
20160131 18:58:50 <Eclesia> but anyway I still need to run the app afterward
20160131 18:59:40 <Eclesia> or maybe I'm not understanding right ?
20160131 19:00:03 <rmk0> you need to run your java thing once, and then run qapitrace or whatever on the trace file
20160131 19:00:09 <rmk0> gives you the ui to step through calls, examine textures, etc
20160131 19:16:17 <Eclesia> 11022) glBufferData(target = GL_ARRAY_BUFFER, size = 64, data = [binary data, size = 64 bytes], usage = GL_STATIC_DRAW)
20160131 19:16:23 <Eclesia> usnknown severity API unknown issue 131185, Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
20160131 19:17:41 <Eclesia> seems unrelated, it's when a vbo or ibo is created
20160131 19:19:07 <rmk0> drivers eject varying amounts of that stuff
20160131 19:19:38 <rmk0> i don't think it's anything to do with your problem
20160131 19:33:24 <Eclesia> glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_R8UI, width = 1024, height = 1024, border = 0, format = GL_RED_INTEGER, type =GL_UNSIGNED_BYTE, pixels = [binary data, size = 0 bytes])
20160131 19:34:21 <Eclesia> that's odd 0 bytes of data :/ i've run the app in java debug and the buffer position in 0 and capacity is 1024*1024
20160131 19:36:04 <Eclesia> rmk0: any hints ?
20160131 19:36:35 <Eclesia> there is a glPixelStorei(pname = GL_UNPACK_ALIGNMENT, param = 1) just before
20160131 19:39:24 <rmk0> i use the same glPixelStorei, there's rarely a reason to use anything else
20160131 19:39:58 <rmk0> at least that indicates that the data isn't even getting to the gpu
20160131 19:40:04 <Eclesia> yop
20160131 19:41:04 <Eclesia> just have to guess which unintuitive condition caused it
20160131 19:42:04 <Eclesia> perhaps there is a glEnable to activate ...
20160131 19:44:11 <rmk0> i don't think so
20160131 19:44:58 <rmk0> i'm not exactly sure where "0 bytes" would come from
20160131 19:45:08 <rmk0> how does it know what the length of the data is?
20160131 19:45:16 <rmk0> there isn't really a length
20160131 19:50:12 <Eclesia> I can't see the stat info after the glTexImage2D call :/
20160131 19:54:04 * void256 (~void@anon) has joined #jogamp
20160131 19:58:12 <Eclesia> ... I can't find anything special on the web about integer textures beside what I've already done . I'll continue another day
20160131 19:58:33 <Eclesia> rmk0: thanks for the tips as always :)
20160131 19:58:54 <Eclesia> good night ++
20160131 19:59:10 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20160131 20:08:24 <rmk0> https://fosdem.org/2016/schedule/event/vulkan_graphics/
20160131 21:48:46 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160131 23:10:23 * elect (~elect@anon) Quit (Ping timeout: 265 seconds)
20160131 23:19:54 * void256 is now known as l33t
20160131 23:19:59 * l33t (~void@anon) Quit (Remote host closed the connection)
20160131 23:26:32 * zubzub (~zubzub@anon) Quit (Ping timeout: 250 seconds)
20160131 23:27:11 * zubzub (~zubzub@anon) has joined #jogamp
20160201 05:05:21 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20160201050521.html