[mesa-freeworld] Update to 24.0.2
by Thorsten Leemhuis
commit 28e07f71752b12a4faf23be3f353c21448622557
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Wed Mar 6 21:38:32 2024 +0100
Update to 24.0.2
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
.gitignore | 1 +
mesa-freeworld.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cbd7ff5..62ad0b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@
/mesa-23.3.3.tar.xz
/mesa-24.0.0-rc2.tar.xz
/mesa-24.0.0.tar.xz
+/mesa-24.0.2.tar.xz
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index 2454c5d..487dfb9 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -65,7 +65,7 @@ algorithms and decoding only VC1 algorithm.
Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
-%global ver 24.0.0
+%global ver 24.0.2
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 2%{?dist}
License: MIT
@@ -324,6 +324,9 @@ rm -fr %{buildroot}%{_libdir}/libVkLayer_MESA_device_select.so
%license docs/license.rst
%endif
%changelog
+* Wed Mar 6 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.0.2-1
+- Update to 24.0.2
+
* Thu Feb 22 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.0.0-2
- enable vp9, av1 codecs due to new meson build flag (#6873)
diff --git a/sources b/sources
index 0380d04..c583dd0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mesa-24.0.0.tar.xz) = 9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
+SHA512 (mesa-24.0.2.tar.xz) = b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3
8 months, 2 weeks
[intel-media-driver] Fixup for dri directory
by Nicolas Chauvet
commit f926a43151017ab6158556dead75607c646f12f2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 4 16:13:59 2024 +0100
Fixup for dri directory
intel-media-driver.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index 99864d9..12f3082 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -99,7 +99,7 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
# Alternate directory for f40+
# See https://src.fedoraproject.org/rpms/libva/pull-request/5
%if 0%{?fedora} >= 40
-mv %{buildroot}%{_libdir}/dri{,-nonfree}/iHD_drv_video.so
+mv %{buildroot}%{_libdir}/dri{,-nonfree}
%endif
8 months, 3 weeks
[intel-media-driver] Mention our bug tracker
by Nicolas Chauvet
commit ba48dfaf9a1f67d2c72896693cb15698454f9498
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 4 15:04:05 2024 +0100
Mention our bug tracker
intel-media-driver.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index e639989..99864d9 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -112,7 +112,7 @@ mv %{buildroot}%{_libdir}/dri{,-nonfree}/iHD_drv_video.so
%changelog
* Mon Mar 04 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 24.1.3-3
-- Avoid conflicts on fedora counterpart
+- Avoid conflicts on fedora counterpart - rfbz#6861
* Mon Feb 19 2024 Sérgio Basto <sergio(a)serjux.com> - 24.1.3-2
- With build target multilibs
8 months, 3 weeks
[intel-media-driver] Avoid conflict with fedora counterpart
by Nicolas Chauvet
commit 3281b124d34bdc2b5fcf473cce5a6238cf1a7c2d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 4 14:13:26 2024 +0100
Avoid conflict with fedora counterpart
intel-media-driver.spec | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index 99d7e5b..e639989 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -2,7 +2,7 @@
Name: intel-media-driver
Version: 24.1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Intel Media Driver for VAAPI
License: MIT and BSD
URL: https://github.com/intel/media-driver
@@ -35,6 +35,11 @@ Provides: bundled(libcmrt)
# Compatible instead of conflicting to accomodate fedora multimedia comps
Provides: libva-intel-media-driver = %{version}-%{release}
+# See https://src.fedoraproject.org/rpms/libva/pull-request/5
+%if 0%{?fedora} >= 40
+Conflicts: libva%{__isa} < 1.20.0-5
+%endif
+
%description
The Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API)
@@ -91,15 +96,24 @@ fn=%{buildroot}%{_metainfodir}/intel-media-driver.metainfo.xml
rm -rf %{buildroot}%{_includedir}/igfxcmrt
rm -rf %{buildroot}%{_libdir}/pkgconfig
+# Alternate directory for f40+
+# See https://src.fedoraproject.org/rpms/libva/pull-request/5
+%if 0%{?fedora} >= 40
+mv %{buildroot}%{_libdir}/dri{,-nonfree}/iHD_drv_video.so
+%endif
+
%files
%doc README.md
%license LICENSE.md
-%{_libdir}/dri/iHD_drv_video.so
+%{_libdir}/dri*/iHD_drv_video.so
%{_metainfodir}/intel-media-driver.metainfo.xml
%changelog
+* Mon Mar 04 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 24.1.3-3
+- Avoid conflicts on fedora counterpart
+
* Mon Feb 19 2024 Sérgio Basto <sergio(a)serjux.com> - 24.1.3-2
- With build target multilibs
8 months, 3 weeks
[lpf-spotify-client/el8] Version 1.1.26.50 is doomed
by Sérgio M. Basto
commit f4ed0b7743e40d5c01890bbc8a26d43dffbfac21
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Mar 4 13:00:09 2024 +0000
Version 1.1.26.50 is doomed
.gitignore | 3 -
LICENSE | 11 --
README | 18 ---
check_new_version.py | 69 -----------
dead.package | 1 +
eula.txt | 13 --
lpf-spotify-client.spec | 272 ----------------------------------------
sources | 1 -
spotify-client.spec.in | 324 ------------------------------------------------
9 files changed, 1 insertion(+), 711 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..f4790e8
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Version 1.1.26.50 is doomed
8 months, 3 weeks
[nvidia-kmod] Add fix for 'Flip event'
by Leigh Scott
commit 8c2d4883ecb4dfe56b6fbbdb3f827d0efd578637
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Mar 4 12:57:59 2024 +0000
Add fix for 'Flip event'
nvidia-drm-take-modeset-ownership-earlier.patch | 97 +++++++++++++++++++++++++
nvidia-kmod.spec | 7 +-
2 files changed, 103 insertions(+), 1 deletion(-)
---
diff --git a/nvidia-drm-take-modeset-ownership-earlier.patch b/nvidia-drm-take-modeset-ownership-earlier.patch
new file mode 100644
index 0000000..56fa6bc
--- /dev/null
+++ b/nvidia-drm-take-modeset-ownership-earlier.patch
@@ -0,0 +1,97 @@
+diff --git a/kernel/nvidia-drm/nvidia-drm-drv.c b/kernel/nvidia-drm/nvidia-drm-drv.c
+index 9de3f3fa7105..0e867433307a 100644
+--- a/kernel/nvidia-drm/nvidia-drm-drv.c
++++ b/kernel/nvidia-drm/nvidia-drm-drv.c
+@@ -480,6 +480,22 @@ static int nv_drm_load(struct drm_device *dev, unsigned long flags)
+ return -ENODEV;
+ }
+
++#if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
++ /*
++ * If fbdev is enabled, take modeset ownership now before other DRM clients
++ * can take master (and thus NVKMS ownership).
++ */
++ if (nv_drm_fbdev_module_param) {
++ if (!nvKms->grabOwnership(pDevice)) {
++ nvKms->freeDevice(pDevice);
++ NV_DRM_DEV_LOG_ERR(nv_dev, "Failed to grab NVKMS modeset ownership");
++ return -EBUSY;
++ }
++
++ nv_dev->hasFramebufferConsole = NV_TRUE;
++ }
++#endif
++
+ mutex_lock(&nv_dev->lock);
+
+ /* Set NvKmsKapiDevice */
+@@ -590,6 +606,15 @@ static void __nv_drm_unload(struct drm_device *dev)
+ return;
+ }
+
++ /* Release modeset ownership if fbdev is enabled */
++
++#if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
++ if (nv_dev->hasFramebufferConsole) {
++ drm_atomic_helper_shutdown(dev);
++ nvKms->releaseOwnership(nv_dev->pDevice);
++ }
++#endif
++
+ cancel_delayed_work_sync(&nv_dev->hotplug_event_work);
+ mutex_lock(&nv_dev->lock);
+
+@@ -1768,14 +1793,7 @@ void nv_drm_register_drm_device(const nv_gpu_info_t *gpu_info)
+ }
+
+ #if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
+- if (nv_drm_fbdev_module_param &&
+- drm_core_check_feature(dev, DRIVER_MODESET)) {
+-
+- if (!nvKms->grabOwnership(nv_dev->pDevice)) {
+- NV_DRM_DEV_LOG_ERR(nv_dev, "Failed to grab NVKMS modeset ownership");
+- goto failed_grab_ownership;
+- }
+-
++ if (nv_dev->hasFramebufferConsole) {
+ if (bus_is_pci) {
+ struct pci_dev *pdev = to_pci_dev(device);
+
+@@ -1786,8 +1804,6 @@ void nv_drm_register_drm_device(const nv_gpu_info_t *gpu_info)
+ #endif
+ }
+ drm_fbdev_generic_setup(dev, 32);
+-
+- nv_dev->hasFramebufferConsole = NV_TRUE;
+ }
+ #endif /* defined(NV_DRM_FBDEV_GENERIC_AVAILABLE) */
+
+@@ -1798,12 +1814,6 @@ void nv_drm_register_drm_device(const nv_gpu_info_t *gpu_info)
+
+ return; /* Success */
+
+-#if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
+-failed_grab_ownership:
+-
+- drm_dev_unregister(dev);
+-#endif
+-
+ failed_drm_register:
+
+ nv_drm_dev_free(dev);
+@@ -1870,12 +1880,6 @@ void nv_drm_remove_devices(void)
+ struct nv_drm_device *next = dev_list->next;
+ struct drm_device *dev = dev_list->dev;
+
+-#if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
+- if (dev_list->hasFramebufferConsole) {
+- drm_atomic_helper_shutdown(dev);
+- nvKms->releaseOwnership(dev_list->pDevice);
+- }
+-#endif
+ drm_dev_unregister(dev);
+ nv_drm_dev_free(dev);
+
+--
+2.44.0
+
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index d725ce2..e29961a 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -12,7 +12,7 @@ Name: nvidia-kmod
Epoch: 3
Version: 550.54.14
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA display driver kernel module
License: Redistributable, no modification permitted
URL: https://www.nvidia.com/
@@ -20,6 +20,7 @@ URL: https://www.nvidia.com/
Source11: nvidia-kmodtool-excludekernel-filterfile
Patch0: make_modeset_default.patch
Patch1: gcc14.patch
+Patch2: nvidia-drm-take-modeset-ownership-earlier.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: x86_64 aarch64
@@ -55,6 +56,7 @@ echo "Set nvidia to fbdev=1 modeset=1"
%patch -P0 -p1
%endif
%patch -P1 -p1
+%patch -P2 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
done
@@ -88,6 +90,9 @@ done
%changelog
+* Mon Mar 04 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.54.14-2
+- Add fix for 'Flip event'
+
* Fri Feb 23 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:550.54.14-1
- Update to 550.54.14 release
8 months, 3 weeks
[kodi/f38] (3 commits) ...use java-17-devel
by Leigh Scott
Summary of changes:
c7002ff... Kodi 20.5 Final (*)
946d3a2... F41 java is to new for kodi-20 (*)
1de126b... use java-17-devel (*)
(*) This commit already existed in another branch; no separate mail sent
8 months, 3 weeks