Bug 2246233 - mesa-23.3.0 is available
Summary: mesa-23.3.0 is available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: José Expósito
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-25 22:13 UTC by Upstream Release Monitoring
Modified: 2023-11-30 13:55 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-11-30 13:55:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Update to 23.3.0-rc1 (#2246233) (798 bytes, patch)
2023-10-25 22:14 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 23.3.0-rc2 (#2246233) (801 bytes, patch)
2023-11-01 18:06 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 23.3.0-rc3 (#2246233) (801 bytes, patch)
2023-11-08 23:31 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 23.3.0-rc4 (#2246233) (802 bytes, patch)
2023-11-15 22:40 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 23.3.0-rc5 (#2246233) (802 bytes, patch)
2023-11-24 20:14 UTC, Upstream Release Monitoring
no flags Details | Diff
Update to 23.3.0 (#2246233) (798 bytes, patch)
2023-11-29 20:28 UTC, Upstream Release Monitoring
no flags Details | Diff

Description Upstream Release Monitoring 2023-10-25 22:13:55 UTC
Releases retrieved: 23.3.0-rc1
Upstream release that is considered latest: 23.3.0-rc1
Current version/release in rawhide: 23.2.1-1.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 1 Upstream Release Monitoring 2023-10-25 22:14:00 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 2 Upstream Release Monitoring 2023-10-25 22:14:02 UTC
Created attachment 1995487 [details]
Update to 23.3.0-rc1 (#2246233)

Comment 3 Ganapathi Kamath 2023-10-27 13:25:18 UTC
@jexposit
I saw your koji build submission for mesa-23.3. thanks for making the srpm. 
https://koji.fedoraproject.org/koji/buildinfo?buildID=2312045
build.log for x86_64
https://kojipkgs.fedoraproject.org//work/tasks/3579/108123579/build.log
IMHO, the error traceback in the previous comment is just mock build bailing out. 
The real error messages are include below

I download the srpm to my laptopn and with it did a mock build on my laptop FC39-beta. I got the same failure messages.

I have a intel i7-4700MQ haswell HD4600 with headless NVIDIA gt740m hybrid graphics 

Q) I ask this in context of https://bugzilla.redhat.com/show_bug.cgi?id=2227608
Could you please tell me, for my local build, exactly what changes (diff/lineno) I should make in the SPEC file so that mesa compiles with the intel HD4600 and nouveau drivers along with the new experimental NVK.
In order to push through and make the compilation succeed, in my case, I can forego compiling other partially developed graphic drivers that my system doesn't need. I would want to disable the below driver to , so I can try and test-drive mesa/nouveau with NVK. 

---

[830/3656] env MESA_SHADER_CACHE_DISABLE=true /builddir/build/BUILD/mesa-23.3.0-rc1/redhat-linux-build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS -e DFS --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS.h 

env MESA_SHADER_CACHE_DISABLE=true /builddir/build/BUILD/mesa-23.3.0-rc1/redhat-linux-build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS -e DFS --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h

[831/3656] env MESA_SHADER_CACHE_DISABLE=true /builddir/build/BUILD/mesa-23.3.0-rc1/redhat-linux-build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS_single_wg -e DFS_single_wg --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg.h 

env MESA_SHADER_CACHE_DISABLE=true /builddir/build/BUILD/mesa-23.3.0-rc1/redhat-linux-build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS_single_wg -e DFS_single_wg --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h

[832/3656] env MESA_SHADER_CACHE_DISABLE=true /builddir/build/BUILD/mesa-23.3.0-rc1/redhat-linux-build/src/intel/compiler/intel_clc -p dg2 --prefix gfx125_bvh_build_DFS_DFS_single_wg_batchable -e DFS_single_wg_batchable --in ../src/intel/vulkan/grl/gpu/bvh_build_DFS.cl -o src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg_batchable.h -- -cl-std=cl2.0 -D__OPENCL_VERSION__=200 -DMAX_HW_SIMD_WIDTH=16 -DMAX_WORKGROUP_SIZE=16 -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/gpu -I/builddir/build/BUILD/mesa-23.3.0-rc1/src/intel/vulkan/grl/include -include opencl-c.h
FAILED: src/intel/vulkan/grl/gfx125_bvh_build_DFS_DFS_single_wg_batchable.h

Comment 4 Ganapathi Kamath 2023-10-28 10:48:49 UTC
@jexposit

So far I'm looking at
- jexposit's mesa 23.3.0-rc0 spec
  https://src.fedoraproject.org/rpms/mesa/blob/52721672572f0d8ad6039246250bebb99cf1af04/f/mesa.spec
- staging/23.3 branch
  https://gitlab.freedesktop.org/mesa/mesa/-/commits/staging%2F23.3?ref_type=heads 
- meson options
  https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson_options.txt
- koji build
  https://koji.fedoraproject.org/koji/taskinfo?taskID=108123472
- this doc using autoconf may be obsolete
  https://mesa-docs.readthedocs.io/en/latest/autoconf.html

In the SRPM SPEC file, seems like I need to change global variable base_vulkan line 11
<%global base_vulkan ,amd
>%global base_vulkan ,amd,nouveau-experimental
so that it updates global variable vulkan_drivers in line 60
which in turn affects vulkan-drivers option in line 390 under package vulkan-drivers 

Then under 641
%files vulkan-drivers
need to collect
%{_libdir}/libvulkan_nvk.so
%{_datadir}/vulkan/icd.d/nvk_icd*.json

what else.

Comment 5 José Expósito 2023-10-30 15:58:50 UTC
Hi Ganapathi,

At the moment mesa is not building against LLVM v17. There is already an issue open upstream:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/9791

And a merge request fixing it:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25536

Once that MR gets merged, you should be able to compile it.

Also, the spec file is missing this line:

```
diff --git a/mesa.spec b/mesa.spec
index eb07bad..e1c6f9e 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -591,6 +591,7 @@ popd
 %if 0%{?with_kmsro}
 %{_libdir}/dri/armada-drm_dri.so
 %{_libdir}/dri/exynos_dri.so
+%{_libdir}/dri/hdlcd_dri.so
 %{_libdir}/dri/hx8357d_dri.so
 %{_libdir}/dri/ili9225_dri.so
 %{_libdir}/dri/ili9341_dri.so
```

In case you want to build it for local testing, you can set `with_intel_clc` to `0`. Note that this is valid only for local testing, not for the Fedora package.

Comment 6 Upstream Release Monitoring 2023-11-01 18:06:53 UTC
Releases retrieved: 23.3.0-rc2
Upstream release that is considered latest: 23.3.0-rc2
Current version/release in rawhide: 23.2.1-1.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 7 Upstream Release Monitoring 2023-11-01 18:06:57 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 8 Upstream Release Monitoring 2023-11-01 18:06:59 UTC
Created attachment 1996625 [details]
Update to 23.3.0-rc2 (#2246233)

Comment 9 José Expósito 2023-11-02 09:45:11 UTC
@hgkamath I pushed 23.3.0-rc2 to rawhide.

Comment 10 Upstream Release Monitoring 2023-11-08 23:31:19 UTC
Releases retrieved: 23.3.0-rc3
Upstream release that is considered latest: 23.3.0-rc3
Current version/release in rawhide: 23.3.0~rc2-2.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 11 Upstream Release Monitoring 2023-11-08 23:31:24 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 12 Upstream Release Monitoring 2023-11-08 23:31:26 UTC
Created attachment 1997965 [details]
Update to 23.3.0-rc3 (#2246233)

Comment 13 Nozomi Miyamori 2023-11-14 03:34:26 UTC
(In reply to José Expósito from comment #5)

> In case you want to build it for local testing, you can set `with_intel_clc`
> to `0`. Note that this is valid only for local testing, not for the Fedora
> package.

`with_intel_clc 0` did not work for mesa-23.2.1-2.fc39, instead mesa.spec have to be fixed:

```
diff --git a/mesa.spec b/mesa.spec
index f0d7f4c..73ec91a 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -403,8 +403,8 @@ export RUSTFLAGS="%build_rustflags"
   -Dglx=dri \
   -Degl=enabled \
   -Dglvnd=true \
-%if 0%{?with_intel_clc}
-  -Dintel-clc=enabled \
+%if !0%{?with_intel_clc}
+  -Dintel-clc=disabled \
 %endif
   -Dmicrosoft-clc=disabled \
   -Dllvm=enabled \
```

Also, to build mesa-23.2.1-2.fc39, currently it needs the patch https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24879 because of LLVM 17's API changes.

Comment 14 Upstream Release Monitoring 2023-11-15 22:40:36 UTC
Releases retrieved: 23.3.0-rc4
Upstream release that is considered latest: 23.3.0-rc4
Current version/release in rawhide: 23.3.0~rc2-2.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 15 Upstream Release Monitoring 2023-11-15 22:40:40 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 16 Upstream Release Monitoring 2023-11-15 22:40:42 UTC
Created attachment 1999681 [details]
Update to 23.3.0-rc4 (#2246233)

Comment 17 Upstream Release Monitoring 2023-11-24 20:14:09 UTC
Releases retrieved: 23.3.0-rc5
Upstream release that is considered latest: 23.3.0-rc5
Current version/release in rawhide: 23.3.0~rc2-6.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 18 Upstream Release Monitoring 2023-11-24 20:14:13 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 19 Upstream Release Monitoring 2023-11-24 20:14:15 UTC
Created attachment 2001330 [details]
Update to 23.3.0-rc5 (#2246233)

Comment 20 Upstream Release Monitoring 2023-11-29 20:28:43 UTC
Releases retrieved: 23.3.0
Upstream release that is considered latest: 23.3.0
Current version/release in rawhide: 23.3.0~rc5-1.fc40
URL: http://www.mesa3d.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1970/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/mesa

Comment 21 Upstream Release Monitoring 2023-11-29 20:28:47 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
There is a syntax error in updated specfile. See attached diff for the changes.

Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 205, in build
    raise BuilderException(str(exc), value=output)

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 22 Upstream Release Monitoring 2023-11-29 20:28:50 UTC
Created attachment 2002011 [details]
Update to 23.3.0 (#2246233)

Comment 23 José Expósito 2023-11-30 13:55:08 UTC
I pushed mesa 23.3.0 to Rawhide:
https://src.fedoraproject.org/rpms/mesa/c/14dea65a080a0f633025e48a97f6987469cb9e44


Note You need to log in before you can comment on or make changes to this bug.