Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner pushed to cycles-kernel-zstd at LukasStockner/blender 2024-06-23 00:52:14 +02:00
62e4964e83 Formatting fix
Lukas Stockner commented on pull request blender/blender#123557 2024-06-22 17:30:38 +02:00
Cycles: Compress GPU kernels to reduce file size

Update:

  • Wrote proper commit message
  • Converted compressor tool to C++ IO to get RAII instead of copy-pasting fclose over and over.
  • Added SPDX header.

@blender-bot package

Lukas Stockner pushed to cycles-kernel-zstd at LukasStockner/blender 2024-06-22 17:22:01 +02:00
b125eeec1a Convert compressor tool to C++ IO
Lukas Stockner commented on pull request blender/blender#123557 2024-06-21 16:54:14 +02:00
Cycles: Compress GPU kernels to reduce file size

Checking the build log, seems it's not installing .zst files for .fatbin and hipfb.

In the ongoing build? My initial commit was missing those, but now they should be included.

Lukas Stockner commented on pull request blender/blender#123557 2024-06-21 15:56:28 +02:00
Cycles: Compress GPU kernels to reduce file size

We could change path_read_binary and path_read_text to automatically work with compressed files by checking for the existence of a file with .zst extension, and if not trying to read it…

Lukas Stockner commented on pull request blender/blender#123532 2024-06-21 15:47:30 +02:00
Cycles: Additional scattering phase functions

I recently came across this paper: https://research.nvidia.com/labs/rtr/approximate-mie/

Might make sense to implement that as well?

Lukas Stockner pushed to cycles-kernel-zstd at LukasStockner/blender 2024-06-21 15:02:23 +02:00
f7d24fed6c Also compress HIP(RT)
ec378557ea Link with pthread
Compare 2 commits »
Lukas Stockner commented on pull request blender/blender#123557 2024-06-21 14:57:17 +02:00
Cycles: Compress GPU kernels to reduce file size

@blender-bot package

Lukas Stockner created pull request blender/blender#123557 2024-06-21 14:56:53 +02:00
Cycles: Compress GPU kernels to reduce file size
Lukas Stockner pushed to cycles-kernel-zstd at LukasStockner/blender 2024-06-21 14:51:40 +02:00
f9c9c40321 Cycles: Compress GPU kernels to reduce file size
47158e1606 Fix #123528: Cycles viewport denoiser not using GPU for CPU render
046a8f92eb Fix #123539: Object Info node incorrectly reports dependency cycle
9004e7b668 Fix: Compiler warning about format string
a13a116de9 Fix #112804: Compositor movie not rendering if cache is full
Compare 15 commits »
Lukas Stockner created branch cycles-kernel-zstd in LukasStockner/blender 2024-06-21 14:38:21 +02:00
Lukas Stockner pushed to cycles-kernel-zstd at LukasStockner/blender 2024-06-21 14:38:21 +02:00
3ec5f91f15 Cycles: Compress GPU kernels to reduce file size
bbf7940d34 Cleanup: Memory leak in UI_OT_eyedropper_depth
56904553ec Cleanup: Rename resample attributes utility struct
48b14f817e Merge branch 'blender-v4.2-release'
aba1a2b6c2 Fix: incorrect grouping of UI props for USD export
Compare 10 commits »
Lukas Stockner commented on issue blender/blender#123522 2024-06-21 13:14:53 +02:00
Cycles: Compress kernel binaries

Just checked, it looks like the OneAPI dynamic library just exposes six functions with C linking? That seems like it should be very simple to dynamically load at runtime. I don't have hardware to…

Lukas Stockner commented on issue blender/blender#123522 2024-06-21 13:03:36 +02:00
Cycles: Compress kernel binaries

Would it be possible to use dlopen or similar to load the OneAPI library at runtime?

Lukas Stockner commented on issue blender/blender#123522 2024-06-21 03:50:50 +02:00
Cycles: Compress kernel binaries

Hm, true. I'll put something together tomorrow, I think getting it into 4.2 is very doable.

Lukas Stockner commented on issue blender/blender#123522 2024-06-21 03:32:10 +02:00
Cycles: Compress kernel binaries

Do we even need a separate script/executable? We could just build the zstd binary as part of the precompiled libraries and invoke that.

I think requiring the zstd binary as a build dependency…

Lukas Stockner commented on issue blender/blender#123522 2024-06-21 02:33:44 +02:00
Cycles: Compress kernel binaries

Hm, that zstd result seems strange to me.

I just downloaded 4.3.0 nightly for Linux and checked, and I get:

  • Uncompressed: 391MB
  • zstd, default: 104MB
  • zstd level 19: 70MB
  • lzma…
Lukas Stockner pushed to main at blender/blender 2024-06-20 22:54:38 +02:00
bbf7940d34 Cleanup: Memory leak in UI_OT_eyedropper_depth
Lukas Stockner commented on pull request blender/blender#123278 2024-06-20 21:52:21 +02:00
Color management: Support white balance as part of the display transform

Update:

  • Fix property capitalization
  • Add preset support
  • Add presets for all CIE illuminants
  • Improve comments
  • Support prop_data_path in UI_OT_eyedropper_color
  • Add eyedropper…