blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

Random Freezes

Open Luke100000 opened this issue 1 year ago • 8 comments

What are you trying to do, and what do you expect to happen?

Editing and moving camera around.

What happens instead?

Randomly the program freezes and recovers after a few seconds to minutes. I did not found a specific pattern yet, it appears to happen when rotation around using middle click. If it happened once, it will happen more frequently later on until restart.

While it sound similar as #1791 its not crashing, it always recovers. It affects the whole program, not just the viewport.

Memory at 180 MB, CPU btw always stuck at a full single core when visible, but I assume VSync here.

Console does not mention anything except once at startup:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
APPIMAGE env is not defined, current application is not an AppImage

Installed blockbench-bin from the AUR.

I know that this is quite vague but happens quite frequent and would like to help. Are there verbosity settings or things I can try to track it further down?

Model format in which the issue occurs

Minecraft Item

Blockbench variant

Program

Blockbench version

4.7.4-1 and 4.8.1-1

Operating System

Manjaro Arch Linux

Installed Blockbench plugins

none

Luke100000 avatar Aug 17 '23 12:08 Luke100000

Do you use NVidia by any chance?

Similar thing happens to me. Blockbench freezes after I open file save dialog, save the model, and then try to rotate or move the camera. It doesn't happen always, but quite often.

This is what I always see in dmesg at the moment of freezing:

[drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership

Debian 11, latest BB installed from the official deb file.

yaetuz avatar Sep 15 '23 19:09 yaetuz

Sorry for the slow response.

Yes, you are right, I use NVidia. I can now reproduce this issue reliable by:

  1. Create new model
  2. Save model
  3. Rotate using mouse
  4. Freeze once I release mouse key

It does not happen when saving again.

Dmesg does not report anything for me.

However recent updates of, I assume, NVidia drivers caused the viewport to not render at all so now its time to just use the web app instead. Which btw works fine so far.

If I have the browser with Blockbench open as well, and the desktop app freezes, it freezes the whole browser as well (Entire process-tree, all tabs, all windows).

Luke100000 avatar Oct 29 '23 20:10 Luke100000

Flatpak works btw, its a bit more painful to use and causes a set of other issues, but no more freezes.

Luke100000 avatar Jan 14 '24 11:01 Luke100000

Also experiencing this issue

Driver Version: 550.54.14

iam4722202468 avatar Mar 20 '24 16:03 iam4722202468

I have this issue from AUR and on the Appimage

andersmmg avatar May 06 '24 15:05 andersmmg

I can still reliably reproduce it with Blockbench 4.10.3 and nvidia 550.90.07

andersmmg avatar Jun 11 '24 17:06 andersmmg

Same problem with amd graphics (Ubuntu 24.04, no additional amd drivers installed)

gegentan avatar Jun 21 '24 12:06 gegentan

I can still reproduce this on 4.10.3 and nvidia 550.90.07 (Endeavor Os/Arch)

DragonWoven avatar Jun 22 '24 05:06 DragonWoven