From d3d13423ef756367070b1c3fb3147938942aeb16 Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:26:32 -0400 Subject: [PATCH 1/4] fix: more doco Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com> --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 785312c..a52c68f 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,35 @@ In unraid you can set these values during set up. For containers outside of unra In addition to the information above, to enable **Hardware 3D acceleration** (which helps with visualizing complex models and sliced layers), you must set an environment variable. You can do this by either adding `-e ENABLEHWGPU=true` to the `docker run` command or including `- ENABLEHWGPU=true` in your Docker Compose configuration. +Once enabled and started you can verify the GPU is being used by running `nvidia-smi -l` on the HOST machine and you should see `/slic3r/slic3r-dist/bin/prusa-slicer` as process using the GPU. + +``` ++---------------------------------------------------------------------------------------+ +| NVIDIA-SMI 535.161.07 Driver Version: 535.161.07 CUDA Version: 12.2 | +|-----------------------------------------+----------------------+----------------------+ +| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | +| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | +| | | MIG M. | +|=========================================+======================+======================| +| 0 NVIDIA GeForce GTX 1050 Ti Off | 00000000:0F:00.0 On | N/A | +| 36% 58C P0 N/A / 72W | 588MiB / 4096MiB | 2% Default | +| | | N/A | ++-----------------------------------------+----------------------+----------------------+ + ++---------------------------------------------------------------------------------------+ +| Processes: | +| GPU GI CI PID Type Process name GPU Memory | +| ID ID Usage | +|=======================================================================================| +| 0 N/A N/A 4129827 G /slic3r/slic3r-dist/bin/prusa-slicer 262MiB | ++---------------------------------------------------------------------------------------+ + +*some information above was edited for privacy +``` + + + + ### Other Environment Variables Below are the default values for various environment variables: From 69b86d6248698f6a2ecd16c4420ba2c1950d3057 Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:31:11 -0400 Subject: [PATCH 2/4] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a52c68f..ab3767d 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,9 @@ Once enabled and started you can verify the GPU is being used by running `nvidia *some information above was edited for privacy ``` +The `GL Version` on the System Information screen inside the slicer should also show, the GPU model and driver version + +![image](https://github.com/vajonam/prusaslicer-novnc/assets/152501/250c93f5-e550-42f9-8cce-b942c93ef61e) From 612e34bccc06c8a0717f3b0e44ef2b092fed48bf Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:49:04 -0400 Subject: [PATCH 3/4] fix: remove stuff that is not interesting Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com> --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ab3767d..60cd67d 100644 --- a/README.md +++ b/README.md @@ -44,15 +44,9 @@ Once enabled and started you can verify the GPU is being used by running `nvidia +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.161.07 Driver Version: 535.161.07 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ -| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | -| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | -| | | MIG M. | -|=========================================+======================+======================| -| 0 NVIDIA GeForce GTX 1050 Ti Off | 00000000:0F:00.0 On | N/A | -| 36% 58C P0 N/A / 72W | 588MiB / 4096MiB | 2% Default | -| | | N/A | -+-----------------------------------------+----------------------+----------------------+ - + +.. removed for brevity .. + +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | From 4e597d9e5b8f4893436937455701994ba843369d Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:50:34 -0400 Subject: [PATCH 4/4] fix: smaller image Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 60cd67d..b6cf111 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Once enabled and started you can verify the GPU is being used by running `nvidia The `GL Version` on the System Information screen inside the slicer should also show, the GPU model and driver version -![image](https://github.com/vajonam/prusaslicer-novnc/assets/152501/250c93f5-e550-42f9-8cce-b942c93ef61e) +