[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #12 from amyspark --- Git commit 47054a85d7a18001a2d6a1ce5fc555b9dcf19d3d by L. E. Segovia. Committed on 21/02/2023 at 21:12. Pushed by lsegovia into branch 'master'. OpenGL: fix broken usage of OpenGL ES U16 surface Back in eb920fadf553ca827b4ff783ff6f82395bc88144, I added this fallback for ES2 clients that did provide U16 surfaces. However, I forgot to specify that the texture format has to be RGBA. This slipped past my testing at the time because selecting OpenGL ES on desktops wasn't available until 5464b09830. M +2-0libs/ui/opengl/kis_opengl_image_textures.cpp M +0-3libs/ui/opengl/kis_texture_tile.cpp https://invent.kde.org/graphics/krita/commit/47054a85d7a18001a2d6a1ce5fc555b9dcf19d3d -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #11 from amyspark --- Git commit 7480e580c11a007452d6df0983da322ee697807c by L. E. Segovia. Committed on 06/01/2022 at 14:10. Pushed by lsegovia into branch 'master'. Fix OpenGL ES initialization for OCIO pipeline too M +16 -8plugins/dockers/lut/ocio_display_filter_vfx2020.cpp M +21 -12 plugins/dockers/lut/ocio_display_filter_vfx2021.cpp https://invent.kde.org/graphics/krita/commit/7480e580c11a007452d6df0983da322ee697807c -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #10 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1262 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 amyspark changed: What|Removed |Added Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/eb920fadf |hics/krita/commit/803193d4b |553ca827b4ff783ff6f82395bc8 |f3e85bc8915eab0099ab5678a3a |8144|4bac --- Comment #9 from amyspark --- Git commit 803193d4bf3e85bc8915eab0099ab5678a3a4bac by L. E. Segovia, on behalf of Sharaf Zaman. Committed on 30/11/2021 at 00:01. Pushed by lsegovia into branch 'krita/5.0'. Fix opengl es initialization for different formats | | GLES 2 | GLES 3 | DesktopGL | Windows (ANGLE)| |-||--||| | 16i | GL_EXT_texture_storage | GL_EXT_texture_norm16| GL_RGBA16 | GL_EXT_texture_storage | | 16f | GL_EXT_texture_storage | GL_RGBA16F (!GL_EXT_texture_storage) | GL_RGBA16F | GL_EXT_texture_storage | | 32f | GL_EXT_texture_storage | GL_RGBA16F (!GL_EXT_texture_storage) | GL_RGBA16F | GL_EXT_texture_storage | Co-Authored-By: L. E. Segovia (cherry picked from commit eb920fadf553ca827b4ff783ff6f82395bc88144) M +92 -66 libs/ui/opengl/kis_opengl_image_textures.cpp https://invent.kde.org/graphics/krita/commit/803193d4bf3e85bc8915eab0099ab5678a3a4bac -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 amyspark changed: What|Removed |Added Latest Commit||https://invent.kde.org/grap ||hics/krita/commit/eb920fadf ||553ca827b4ff783ff6f82395bc8 ||8144 Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #8 from amyspark --- Git commit eb920fadf553ca827b4ff783ff6f82395bc88144 by L. E. Segovia, on behalf of Sharaf Zaman. Committed on 29/11/2021 at 23:57. Pushed by lsegovia into branch 'merge-requests/1179'. Fix opengl es initialization for different formats | | GLES 2 | GLES 3 | DesktopGL | Windows (ANGLE)| |-||--||| | 16i | GL_EXT_texture_storage | GL_EXT_texture_norm16| GL_RGBA16 | GL_EXT_texture_storage | | 16f | GL_EXT_texture_storage | GL_RGBA16F (!GL_EXT_texture_storage) | GL_RGBA16F | GL_EXT_texture_storage | | 32f | GL_EXT_texture_storage | GL_RGBA16F (!GL_EXT_texture_storage) | GL_RGBA16F | GL_EXT_texture_storage | Co-Authored-By: L. E. Segovia M +92 -66 libs/ui/opengl/kis_opengl_image_textures.cpp https://invent.kde.org/graphics/krita/commit/eb920fadf553ca827b4ff783ff6f82395bc88144 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 amyspark changed: What|Removed |Added Component|* Unknown |OpenGL Canvas --- Comment #7 from amyspark --- Thanks Anna! I now know what the problem is; you're running an ES3 device, for which GL_EXT_texture_storage is indeed not required (as it's provided for by the standard). Previously, it didn't crash because the ES3 case was covered by the desktop OpenGL clauses in initializeRGBA16FTextures; however, it would've crashed later if your device didn't have EXT_color_buffer_float. I'll send the corrections to Sharaf's patch as soon as I have tested them here. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #6 from Anna Medonosova --- Created attachment 144002 --> https://bugs.kde.org/attachment.cgi?id=144002&action=edit system information for bug reports (android) I'm attaching the system information. The device is a Samsung Galaxy Tab S6, if that's relevant. Thanks for looking into it :) -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #5 from amyspark --- (In reply to sh_zam from comment #3) > I'm not sure whether all implementations are guaranteed to have this > extension or not, CCing amyspark. I need to revise my spam filters... `GL_EXT_texture_storage` not only is a prerequisite for using any float textures in GLES 2, it's also widely available on hardware (judging from a Google search here). My changes also log the available extensions at launch, so Sharaf or Anna, can you post here what your tablets support? The data should be available in Help / Show system information for bug reports. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #4 from Bug Janitor Service --- A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1179 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 sh_zam changed: What|Removed |Added CC||a...@amyspark.me --- Comment #3 from sh_zam --- This seems to have been caused by: https://invent.kde.org/graphics/krita/-/commit/c6c82dda15037869b26a02e19f3f7900a06cce3b. It seems the `GL_EXT_texture_storage` is not available on Android's OpenGL ES2/3 implementation. I'm not sure whether all implementations are guaranteed to have this extension or not, CCing amyspark. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 Halla Rempt changed: What|Removed |Added CC||ha...@valdyas.org Assignee|krita-bugs-n...@kde.org |sh...@sdf.org Status|REPORTED|ASSIGNED Ever confirmed|0 |1 --- Comment #2 from Halla Rempt --- Hm, this is android specific and it's an assert on the availability of opengl es. Sharaf, can you take a look? -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 Anna Medonosova changed: What|Removed |Added Keywords||regression -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 445179] Krita crashes when opening a file with 16-bit int depth
https://bugs.kde.org/show_bug.cgi?id=445179 --- Comment #1 from Anna Medonosova --- Created attachment 143352 --> https://bugs.kde.org/attachment.cgi?id=143352&action=edit test file -- You are receiving this mail because: You are watching all bug changes.