bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
1.93k stars 267 forks source link

Device monitoring window causes rendering to stutter in other 2D/3D applications when moving the mouse #1950

Open skysyk opened 1 year ago

skysyk commented 1 year ago

Bambu Studio Version

1.6.2.4

Where is the application from?

Bambu Lab Official website

OS version

Windows 11

Additional system information

CPU: AMD Ryzen 5800X3D RAM: 64 GB GPU: NVIDIA RTX 4090

Printer

X1C

How to reproduce

  1. Open Bambu Studio
  2. Switch to the Device tab (the video feed does not need to be active)
  3. Switch to a different 2D/3D rendering application (e.g. osu!)
  4. Moving the mouse results in stutters / frametime spikes in the other application

Actual results

I experience frametime spikes and input lag on the order of once per second when the above steps are followed. In my case, this has happened when playing games such as osu! or Dota 2.

The behavior here is pretty weird and does not occur when Bambu Studio is in any other tab. I do see a 1000 ms timer refresh event in Monitor.cpp, perhaps there is an issue in the way the timer event and wxWidgets are being used that may have negative externalities on other apps?

Expected results

Bambu Studio does not interfere with other applications running in the background or foreground.

Project file & Debug log uploads

Project files do not apply.

Checklist of files to include

Haidiye00 commented 1 year ago

May I ask if this is the download link for OSU https://osu.ppy.sh/home/download

Haidiye00 commented 1 year ago

May I ask if there is any lag phenomenon after turning off the video playback on the device monitoring page

Haidiye00 commented 1 year ago

image 1.Can you provide a peak graph of the local CPU and GPU that were stuck at the time? In the task manager, similar to this。 2.Then, can you help check if the network is stuck? Generally, there is a frame rate or other statistics in the game. Could you please help check? Thank you

Haidiye00 commented 1 year ago

image like this

EricDimitri commented 6 months ago

Hi Guys, I experience this same issue, but it is not related to CPU or GPU, it is related, I think, to page faults. Toulsands of pagefaults per second, even when the Bamnbu Studio is not touched for minutes. Page faul ts keep growing and growing, and that looks weird.

BambulabRobot commented 1 month ago

This issue has been marked as inactive due to no response for 90 days.