Dealing with Out-Of-VRAM situations 处理 vram 溢出的情况

Out-of-VRAM messages

离开 vram 的消息

In certain rare cases, Redshift might produce these kinds of messages and abort rendering:

在某些罕见的情况下,Redshift 可能会产生这些类型的消息并中止渲染:

Redshift cannot operate with less than 256MB of free VRAM. Frame rendering aborted.

or…

或者..。

There is less than 128MB of free VRAM once fixed data and minimal ray memory are considered


"VRAM" means "Video RAM": It's your GPU's memory.
Even though Redshift supports out-of-core rendering, it needs a certain amount of free VRAM to operate. The above messages means Redshift failed to find that minimum amount so it couldn't continue rendering.
These out-of-VRAM messages mostly happen with GPUs with limited VRAM (like 4-6GB) or when there might exist other GPU-using apps running. GPUs that feature 11 GB or more VRAM are far less likely to produce such errors.

“ VRAM”的意思是“视频 RAM”: 它是你的 GPU 的内存。尽管 Redshift 支持核外渲染,但它需要一定数量的空闲 VRAM 才能运行。上面的消息意味着红移没有找到最小数量,所以它不能继续渲染。这些超出 VRAM 的消息大多发生在 VRAM 有限的 gpu 上(比如4-6GB) ,或者当可能存在其他使用 gpu 的应用程序运行时。具有11gb 或更多 VRAM 的 gpu 不太可能产生这样的错误。

The Best Solution

最佳解决方案

We recommend using Redshift on a GPU with as much VRAM as you can afford - for example a GPU with 11GB of memory or more.

我们建议使用红移的 GPU 与尽可能多的 VRAM 你可以负担-例如一个 GPU 与11 GB 的内存或更多。

The Next-Best Solution

下一个最好的解决方案

If upgrading your main GPU isn't possible you could, alternatively, try using a relatively cheap GPU as your primary display. You can use a GPU as a primary display by connecting it to the appropriate PCIe slot in your computer (usually this is the top slot on the motherboard) and ensuring the monitoris connected to that GPU - and not the other GPU you'll be using for rendering!Not connecting a monitor to a GPU is called "headless mode". It means Windows and 3D apps won't use that GPU and, therefore, won't take VRAM form it – which makes it ideal for rendering with Redshift!

如果升级你的主要 GPU 是不可能的,你可以,或者,尝试使用一个相对便宜的 GPU 作为你的主要显示器。你可以使用一个 GPU 作为一个主显示器连接到适当的 PCIe 插槽在您的计算机(通常这是主板的顶部插槽) ,并确保监视器连接到该 GPU-而不是其他 GPU 你将用于渲染!不连接显示器到 GPU 被称为“无头模式”。这意味着 Windows 和3D 应用程序不会使用这个 GPU,因此不会采用 VRAM 形式——这使得它非常适合使用红移渲染!

Causes And Solutions

原因及解决方法

If you can't afford a better or second videocard, please review this list of common causes and solutions for the out-of-VRAM messages.

如果你买不起一个更好的或第二个视频卡,请看看下面列出的 vram 外消息的常见原因和解决方案。

SLI

If you're running with multiple videocards and have SLI enabled, you can get out-of-VRAM messages. This is due to a limitation of CUDA.
Solution: Please go to the NVidia Control Panel and disable the multi-GPU mode. Please note that, by doing so, videogames will not be able to use multiple GPUs at once. Redshift will still be able to detect and use all GPUs in your system, though!

如果您使用多个视频卡运行,并且启用了 SLI,则可以获得超出 vram 的消息。这是由于 CUDA 的限制。解决方案: 请进入 NVidia 控制面板并禁用多 gpu 模式。请注意,通过这样做,电子游戏将不能同时使用多个 gpu。红移仍然能够检测和使用所有的 gpu 在您的系统,虽然!

Windows Aero

Windows Aero is a Windows Vista / Windows 7 feature that allows parts of windows to be semi-transparent. Even though this is a visually pleasing effect, it has the unfortunate effect of using considerable amounts of VRAM. Systems with weaker GPUs (in terms of VRAM) and Windows Aero enabled are more susceptible to out-of-VRAM situations.
Solution: Disable Windows Aero

Windows Aero 是 Windows Vista/Windows 7的一个特性,它允许部分窗口半透明。尽管这是一个视觉上令人满意的效果,但是使用大量的 VRAM 会带来不幸的影响。具有较弱 gpu (就 VRAM 而言)和启用 windowsaero 的系统更容易出现超出 VRAM 的情况。解决方案: 禁用 Windows Aero

Google Chrome

谷歌浏览器

