git: acc51499b8ee - 2024Q2 - games/veloren-weekly: add workaround for x11/nvidia-driver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 May 2024 00:15:17 UTC
The branch 2024Q2 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=acc51499b8ee9cb411d30dfc9c67e689e55a9f10
commit acc51499b8ee9cb411d30dfc9c67e689e55a9f10
Author: Sean Farley <scf@FreeBSD.org>
AuthorDate: 2024-05-27 18:37:03 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-30 00:15:11 +0000
games/veloren-weekly: add workaround for x11/nvidia-driver
ERROR veloren_voxygen::render::renderer: Validation Error
Caused by:
In Queue::write_texture
Not enough memory left.
PR: 279355
(cherry picked from commit b0293949bef41db192a1c6395270037312248000)
---
games/veloren-weekly/Makefile | 1 +
games/veloren-weekly/files/patch-wgpu-nvidia | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile
index a626be2e5a7b..122c13c53adc 100644
--- a/games/veloren-weekly/Makefile
+++ b/games/veloren-weekly/Makefile
@@ -1,5 +1,6 @@
PORTNAME= veloren
PORTVERSION= s20240523
+PORTREVISION= 1
CATEGORIES= games wayland
PKGNAMESUFFIX= -weekly
diff --git a/games/veloren-weekly/files/patch-wgpu-nvidia b/games/veloren-weekly/files/patch-wgpu-nvidia
new file mode 100644
index 000000000000..968ab7b7c858
--- /dev/null
+++ b/games/veloren-weekly/files/patch-wgpu-nvidia
@@ -0,0 +1,15 @@
+https://gitlab.com/veloren/veloren/-/issues/1975
+
+--- ../wgpu-0.18-with-fixes-for-veloren-v1/wgpu/src/backend/direct.rs.orig 2024-02-09 04:29:29 UTC
++++ ../wgpu-0.18-with-fixes-for-veloren-v1/wgpu/src/backend/direct.rs
+@@ -2279,9 +2279,7 @@ impl crate::Context for Context {
+ &size
+ )) {
+ Ok(()) => (),
+- Err(err) => {
+- self.handle_error_nolabel(&queue_data.error_sink, err, "Queue::write_texture")
+- }
++ Err(_err) => ()
+ }
+ }
+