Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help GPU memory

7 REPLIES 7
Reply
Message 1 of 8
bioclone_ax45
455 Views, 7 Replies

Help GPU memory

I writted a long message that was removed when posted so fuck it...


Im trying to use a city kitbash pack into arnold renderer Max 2020... but I get all the time memory problems... if I try to do a simple render with all the textures (textures that were turned into arnold standard surfaces that render well being alone) but when I try to render a simple building that uses 10 textures the memory problems appear....

This is supposed to be for a very large enviroment area, but I cant even render a single building with 10 materials... how to even consider multiple buildings? or other props at all...


I suppose this must be based on textures as I can replace them with other materials and the scene works pretty well until the moment I add materials based on maps... can somebody give me any tips or information related to Arnold that I should consider to avoid this kind of problems on large scenes enviroment?

I started to hate arnold, as all the good things I noticed at first are slowly turning into problem on problem... huge differences from production and active shade rendering... the nodeslots are a pain in the ass and mostly have no comprehensible information unless you already know very well another renderer etc...

Tags (1)
Labels (1)
  • gpu
7 REPLIES 7
Message 2 of 8
thiago.ize
in reply to: bioclone_ax45

I've lost a few postings as well when the website decided to log me out. It's definitely annoying when that happens...

Are you using .tx files for your textures? Did you try lowering the gpu_max_texture_resolution: https://docs.arnoldrenderer.com/display/A5NodeRef/options#options-gpu_max_texture_resolution ?

If you can wait a little while, the next release of arnold, assuming no last minute bugs are found during beta testing, should offer a big improvement to texture usage when you're using .tx files.

If none of this helps, verbose logs of a working CPU render and a failed GPU render would help us to know what is going on.

Message 3 of 8

Also, what version of MAXtoA are you using?

If you're using the version that came with 3ds Max 2020, you definitely need to upgrade...



// Stephen Blair
// Arnold Renderer Support
Message 4 of 8

@Thiago Ize

I have to admit that I have very little knowledge of rendering or renderers at all, I focused mostly on modeling and just a bit on texturing for videogame texturing that is mostly based on the same kind of basic maps.

I did heard about 2 kind of things related to texturing and arnold, both being something like .tex files and the .tx you mention... that I think this last one is a format that contains/generates mipmaps that helps in rendering.

for the moment I did only used the textures that come in the pack (3dsmax-legacy) https://kitbash3d.com/products/mini-kit-neo-city

of course that gave problems so I used the maps to create the arnold material required (I guess i forgot to invert the Y+ on normal maps... but I guess nvm on this issue) but nothing else...

could you light me a bit the path on how I should move to turn this into .tx? not sure if 3dsmax allows this inside the program or I am forced to do it outside and compose again the materials later...

I suppose the max texture resolution doesnt work at all if there are no tx files involved (tried it with no changes)


* Arnold should be updated, at least its not the stock arnold version (GPU rendering forced me to update it) It was updated just the past month.

Message 5 of 8

You can use a batch script to create the tx files:

https://knowledge.autodesk.com/support/3ds-max/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to...



// Stephen Blair
// Arnold Renderer Support
Message 6 of 8

thx, will try this!


Edit: Worked really nice, but I still get this:

[Arnold]: 00:00:55 12044MB ERROR | [gpu] an error happened during rendering : Memory allocation failed (Details: Function "_rtContextLaunch2D" caught exception: Demand load allocation failed for device 0 4096x4096/uchar4)

this is jump from problem to problem... I just cant understand how can I set some options to use my 1080 to speed up my renders not turning totally mad in the process... I just lost the count of how many problems I did get once I moved into GPU rendering.

Message 7 of 8

What are you using to load the textures? Arnold Image or OSL Bitmap Lookup? That seems that GPU couldn't load the texture. There is a new Arnold update comming out that is going to improve quite a lot the use of big textures. I had some similar problems, but they are fixed now.


What I noticed is that when converting the textures to tx, it is better to close max, otherwise some textures will not be converted correctly.

Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

Message 8 of 8

this is the 1st time I heard about Arnold Image or OSL Bitmap Lookup :S


I did search about it... so it is about how do I import the map files? I was just dragging mostly, what I suppose its the equivalent to use the bitmap node... should I use instead that other one called "Arnold Image node"? Will check this, thx this is the kind of info Im just unable to find

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report