mart

Hi guys!
I have a problem with creating bones - it is somewhat laggy. Changing existing bones is OK (changing size or rotation). This is true even for a new project with the very first bone.

I can't embed YouTube video here, so just attached video how it looks (MP4).

My system:
Spine 3.8.04-beta (several earlier versions behaving the same).
OS: Xubuntu 18.04 64 bit
Memory: 12GB
Videocard: Nvidia GeForce GTX 750 Ti 2GB, driver version 390.116
CPU: Athlon II X4 640
- no other applications in background, no antivirus software active.

I have no idea is this a bug or something. Please, help! Really annoying thing :(
У вас нет необходимых прав для просмотра вложений в этом сообщении.
mart
  • Сообщения: 19

Harald

Hello! Unfortunately the zip package you have attached is broken, the video contained therein is only 800KB in size. Could you please re-post the video?
Аватара пользователя
Harald

Harri
  • Сообщения: 1054

mart

Harald писал(а):Hello! Unfortunately the zip package you have attached is broken, the video contained therein is only 800KB in size. Could you please re-post the video?
Strange. I downloaded it from here back and it is OK. Uploaded second one. I can compress it with gz or bz if it will not unpacking again.
mart
  • Сообщения: 19

Harald

Thanks for the re-upload. I just noticed that vlc player plays both of them back correctly, was a problem on my side, sorry.

---

Your problem is indeed very strange, we have not encountered something like this before.

Did you change any of the default settings?

What is the Images Path pointing to in your project? Do you have the Limit Scanning setting enabled?
ImagesLimitScanning.png
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Аватара пользователя
Harald

Harri
  • Сообщения: 1054

Nate

This is super bizarre because very, very little is happening when dragging a new bone. We looked through it, but can't see anything that would cause this.

I suppose you could try resetting you Spine settings to the defaults.
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Thank you for looking into this, guys!
Harald писал(а):Thanks for the re-upload. I just noticed that vlc player plays both of them back correctly, was a problem on my side, sorry.
Oh, never mind. I should have mentioned that I'm using vlc.

I resetted settings to defaults. Limit scanning is on and Images path is <project>. Still no luck.

Does Spine uses its own JRE, if any? I have these packages installed. Maybe need to uninstall them:
У вас нет необходимых прав для просмотра вложений в этом сообщении.
mart
  • Сообщения: 19

Nate

Spine uses it's own JRE, so the system JREs won't affect it. Could it be possible somehow that software video drivers are getting used? Though that wouldn't explain why only the Create bone tool is slow. :wounded: Can you post your spine.log? It's at ~/.spine/spine.log.
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Proprietary drivers used.

Here's spine.log. Nothing unusual I suppose:
--------------------------------------
Spine Launcher 3.7.81
Esoteric Software LLC (C) 2013-2019
Linux amd64 4.15.0-47-generic
Up to date: Spine 3.8.04-beta
Spine 3.8.04-beta Professional
Licensed to: < don't want this to be visible to some accidental spammer or worse ;) >
NVIDIA Corporation, GeForce GTX 750 Ti/PCIe/SSE2, 4.6.0 NVIDIA 390.116
OpenAL 1.1, Default audio device
Started.
--------------------------------------

Let's wait about 2 weeks. I'm planning to upgrade to Xubuntu 19.04 (scheduled April, 18). Maybe problem will go away on its own if it's some OS tricks.
mart
  • Сообщения: 19

Nate

Thanks (the forum would have redacted your info :)). OK, if you're still having trouble the, let us know and we'll try to come up with something to work out what is happening. :nerd:
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Still no luck with fresh Xubuntu 19.04... :(
mart
  • Сообщения: 19

Nate

Is it only the bone Create tool that is sluggish? Did you try rotate, translate, scale, etc in both setup and animate mode? Is animation playback in animate mode sluggish? You can turn on an FPS counter in the settings (which is shown in the title bar during playback).

You could try starting Spine with --disable-audio (eg modify Spine.sh), at least to eliminate audio as the culprit (even though that is unlikely). You could also try a higher or lower number for -Xmx1024M, which is the max memory Spine will use.

You could try the 32-bit or 64-bit Linux version, whichever is opposite what you have tried so far.

Maybe something above will help us with some clues.
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Only bone Create tool is sluggish. Transformations in setup and animate mode is OK. Animation playback also smooth. FPS counter shows ~60 (59-61).

Tried without success:
- disabling audio
- Xmx512M / Xmx4096M
- 32 / 64 bit Linux
- other distributions (Lubuntu and Manjaro)
- WINE (Somewhat better when creating bones but sluggish in general. Not an option, of course.)

This problem doesn't exist under Windows (Windows 7, 64 bit, same PC). But I don't use Windows for many years (very rarely for several games).

What Linux distribution used for testing Spine? I'd better switch to other Linux (or die) than return to Windows.
mart
  • Сообщения: 19

Nate

Damn, I was hoping we'd have some luck.

I would never suggest to a Linux person to switch to Windows! :nerd: I use Lubuntu in VirtualBox for most Linux testing. Even in a VM I'm not seeing lag when dragging a new bone with the Create tool. If it's something GPU or otherwise hardware specific, changing distros may not help.

It's hard to tell from your video, if you move the mouse and then stop and don't move it at all, does the new bone catch up, or does it freeze some distance away? If it freezes some distance away, it could be that Spine isn't getting all the mouse events for some reason.

Tracing through everything that happens with the Create tool, we found some work that could be avoided and made some changes for 3.8.07-beta.

Can you try this: enable bone compensation by clicking Bones in the Compensate group on the main toolbar, then try the Create tool. If that improves things then likely it is fixed in 3.8.07-beta.
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Nate писал(а):Can you try this: enable bone compensation by clicking Bones in the Compensate group on the main toolbar, then try the Create tool. If that improves things then likely it is fixed in 3.8.07-beta.
Yes!!! This is it! When bone compensation is enabled creating bones is smooth! :happy:
Nate писал(а):I would never suggest to a Linux person to switch to Windows! :nerd:
Oh, sorry! I just felt you put so much time into this that this can be the only thing that remains.
Nate писал(а):I use Lubuntu in VirtualBox for most Linux testing. Even in a VM I'm not seeing lag when dragging a new bone with the Create tool. If it's something GPU or otherwise hardware specific, changing distros may not help.
Interesting. Something with my drivers probably, though I tried several versions (nVidia 340.x, 390.x, 418.x and nouveau). Hardware seems OK since it works in Windows flawlessly.

Waiting for 3.8.07 now.
Thank you very very much, Nate! Sorry for all that hard work I put on you!
mart
  • Сообщения: 19

Nate

Great! I'm super glad that was it, as we had run out of ideas. :wounded: I'm happy to go through a bit of pain when we kill the bug in the end! 8)
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

