OK, with some fiddling I can confirm the same bugs are visible in Mir's
demo servers (from package mir-demos). So Unity8 is not a problem.
I can now also see what the problems are:
1. Seeing double: This is SDL incorrectly telling the app that a 16-bit pixel
size is supported. It is not supported in Mir.
2. Wrong colours: This is also SDL incorrectly telling the app that it can use
16-bit colour. Mir only supports 24 or 32-bit colour right now.
>From gles:
$ env LD_LIBRARY_PATH=./lib/arm-linux-gnueabihf ./gles
Window requested size 640x480, got 768x1280
INFO: Screen bpp: 24
INFO:
INFO: Vendor : Qualcomm
INFO: Renderer : Adreno (TM) 320
INFO: Version : OpenGL ES-CM 1.1
INFO: Extensions : GL_EXT_debug_marker GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot
GL_ARB_vertex_buffer_object GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV
GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract
GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture
GL_OES_depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette
GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite
GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap
GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float
GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_OES_texture_mirrored_repeat GL_QCOM_binning_control GL_QCOM_extended_get
GL_QCOM_tiled_rendering
INFO:
INFO: SDL_GL_RED_SIZE: requested 5, got 5
INFO: SDL_GL_GREEN_SIZE: requested 5, got 6
INFO: SDL_GL_BLUE_SIZE: requested 5, got 5
INFO: SDL_GL_DEPTH_SIZE: requested 16, got 16
** Changed in: libsdl2 (Ubuntu)
Status: Confirmed => Triaged
** Changed in: mir
Status: New => Invalid
** Changed in: mir (Ubuntu)
Status: Confirmed => Invalid
** Changed in: unity8 (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460149
Title:
Visible corruption in SDL apps (Neverball, Neverputt) on Nexus 4 /
Nexus 7.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1460149/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs