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
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #scopehal
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+2/-0/Β±8] https://github.com/glscopeclient/scopehal-apps/compare/09bbe3e9fb8a...4e85455798dc
<_whitenotifier-7> [scopehal-apps] azonenberg 4e85455 - Initial work on triggering
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/Β±2] https://github.com/glscopeclient/scopehal-apps/compare/4e85455798dc...a39c2aae1789
<_whitenotifier-7> [scopehal-apps] azonenberg a39c2aa - Fix potential hang during session destruction
<azonenberg> We can now trigger and acquire data from a scope. It doesn't go anywhere as there's no way to create filters, there's no history, and there's no rendering
<azonenberg> but it does stuff. Data from the picoscope piles up even when we're popping waveforms at 60 FPS
<azonenberg> i'm going to add some metrics and stats collection shortly so we can see exactly how fast we can pull data
<azonenberg> But most important is that profiling shows the main thread barely doing anything. which is exactly what we want, to keep things nice and responsive
<azonenberg> ScopeThread is where most of the activity is. This is not surprising because it's downloading the waveforms
<azonenberg> also of note is that we're burning a ton of CPU time (relatively speaking) in vulkan memory allocations
<azonenberg> because we're currently discarding memory each trigger
<azonenberg> instead of pushing the old waveforms into history then recycling the buffers back into the scope
<azonenberg> Which is what we do in glscoepclient ,but there's no history system in ngscopeclient to do that yet
<azonenberg> not a big deal, it's a known inefficiency that we have a solution for which just isn't implemented
<_whitenotifier-7> [scopehal] bvernoux commented on issue #690: VulkanInit: detect valid memory types for textures and only allocate textures from those types - https://github.com/glscopeclient/scopehal/issues/690#issuecomment-1251858246
massi has joined #scopehal
asy_ has quit [Ping timeout: 260 seconds]
agg has quit [Ping timeout: 268 seconds]
mikolajw has quit [*.net *.split]
jevinskie[m] has quit [*.net *.split]
lain has quit [*.net *.split]
miek has quit [*.net *.split]
JSharp has quit [*.net *.split]
lethalbit has quit [*.net *.split]
t4nk_fn has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
sorear has quit [*.net *.split]
josuah has quit [*.net *.split]
electronic_eel has quit [*.net *.split]
ericonr has quit [*.net *.split]
octorian has quit [*.net *.split]
Degi has quit [*.net *.split]
benishor has quit [*.net *.split]
Yamakaja has quit [*.net *.split]
monochroma has quit [*.net *.split]
Bird|otherbox has quit [*.net *.split]
whitequark has quit [*.net *.split]
bgamari has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
esden has quit [*.net *.split]
tnt has quit [*.net *.split]
vup has quit [*.net *.split]
anuejn has quit [*.net *.split]
_florent_ has quit [*.net *.split]
elms has quit [*.net *.split]
welterde has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
florolf has quit [*.net *.split]
mxshift has quit [*.net *.split]
sajattack[m] has quit [*.net *.split]
Stary has quit [*.net *.split]
d1b2 has quit [*.net *.split]
Stephie has quit [*.net *.split]
asy_ has joined #scopehal
josuah has joined #scopehal
Degi has joined #scopehal
jevinskie[m] has joined #scopehal
whitequark has joined #scopehal
mikolajw has joined #scopehal
Bird|otherbox has joined #scopehal
monochroma has joined #scopehal
Fridtjof has joined #scopehal
Yamakaja has joined #scopehal
mxshift has joined #scopehal
florolf has joined #scopehal
kbeckmann has joined #scopehal
welterde has joined #scopehal
Stary has joined #scopehal
elms has joined #scopehal
Stephie has joined #scopehal
benishor has joined #scopehal
lethalbit has joined #scopehal
gruetzkopf has joined #scopehal
octorian has joined #scopehal
sorear has joined #scopehal
ericonr has joined #scopehal
anuejn has joined #scopehal
d1b2 has joined #scopehal
electronic_eel has joined #scopehal
bgamari has joined #scopehal
lain has joined #scopehal
t4nk_fn has joined #scopehal
sajattack[m] has joined #scopehal
vup has joined #scopehal
_florent_ has joined #scopehal
tnt has joined #scopehal
esden has joined #scopehal
JSharp has joined #scopehal
miek has joined #scopehal
agg has joined #scopehal
massi has quit [*.net *.split]
darthrake has quit [*.net *.split]
jevinskie[m] has quit [Ping timeout: 250 seconds]
whitequark has quit [Ping timeout: 268 seconds]
sajattack[m] has quit [Ping timeout: 240 seconds]
mikolajw has quit [Ping timeout: 268 seconds]
massi has joined #scopehal
darthrake has joined #scopehal
whitequark has joined #scopehal
jevinskie[m] has joined #scopehal
sajattack[m] has joined #scopehal
mikolajw has joined #scopehal
<d1b2> <azonenberg> @louis added a performance metrics dialog to ngscopeclient
<d1b2> <azonenberg> no fancy graphs at the moment, just live values
<d1b2> <azonenberg> but i think it has the improtant bits
<d1b2> <azonenberg> interesting bit: we're running at 60fps on a 30 Hz monitor
<d1b2> <azonenberg> my 24" 1080p is 60 Hz, but my 43" 4K is only 30 Hz
<d1b2> <david.rysk> 30 Hz is kinda unusual for monitors
<d1b2> <david.rysk> Ahh it might be connected using an interface that can’t do 60
<d1b2> <azonenberg> i think i'm out of link bandwidth. maybe i need dual link or a better DP cable or something
<d1b2> <david.rysk> User experience kinda stinks at 30
<d1b2> <azonenberg> It's actually 29.97
<d1b2> <azonenberg> so it might just be that it has a TV panel inside
<d1b2> <azonenberg> (according to nvidia-settings)
<d1b2> <azonenberg> 4 lanes @ 2.7 Gbps is what it says
<d1b2> <azonenberg> anyway, not a problem for me - i'm fine with 30 Hz update rate and can always move the app to my other display to get 60
<azonenberg> And what's more important is that everything is keeping up just fine with 60 Hz refresh rates and the scope can push even higher
<azonenberg> Looks like about 80 WFM/s if i disable vsync
<azonenberg> and that's without using the memory pool so it's spending a lot of time on expensive reallocations
massi has quit [Remote host closed the connection]
bvernoux has joined #scopehal
<_whitenotifier-7> [scopehal-apps] bvernoux opened pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500
<bvernoux> @azonenberg, I have just fixed a crash with ngscopeclient
<bvernoux> I confirm ngscopeclient work fine
<bvernoux> on Windows10 built with mingw64
<_whitenotifier-7> [scopehal-apps] azonenberg commented on pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500#issuecomment-1252604665
<_whitenotifier-7> [scopehal-apps] bvernoux commented on pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500#issuecomment-1252627305
<bvernoux> azonenberg, the famous m_nickname issue when it is empty is everywhere ;)
<bvernoux> more I fix more I find new ones
<bvernoux> I'm not even sure it is always invalid to have an empty m_nickname ...
<azonenberg> empty nickname should never be allowed
<azonenberg> the fix is to catch it when you connect to the scope
<azonenberg> the connection dialog should reject it
<bvernoux> yes
<d1b2> <ehntoo> Looks like Rigol is hopping on the 12-bit converter train. Wonder what the internal architecture is like. https://www.rigolna.com/news/2022/8764/
<d1b2> <ehntoo> ENOB is only specified at ">8", so...
<bvernoux> yes Rigol ENOB is very low on 8bits down to 5bits
<bvernoux> the lowest on market IIRC
<bvernoux> even down to 4 ENOB for MOS5K at 8GSPS
<d1b2> <ehntoo> Ooh, it has a USB 3 device port.
<bvernoux> yes like Gigabit Ethernet on MSO5K where you cannot push more than 5MBytes/s of waveform ;)
<bvernoux> it is clearly their main issue the SCPI waveform data which is dead slow
<bvernoux> a good things on their new MDO4000 is they have 50Ohm or 1GOhms input selectable
<d1b2> <ehntoo> The SCPI stack on the MSO5K is definitely not optimized for speed. I'm working on that.
<bvernoux> with 10MHz Ref Clock
<bvernoux> MSO5K need a new firmware
<bvernoux> you cannot optimize anything more I tried everything
<bvernoux> lot of latency are in their architecture
<d1b2> <ehntoo> I know. πŸ™‚
<bvernoux> MSO5K have clearly the capability to push 20WFM/s even at 100kpts
<bvernoux> but Rigol do not want to spend time on that
<bvernoux> I was in contact with their R&D in Germany and they promised stuff each 6months
<bvernoux> and at end after more than 1 year they said the main R&D have other priorities
<bvernoux> They even told they have never specified anything related to SCPI waveform data speed
<bvernoux> the question is why to put a Gigabit Ethernet in that case
<bvernoux> as they do not even reach the speed of 100Mbps Ethernet ...
<bvernoux> I'm pretty sure they could have done a quick fix for fast SCPI
<bvernoux> by just locking the UI to have full access to SCPI to retrieve waveform
<bvernoux> as it is clearly full of issue between UI & SCPI
<bvernoux> I suspect some ugly mutexes linked between UI & SCPI to explain why it is so slow to retrieve data
<bvernoux> some buggy mutexes doing timeout ;)
<bvernoux> Anyway their Rigol MSO5K are just the cheapest most advanced scope(when fully unlocked) available for <1KEuros
<bvernoux> Even if the noise floor is quite high we do not use oscilloscope to measure voltage level anyway ;)
<bvernoux> So that use case is not for those cheap scope
<bvernoux> Will be interesting to ask to Chris Armstrong (Director of Rigol USA) what is the speed to retrieve waveform over SCPI with their brand new MDO4000 ;)
<bvernoux> Does they exceed 1WFM/s ;)
<bvernoux> their UI seems different than on MSO5K
<bvernoux> they really need something like ngscopeclient ;)
<bvernoux> they are using Cortex-A72, 1.8 GHz, hexa-core
<bvernoux> with Android
<bvernoux> it is first time I see an Oscilloscope using Android
<bvernoux> with 4GB RAM
<_whitenotifier-7> [scopehal-apps] bvernoux edited a comment on pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500#issuecomment-1252627305
<_whitenotifier-7> [scopehal-apps] bvernoux edited a comment on pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500#issuecomment-1252627305
<_whitenotifier-7> [scopehal-apps] bvernoux synchronize pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500
<_whitenotifier-7> [scopehal-apps] bvernoux edited a comment on pull request #500: Fix crash with WindowSCPIConsoleMenu when SCPIInstruments m_nickname is empty - https://github.com/glscopeclient/scopehal-apps/pull/500#issuecomment-1252627305
<_whitenotifier-7> [scopehal-apps] bvernoux edited pull request #500: Fix crash, use a default nickname for each instrument (if the nickname is empty force user to set a nickname) - https://github.com/glscopeclient/scopehal-apps/pull/500
<_whitenotifier-7> [scopehal-apps] bvernoux edited pull request #500: ngscopeclient Fix crash, use a default nickname for each instrument (if the nickname is empty force user to set a nickname) - https://github.com/glscopeclient/scopehal-apps/pull/500
<_whitenotifier-7> [scopehal-apps] bvernoux edited pull request #500: ngscopeclient Fix crash on empty nickname - https://github.com/glscopeclient/scopehal-apps/pull/500
<_whitenotifier-7> [scopehal-apps] bvernoux edited pull request #500: ngscopeclient Fix crash on Instrument empty nickname - https://github.com/glscopeclient/scopehal-apps/pull/500
bvernoux has quit [Quit: Leaving]
<_whitenotifier-7> [scopehal-apps] karlp commented on issue #144: Add ffts as a submodule - https://github.com/glscopeclient/scopehal-apps/issues/144#issuecomment-1252953281
<_whitenotifier-7> [scopehal-apps] karlp edited a comment on issue #144: Add ffts as a submodule - https://github.com/glscopeclient/scopehal-apps/issues/144#issuecomment-1252953281
<_whitenotifier-7> [scopehal-apps] azonenberg commented on issue #144: Add ffts as a submodule - https://github.com/glscopeclient/scopehal-apps/issues/144#issuecomment-1252968639
<_whitenotifier-7> [scopehal-apps] azonenberg closed issue #144: Add ffts as a submodule - https://github.com/glscopeclient/scopehal-apps/issues/144
<_whitenotifier-7> [scopehal] azonenberg commented on issue #619: FFTS: look into switching from original upstream to a maintained fork - https://github.com/glscopeclient/scopehal/issues/619#issuecomment-1252969149
<_whitenotifier-7> [scopehal] azonenberg closed issue #619: FFTS: look into switching from original upstream to a maintained fork - https://github.com/glscopeclient/scopehal/issues/619
<d1b2> <karlp> so, I'm reading the latest pdf installation notes, and have latest source, and just running cmake at the start fails: https://paste.jvnv.net/view/lch3q lots of warnings about "missing cmakelists.txt" and it doesn't seem skippable?
<d1b2> <karlp> is there something obvious I'm missing?
<miek> sounds like the submodules aren't checked out
<d1b2> <karlp> I've pulled all the submodules, so it's (hopeuflly) not anything that simple
<miek> did you pull them recursively?
<d1b2> <karlp> hrm, I did a git submoduel update --init.
<d1b2> <karlp> let me double check if that went deep enough
<miek> add a --recursive to that :)
<d1b2> <karlp> ok, that does look better now πŸ™‚
<d1b2> <karlp> lets see if this gets further...
<d1b2> <karlp> annnnd it aborts πŸ™‚
<d1b2> <karlp> lol, it crashed gdb too πŸ™‚
<d1b2> <karlp> ok, this obviously needs a different night then.
<azonenberg> karlp: what platform are you testing on?
<d1b2> <karlp> fedora36. I'll look again tomorrow, spent enough time on tech stuff today πŸ™‚
Guest98 has joined #scopehal
<Guest98> Hi. Nice to meet you.
<Guest98> I'm a beginner who uses an oscilloscope as a hobby.
<Guest98> Looking for a way to connect to tds3000b (lan) in glscopeclient.
<Guest98> Cannot connect to tektronix in the menu.
<azonenberg> Guest98: So far the only Tek scopes our driver supports is the modern MSO5/6 series, and possibly MSO2/4 which use a similar command set but AFAIK nobody has tested
<azonenberg> i have no idea if the TDS3000 are at all similar or not
<azonenberg> The programming guide is easy to google up, so if someone wanted to write a driver and had access to a scope it probably wouldn't be too hard to get basic functionality working
<azonenberg> How's your C++?