[gnome-remote-desktop] hwaccel-nvidia: Degrade a warning to a normal message
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] hwaccel-nvidia: Degrade a warning to a normal message
- Date: Mon, 25 Apr 2022 19:36:36 +0000 (UTC)
commit c2e3ad305bac5f220cb6b395907952d53526b109
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Sun Apr 24 10:07:54 2022 +0200
hwaccel-nvidia: Degrade a warning to a normal message
In multi-GPU setups, the EGL thread will initialize on the primary GPU.
In that case, CUDA will initialize, but will not find the NVidia GPU
via the EGL thread, as it is not the primary one.
This situation is not an error and it is already correctly handled.
So, just degrade the warning to a normal message.
src/grd-hwaccel-nvidia.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/grd-hwaccel-nvidia.c b/src/grd-hwaccel-nvidia.c
index 4ea8f5e5..cd9abf66 100644
--- a/src/grd-hwaccel-nvidia.c
+++ b/src/grd-hwaccel-nvidia.c
@@ -769,7 +769,7 @@ grd_hwaccel_nvidia_new (GrdEglThread *egl_thread)
if (!get_cuda_devices_from_gl_context (hwaccel_nvidia, egl_thread,
&cu_device_count, cu_devices))
{
- g_warning ("[HWAccel.CUDA] Failed to retrieve CUDA devices");
+ g_message ("[HWAccel.CUDA] Unable to retrieve CUDA devices");
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]