From 514be70f60bb31bbc3e54dd05e73b58b4562c580 Mon Sep 17 00:00:00 2001 From: JPikachu Date: Fri, 25 Jul 2025 13:01:44 +0100 Subject: [PATCH] [nvdrv] Ignore but don't reject offset and size uses It seems after investigation and testing that these are in fact not errors and are expected behaviour. So logging has been changed from error to debug and no longer returns a bad perameter. --- src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp index 80d2f0b989..18eae70e4f 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp @@ -168,10 +168,9 @@ NvResult nvhost_gpu::SetErrorNotifier(IoctlSetErrorNotifier& params) { } if (params.offset != 0 || params.size != 0) { - LOG_ERROR(Service_NVDRV, - "called, SetErrorNotifier received non-zero offset/size (ignored): offset=0x{:X}, size=0x{:X}", - params.offset, params.size); - return NvResult::BadParameter; + LOG_DEBUG(Service_NVDRV, + "called, SetErrorNotifier called with non-zero offset/size (ignored): offset=0x{:X}, size=0x{:X}", + params.offset, params.size); } LOG_DEBUG(Service_NVDRV, "called, SetErrorNotifier initialized, mem=0x{:X}", params.mem);