Closed abique closed 8 months ago
That's not good :(. Are there animations running? Are you using X11 or Wayland? Could you try with the master branch from git?
It is on Wayland, I have one image that I rotate continuously, but I think even without it the problem shows up.
That's not good :(. Are there animations running? Are you using X11 or Wayland? Could you try with the master branch from git?
How to tell cargo to use slint's git branch?
I've switched to skia and it works fine now.
That's not good :(. Are there animations running? Are you using X11 or Wayland? Could you try with the master branch from git?
How to tell cargo to use slint's git branch?
Something like this:
slint = { version = "1.4.0", git = "https://github.com/slint-ui/slint", branch = "master" }
(and the same for slint-build if you're using that)
The FemtoVG renderer isn't thaaat crazy in what it does, but it's a little heavy on the fragment shader side. Perhaps this triggers a bad code path in the nouveau drivers :(. If it works well with Skia, then I'm not sure that there's much that we can do in Slint itself :-(.
Unless something actionable surfaces, I'll close this for now. Would be nice to switch to a different default renderer in the future.
@tronical I think I'm happy with skia :+1:
Do you want me to give a try to the master branch or it isn't needed?
If you have time, that would be greatly appreciated :)
OK
On the first run only, gnome said that the window isn't responding for a while. This is maybe related to a shader cache? Could it be that the 1.3.2 version did overflow the shader cache and needed to recompute everything all the time?
Then on every run, the linear gradient is incorrectly rendered. I get this on the console:
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
While it seems to work a bit better, it stills blows the cpu in llvm pipe even if nothing happens and nothing needs to be redrawn.
Hi,
I can observe that llvm-pipe's thread pool is blasting my cpu for not doing much actually while all my gnome desktop is smooth.
I'm compiling slint with:
I wonder if there are some problems in femtovg maybe?