Page 1 of 1

Newer mesa packages

Posted: Sat Nov 25, 2023 2:25 pm
by Vroomfondel
I'm wondering why we're not seeing regular updates to the AHS mesa libraries? - It's on 23.1.2 and there are 7 newer bugfix releases to 23.1.

Re: Newer mesa packages

Posted: Sat Nov 25, 2023 3:13 pm
by dolphin_oracle
just haven't gotten to it yet. i see there are newer packages in sid.

Re: Newer mesa packages

Posted: Sun Nov 26, 2023 1:16 am
by Stevo
I'll take a look, but I recall that the upstream versions added Rust as a build-dependency, then began requiring newer versions of Rust to build than we have, and trying to backport a newer Rust quickly (at least for my limited skills) goes off the rails, through a farm field, and off a cliff. :frown:

Code: Select all

sudo apt install sl

sl -a

Re: Newer mesa packages

Posted: Wed Dec 06, 2023 10:04 am
by Vroomfondel
Sad. Does the point release of 23.1.9 require a newer rust as well?

I guess the requirement is for rusticl, which would be nice to get.

Re: Newer mesa packages

Posted: Wed Jan 24, 2024 12:50 pm
by dr-kart
trying to backport a newer Rust quickly (at least for my limited skills) goes off the rails, through a farm field, and off a cliff
bad news :cry:
is there any light of hope yet?

Re: Newer mesa packages

Posted: Wed Jan 24, 2024 2:34 pm
by Stevo
I suppose a better source for answers about possible backports would be the Debian Mesa packager's mailing list.

But I think there has been only one backport of Mesa in Debian in the last decade...Maybe there's an Ubuntu PPA somewhere.

Re: Newer mesa packages

Posted: Thu Jan 25, 2024 6:25 am
by dr-kart

Re: Newer mesa packages

Posted: Thu Jan 25, 2024 6:49 am
by dr-kart
so we can't just easily port it from debian testing?

Re: Newer mesa packages

Posted: Fri Sep 27, 2024 4:06 pm
by dr-kart
https://packages.debian.org/source/book ... ports/mesa

Finally!
Mesa 24 is in Debian backports.

Re: Newer mesa packages

Posted: Fri Sep 27, 2024 10:05 pm
by Stevo
Has any brave soul tried it yet?

Re: Newer mesa packages

Posted: Fri Sep 27, 2024 10:12 pm
by dolphin_oracle
Stevo wrote: Fri Sep 27, 2024 10:05 pm Has any brave soul tried it yet?
I have it installed. will let you know.

Code: Select all

┌─[dolphin@mx23kde]─[10:10:30 pm]────────────────────────────────────────────────────────────────────────────────[~]
└─> inxi -G
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] driver: nvidia
    v: 535.183.06
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
    resolution: 2560x1600~60Hz
  API: OpenGL v: 4.6 Mesa 24.2.2-1~bpo12+1 renderer: Mesa Intel UHD
    Graphics (TGL GT1)


from the apt history.log file (thanks quick-system-info).

Code: Select all

Start-Date: 2024-09-27  22:09:15
Commandline: apt-get -o=Dpkg::Use-Pty=0 install -y -t bookworm-backports --reinstall libglx-mesa0 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers
Requested-By: dolphin (1000)
Install: mesa-libgallium:amd64 (24.2.2-1~bpo12+1, automatic), mesa-libgallium:i386 (24.2.2-1~bpo12+1, automatic)
Upgrade: libglx-mesa0:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libglx-mesa0:i386 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libgbm1:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libgbm1:i386 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libdrm-nouveau2:amd64 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm-nouveau2:i386 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libxatracker2:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), mesa-va-drivers:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libgl1-mesa-dri:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libgl1-mesa-dri:i386 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libdrm-common:amd64 (2.4.114-1, 2.4.123-1~bpo12+1), mesa-vulkan-drivers:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libglapi-mesa:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libglapi-mesa:i386 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libdrm-amdgpu1:amd64 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm-amdgpu1:i386 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm-radeon1:amd64 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm-radeon1:i386 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm2:amd64 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm2:i386 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libegl-mesa0:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libegl-mesa0:i386 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), mesa-vdpau-drivers:amd64 (23.1.2-1~mx23ahs, 24.2.2-1~bpo12+1), libdrm-intel1:amd64 (2.4.114-1+b1, 2.4.123-1~bpo12+1), libdrm-intel1:i386 (2.4.114-1+b1, 2.4.123-1~bpo12+1)
End-Date: 2024-09-27  22:09:19

Re: Newer mesa packages

Posted: Fri Sep 27, 2024 10:30 pm
by Stevo
Apparently they were able to get around the rustc problem by disabling a couple watchamacallits that I have no idea what they do:

