[kwin] [Bug 369317] Kwin crash with gles

2016-10-08 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369317

--- Comment #10 from Uriy Zhuravlev  ---
> I guess we need to get distros to switch to the fork.

I started - https://bugs.gentoo.org/show_bug.cgi?id=596548

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 369317] Kwin crash with gles

2016-10-08 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369317

--- Comment #8 from Uriy Zhuravlev  ---
Thanks Andrei, with https://github.com/yaronct/libepoxy everything works well!

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 370264] New: KWin crash with "No provider of glFenceSync found"

2016-10-07 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370264

Bug ID: 370264
   Summary: KWin crash with "No provider of glFenceSync found"
   Product: kwin
   Version: 5.8.0
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: effects-various
  Assignee: kwin-bugs-n...@kde.org
  Reporter: stalk...@gmail.com

After upgrade to kwin 5.8 "graphic effects" has not worked. 
I pulled KWin from master and builded by hand. 
All problem in void GLVertexBuffer::endOfFrame() (kwinglutils) when we try call
glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);

Everything started to work fine after KWIN_PERSISTENT_VBO=0 .

Currently I am using EGL on Intel Haswell (mesa, libdrm, xf86-video-intel from
git)

PS We realy can use glFenceSync under EGL?

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-17 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #27 from Uriy Zhuravlev  ---
>Let's get this off the list

Good! Patch works well.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-11 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #24 from Uriy Zhuravlev  ---
> if (dpy == EGL_NO_DISPLAY)
>   dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);

I will try this. Although it seems to me a very good solution.

Martin?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-06 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #15 from Uriy Zhuravlev  ---
Hey. Do you have any thoughts? I think es2 != egl. 

