After temporary solved my first problem with scenic I need a community help to fix second problem. I have installed scenic_new archive, created project, compiled and started. The only problem I have is:
<logger time here> [error] dirty close
I have looked at source code and I have found that it comes from scenic_driver_glfw dependency in file deps/scenic_driver_glfw/lib/glfw.ex (debugged at line 178) which means that glfw driver is nicely handling exit error which comes to driver GenServer, but unfortunately I have not much helpful information even if I comment it. After placing some comments I have received log with this error:
<logger time here> [error] Scenic.ViewPort.Driver :glfw received unexpected message in handle_info/2: {:EXIT, #Port<0.786>, :normal}
In README.md file I have found 3 requirements glew, glfw (in version 3) and pkgconfig. I have checked it in my Funtoo Linux distribution and here is what I have there:
[ebuild R ] media-libs/glew-2.1.0:0/2.1::media-kit USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 747 KiB
[ebuild R ] media-libs/glfw-3.2.1::media-kit USE="wayland -examples" 640 KiB
[ebuild R ] virtual/pkgconfig-0-r1::core-kit ABI_X86="(64) -32 (-x32)" 0 KiB
I have also checked if my OpenGL is already working.
Here is my current OpenGL configuration:
$ eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
And here is what lots of people (with topics about graphic driver problems) ask i.e. direct rendering:
$ glxinfo | grep direct
direct rendering: Yes
GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access,
GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
It would be awesome if somebody could help me. @boydm maybe you have any ideas how it could be solved?
























