Perl 6 - the future is here, just unevenly distributed

IRC log for #sdl, 2015-05-21

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
05:00 awwaiid joined #sdl
05:34 kaare joined #sdl
05:43 awwaiid joined #sdl
06:02 dod joined #sdl
06:06 dod joined #sdl
06:14 awwaiid joined #sdl
06:26 FROGGS joined #sdl
07:11 Paulchenkiller joined #sdl
09:46 basiliscos joined #sdl
09:52 basiliscos joined #sdl
10:58 mtj_ hey Mithaldu
10:59 mtj_ ..i have made a little bit more progress withh microdium install on osx yosemite
11:00 mtj_ i got Acme::MITHALDU::BleedingOpenGL installed ok
11:01 mtj_ here is the new error.. fyi
11:01 mtj_ http://pastebin.com/DUCJ2mfD
11:05 mtj_ seems to have a problem with the ./share/sprite.geom file?
11:10 mtj_ hum, looks like my graphics card doesnt support 3.30 shaders?!  :/
11:10 mtj_ $ glxinfo
11:10 mtj_ OpenGL vendor string: NVIDIA Corporation
11:10 mtj_ OpenGL renderer string: NVIDIA GeForce GT 650M OpenGL Engine
11:10 mtj_ OpenGL version string: 2.1 NVIDIA-10.2.7 310.41.25f01
11:10 mtj_ OpenGL shading language version string: 1.20
11:11 mtj_ my macbook only does 1.20 shaders ... not 3.30?
11:20 mtj_ hmm, i think ive confirmed my lappy only has opengl 2.1
11:24 mtj_ bizarre
11:25 mtj_ apple says my lappy has opengl 4.1 support
11:25 mtj_ https://support.apple.com/en-gb/HT202823
11:26 mtj_ ..yet an opengl diag tool says both video cards (lappy has 2) only does opengl 2.1
11:29 mtj_ newer osx versions support later opengl verisions
11:29 mtj_ https://developer.apple.com/opengl/capabilities/index.html
11:38 mtj_ meh, seems opengl 4.1 is incorrect :/
11:39 mtj_ and only 10% of the 3.3 spec is working on the lappy :/
11:39 mtj_ Core features
11:39 mtj_ v1.1 (100 % - 7/7)
11:39 mtj_ v1.2 (100 % - 8/8)
11:39 mtj_ v1.3 (100 % - 9/9)
11:39 mtj_ v1.4 (100 % - 15/15)
11:39 mtj_ v1.5 (100 % - 3/3)
11:39 mtj_ v2.0 (100 % - 10/10)
11:39 mtj_ v2.1 (100 % - 3/3)
11:40 mtj_ v3.0 (95 % - 22/23)
11:40 mtj_ v3.1 (25 % - 2/8)
11:40 mtj_ v3.2 (70 % - 7/10)
11:40 mtj_ v3.3 (10 % - 1/10)
11:40 mtj_ v4.0 (0 % - 0/14)
11:40 mtj_ v4.1 (0 % - 0/7)
11:40 mtj_ v4.2 (0 % - 0/13)
11:40 mtj_ v4.3 (0 % - 0/23)
11:40 mtj_ v4.4 (0 % - 0/10)
11:40 mtj_ v4.5 (0 % - 0/11)
11:42 mtj_ so, looks like i might only have GLSL 1.20 after all ;/
11:47 FROGGS 2.1*
11:52 mtj_ hiya FROGGS
11:52 mtj_ no no... opengl 2.1 includes GL shading language 1.20
11:53 mtj_ nvida say my card supports opengl 4.5?!
11:53 mtj_ http://www.geforce.com/hardware/notebook-gpus/geforce-gt-650m/specifications
11:54 FROGGS hi mtj_
11:54 FROGGS maybe your card supports it but not your driver?
11:54 mtj_ so... perhaps my card only support opengl 2.1 when running in osx :(
11:54 FROGGS is that possible?
11:55 mtj_ ie: if i install win7 on my macbook, and download the latest windoze nvidia drivers... i get opengl 4.5?
11:55 FROGGS I have no idea
11:56 mtj_ FROGGS: yeah, we are thinking the same thing ^
11:56 FROGGS :o)
11:56 mtj_ me neither, opengl versioning is all new to me
11:59 mtj_ i *really* need to switch my work box to linux
12:07 mtj_ hmm, the theory was correct :/
12:07 mtj_ latest win drivers for my card support opengl 4.5
12:08 mtj_ http://delphigl.de/glcapsviewer/gl_generatereport.php?reportID=787
12:09 mtj_ yet, back in stupid apple/osx land - the latest driver for my card is opengl 2.1
12:09 mtj_ http://delphigl.de/glcapsviewer/gl_generatereport.php?reportID=469
12:21 Mithaldu mtj_: yeah, which opengl you get depends on your drivers
12:21 Mithaldu thanks for trying though
12:21 Mithaldu how'd you fix the bleedingopengl install?
12:26 basiliscos joined #sdl
12:34 basiliscos joined #sdl
12:46 mtj_ hiya Mithaldu
12:46 mtj_ i built it like this...
12:46 mtj_ $ perl Makefile.PL interface=FREEGLUT
12:46 Mithaldu btw, i think the most recent version of the game i have on github checks the version of opengl explicitly
12:46 Mithaldu also
12:47 Mithaldu might not apply, but do you know if your laptop does optimus?
12:47 Mithaldu and thanks, i'll add that to the readme
12:50 mtj_ nvidia says it does :)
12:50 mtj_ DirectX 11, Optimus, PhysX, OpenCL, DirectCompute, 3D Vision, CUDASupported Technologies
12:51 mtj_ Mithaldu: there is some legacy/core thing with osx opengl
12:52 basiliscos joined #sdl
12:52 mtj_ ..an app needs to set the opengl mode to 'core' to enable opengl 3.0+
12:52 mtj_ so, that might fix it
12:57 mtj_ just googling now... what a confusing fukup
12:57 mtj_ https://www.reddit.com/r/gamedev/comments/27c93z/os_x_opengl_corecompatibility/
12:59 basiliscos joined #sdl
13:04 basiliscos joined #sdl
13:17 basiliscos joined #sdl
13:20 basiliscos joined #sdl
13:29 basiliscos joined #sdl
13:36 Mithaldu mtj_: looking
13:37 Mithaldu oh great, no code :|
13:37 basiliscos joined #sdl
13:47 basiliscos joined #sdl
13:55 basiliscos joined #sdl
14:09 dod joined #sdl
14:23 Mithaldu mtj_: oops, i didn't have version checks in, you can pull from the repo to get those now
14:38 basiliscos joined #sdl
14:47 basiliscos joined #sdl
15:06 basiliscos joined #sdl
15:25 dod joined #sdl
16:04 FROGGS joined #sdl
16:27 basiliscos joined #sdl
16:28 dod joined #sdl
20:29 mtj_ Mithaldu:  i did a little moar digging...
20:29 mtj_ https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CGL_OpenGL/index.html#//apple_ref/c/tdef/CGLOpenGLProfile
20:31 mtj_ http://sourceforge.net/p/glew/mailman/message/27864644/
20:32 mtj_ ..thats a example of someone switching osx from legacy opengl 2.1, to 3.2 ^
20:32 Mithaldu that sounds useful
20:32 Mithaldu guess i'll have to try that sometime :)
20:33 mtj_ yeah, me too
20:33 Mithaldu of course, i'll need to find a way to do the right calls in pure opengl
20:33 mtj_ um... yeah
20:33 Mithaldu maybe you could fiddle with a minimal example on your mac to see if you can make it work?
20:34 mtj_ yeah, thats the best place to start
20:34 mtj_ an ogl-3.2 'hello triangle'
20:34 Mithaldu yeah
20:39 mtj_ apple's code snippets in swift and objc are great... but how to do this in ogl or another lang, huh?
20:44 Mithaldu it's not that difficult
20:44 Mithaldu the main thing is i cannot verify it working or not, you can
20:48 mtj_ yeah, i understand
20:48 mtj_ curious, how is it done, Mithaldu?
20:49 Mithaldu take off the c from the front of most of these and google
20:49 Mithaldu they're likely available under that name as native opengl functions
20:54 mtj_ interesting, looks like a way to set an ogl version, via ogl..
20:54 mtj_ https://github.com/aldacron/Derelict3/issues/28
20:55 mtj_ glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, 3);
20:55 mtj_ glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, 2);
20:55 mtj_ glfwOpenWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
20:55 mtj_ glfwOpenWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
20:55 mtj_ well, thats using glfw... but close? :)
20:56 mtj_ might be worth a look..
20:57 mtj_ i had spotted that example, elsewhere too
21:29 Mithaldu mtj_: maybe see if glut has something similar
21:37 mtj_ good call Mithaldu, will do.. :)
21:37 Mithaldu \o/
22:24 fuzzix_ joined #sdl

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary