Code Monkey home page Code Monkey logo

Comments (21)

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024 3

It's worth noting what I wrote at imgui-rs/imgui-rs#582 (comment). To fix #323 we will be switching in the new year to @lucasmerlin's egui_skia, OpenGL by default, with Vulkan optionally, across all GUI MFEK modules like this one.

That might fix this; in my tests so far it does. It also might not. But @jakeisnt the core GUI rendering has such large planned changes I don't think it's worth fixing this issue unless it's through the planned upgrade path. :-)

from glif.

eliheuer avatar eliheuer commented on May 27, 2024 2

I just tested this on an Intel mac on macOS 11 and still get the same stretching.

I think from a UI/UX perspective it is a major issue, but I'm a UI snob I guess.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024 1

Also if Seth has no time @eliheuer can test with me just as well. I could not find an affordable macOS virtualization service with GPU support so have not been able to determine another way to test, and the Foundation is (I am) naturally quite against the idea of purchasing an Apple computer to do local testing.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024 1

I have determined the fastest way to fixing Mac issues is for me to just use someone else's Mac PC and try a bunch of things until I fix it.

Thanks for showing me the issue, it's just as weird as I thought. For sure @Subject38 and I would have noticed this. So, I can't really fix it until someone has time to dedicate to a remote session.

Because I also tried with @Subject38 to just send patches I thought might work in the past and it was a ton of useless work for both of us, in terms of patch management, copying, pasting, it not working, me getting back a video, etc.

from glif.

Subject38 avatar Subject38 commented on May 27, 2024 1
sub38@fear ~ % vulkaninfo | grep Version
WARNING: [MoltenVK] Code 0 : Unrecognized CreateInstance->pCreateInfo->pApplicationInfo->apiVersion number (0x004020c6). Assuming MoltenVK 1.1 version.
Vulkan Instance Version: 1.2.198

Looks like version 1.2.198.
I never updated after initially installing so that's likely why...

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

Uh oh. How do we think this happened @Subject38? Might you have time to test with me via TeamViewer again some time soon?

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

Did I split the scale into (x,y) components and forget a min()? That's my first thought but I think we would have caught it so it might be more Apple fuckery, they cannot seem to keep their API's straight.

from glif.

eliheuer avatar eliheuer commented on May 27, 2024

@ctrlcctrlv It is a bit hard to see what is going on in just a screenshot, so I made a YouTube video showing the bug here: https://www.youtube.com/watch?v=VzSWypCgkdQ

This is on a 2020 Apple M1 Mac Mini, macOS 11.6.5.

from glif.

eliheuer avatar eliheuer commented on May 27, 2024

I just tested on Arch Linux and was able to resize the window without any stretching of the UI, video example here: https://www.youtube.com/watch?v=ZmyjAzNq7hs

So this is a MacOS bug, happy to help look into this, I'll see if I get the same thing on a older Intel non-M1 mac next.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

Humorous new tag:

image

from glif.

eliheuer avatar eliheuer commented on May 27, 2024

I updated to macOS 12.5.1 tonight and I still get the same stretching when resizing the window. So macOS 11 was not the problem.

from glif.

Subject38 avatar Subject38 commented on May 27, 2024

Just tested on my local machine and I can confirm this issue exists. I feel like I might have noticed it before but didn't realise it was a big issue since after resizing all the UI elements go back to normal. I'm honestly not entirely sure what might be causing this behavior in the first place...
Currently running 12.5 btw

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

after resizing all the UI elements go back to normal

Oh so this isn't even that big a deal but @Subject38 there's a bigger problem

I'm glad I tried to do a full build again on @t0lva's PC because I literally was on the phone w/her for an hour trying to build and it kept erroring out and it turns out we're blocked on aclysma/skulpin#108 (comment) for new VulkanSDK versions

What VulkanSDK do you have?

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

(That's @t01va not @t0lva.)

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

(Housekeeping: I'm downgrading this bug to minor and making a new one for the VulkanSDK update issue.)

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

Thank you that jives perfectly w/@eliheuer's experience. I opened #323 for the SDK issue.

For the resizing...it's basically #295. Sorry I just don't think it's a big deal but of course it's still a bug so I'm leaving it open.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

@eliheuer I agree it looks really wonky and ugly (same with the blackout effect that happens on Linux). I'll be really honest, I just don't know how to fix it. Like there are callbacks and Vulkan something or other going on here, it's all wrapped up with Skulpin's Vulkan renderer in general and I am just as likely to make it worse as make it better.

@MatthewBlanchard is usually our 3D expert but he's been a bit MIA of late so if he doesn't fix it I don't know when/if it will be, and personally I don't see it as a major problem compared to all the other ones, so that's why I've tagged it low-priority. That doesn't mean it needs to be low priority for you or anyone else including Matt, the tags just reflect my thinking as this project's maintainer. Anyone else is free to pitch in. :-)

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

This issue has been merged with, and supersedes, #295.

from glif.

jakeisnt avatar jakeisnt commented on May 27, 2024

By the blackout effect, are y'all referring to the flickering/resetting effect that I receive? Screen recording to demonstrate the behavior on my system (Linux/NixOS/Wayland, using native Wayland, not XWayland). I don't see any scaling here.

Wondering if this is somewhere upstream rather than an issue here - cross-platform WM abstractions are tricky to get right. I'll keep playing around.

from glif.

ctrlcctrlv avatar ctrlcctrlv commented on May 27, 2024

Yes, the issues are one and the same and have the same root upstream cause.

from glif.

eliheuer avatar eliheuer commented on May 27, 2024

I'm very happy to hear about egui_skia and the big changes to the GUI rendering. Thanks!

from glif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.