Code: Select all

* Disable rusticl, requires rust components (rustc >= 1.73 and bindgen)
      not in Bookworm.
  * Disable NVK, requires rust components (librust-syn-dev >= 2.0.68)
      not in Bookworm.

Re: Newer mesa packages

Posted: Sat Sep 28, 2024 2:02 am
by Stevo
I've built the i386 and amd64 Mesa packages for AHS, which I believe is limited to just those two architectures. I built armhf and arm64 binaries for the newer libdrm and directx-headers-dev build-depend packages that are required, because they might be useful for other packages. A newer meson is arch-independent, and would be useful in testing as well, possibly along with a newer wayland-protocols.

Uploading now, and they can go to ahs-staging if/when Tim gets Net access restored.

Re: Newer mesa packages

Posted: Sat Sep 28, 2024 7:44 am
by siamhie
The mesa 24.2.2-1~bpo12+1 found in the backports repo is bug fixes to the mesa 24.2.0 release.

Here are the new features between versions.

Mesa 24.0.0 Release Notes / 2024-02-01
https://docs.mesa3d.org/relnotes/24.0.0.html

Code: Select all

New features

    VK_EXT_image_compression_control on RADV

    VK_EXT_device_fault on RADV

    OpenGL 3.3 on Asahi

    Geometry shaders on Asahi

    GL_ARB_texture_cube_map_array on Asahi

    GL_ARB_clip_control on Asahi

    GL_ARB_timer_query on Asahi

    GL_EXT_disjoint_timer_query on Asahi

    GL_ARB_base_instance on Asahi

    OpenGL 4.6 (up from 4.2) on d3d12

    VK_EXT_depth_clamp_zero_one on RADV

    GL_ARB_shader_texture_image_samples on Asahi

    GL_ARB_indirect_parameters on Asahi

    GL_ARB_viewport_array on Asahi

    GL_ARB_fragment_layer_viewport on Asahi

    GL_ARB_cull_distance on Asahi

    GL_ARB_transform_feedback_overflow_query on Asahi

    VK_KHR_calibrated_timestamps on RADV

    VK_KHR_vertex_attribute_divisor on RADV

    VK_KHR_maintenance6 on RADV

    VK_KHR_ray_tracing_position_fetch on RADV

    EGL_EXT_query_reset_notification_strategy

Mesa 24.1.0 Release Notes / 2024-05-22
https://docs.mesa3d.org/relnotes/24.1.0.html

Code: Select all

New features

    VK_EXT_map_memory_placed on RADV, ANV and NVK

    VK_KHR_shader_subgroup_rotate on RADV and ANV and NVK

    VK_KHR_load_store_op_none on RADV, ANV, NVK and Turnip

    VK_KHR_line_rasterization on RADV, ANV, NVK and Turnip

    VK_KHR_index_type_uint8 on RADV, ANV, NVK and Turnip

    VK_KHR_shader_expect_assume on all Vulkan drivers

    VK_KHR_shader_maximal_reconvergence on RADV, ANV and NVK

    VK_KHR_shader_quad_control on RADV

    OpenGL 4.6 on Asahi

    OpenGL ES 3.2 on Asahi

    Mali G610 and G310 on Panfrost

    Mali T600 on Panfrost

    VK_KHR_shader_subgroup_uniform_control_flow on NVK

    alphaToOne/extendedDynamicState3AlphaToOneEnable on RADV

    VK_EXT_device_address_binding_report on RADV

    VK_EXT_external_memory_dma_buf for lavapipe

    VK_EXT_queue_family_foreign for lavapipe

    VK_EXT_shader_object on RADV

    VK_EXT_nested_command_buffer on NVK and RADV

    VK_EXT_queue_family_foreign on NVK

    VK_EXT_image_drm_format_modifier on NVK

Mesa 24.2.0 Release Notes / 2024-08-14
https://docs.mesa3d.org/relnotes/24.2.0.html

Code: Select all

New features

    VK_KHR_dynamic_rendering_local_read on RADV

    VK_EXT_legacy_vertex_attributes on lavapipe, ANV, Turnip and RADV

    VK_MESA_image_alignment_control on RADV

    VK_EXT_shader_replicated_composites on ANV, dozen, hasvk, lavapipe, nvk, RADV, and Turnip

    VK_KHR_maintenance5 on v3dv

    VK_KHR_maintenance7 on RADV

    VK_EXT_depth_clamp_zero_one on v3dv

    GL_ARB_depth_clamp on v3d

    Defaulting to a new shader cache implementation, reducing filesystem overhead.

All of the Mesa 3D Changelogs https://www.mesa3d.org/news/

