Karma XPU texture resolution limit?

   3630   4   2
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
Hey all,

Just testing out Karama XPU and I noticed the texture resolution of my renders seem much lower with XPU vs CPU render. I'm wondering if there is a texture resolution limit settings somewhere or if this is hard coded as part of the alpha?

See CPU and XPU render comparison attached.

Thanks,
John

Attachments:
karma_tex_cpu_001.jpg (1.3 MB)
karma_tex_xpu_001.jpg (848.6 KB)

User Avatar
Member
1701 posts
Joined: 3月 2009
Offline
There's a limit of 2K per default at the moment.

To go further, set the env variable KARMA_XPU_MAX_TEXTURE_RES, for example:

export KARMA_XPU_MAX_TEXTURE_RES="8192"

for 8K max.

Careful: The memory management right now is a bit experimental. Use very carefully.
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
10 posts
Joined: 6月 2015
Offline
Thank you! That did indeed work, I'll keep an eye on memory but I noticed it took a while to load with this env var set
User Avatar
Member
2 posts
Joined: 7月 2022
Offline
I'm having the same issue. Only it doesn't seem like setting the env variable changes anything in karma. Am I typing this in correctly? or am I missing a step?

Attachments:
Screenshot (1628).png (36.4 KB)

User Avatar
Member
2 posts
Joined: 1月 2021
Offline
it should be for example KARMA_XPU_MAX_SHADER_TEXTURE_RES = "2048"
Edited by alanvip220v - 2024年6月26日 09:44:49
  • Quick Links