Skip to content

Conversation

soypat
Copy link
Owner

@soypat soypat commented Aug 20, 2025

No description provided.

@soypat
Copy link
Owner Author

soypat commented Aug 20, 2025

@joeblew999 and @lynaghk, could you test this branch and see if Mac issue is fixed?

@lynaghk
Copy link

lynaghk commented Aug 21, 2025

On my M1 Macbook Air 14.7.5 (23H527)

10:14:13 $ go run ./examples/bolt
using CPU
instantiating evaluation SDF took 56.333µs
2025/08/21 10:14:15 objectsunsupported for visual outputs
exit status 1
10:14:16 $ go run ./examples/bolt --gpu
using GPU	ᵍᵒᵗᵗᵃ ᵍᵒ ᶠᵃˢᵗ
2025/08/21 10:14:57 VersionUnavailable: NSGL: The targeted version of macOS only supports forward-compatible core profile contexts for OpenGL 3.2 and above
exit status 1
10:16:18 $ git log -1
commit 8e6ccd6a88c1bbe1c8fa745fe94f2b9ae4c53912 (HEAD, origin/glfw-fix)
Author: soypat <[email protected]>
Date:   Wed Aug 20 19:52:31 2025 -0300

    remove prints

Copy link

codecov bot commented Aug 21, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@soypat
Copy link
Owner Author

soypat commented Aug 21, 2025

Hmm I missed something it seems. Maybe try now?

@lynaghk
Copy link

lynaghk commented Aug 21, 2025

Same output, unfortunately.

15:34:59 $ git log -1
commit 40413eaf62fd57ee4f0ace42f187c93820fcd754 (HEAD -> glfw-fix, origin/glfw-fix)
Author: soypat <[email protected]>
Date:   Thu Aug 21 09:34:01 2025 -0300

    use Core over Compat gl profile in Init1x1GLFW
15:35:00 $ git diff
15:35:03 $ go run ./examples/bolt
using CPU
instantiating evaluation SDF took 339.708µs
2025/08/21 15:35:08 objectsunsupported for visual outputs
exit status 1
15:35:08 $ go run ./examples/bolt --gpu
using GPU	ᵍᵒᵗᵗᵃ ᵍᵒ ᶠᵃˢᵗ
2025/08/21 15:35:10 glBindBuffersBase
exit status 1
15:35:10 $ 

@soypat
Copy link
Owner Author

soypat commented Aug 22, 2025

Alright, fixed. You had run into a latent bug created during a refactor that happened a while ago (for CPU runs). Now it should (hopefully) work :)

@lynaghk
Copy link

lynaghk commented Aug 23, 2025

Yeah seems to have worked on CPU (though no window pops up or anything, not sure if something is supposed to be visible). GPU mode still has issues, though:

15:55:21 $ go run ./examples/bolt
using CPU
 53.417µs instantiating evaluation SDF
111.833µs wrote bolt.glsl
   1.341s evaluated SDF 4069179 times and rendered 62168 triangles with 96.96 percent evaluations omitted
 91.494ms wrote bolt.stl
bolt example done
15:55:24 $ go run ./examples/bolt --gpu
using GPU       ᵍᵒᵗᵗᵃ ᵍᵒ ᶠᵃˢᵗ
2025/08/23 15:55:32 glBindBuffersBase
exit status 1

@soypat
Copy link
Owner Author

soypat commented Aug 24, 2025

Odd, i inserted panics all over to catch where it fails. You ran with latest?

@lynaghk
Copy link

lynaghk commented Aug 24, 2025

Yeah, this was on 7948221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants