azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/azonenberg/scopehal-apps, https://github.com/azonenberg/scopehal, https://github.com/azonenberg/scopehal-docs | Logs: https://freenode.irclog.whitequark.org/scopehal
<yootis> glscopeclient was unable to initialize GLEW and cannot continue. This probably indicates a problem with your graphics card drivers. GLEW error:Unknown error
<yootis> [matt@matt-laptop build]$ src/glscopeclient/glscopeclient --debug myrigol:rigol:lan:192.168.1.137:5555Warning: glscopeclient works best with the OMP_WAIT_POLICY environment variable set to PASSIVEDetecting CPU features... * AVX2 Connecting to SCPI oscilloscope at 192.168.1.137:5555Context: OpenGL 4.6 compatibility profile GL_VENDOR = Intel
<yootis> GL_RENDERER = Mesa Intel(R) HD Graphics 5500 (BDW GT2) GL_VERSION = 4.6 (Core Profile) Mesa 20.1.10 GL_SHADING_LANGUAGE_VERSION = 4.60 Initial GL error code: 0
sorear has quit [Ping timeout: 260 seconds]
<azonenberg> now that is interesting, it failed to initialize GLEW
<azonenberg> didnt even get to the extension checks
sorear has joined #scopehal
<azonenberg> yootis: what version of GLEW are you using? check package manager info
<yootis> glew-devel-2.1.0-6.fc32.x86_64libGLEW-2.1.0-6.fc32.x86_64
<yootis> I have nothing else that uses those, so no idea if they work
<azonenberg> yootis: Try attaching a debugger and breaking on WaveformArea.cpp:518
<azonenberg> see what the value of glewResult is
<yootis> my gdb is rusty, what's easiest way to do that?
<azonenberg> Rebuild with -DCMAKE_BUILD_TYPE=DEBUG added to the cmake command line to enable debug symbols and remove some optimizations
<azonenberg> then
<azonenberg> gdb --args (glscopeclient command line)
<azonenberg> break WaveformArea.cpp:518
<azonenberg> run
<azonenberg> (wait for it to halt)
<azonenberg> print glewResult
<yootis> rebuild is slow, plus I had to install libasan
<yootis> print glewResult
<yootis> $1 = 4
<_whitenotifier-f> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±62] https://git.io/JTbQ6
<_whitenotifier-f> [scopehal-apps] azonenberg 50bc4bc - Updated header comments. Fixes #153.
<_whitenotifier-f> [scopehal-apps] azonenberg closed issue #153: Rewrite header comments to say "scopehal-apps" and not "Antikernel" - https://git.io/JJ2f8
<azonenberg> yootis: That's GLEW_ERROR_NO_GLX_DISPLAY, interesting
<azonenberg> are you using wayland or x11?
<monochroma> echo $DISPLAY
<yootis> defaults to Wayland
<yootis> $ echo $WAYLAND_DISPLAY wayland-0
<azonenberg> yootis: is there a package glew-wayland on fedora?
<azonenberg> or glew-wayland-devel i guess
<azonenberg> if so, install that rather than the glew-devel package which apparently only works on x11
<azonenberg> i think you're our first wayland user so this is good to know
<yootis> don't think so. I can try to switch to regular X to see if it helps
<azonenberg> ah yes
<monochroma> wayland is still a mess >.<
<yootis> ok, be back in a bit
yootis has quit [Remote host closed the connection]
yootis has joined #scopehal
<yootis> ok, regular X works
<_whitenotifier-f> [scopehal-apps] azonenberg labeled issue #277: glscopeclient fails to run on Fedora under Wayland due to GLEW init failure - https://git.io/JTb7R
<_whitenotifier-f> [scopehal-apps] azonenberg opened issue #277: glscopeclient fails to run on Fedora under Wayland due to GLEW init failure - https://git.io/JTb7R
<_whitenotifier-f> [scopehal-apps] azonenberg labeled issue #277: glscopeclient fails to run on Fedora under Wayland due to GLEW init failure - https://git.io/JTb7R
<azonenberg> yootis: great. Play around and enjoy, let us know if you have any other troubles
yootis has quit [Ping timeout: 245 seconds]
Degi has quit [Ping timeout: 264 seconds]
Degi has joined #scopehal
<_whitenotifier-f> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±4] https://git.io/JTbpU
<_whitenotifier-f> [scopehal] azonenberg d43457a - TektronixOscilloscope: implemented slew rate triggering. Fixes #321.
<_whitenotifier-f> [scopehal] azonenberg closed issue #321: Tek MSO5/6 slew rate triggers - https://git.io/JTVQ7
Pretzel4Ever has joined #scopehal
Pretzel4Life has quit [Ping timeout: 240 seconds]
<_whitenotifier-f> [scopehal-apps] azonenberg pushed 3 commits to master [+8/-4/±1] https://git.io/JTbhj
<_whitenotifier-f> [scopehal-apps] azonenberg 58682c3 - Deleted unused legacy icons
<_whitenotifier-f> [scopehal-apps] azonenberg c9a592f - Added 48x48 renders of toolbar icons. Still need preference to actually use them. See #131.
<_whitenotifier-f> [scopehal-apps] azonenberg 5404e93 - Updated scopehal
<_whitenotifier-f> [scopehal-apps] azonenberg commented on issue #146: glscopeclient hangs on Rigol MSO5000 - https://git.io/JTNvc
<_whitenotifier-f> [scopehal-apps] azonenberg closed issue #146: glscopeclient hangs on Rigol MSO5000 - https://git.io/JJnRZ
<_whitenotifier-f> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://git.io/JTNf0
<_whitenotifier-f> [scopehal-apps] azonenberg ea54862 - Implemented preference for toolbar icon size. Fixes #131.
<_whitenotifier-f> [scopehal-apps] azonenberg closed issue #131: Add 48x48 renders of toolbar icons, and preference setting to use 24x24 or 48x48 - https://git.io/JJqpP
<_whitenotifier-f> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://git.io/JTNfA
<_whitenotifier-f> [scopehal-apps] azonenberg e4a181c - Added preference for toolbar icon style. Fixes #132.
<_whitenotifier-f> [scopehal-apps] azonenberg closed issue #132: Add preference for toolbar style (icons, text, both) - https://git.io/JJqpx
<azonenberg> https://www.antikernel.net/temp/toolbar-prefs.png lain monochroma how's this look?
<azonenberg> Default will remain 24x24 icons without text but now you can pick 24x24 or 48x48 and text, icons, or both
<lain> looks very scope-like
<azonenberg> I may even add a 64x64 or 96x96 option in the future to allow big chonky icons on hi-dpi screens if there's demand. the source files are SVG so it's just a matter of adding a one-line addition to the preferences file
<lain> nice icons
<azonenberg> and re-rendering the svgs at arbitrary scales
<azonenberg> If we ever want to target touchscreen deployments, i think that will make sense
<lain> yeah
<azonenberg> as you can see, now that katharina has most of the core of the prefs system working i'm going through and adding switches to configure all kinds of things
<azonenberg> Should the color ramp used for eye patterns be a preference?
<azonenberg> right now it's a separate menu
<azonenberg> and it doesnt persist
<azonenberg> closely related: is there any reason why we would want to allow different color ramps on different types of persistence map?
<azonenberg> i.e. having two eyes using different ramps simultaneously, or say an eye and a waterfall using different ramps
<azonenberg> or is it reasonable to have the choice of ramp be a global preference, that you can change at any time but is the same across the whole application?
electronic_eel has quit [Ping timeout: 260 seconds]
electronic_eel has joined #scopehal
<azonenberg> So i just did some additional VNA measurements of the AKL-PT1 v1.3 after some fine tuning of my de-embed model
<azonenberg> it looks like i've got substantial peaking around 4.5-6 GHz, likely from the tip resonance
juli966 has joined #scopehal
<azonenberg> So, i re-measured the pico 921 probe with the second ground lead installed
<azonenberg> apparently this substantially improves performance past ~2 GHz
<azonenberg> Between that, and more accurately de-embedding the test fixture which had about 0.8 dB of loss at 6 GHz, the pico probe is looking a fair bit better
<azonenberg> it has 2 dB of peaking around 3 GHz then starts falling off
<azonenberg> lain: ^
<azonenberg> my probe is looking worse, the fixture loss was hiding my 5 GHz peaking
<azonenberg> So i think that filter i added to null out the tip resonance is actually too weak. I just couldn't tell because i wasn't correcting for fixture losses sufficiently
<azonenberg> It's still not TOO bad, i can totally de-embed this
andresmanelli has joined #scopehal
<andresmanelli> Hey azonenberg, scopehal's looking good :)
<bvernoux1> nice
<andresmanelli> A question: it would be possible to add support for a custom device, that for example sends CAN frames directly ? (Or any other BUS frames)
electronic_eel has quit [Ping timeout: 240 seconds]
electronic_eel has joined #scopehal
katharinawork has joined #scopehal
katharinawork has left #scopehal [#scopehal]
Katharina_ has joined #scopehal
<Katharina_> o/
_whitelogger has joined #scopehal
Katharina_ has quit [Quit: Leaving]
bvernoux1 has quit [Quit: Leaving]
bvernoux has joined #scopehal
<azonenberg> andresmanelli: Yes
<azonenberg> in theory it should be possible to create a scopehal device that outputs any kind of waveform you want
<azonenberg> Custom protocol frame rendering might take a little bit of work because right now the logic for turning a CANWaveform into text is part of CANDecoder
<azonenberg> but i am open to architecture tweaks to make that easier
Pretzel4Ever has quit [Quit: ZNC 1.7.5 - https://znc.in]
Pretzel4Ever has joined #scopehal
<azonenberg> Bird|otherbox: ping
juli966 has quit [Quit: Nettalk6 - www.ntalk.de]
balrog has quit [Ping timeout: 240 seconds]
balrog has joined #scopehal
balrog has quit [Ping timeout: 246 seconds]
balrog has joined #scopehal
<_whitenotifier-f> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±7] https://git.io/JTAsM
<_whitenotifier-f> [scopehal-apps] azonenberg 7734e6a - Added preferences for timeline and waveform area fonts. Fixes #228.
<_whitenotifier-f> [scopehal-apps] azonenberg 99e321e - Removed test font preference since we have plenty of real ones to test with now
<_whitenotifier-f> [scopehal-apps] azonenberg closed issue #228: Add preference for WaveformArea::m_*Font - https://git.io/JTkqX
<_whitenotifier-f> [scopehal-apps] azonenberg commented on issue #270: Font size text in font-chooser dialog is dark color and almost unreadable - https://git.io/JTAGo
balrog has quit [Ping timeout: 264 seconds]
andresmanelli has quit [Quit: leaving]
balrog has joined #scopehal
balrog has quit [Remote host closed the connection]
balrog has joined #scopehal
bvernoux has quit [Quit: Leaving]
<Bird|otherbox> azonenberg: pong. let me get on latest master and see about pushing up a new branch with the compiled-in ASAN suppression
<azonenberg> Bird|otherbox: I was about to ask if you had fixed it
<azonenberg> sounds like you have?
<Bird|otherbox> I have a pretty good idea as to what to try
<azonenberg> Great
<azonenberg> Keep me posted
Pretzel4Ever has quit [Quit: ZNC 1.7.5 - https://znc.in]