The Google Chrome web browser can use significant amounts of VRAM, depending on the web content shown.
Solution: We recommend shutting down Chrome before rendering.

根据所显示的网页内容,谷歌 Chrome 浏览器可以使用大量的 VRAM。解决方案: 我们建议在渲染之前关闭 Chrome。

OpenGL viewport rendering or Maya's Viewport 2.0

或者 Maya 的 Viewport 2.0

3D apps like Cinema4D, Houdini, Maya, 3DSMax,etc render their viewports using OpenGL. OpenGL uses your GPU so it, therefore, uses VRAM. Depending on the contents of the viewport, OpenGL can use a little or a lot of VRAM. Scenes that contain many triangles or use many textures and have hardware texturing enabled in the viewport settings are likely to use significant amounts of VRAM.

像 Cinema4D、 Houdini、 Maya、3DSMax 等3 d 应用程序使用 OpenGL 渲染它们的视图。使用你的 GPU,因此,它使用 VRAM。根据 viewport 的内容,OpenGL 可以使用少量或大量的 VRAM。包含许多三角形或使用许多纹理的场景,以及在视区设置中启用硬件纹理的场景,很可能会使用大量的 VRAM。

Maya's Viewport 2.0 can use a lot of VRAM too!

的 Viewport 2.0也可以使用大量的 VRAM!

Solution: If your scene is heavy in terms of viewport polygons or textures, it is recommended you render using bounding boxes instead and disable hardware texturing. On Maya, we recommend avoiding Viewport 2.0 as it can use significant amounts of memory.

解决方案: 如果你的场景在视区多边形或纹理方面很重,建议你使用边框渲染,禁用硬件纹理。对于 Maya,我们建议避免使用 Viewport 2.0,因为它可以使用大量的内存。

Other GPU applications

其他 GPU 应用程序

Redshift is not the only application using the GPU! Programs like Photoshop, Mudbox and Nuke can use considerable amounts of VRAM, if certain GPU-acceleration features are enabled and used.
Solution: It's not always obvious which application uses the GPU and how much memory it's taking. So, if in doubt, it's recommended that you shut down all 'suspicious' applications before rendering.

红移不是唯一使用 GPU 的应用程序!如果启用和使用某些 gpu 加速特性,像 Photoshop、 Mudbox 和 Nuke 这样的程序可以使用大量的 VRAM。解决方案: 哪个应用程序使用了 GPU,占用了多少内存,并不总是那么明显。因此,如果有疑问,建议您在呈现之前关闭所有“可疑的”应用程序。

Old drivers installed. Or reboot needed.

安装了旧驱动程序。或者需要重新启动

In certain (rare) occasions, an old driver might be causing out-of-VRAM messages. In other cases, after installing a newer driver or some other software, you might encounter out-of-VRAM messages.
Solution: It's recommended that you use Redshift with recent drivers. "Recent" doesn't necessarily mean "the latest" – it means a driver that is no more than a few months old. Also, if you installed newer drivers, we recommend rebooting your computer. Finally, due to driver bugs or some 'stuck' 3D app, a reboot can sometimes fix out-of-VRAM messages.

在某些(罕见的)情况下,老驱动程序可能会导致超出 vram 的消息。在其他情况下,在安装了新的驱动程序或其他软件之后,您可能会遇到超出 vram 的消息。解决方案: 建议对最近的驱动程序使用红移。“最近的”并不一定意味着“最新的”——它意味着驾驶员的年龄不超过几个月。此外,如果您安装了新的驱动程序,我们建议重新启动您的计算机。最后,由于驱动程序错误或一些“卡住”的3D 应用程序,重新启动有时可以修复超出 vram 的消息。

Another instance of your 3D app

3 d 应用的另一个实例

If your 3D app is being run multiple times, this can use considerable amounts of VRAM. In some cases, users are running multiple instances without even realizing (because of a software crash).
Solution: We recommend running only one instance of your 3D app. It's also worth checking in the Windows Task Manager and ensuring you don't have multiple instances of Cinema4D, Houdini, 3DSMax, Maya running. This can happen if your 3d app crashes but doesn't get cleanly removed from memory.

如果您的3 d 应用程序正在运行多次,这可以使用相当数量的 VRAM。在某些情况下,用户甚至在没有意识到的情况下运行多个实例(因为软件崩溃)。解决方案: 我们建议您只运行您的3 d 应用程序的一个实例。这也值得在 Windows 任务管理器中检查,确保你没有多个 Cinema4D、 Houdini、3DSMax、 Maya 运行的实例。如果你的3 d 应用崩溃了,但是没有从内存中完全删除,这种情况就会发生。

1

赶快留个言打破零评论!~

返回顶部

显示

忘记密码?

显示

显示

获取验证码

Close