Re: Newer mesa packages

Posted: Sat Sep 28, 2024 2:05 pm
by Stevo
I also ported over the current libdrm from backports, which I believe is a critical component for Mesa to support newer video hardware.

Re: Newer mesa packages

Posted: Mon Sep 30, 2024 10:06 am
by dolphin_oracle
might be a hiccup with mesa or maybe with the latest 6.10 liquorix kernel, not sure, but I currently have to either boot with nosplash or with my laptop plugged in to complete a boot to desktop, otherwise the system freezes after the plymouth boot splash (or maybe during, the keyboard quits working). If I ESC from the boot splash before it completes, boot continues.

All normal with the laptop plugged in.

Also correcting the issue is added "acpi_osi=Linux" to my boot parameters. I needed to do this on past kernels but had not needed it for the last several kernel revisions.

I have made many changes in testing various things for people, so its possible this has nothing to do with mesa, but given the relation to graphics and plymouth, I thought I would mention it.

Re: Newer mesa packages

Posted: Mon Sep 30, 2024 7:23 pm
by dolphin_oracle
well, the acpi_osi=Linux gets it to boot up, but logout is a problem and my touchpad doesn't work, so no-go on that.

still crashing when not on battery when using plymouth. kernel in use doesn't seem to matter.

Re: Newer mesa packages

Posted: Mon Sep 30, 2024 7:30 pm
by dolphin_oracle
hmph, removing the proprietary nvidia drivers give me a PC that boots up fine. so some conflict perhaps with the libdrm and nvidia maybe.

Re: Newer mesa packages

Posted: Mon Sep 30, 2024 7:33 pm
by dolphin_oracle
Well logout problem persists. System locks up on logout.

Re: Newer mesa packages

Posted: Mon Sep 30, 2024 9:04 pm
by dolphin_oracle
I do not have this logout problem while running a live usb updated with the latest ahs and ahs-staging packages. will play around a little more, but I am encouraged that some experiment of mine may be a factor in my issues.

Re: Newer mesa packages

Posted: Tue Oct 01, 2024 8:47 am
by dolphin_oracle
Ok I've now set up a new system (KDE 23.4 iso) twice. The first time everything was fine up until I started customizing a few things related to bootup. (grub theme, bootsplash) and desktop wallpaper (custom one). I'm not sure what change screwed up my logout (sddm) but I've set up a second system and will make changes one at a time until I find it.

Currently the system is fine with both 6.1 and liquorix 6.10 kernels, the ahs-staging mesa, and all my usual apps installed. So in my list of usual changes I make to the KDE desktop, the ones' I haven't made yet are

1. disabling grub theme in place of graphic (musical.png in this case).
2. Custom user wallpaper stored in non-home location (but come to think of it, symlinked to my home folder and so the symlink might actually be what's in use, which might not be readable if not logged in and I guess could screw up sddm somehow but it shouldn't since I don't think the wallpaper is used by the sddm theme)
3. custom bootsplash (freja's new MXImagine bootsplash)

And that's it. That's all the customization I have left, so I'm thinking something I've done broke sddm on logout rather than mesa. which while irritating to me, at least makes me feel better about the mesa update.

will continue with this tonight.

Re: Newer mesa packages

Posted: Tue Oct 01, 2024 5:57 pm
by dolphin_oracle
I have now made my grub theme changes and my custom user wallpaper, exactly as before.

no problems with graphical login.

so far so good.

Re: Newer mesa packages

Posted: Tue Oct 01, 2024 6:21 pm
by dolphin_oracle
OK tracked down the problem. it is the experimental MXImagine bootsplash. which no one else really has.

So I think no actual problem with the mesa packages.

Re: Newer mesa packages

Posted: Thu Oct 03, 2024 11:24 pm
by dolphin_oracle
charlesV and I have narrowed down the problem with the login screen down to sddm only and probably the init script. the new plymouth theme he's working on with freja and the new mesa packages are not involved.

pretty happy with the mesa update. I need to check it against fluxbox and Xfce, but I'm not predicting any hassles.

Re: Newer mesa packages

Posted: Fri Oct 04, 2024 12:02 pm
by Stevo
Nice--so we can keep it as "AHS" instead of "AHS up to a point".

The first kudos need to go to the Debian backports packager, since we just copied their work. :number1:

Re: Newer mesa packages

Posted: Fri Oct 04, 2024 12:05 pm
by dolphin_oracle
Stevo wrote: Fri Oct 04, 2024 12:02 pm Nice--so we can keep it as "AHS" instead of "AHS up to a point".

The first kudos need to go to the Debian backports packager, since we just copied their work. :number1:
yeah I think we can move those mesaa updates over to ahs.