azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 276 seconds]
Degi has joined #scopehal
<d1b2> <vipqualitypost> is this a known issue? this is my first time building on linux (build instructions are perfect from a clean install btw), it's not a hidpi screen but is wide (3440x1440)
<d1b2> <vipqualitypost> oh wait it's worse, lol. Moving in other direction crushes text
<d1b2> <azonenberg> please file a bug
<d1b2> <azonenberg> We recently fixed some issues around resize causing vulkan problems on macos and there may have been regressions or new bugs introduced
<d1b2> <azonenberg> give as much detail as you can about distro, window manager, etc
<d1b2> <azonenberg> also @lainpants ^ this is probably related to your recent resize work
<d1b2> <azonenberg> @vipqualitypost most likely something is going wrong during the resize handler, i may be sending you a test build with some additional logging or something
<d1b2> <azonenberg> honestly resize is a sufficiently non-hot path i should probably add some more LogTrace() calls there all the time that can be turned on as needed. Give me a few mins and i'll see what i can do there...
<_whitenotifier> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/ngscopeclient/scopehal-apps/compare/80e9e0dfd96d...ae7506f34b20
<_whitenotifier> [scopehal-apps] azonenberg ae7506f - Added more logging to UpdateFramebuffer
<d1b2> <azonenberg> @vipqualitypost please pull latest and run with --debug --trace VulkanWindow
<_whitenotifier> [scopehal-apps] VIPQualityPost opened issue #824: Window scaling calculated improperly - https://github.com/ngscopeclient/scopehal-apps/issues/824
<d1b2> <vipqualitypost> Didn't seem to help, sorry. I did attach the log to the issue.
<d1b2> <azonenberg> yeah it wasn't a fix just more debug logs
<d1b2> <azonenberg> to better understand the problem
<d1b2> <azonenberg> ah ok this is wayland not x11
<d1b2> <azonenberg> not an environment many (any?) of the main devs test on
<d1b2> <azonenberg> i know some folks have got it running under wayland successfully but clearly there's bugs
<d1b2> <azonenberg> ok so fundamentally the problem is that VulkanWindow::UpdateFramebuffer is not being called at all during the resize
<d1b2> <azonenberg> let me see if i can figure out why that might be
<_whitenotifier> [scopehal-apps] azonenberg commented on issue #824: Window scaling calculated improperly - https://github.com/ngscopeclient/scopehal-apps/issues/824#issuecomment-2745421976
<d1b2> <azonenberg> @lainpants ^
<d1b2> <vipqualitypost> oh, i actually had not realized that mainline ubuntu was shipping wayland!
<d1b2> <azonenberg> yeah. anyway, as a short term workaround / troubleshooting mecahnism try seeing if you can run under x11 (or xwayland?)
<d1b2> <azonenberg> regardless of whether it fixes the problem or not, it'll be useful data
<d1b2> <azonenberg> i'm pretty sure resize used to work under wayland
<d1b2> <azonenberg> so my guess is when we fixed it on macos we broke it there :p
<d1b2> <azonenberg> yay portability
<d1b2> <vipqualitypost> GDK_BACKEND=x11 ngscopeclient is this all I need to do? It open the application but I lose all the handles to move/resize windows 😄
<d1b2> <azonenberg> I dont know wayland at all, can't comment on how to run under x11. what i can say is, we do not use GDK directly for windowing
<d1b2> <azonenberg> so unless some other code uses that env var it won't touch us
<d1b2> <azonenberg> (the one exception being the file chooser dialog if you have the native/GTK one selected)
<d1b2> <vipqualitypost> no worries
<d1b2> <vipqualitypost> thanks for looking into it
balrog has quit [Ping timeout: 268 seconds]
balrog has joined #scopehal