God bless you!

---

Sad to say, nasty thing returned in 3.8.08 (now even when bone compensation is enabled). In 3.8.07 and 3.7.93 all is OK.
mart
  • Сообщения: 19

Nate

Ah, the rabbit hole goes deeper! Turns out there is a similar problem triggered indirectly... should be fixed in 3.7.94 and 3.8.09. Please let us know if you see any other slowness! We've gotten good at tracking it down now (assuming it's the same cause). :)
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

Yeah! A common case in my line of work. :)
У вас нет необходимых прав для просмотра вложений в этом сообщении.
mart
  • Сообщения: 19

Nate

It's beautiful! 8)

Can you please check that the problem is gone in 3.8.09-beta?
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

I don't know what you did in 3.8.09, but it became just perfect. Ten times better than it was after first optimization! :clap: :clap: :clap:
Thank you very much once again!

---

Nate писал(а):It's beautiful! 8)
It was not about pictures (and of course not about bunny punishing). It was about bug hunting.
Seems it's ugly enough to be misunderstood.
mart
  • Сообщения: 19

Nate

What I wonder is if the holes are from the hammer, or from the bunny. Err, bug.
Аватара пользователя
Nate

Nate
  • Сообщения: 9264

mart

From the mole, as I thought before. :D But your question turned it into a complicated philosophical issue for me. :confused:
mart
  • Сообщения: 19


Вернуться в Bugs