PS Now I have to use a LXQT instead KDE. Plasma5 + kwin instability at Intel.
:(

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-06 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #18 from Uriy Zhuravlev  ---
EGL_WINDOW_BIT|(supportsBufferAge() ? 0 : EGL_SWAP_BEHAVIOR_PRESERVED_BIT)
maybe you mean:
EGL_WINDOW_BIT|(supportsBufferAge() ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0)

?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-06 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #17 from Uriy Zhuravlev  ---
1. initEGL(); insted initEgl(); 
2. Nope... it's not work.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-06 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #20 from Uriy Zhuravlev  ---
I have two outputs, first:
("EGL_EXT_client_extensions", "EGL_EXT_platform_base",
"EGL_EXT_platform_wayland", "EGL_EXT_platform_x11",
"EGL_KHR_client_get_all_proc_addresses", "EGL_MESA_platform_gbm")
extension "EGL_EXT_buffer_age"() () ("EGL_EXT_client_extensions",
"EGL_EXT_platform_base", "EGL_EXT_platform_wayland", "EGL_EXT_platform_x11",
"EGL_KHR_client_get_all_proc_addresses", "EGL_MESA_platform_gbm") 

and second:
("EGL_CHROMIUM_sync_control", "EGL_EXT_buffer_age",
"EGL_EXT_create_context_robustness", "EGL_EXT_image_dma_buf_import",
"EGL_KHR_create_context", "EGL_KHR_fence_sync",
"EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_renderbuffer_image",
"EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_cubemap_image",
"EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap",
"EGL_KHR_surfaceless_context", "EGL_KHR_wait_sync",
"EGL_MESA_configless_context", "EGL_MESA_drm_image",
"EGL_MESA_image_dma_buf_export", "EGL_NOK_texture_from_pixmap",
"EGL_WL_bind_wayland_display", "")

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-04 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #14 from Uriy Zhuravlev  ---
(In reply to Thomas Lübking from comment #13)
> What puzzles me is that EGL_EXT_buffer_age seems to be available, so why
> would it not be in the list of client extensions?

Because in:
void AbstractEglBackend::initClientExtensions()

eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS) returned only:
EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_wayland
EGL_EXT_platform_x11 EGL_KHR_client_get_all_proc_addresses
EGL_MESA_platform_gbm

and yes es2_info relay difference between eglinfo:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4 (DRI2)
EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3 
EGL extensions string:
EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_KHR_create_context EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_surfaceless_context EGL_KHR_wait_sync
EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_image_dma_buf_export EGL_NOK_texture_from_pixmap
EGL_WL_bind_wayland_display
EGL client extensions string:
EGL_EXT_client_extensions EGL_EXT_platform_base
EGL_EXT_platform_wayland EGL_EXT_platform_x11
EGL_KHR_client_get_all_proc_addresses EGL_MESA_platform_gbm

"EGL client extensions string"  -- It solves your puzzle.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2016-01-04 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #12 from Uriy Zhuravlev  ---
(In reply to Martin Gräßlin from comment #11)
> which mesa version has that new behavior? When we discussed it on the
> mailing list my mesa didn't have it yet, so I didn't look into the
> implementation.

Actual git master.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-29 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #10 from Uriy Zhuravlev  ---
(In reply to Thomas Lübking from comment #9)
> prints "false" on your side?

Yes. My past result printed after initClientExtensions. :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-29 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #8 from Uriy Zhuravlev  ---
Please:

EGL_VERSION: 1.4 (DRI2)
EGL_VENDOR: Mesa Project
EGL_EXTENSIONS:
EGL_CHROMIUM_sync_control, EGL_EXT_buffer_age, 
EGL_EXT_create_context_robustness, EGL_EXT_image_dma_buf_import, 
EGL_KHR_create_context, EGL_KHR_fence_sync, 
EGL_KHR_get_all_proc_addresses, EGL_KHR_gl_renderbuffer_image, 
EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image, 
EGL_KHR_image, EGL_KHR_image_base, EGL_KHR_image_pixmap, 
EGL_KHR_surfaceless_context, EGL_KHR_wait_sync, 
EGL_MESA_configless_context, EGL_MESA_drm_image, 
EGL_MESA_image_dma_buf_export, EGL_NOK_texture_from_pixmap, 
EGL_WL_bind_wayland_display
EGL_CLIENT_APIS: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3 
GL_VERSION: OpenGL ES 3.0 Mesa 11.2.0-devel (git-b201a6e)
GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile 
GL_EXTENSIONS:
GL_EXT_blend_minmax, GL_EXT_multi_draw_arrays, 
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_compression_dxt1, 
GL_EXT_texture_format_BGRA, GL_OES_compressed_ETC1_RGB8_texture, 
GL_OES_depth24, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
GL_OES_mapbuffer, GL_OES_rgb8_rgba8, GL_OES_standard_derivatives, 
GL_OES_stencil8, GL_OES_texture_3D, GL_OES_texture_float, 
GL_OES_texture_float_linear, GL_OES_texture_half_float, 
GL_OES_texture_half_float_linear, GL_OES_texture_npot, GL_OES_EGL_image, 
GL_OES_depth_texture, GL_OES_packed_depth_stencil, 
GL_EXT_texture_type_2_10_10_10_REV, GL_OES_get_program_binary, 
GL_APPLE_texture_max_level, GL_EXT_discard_framebuffer, 
GL_EXT_read_format_bgra, GL_NV_fbo_color_attachments, 
GL_OES_EGL_image_external, GL_OES_EGL_sync, GL_OES_vertex_array_object, 
GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, 
GL_EXT_texture_rg, GL_EXT_unpack_subimage, GL_NV_draw_buffers, 
GL_NV_read_buffer, GL_NV_read_depth, GL_NV_read_depth_stencil, 
GL_NV_read_stencil, GL_EXT_draw_buffers, GL_EXT_map_buffer_range, 
GL_KHR_debug, GL_OES_depth_texture_cube_map, GL_OES_surfaceless_context, 
GL_EXT_color_buffer_float, GL_EXT_separate_shader_objects, 
GL_EXT_shader_integer_mix, GL_INTEL_performance_query, 
GL_EXT_draw_elements_base_vertex, GL_KHR_context_flush_control, 
GL_OES_draw_elements_base_vertex, GL_EXT_blend_func_extended

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-27 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #6 from Uriy Zhuravlev  ---
(In reply to Thomas Lübking from comment #5)
> Meh. Martin simply wanted to avoid it if buffer_age is supported (what makes
> sense).
> Do you have EGL_EXT_buffer_age in the client extensions?
> 
> qDebug() << "buffer age?" <<
> hasClientExtension(QByteArrayLiteral("EGL_EXT_buffer_age"));
> 
> in ::initRenderingContext()

buffer age? false

Sorry for the long answer.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-21 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

--- Comment #2 from Uriy Zhuravlev  ---
> Does this work for you?

Nope becouse EGL_BAD_CONFIG return only in eglCreatePlatformWindowSurfaceEXT
and eglChooseConfig well done.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] New: Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-21 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

Bug ID: 356992
   Summary: Intel Mesa drivers not supported
EGL_SWAP_BEHAVIOR_PRESERVED_BIT
   Product: kwin
   Version: 5.5.1
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: major
  Priority: NOR
 Component: egl
  Assignee: kwin-bugs-n...@kde.org
  Reporter: stalk...@gmail.com

Subj. You can't use egl backend. 
I removed EGL_SWAP_BEHAVIOR_PRESERVED_BIT for EGL_SURFACE_TYPE and kwin like
working.
About mesa:
http://lists.freedesktop.org/archives/mesa-dev/2015-November/100869.html

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 356992] Intel Mesa drivers not supported EGL_SWAP_BEHAVIOR_PRESERVED_BIT

2015-12-21 Thread Uriy Zhuravlev via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356992

Uriy Zhuravlev  changed:

   What|Removed |Added

   Platform|Other   |Gentoo Packages

-- 
You are receiving this mail because:
You are watching all bug changes.