azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/glscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
<azonenberg> also vkFFT upstream just added a fix for the thread safety issue
<azonenberg> i will probably continue to run a fork just in case we have to make other patches
<azonenberg> but i'll sync it with upstream periodically
<Degi> Neat
Degi_ has joined #scopehal
Degi has quit [Ping timeout: 252 seconds]
Degi_ is now known as Degi
<d1b2> <johnsel> I see that we are all on the same page w.r.t. GTK now lol
<azonenberg> Yeah. Initially we had a lot of vague complaints but no hard reasons to leave, but it would be a major engineering effort to transition to something else
<azonenberg> but as of yesterday's experiments, while evaluating performance of some new GPU code
<azonenberg> i now have strong evidence that GTK is limiting us
<azonenberg> And for a HPC type application, it's worth that extra effort. Gotta go fast </sonic>
<d1b2> <johnsel> I think it's a really reasonable plan though and direction that you propose/decided, I have some thoughts but Its pretty late so I will formulate them better tomorrow, only building upon what is already proposed
<d1b2> <johnsel> and I thought it was self-evident, you measured what I jokingly called Pidgin performance
<azonenberg> johnsel: There will be another developer zoom call some time later this month
<azonenberg> Feel free to drop in and give your thoughts then as well
<d1b2> <johnsel> yes I read everything back, I will definitely be there
<azonenberg> Just need to get some of the current action items straightened out (e.g. ditching openCL/clFFT fully) and then write up agenda etc for the meeting
<d1b2> <johnsel> We might also want to rethink build automation etc in the context of the future direction. E.g. w.r.t. working in the same repo vs another
<azonenberg> Yeah. I think keeping it in one repo makes sense, as a new binary within scopehal-apps. this will let us, for example, maintain history as we move/copy source files from the existing code into the new app
<d1b2> <johnsel> but also more general, define an 'ideal' setup from that perspective and work back to what is realistic
<azonenberg> There are also some other utilities within scopehal-apps, like psuclient (for power supplies)
<azonenberg> which eventually are planned to merge into a single unified app
<d1b2> <johnsel> yeah we can argue about it some other time, I think there's a lot of value in having it in a separate repo to start fresh and e.g. having the old repo as a submodule w.r.t. build speed and losing the CI baggage
<azonenberg> So there's no reason we can't "make foo" vs just "make" to not build the other stuff. i can even make it opt-in in cmake
<azonenberg> that said, i want CI builds as early as possible of the test app
<d1b2> <johnsel> sure but from a repo standpoint, you kick off the builds from all commits to old & new
<d1b2> <johnsel> which are still in pretty bad shape, we can do a 1 minute build on the clean app and perfectly define dependencies from the start
<azonenberg> it's not a 1 minute build. it will depend on libscopehal and libscopeprotocols
<azonenberg> and those are the majority of the build time
<azonenberg> glscopeclient proper is only ~30K of the ~140K lines of code in the project
<d1b2> <johnsel> those should have their own builds really
<d1b2> <johnsel> anyway like I said it's a convo for when I can formulate my thoughts in proper sentences. I did stumble on 2 Vulkan related things that I think you will have seen already but if not might be useful, https://www.raspberrypi.com/news/vulkan-update-version-1-2-conformance-for-raspberry-pi-4/ and https://www.khronos.org/blog/new-release-of-vulkan-sdk (about 'Vulkan Portability layer')
<d1b2> <johnsel> OpenGL: From OpenGL 3.3 to OpenGL 4.6 (Core profile), it can be used directly as an ICD.
<d1b2> <johnsel> I know you said you had compatibility requirements with some old OpenGL version
<d1b2> <johnsel> I did not remember if it was older than 3.3
<azonenberg> We require 4.3 for the compute shader based renderer
<azonenberg> once we transition away from compute shaders, the remaining gtk/gl compositor needs very minimal, probably 2.0 would be sufficient
<azonenberg> but certainly any 3.x would be fine
<_whitenotifier-7> [scopehal-docs] azonenberg commented on pull request #24: Updates Ubuntu and AMD OpenCL driver installation steps - https://github.com/glscopeclient/scopehal-docs/pull/24#issuecomment-1236515239
<_whitenotifier-7> [scopehal-docs] azonenberg closed pull request #24: Updates Ubuntu and AMD OpenCL driver installation steps - https://github.com/glscopeclient/scopehal-docs/pull/24
<_whitenotifier-7> [scopehal-docs] azonenberg closed pull request #45: Add Install Vulkan SDK + Path for Linux(Ubuntu/Debian) and Windows(MSYS2/MINGW64) - https://github.com/glscopeclient/scopehal-docs/pull/45
<_whitenotifier-7> [scopehal-docs] azonenberg pushed 2 commits to master [+0/-0/±2] https://github.com/glscopeclient/scopehal-docs/compare/c86d8e4842dc...ca66e68c5679
<_whitenotifier-7> [scopehal-docs] bvernoux e8f5121 - Add Install Vulkan SDK + Path for Linux(Ubuntu/Debian) and Windows(MSYS2/MINGW64)
<_whitenotifier-7> [scopehal-docs] azonenberg ca66e68 - Merge pull request #45 from bvernoux/master Add Install Vulkan SDK + Path for Linux(Ubuntu/Debian) and Windows(MSYS2/MINGW64)
<_whitenotifier-7> [scopehal-docs] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-docs/compare/ca66e68c5679...365a08e00845
<_whitenotifier-7> [scopehal-docs] azonenberg 365a08e - Removed references to OpenCL
<_whitenotifier-7> [scopehal-docs] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-docs/compare/365a08e00845...3462b25d386c
<_whitenotifier-7> [scopehal-docs] azonenberg 3462b25 - Fixed missing escape character
<_whitenotifier-7> [scopehal] azonenberg pushed 3 commits to master [+0/-1/±15] https://github.com/glscopeclient/scopehal/compare/7961db3bf5a4...f7f6b5ff621e
<_whitenotifier-7> [scopehal] azonenberg 12c24c4 - VulkanFFTPlan: initial reverse transform support
<_whitenotifier-7> [scopehal] azonenberg 902ab34 - DeEmbedFilter: removed clFFT
<_whitenotifier-7> [scopehal] azonenberg f7f6b5f - Removed all remaining references to OpenCL
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±5] https://github.com/glscopeclient/scopehal-apps/compare/5edca33a3ca8...794faa31b26d
<_whitenotifier-7> [scopehal-apps] azonenberg 794faa3 - Removed all remaining references to OpenCL
<azonenberg> OK... we are now officially free of OpenCL and clFFT. I think i got all references to it in the docs too
<azonenberg> the de-embed/channel emulation filter is temporarily using FFTS (software only)
<azonenberg> gonna hop in the shower real quick then throw together the Vulkan implementation of it
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+0/-2/±0] https://github.com/glscopeclient/scopehal/compare/f7f6b5ff621e...655bbea71852
<_whitenotifier-7> [scopehal] azonenberg 655bbea - Removed now-unused OpenCL kernels
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal-apps/compare/794faa31b26d...37bd6d287217
<_whitenotifier-7> [scopehal-apps] azonenberg 37bd6d2 - Don't install OpenCL kernels we no longer use
<_whitenotifier-7> [scopehal] azonenberg commented on issue #659: Remove clFFT and replace with vkFFT - https://github.com/glscopeclient/scopehal/issues/659#issuecomment-1236530979
<_whitenotifier-7> [scopehal] azonenberg closed issue #659: Remove clFFT and replace with vkFFT - https://github.com/glscopeclient/scopehal/issues/659
<_whitenotifier-7> [scopehal] azonenberg commented on issue #658: Convert OpenCL accelerated filters to Vulkan compute shaders - https://github.com/glscopeclient/scopehal/issues/658#issuecomment-1236531133
<_whitenotifier-7> [scopehal] azonenberg closed issue #658: Convert OpenCL accelerated filters to Vulkan compute shaders - https://github.com/glscopeclient/scopehal/issues/658
<_whitenotifier-7> [scopehal-apps] azonenberg closed issue #341: FindPackage(OpenCL) reports found even if no C++ bindings installed - https://github.com/glscopeclient/scopehal-apps/issues/341
<_whitenotifier-7> [scopehal-apps] azonenberg commented on issue #341: FindPackage(OpenCL) reports found even if no C++ bindings installed - https://github.com/glscopeclient/scopehal-apps/issues/341#issuecomment-1236531423
<_whitenotifier-7> [scopehal] azonenberg closed issue #152: Design generic dual socket streaming protocol - https://github.com/glscopeclient/scopehal/issues/152
<_whitenotifier-7> [scopehal] azonenberg commented on issue #152: Design generic dual socket streaming protocol - https://github.com/glscopeclient/scopehal/issues/152#issuecomment-1236532872
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal/compare/655bbea71852...a91db03ee6d6
<_whitenotifier-7> [scopehal] azonenberg a91db03 - VulkanFFTPlan: don't set disableSetLocale flag until upstream vkFFT properly supports it
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+2/-0/±8] https://github.com/glscopeclient/scopehal/compare/a91db03ee6d6...80ecb54287f3
<_whitenotifier-7> [scopehal] azonenberg 80ecb54 - Finished Vulkan implementation of DeEmbedFilter
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+1/-0/±4] https://github.com/glscopeclient/scopehal-apps/compare/37bd6d287217...0331e5b0230a
<_whitenotifier-7> [scopehal-apps] azonenberg 0331e5b - Added unit test for de-embed filter
<_whitenotifier-7> [scopehal] pepijndevos commented on pull request #511: rigol function generator - https://github.com/glscopeclient/scopehal/pull/511#issuecomment-1236662814
<_whitenotifier-7> [scopehal] pepijndevos commented on pull request #509: GTK-less scopehal - https://github.com/glscopeclient/scopehal/pull/509#issuecomment-1236670986
massi has joined #scopehal
<benishor> where can I find a user manual for glscopeclient?
<benishor> assuming there is such a thing
<azonenberg> benishor: there is a periodically updated draft at https://www.antikernel.net/temp/glscopeclient-manual.pdf
<azonenberg> still a lot of stuff we need to add, and some bits are probably out of date
<azonenberg> it has trouble keeping pace with development at times
<benishor> thanks azonenberg
<azonenberg> but it should be a good start
<benishor> let's hope it will get me started
<benishor> I managed to connect to my scope but don't know what to do next
<azonenberg> (what scope?)
<benishor> SDS2104X+
<benishor> (siglent)
<azonenberg> yeah that should work well, although it's likely going to be slow because of their firmware not being the most efficient. are you having a specific problem?
<benishor> none so far, trying to understand what I can do with glscopeclient
balrog has quit [*.net *.split]
d1b2 has quit [*.net *.split]
jacekowski has quit [*.net *.split]
<azonenberg> welp, i like the vkFFT developer already :p
<azonenberg> Two new bugs filed, plus upping the priority of an existing issue that was not understood to be as severe as it was
<azonenberg> all fixed within hours
<azonenberg> I'm keeping a fork but i expect it will track upstream pretty closely at this rate
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal/compare/80ecb54287f3...b7408346b580
<_whitenotifier-7> [scopehal] azonenberg b740834 - Update to latest vkFFT, can now use disableSetLocale
balrog has joined #scopehal
d1b2 has joined #scopehal
jacekowski has joined #scopehal
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal/compare/b7408346b580...dbb5b158487a
<_whitenotifier-7> [scopehal] azonenberg dbb5b15 - Convert8BitSamples shader no longer depends on int64 since we're not filling gain/offset anymore
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+1/-0/±3] https://github.com/glscopeclient/scopehal-apps/compare/0331e5b0230a...bf37d30c02f9
<_whitenotifier-7> [scopehal-apps] azonenberg bf37d30 - Added unit test for Convert8BitSamples method/shader
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+1/-0/±1] https://github.com/glscopeclient/scopehal-apps/compare/bf37d30c02f9...d34cba4a4c45
<_whitenotifier-7> [scopehal-apps] azonenberg d34cba4 - Added unit test for Convert16BitSamples primitive
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal-apps/compare/d34cba4a4c45...b68dca06ba7e
<_whitenotifier-7> [scopehal-apps] azonenberg b68dca0 - Convert*BitSample tests: reduced dataset size to improve speed
massi has quit [Remote host closed the connection]
Johnsel has joined #scopehal
<_whitenotifier-7> [scopehal-apps] rroohhh opened pull request #484: Remove mention of OpenCL kernels - https://github.com/glscopeclient/scopehal-apps/pull/484
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±2] https://github.com/glscopeclient/scopehal-apps/compare/b68dca06ba7e...6a1f29590140
<_whitenotifier-7> [scopehal-apps] rroohhh 6ab13dc - Remove mention of OpenCL kernels Fixes: 37bd6d28721752f78438712c5c72fcea5374dd87
<_whitenotifier-7> [scopehal-apps] azonenberg 6a1f295 - Merge pull request #484 from rroohhh/master Remove mention of OpenCL kernels
<_whitenotifier-7> [scopehal-apps] azonenberg closed pull request #484: Remove mention of OpenCL kernels - https://github.com/glscopeclient/scopehal-apps/pull/484
<_whitenotifier-7> [scopehal-apps] Johnsel commented on issue #470: Windows CI build is broken despite finding Vulkan SDK - https://github.com/glscopeclient/scopehal-apps/issues/470#issuecomment-1237221227
Johnsel has quit [Ping timeout: 252 seconds]
Johnsel has joined #scopehal
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #scopehal
CobaltBlue has joined #scopehal
CobaltBlue has quit [Quit: Do not go gentle into that good night.]
anuejn has joined #scopehal