Coder Social home page Coder Social logo

Comments (6)

birdddev avatar birdddev commented on June 26, 2024 1

Glad I could help with this super niche issue lmao, it does also narrow down where it could lie, so thanks for the report.

There is another issue to look out for, when drag n dropping images from within different parts of the program running the Wayland backend, it will hang/crash unless something has a proper consumer for the drop.

Every electron app I've used has had awful drag n dropping on Wayland though tbh, at least on KDE. I haven't tested anything else. They seem to stop accepting inputs unless you drag another file and then drag it back out, really annoying with Discord and when I was using comfy with chromium app mode. I just copy and paste whenever possible now, lmao.

from cushystudio.

birdddev avatar birdddev commented on June 26, 2024

Are you running KDE Wayland? I've had a similar bug for a while where it will only want to launch when electron is running through their Wayland backend. The start-dev script passes an environment variable to make it launch through the Wayland backend if you want to copy it to the normal start script and try that.
No one else running Wayland was having this issue it seemed, so I assumed my everything was just too unstable.
Do you have an amd gpu, also?

from cushystudio.

ProtoBelisarius avatar ProtoBelisarius commented on June 26, 2024

Yes to both, I'm running KDE 6 on EndeavourOS with an RX 6800XT.

from cushystudio.

ProtoBelisarius avatar ProtoBelisarius commented on June 26, 2024

And yes, it does start successfully when using ./_mac-linux-start-dev.sh
Which environment variable are you referring to?

from cushystudio.

birdddev avatar birdddev commented on June 26, 2024

ELECTRON_OZONE_PLATFORM_HINT=auto
I think possibly during the explicit sync craze, something got bugged out for amd gpus. As when I do screenshares now, people tell me that it stutters like how the nvidia gpu's would render frames out of order pre-explicit sync.
but I haven't tested any of this, it could also be anywhere in the chain though. No idea how to begin debugging it and it probably isn't even because of us since it seems to work for others fine. But it's also weird, I don't think any other electron app running through the x11 backend has this issue. 😔

from cushystudio.

ProtoBelisarius avatar ProtoBelisarius commented on June 26, 2024

Thank you very much.

And yea, this does seem really weird. I generally don't have any problems with wayland, only for GIMP on wayland, where dragging in images causes a total crash. But well, GIMP problems, my fault for trying to use this train wreck.

from cushystudio.

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.