[intel-media-driver] Update to 24.1.2
by Nicolas Chauvet
commit bcc873801c46a6d7e327f66e19036ffa390e17d5
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 2 09:01:39 2024 +0100
Update to 24.1.2
intel-media-driver.spec | 7 +++++--
sources | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index 11942e2..1678ec3 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -1,8 +1,8 @@
#global pre .pre8
Name: intel-media-driver
-Version: 23.4.3
-Release: 2%{?dist}
+Version: 24.1.2
+Release: 1%{?dist}
Summary: The Intel Media Driver for VAAPI
License: MIT and BSD
URL: https://github.com/intel/media-driver
@@ -100,6 +100,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%changelog
+* Fri Feb 02 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 24.1.2-1
+- Update to 24.1.2
+
* Thu Feb 01 2024 Nicolas Chauvet <kwizart(a)gmail.com> - 23.4.3-2
- Drop Werror
diff --git a/sources b/sources
index 3a90a0e..0024ee8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (intel-media-23.4.3.tar.gz) = f28967d5474d43878ce6bf3e793c1a129fa0cd0240a2478d5d56ceb1fba3171ee8389c328818d90f914cabdd26caf1e7185dc9b38cd911a799b1fe2d8bc1ddfb
+SHA512 (intel-media-24.1.2.tar.gz) = 3ee2257b8595e3f7166b6d26c6c0b3a2c37c8e75d8d3afb1ccf5aabb4d3b36d83d30bf831fb7861d2348e97a4759b5d048576730f9ba363fe1137c6111312905
10 months, 2 weeks
[intel-media-driver] Revert "Drop old Werror"
by Nicolas Chauvet
commit de343236ff2117b3f89ab60769944a7bb9fd9a43
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 2 08:48:17 2024 +0100
Revert "Drop old Werror"
This reverts commit 7948a08ce9d8867dafd0b93ab7a936e136f8e75e.
intel-media-driver.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/intel-media-driver.spec b/intel-media-driver.spec
index a1d4099..11942e2 100644
--- a/intel-media-driver.spec
+++ b/intel-media-driver.spec
@@ -51,6 +51,10 @@ chmod -x LICENSE.md README.md CMakeLists.txt
# Remove pre-built (but unused) files
rm -f Tools/MediaDriverTools/UMDPerfProfiler/MediaPerfParser
+# Remove all -Werror compile flags
+sed -e "/-Werror/d" -i media_driver/cmake/linux/media_compile_flags_linux.cmake
+sed -e "/-Werror/d" -i media_driver/media_top_cmake.cmake
+
%build
%ifarch %{ix86}
10 months, 2 weeks
[telegram-desktop] Update to 4.14.12.
by Vasiliy Glazov
commit 4c28108d9629cd90f3e7434672609bd0beef480a
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Feb 2 11:11:31 2024 +0300
Update to 4.14.12.
sources | 2 +-
telegram-desktop.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index 0e3ec3a..b67d195 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-4.14.9-full.tar.gz) = 802ec7eeef75ac97934cb0437c24dab62670f7029a1a5e44866cd77d39d7b572b79106c0b73bd742786548db938c49ba2e559123963ef0201adaa279b4cf9fa4
+SHA512 (tdesktop-4.14.12-full.tar.gz) = 59aaaa06959f0483137f51c03e641f8d929dc2b50e56c086e01c97d2fb0223da5b5c36b54e913afee737100f143f8db7c166adca34a38d2b0c3f833e394915f9
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 822a25a..b6f42ea 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -5,7 +5,7 @@
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
Name: telegram-desktop
-Version: 4.14.9
+Version: 4.14.12
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -169,6 +169,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_metainfodir}/*.metainfo.xml
%changelog
+* Fri Feb 02 2024 Vasiliy Glazov <vascom2(a)gmail.com> - 4.14.12-1
+- Update to 4.14.12
+
* Mon Jan 22 2024 Vasiliy Glazov <vascom2(a)gmail.com> - 4.14.9-1
- Update to 4.14.9
10 months, 2 weeks
[mesa-freeworld] Update to 24.0.0
by Thorsten Leemhuis
commit 319b3814327d34fa58c85aeb6a56320f63845c65
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Fri Feb 2 06:21:58 2024 +0100
Update to 24.0.0
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
.gitignore | 1 +
mesa-freeworld.spec | 20 +++++++++++++++-----
sources | 2 +-
3 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2ce013f..cbd7ff5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
/mesa-23.3.2.tar.xz
/mesa-23.3.3.tar.xz
/mesa-24.0.0-rc2.tar.xz
+/mesa-24.0.0.tar.xz
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index ef77ba9..c613689 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -8,6 +8,7 @@ algorithms and decoding only VC1 algorithm.
%global with_va 1
%if !0%{?rhel}
%global with_nine 0
+%global with_nvk %{with vulkan_hw}
%global with_omx 0
%global with_opencl 0
%endif
@@ -60,11 +61,11 @@ algorithms and decoding only VC1 algorithm.
%bcond_with valgrind
%endif
-#%%global vulkan_drivers swrast%%{?base_vulkan}%%{?intel_platform_vulkan}%%{?extra_platform_vulkan}
+#%%global vulkan_drivers swrast%%{?base_vulkan}%%{?intel_platform_vulkan}%%{?extra_platform_vulkan}%%{?with_nvk:,nouveau-experimental}
Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
-%global ver 24.0.0-rc2
+%global ver 24.0.0
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 1%{?dist}
License: MIT
@@ -78,7 +79,7 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
-BuildRequires: meson >= 1.2.0
+BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gettext
@@ -136,7 +137,7 @@ BuildRequires: pkgconfig(libomxil-bellagio)
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libglvnd) >= 1.3.2
BuildRequires: llvm-devel >= 7.0.0
-%if 0%{?with_opencl}
+%if 0%{?with_opencl} || 0%{?with_nvk}
BuildRequires: clang-devel
BuildRequires: bindgen
BuildRequires: rust-packaging
@@ -144,6 +145,12 @@ BuildRequires: pkgconfig(libclc)
BuildRequires: pkgconfig(SPIRV-Tools)
BuildRequires: pkgconfig(LLVMSPIRVLib)
%endif
+%if 0%{?with_nvk}
+BuildRequires: (crate(proc-macro2) >= 1.0.56 with crate(proc-macro2) < 2)
+BuildRequires: (crate(quote) >= 1.0.25 with crate(quote) < 2)
+BuildRequires: (crate(syn/clone-impls) >= 2.0.15 with crate(syn/clone-impls) < 3)
+BuildRequires: (crate(unicode-ident) >= 1.0.6 with crate(unicode-ident) < 2)
+%endif
%if %{with valgrind}
BuildRequires: pkgconfig(valgrind)
%endif
@@ -317,8 +324,11 @@ rm -fr %{buildroot}%{_libdir}/libVkLayer_MESA_device_select.so
%license docs/license.rst
%endif
%changelog
+* Fri Feb 02 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.0.0-1
+- Update to 24.0.0
+
* Fri Jan 19 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 24.0.0~rc2-1
-- Update to 23.3.0-rc2
+- Update to 24.0.0-rc2
* Thu Jan 11 2024 Thorsten Leemhuis <fedora(a)leemhuis.info> - 23.3.3-1
- Update to 23.3.3
diff --git a/sources b/sources
index f29acd9..0380d04 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mesa-24.0.0-rc2.tar.xz) = d58e86b79a65ac41be1460e73da42ca98bc2f9903ef04746594e2d76b5b723ccac24608fe3a6f2f649a50c1b32414522f9cf12466a0ea0d6ad626d4a2cf73a9e
+SHA512 (mesa-24.0.0.tar.xz) = 9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
10 months, 2 weeks
[nvidia-470xx-kmod] fix build with kernel-6.7.3
by Leigh Scott
commit 28c74d54eabc24445cb0107687fd11bbcd3e54cc
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Feb 1 23:44:34 2024 +0000
fix build with kernel-6.7.3
kernel-6.7.3.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++
nvidia-470xx-kmod.spec | 8 ++++++--
2 files changed, 51 insertions(+), 2 deletions(-)
---
diff --git a/kernel-6.7.3.patch b/kernel-6.7.3.patch
new file mode 100644
index 0000000..124d9a6
--- /dev/null
+++ b/kernel-6.7.3.patch
@@ -0,0 +1,45 @@
+--- a/kernel/common/inc/nv-linux.h
++++ b/kernel/common/inc/nv-linux.h
+@@ -1990,2 +1990,23 @@
+
++#if defined(CONFIG_HAVE_ARCH_PFN_VALID) || LINUX_VERSION_CODE < KERNEL_VERSION(6,1,76)
++# define nv_pfn_valid pfn_valid
++#else
++/* pre-6.1.76 kernel pfn_valid version without GPL rcu_read_lock/unlock() */
++static inline int nv_pfn_valid(unsigned long pfn)
++{
++ struct mem_section *ms;
++
++ if (PHYS_PFN(PFN_PHYS(pfn)) != pfn)
++ return 0;
++
++ if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS)
++ return 0;
++
++ ms = __pfn_to_section(pfn);
++ if (!valid_section(ms))
++ return 0;
++
++ return early_section(ms) || pfn_section_valid(ms, pfn);
++}
++#endif
+ #endif /* _NV_LINUX_H_ */
+--- a/kernel/nvidia/nv-mmap.c
++++ b/kernel/nvidia/nv-mmap.c
+@@ -576,3 +576,3 @@
+ if (!IS_REG_OFFSET(nv, access_start, access_len) &&
+- (pfn_valid(PFN_DOWN(mmap_start))))
++ (nv_pfn_valid(PFN_DOWN(mmap_start))))
+ {
+--- a/kernel/nvidia/os-mlock.c
++++ b/kernel/nvidia/os-mlock.c
+@@ -102,3 +102,3 @@
+ if ((nv_follow_pfn(vma, (start + (i * PAGE_SIZE)), &pfn) < 0) ||
+- (!pfn_valid(pfn)))
++ (!nv_pfn_valid(pfn)))
+ {
+@@ -176,3 +176,3 @@
+
+- if (pfn_valid(pfn))
++ if (nv_pfn_valid(pfn))
+ {
diff --git a/nvidia-470xx-kmod.spec b/nvidia-470xx-kmod.spec
index 94ebb1b..5f7ec48 100644
--- a/nvidia-470xx-kmod.spec
+++ b/nvidia-470xx-kmod.spec
@@ -12,13 +12,14 @@ Name: nvidia-470xx-kmod
Epoch: 3
Version: 470.223.02
# Taken over by kmodtool
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Redistributable, no modification permitted
Summary: NVIDIA 470xx display driver kernel module
URL: https://www.nvidia.com/
Source11: nvidia-470xx-kmodtool-excludekernel-filterfile
+Patch0: kernel-6.7.3.patch
# needed for plague to make sure it builds for i586 and i686
ExclusiveArch: x86_64
@@ -42,7 +43,7 @@ kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --filterf
%setup -T -c
tar --use-compress-program xz -xf %{_datadir}/%{name}-%{version}/%{name}-%{version}-%{_target_cpu}.tar.xz
# patch loop
-
+%patch -P0 -p1
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
done
@@ -73,6 +74,9 @@ done
%{?akmod_install}
%changelog
+* Thu Feb 01 2024 Leigh Scott <leigh123linux(a)gmail.com> - 3:470.223.02-2
+- fix build with kernel-6.7.3
+
* Wed Nov 01 2023 Leigh Scott <leigh123linux(a)gmail.com> - 3:470.223.02-1
- Update to 470.223.02
10 months, 2 weeks
[nvidia-kmod/f38: 2/2] Merge branch 'f39' into f38
by Leigh Scott
commit 594dcce98562c680885c253892f75b6fbc8b6bf7
Merge: f5d4ca2 b304da2
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Feb 1 23:16:51 2024 +0000
Merge branch 'f39' into f38
nvidia-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
10 months, 2 weeks