• Bug#1104029: etnaviv: please add support for texelfetch for Vivante GC7

    From Johannes Schauer Marin Rodrigues@21:1/5 to All on Thu Apr 24 15:30:01 2025
    XPost: linux.debian.maint.x

    Source: mesa
    Version: 25.0.4-1
    Severity: normal
    Tags: patch

    Hi,

    TLDR: please consider carrying this as a patch in Trixie: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34685

    Long story: the upload of gtk 4.18 last month broke GTK applications relying on the GL renderer on "very old drivers and hardware" as GTK upstream describes it [1]. Affected applications will refuse to open with messages like:

    (clapper:75218): Gsk-WARNING **: 16:04:34.205: The old GL renderer has been removed. Try GSK_RENDERER=help
    (clapper:75218): GStreamer-CRITICAL **: 16:04:35.334: gst_object_ref: assertion 'object != NULL' failed
    (clapper:75218): GStreamer-GL-CRITICAL **: 16:04:35.334: gst_gl_memory_allocator_get_default: assertion 'GST_IS_GL_CONTEXT (context)' failed
    **
    GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
    Bail out! GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
    Aborted

    [1] https://blog.gtk.org/2025/02/01/whats-new-in-gtk-winter-2025-edition/#:~:text=Spring%20Cleaning

    Unfortunately, three platforms affected by this change are the imx8mq, imx8mplus and the ls1028a as they are found in the open hardware computers MNT Reform and MNT Pocket Reform. With this change in GTK, users of those platforms are stuck with Bookworm. This is unfortunate, as there are not many laptops out there which are as open as the products by MNT and my work for that platform recently even received EUR 1.400,00 sponsorship by Debian itself [2]. It would be nice if Debian Trixie continued supporting devices with Vivante GC7000 running GTK applications that require GL renderer.

    [2] https://mister-muffin.de/reform/funding-application.html

    I already approached the GTK maintainers about this but they are understandably not keen about reverting 18k line long patch. [3] Fortunately, there seems to be a relatively easy workaround for the situation. Christian Gmeiner opened a MR [4] which adds texelfetch support and with that, one can then run applications like clapper with the environment variable MESA_GL_VERSION_OVERRIDE=3.2 and things work again.

    [3] https://gitlab.gnome.org/GNOME/gtk/-/commit/af2aadbe9b4683b752eb2ee10776e36f3fd9f2a7
    [4] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34685

    Especially having clapper working would be of great value for above platforms as clapper seems to be the only video player application which is able to take advantage of the hardware acceleration that the affected platforms offer (via hantro). Otherwise, users of those platforms will be stuck to 720p or lower quality video.

    I know that it is late in the freeze but the GTK 4.18 upload was also late in the freeze and the MNT Reform and MNT Pocket Reform were working just fine until the GTK upload broke applications like Clapper due to dropping the GL backend. It would be really nice if mesa in Debian Trixie could backport the relatively small and targeted improvements from above MR by Christian Gmeiner to at least have a relatively simple workaround using MESA_GL_VERSION_OVERRIDE=3.2 in the environment.

    Thanks!

    cheers, josch

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Schauer Marin Rodrigues@21:1/5 to All on Tue Apr 29 14:10:01 2025
    XPost: linux.debian.maint.x

    Hi,

    Quoting Johannes Schauer Marin Rodrigues (2025-04-24 15:24:17)
    I already approached the GTK maintainers about this but they are understandably
    not keen about reverting 18k line long patch. [3] Fortunately, there seems to be a relatively easy workaround for the situation. Christian Gmeiner opened a MR [4] which adds texelfetch support and with that, one can then run applications like clapper with the environment variable MESA_GL_VERSION_OVERRIDE=3.2 and things work again.

    [...]

    I know that it is late in the freeze but the GTK 4.18 upload was also late in the freeze and the MNT Reform and MNT Pocket Reform were working just fine until the GTK upload broke applications like Clapper due to dropping the GL backend. It would be really nice if mesa in Debian Trixie could backport the relatively small and targeted improvements from above MR by Christian Gmeiner to at least have a relatively simple workaround using MESA_GL_VERSION_OVERRIDE=3.2 in the environment.

    I have an important correction to make. The correct environment variable setting is this one:

    MESA_GLES_VERSION_OVERRIDE=3.2

    Sorry for the trouble that my typo caused!

    cheers, josch
    --==============y27379910146932083=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmgQvvsACgkQ8sulx4+9 g+FPTxAAkfQIuSfNAZYUUDyK5TwszKvNdoAHGSxtk1KR5/sV/8PD64PkCKvwr4YY kiYeWJuESpqvKy+zTFKi/ywzrPZesxUjceHRDGmAGcp5RaSRpcbljNcy01tV/Vgg sr9p4cbcWgUvJAThls+rx1Lj7m1VMcyxp5wWYCqjtk2HNNlNMqxv6+Vw8D1z5aJ1 IrMZrg4nJhHYJjebA5rBGityKhbjQ7zSgGO7keTcub6QjJBemqL5Y2R9MuApAi/t RMwtZyDJ2kHs2lTBkJXWSqIXZYkLdmwIjlhqp6MJJoqWcNrOd2wFy8O7Z5Vg1Hx+ dMPyFVsqnlDUPJV6Kl7IiYpB4xmo9/Zfd/qJa/OYs8sLJot5gqmcF8tZoWEw6sJM 44gniFkdpShtf9yv+nh7hGoY1CMNmiuNESrE+vQflx4Fl5w5FhFmM9KFoijug5v+ lEWbrm8w7qDRYPmbPtw/BWjc8nTc6TZ8vQAK1KU7/VjczC7qdzKm2NHefEy0yU3G qgdp9zyzHyeiHGeQvbLN/z0vDbWeyNH//UuUP5ovBJjYOyW3tkCwZ1SRk4qM64yr fKaK9dTTj1Wu9ja3BZjFACbNpw+ZaHJo/86Ss1Gvqur3MgGVw9nhSK7S+9sav7Gp peXMicBBACXzug029ikz2a2EW5Dza/HIaEZq/Xe9tNmPx8LylXM=
    =xG3M
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Schauer Marin Rodrigues@21:1/5 to All on Thu May 8 14:30:02 2025
    XPost: linux.debian.maint.x

    Control: affects -1 + src:clapper src:livi

    Hi Timo,

    Quoting Johannes Schauer Marin Rodrigues (2025-04-24 15:24:17)
    Source: mesa
    Version: 25.0.4-1
    Severity: normal
    Tags: patch

    Hi,

    TLDR: please consider carrying this as a patch in Trixie: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34685

    Long story: the upload of gtk 4.18 last month broke GTK applications relying on
    the GL renderer on "very old drivers and hardware" as GTK upstream describes it
    [1]. Affected applications will refuse to open with messages like:

    (clapper:75218): Gsk-WARNING **: 16:04:34.205: The old GL renderer has been removed. Try GSK_RENDERER=help
    (clapper:75218): GStreamer-CRITICAL **: 16:04:35.334: gst_object_ref: assertion 'object != NULL' failed
    (clapper:75218): GStreamer-GL-CRITICAL **: 16:04:35.334: gst_gl_memory_allocator_get_default: assertion 'GST_IS_GL_CONTEXT (context)' failed
    **
    GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
    Bail out! GStreamer-GL:ERROR:../gst-libs/gst/gl/gstglbufferpool.c:151:gst_gl_buffer_pool_set_config: assertion failed: (priv->allocator)
    Aborted

    [1] https://blog.gtk.org/2025/02/01/whats-new-in-gtk-winter-2025-edition/#:~:text=Spring%20Cleaning

    Unfortunately, three platforms affected by this change are the imx8mq, imx8mplus and the ls1028a as they are found in the open hardware computers MNT
    Reform and MNT Pocket Reform. With this change in GTK, users of those platforms
    are stuck with Bookworm. This is unfortunate, as there are not many laptops out
    there which are as open as the products by MNT and my work for that platform recently even received EUR 1.400,00 sponsorship by Debian itself [2]. It would
    be nice if Debian Trixie continued supporting devices with Vivante GC7000 running GTK applications that require GL renderer.

    [2] https://mister-muffin.de/reform/funding-application.html

    could we please get your feedback on this bug?

    It would be really nice if users of the very few reasonably open smartphone (librem5) and laptop (mnt reform) platforms could continue to enjoy watching 1080p video in Debian Trixie despite the recent GTK 4.18 upload.

    If you do not have time, I can also offer to NMU mesa with the patch by Christian Gmeiner after agreement with the release team.

    Thanks!

    cheers, josch
    --==============a42478979827570669=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmgcoTIACgkQ8sulx4+9 g+FIzRAAkf3V4R7FCukZ0jQEGfFhqrWw9pPb1Kj2vQIg172QcrZLJ/CDYI2VfPRZ /p9yV43fNC0ZvM1SzD+yNJ1vz+1lJu0idcLgTYrJdalIrNMH9FJfqI9HduEHZFlc vDfCCNQFetPlSW6PTd0zF/0KXyiG9NZULL6zcNbPxe5S3uIz8uPurgBnIjQ72IHs B0onwXJOLAmjL7f4xc6evxK7uSetQ+aXBADvSSnyi6TX2rOdkHuJ+NBVJKMgznvt d2V19MlkqULzKEUCqfpqNZ5rk7NinQViDEyA8TX+U5tc1WTTnxQBQTM/CTjYmEzO 5usmtEOfekxKXu0bwdbCEX09q2+WRHYIcivwoaVX5MZbpywY17qQe/lTMR1CZr+v hyurc6jXljMsU7Io7cMtIksJv5H/HgEvII/7S1eNmNxK7hu0vdhoIYNc3Lj1DofH P5kJL/3gEhaneRtlneQxqWLO0/Nd1vl5Y/AfJOHOi4ZaFPWK3JbVHV/vQdDoqm5E Ee0ICv6WHQ7wrI43SM7+VMSdTEB/SqbnE4cyL0SZIf0ca4sv97BcBvhgiuYY9igW 9J8qsZ9fM00vbD21EM1WwnPVOfjj7V8iijTKbJguRqEvJHD4Ems2UwEUpu7IsxT/ AEW6sbg943a4fcXEB7d7zNKddZ09jbQsTTHUJMzJBb6yC2v57hs=
    =bZrz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Schauer Marin Rodrigues@21:1/5 to All on Fri May 16 13:30:01 2025
    XPost: linux.debian.maint.x

    Hi Timo,

    Quoting Timo Aaltonen (2025-05-16 13:16:09)
    Sorry for the delay, but yes I'll add these patches for the next version. 25.0.6 is out, but maybe I'll shoot for 25.0.7 instead which is the last of the series, and should be released on the 28th. Or upload just this now (next week) and the bugfix release later.

    this is amazing news! Thank you so much! \o/

    cheers, josch
    --==============94419647020035712=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmgnIEkACgkQ8sulx4+9 g+HaQRAAoTVv0b0TRzmGkr2c2GA14Ljbom1DU7fwYEI2spz11F88ENJ88OJMnsLe d03VqxFXj3+9rJLsSB3Ixf1zkkzk2l2lj32a2ggrTerbDRlJ71PgcZL9ygnBX8tA EtsE0ESn524kxv2oO/SruuqqLTDHfrFvXlJgGAmLFf0kwoZ+O7t1Q/Uv9QkGi7oU kxHDpxRgOyiQs9++cNtKCC+5Sy8xvgCalkdSesSPHFrIUlpbY58Uw8n4o+wvqU8T z5/6jjmc/HU3MwKqvYtP7K/o79cv5W38gyW9BV8T8dEhj3FYqHDdnaSC8CuLkXtv mZaTMDrtZFabpAz4t5xYLqShStk/XdYN4TD/PJ1/S55TRIeguywiLMlfseWdlRdx r86ruQr3P26rcqp2Zo4xAG4VHL6Z3QfLkczII8vl08Ub8B2O/mcXLO/N88rxuDh2 rdcZOOw6MZg3r93632FcDZSoARafEdmnEHedo+jYII2WOlP2T6B2puGA0CcX8iRi VSXg7JBTKy8a8rO+BPltYZ+EThUJ/cjim1mhQf47TkEhQYsueAGaZk3t7wYc3pqg G0QYKRf41TcQE0MLjwHUgRM33YONvnv/mSRkS/qmjObVf/lqsy2ZnP7GpD0jXKJn yh2DorkcH67ew1Wga0yhN/EBIXYvnniWPwGblfnbNEks6YMf3mw=
    =HcZ+
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)