Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One thread or core of CPU stops working when MuseScore 4 is running #18636

Open
scilxurkel001 opened this issue Jul 16, 2023 · 7 comments
Open
Assignees
Labels
needs info More information is required before action can be taken P2 Priority: Medium regression Regression on a prior release

Comments

@scilxurkel001
Copy link

Issue type

Other type of issue

Bug description

This issue (or bug) may not be attention by some people because now CPUs have more than 4 cores (or threads), but I got this issue for CPUs less than 4 cores (or threads)
Now the issue is in MuseScore.org (https://musescore.org/en/node/339733) but no useful information was provided there.
As the title suggests, when MuseScore 4 was turned on, one thread (or one core) of CPU seemed to stop working (the usage was less than 5%) no matter what operations or actions you did (for instance, open Microsoft Edge to search the web)

Steps to reproduce

  1. Open Task Manager, turn to "Performance" tab, Right-Click the CPU usage graphs and select "Logic processors"
  2. Open MuseScore 4, and do any operations that uses CPU.
  3. See the usage of CPU, and found one thread less than 5%.

(P.S. : I even disabled all my CPU configtion options, but it's just useless.)

Screenshots/Screen recordings

Previous test video is here:
https://user-images.githubusercontent.com/82962664/225812583-70c9d044-2b51-4797-a548-fa0a9edec492.mp4

Then we did the test again, here is the video:

2023-07-16_15-55-52.mp4

MuseScore Version

MuseScore 4 RC and later version, MuseScore 4.1

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Windows 11 22H2 (22621.1413) and now Windows 10 22H2

Additional context

Now tested CPU: Pentium E5400
Previous test CPU: Intel (R) i5-4200M @2.50GHz (4 Cores)
You can find this issue in:
MuseScore 4.0.0 RC1
MuseScore 4.0.0 Release
MuseScore 4.0.1 Release
MuseScore 4.0.2 Release
MuseScore 4.1 Release
(Unsure for Nightly Version, because I didn't test for it)

Exceptions (In two versions of MuseScore, it's well):

MuseScore 4.0.0 Beta
MuseScore 4.0.0.223391656

The CPU will not return normal until a restart to PC.
This issue is same as https://musescore.org/en/node/339733.
And now it's yet not solved.
If it can't be solved, I cannot use the newer version of MuseScore. PLEASE!!!

@muse-bot muse-bot added needs review The issue needs review to set priority, fix version or change status etc. regression Regression on a prior release labels Jul 16, 2023
@cbjeukendrup cbjeukendrup changed the title Musescore hogs CPU/Thread One thread or core of CPU stops working when MuseScore 4 is running Jul 16, 2023
@bkunda bkunda assigned RomanPudashkin and unassigned bkunda Jul 17, 2023
@bkunda bkunda added needs info More information is required before action can be taken and removed needs review The issue needs review to set priority, fix version or change status etc. labels Jul 17, 2023
@bkunda bkunda added the P2 Priority: Medium label Jul 17, 2023
@scilxurkel001
Copy link
Author

I also found one thing: before (MuseScore 4.0) was CPU 1 stopped, and now (MuseScore 4.1) is CPU 0 stopped. In addition, there was no such problem when testing MuseScore 4.1 on the test platform of Windows 11 22H2 with i5-8900 CPU. That is to say, there is no problem with more modern CPUs and more modern systems. The CPUs that feedback the problem are the older Pentium E5400, i5-2500 and i5-4200M. The Pentium E5400 test platform is equipped with Windows 10 22H2 system. At present, this CPU is not used to test on Windows 11 22H2. The i5-4200M test platform has been handed over to others and can no longer be used for testing

@scilxurkel001
Copy link
Author

The latest test turned out that it's a problem of CPU, not the system.
(The i5 8400 with Windows 10 runs well.)
And forgive me that I misrepresented i5 8400 as i5 8900.

@scilxurkel001
Copy link
Author

Now in Ubuntu 22.04 LTS, this issue disappeared.
So I should install a Ubuntu for it XD

@bkunda bkunda added this to To do in 4.x SHORTLIST via automation Nov 24, 2023
@scilxurkel001
Copy link
Author

scilxurkel001 commented Dec 3, 2023

In response to this problem, I still give a temporary solution to make it easier for other people who encounter this problem to use it temporarily.

First, install the Windows and Ubuntu dual system on the physical machine, or use VMware to install the Ubuntu system. In addition, you also need the MuseScore 4.0 installation package (version 4.0.0.223391656) without this problem. I have a copy here, but only the MSI file. Download link: China Mirror: https://sxk001.lanzouw.com/ik8Nt0hyaw7g)

Now, first check the update on Ubuntu, then install libfuse2 (execute the command sudo apt install libfuse2), and go to MuseScore.org to download MuseScore 4.1 for Linux. 1 AppImage file, after the attributes are changed to "Runable" and "Read and Write", double-click to run. In this way, you can open files from MuseScore 4.1.

If you want to export audio using Muse Sounds, please go to the Windows system, because I have tested that the Linux version of Muse Hub cannot run on Ubuntu 22.04 LTS at all. And because MuseScore 4.0 can open MuseScore 4.1 files, but there will be problems that are not enough to affect audio playback, this method is feasible. After downloading Muse Sounds on Muse Hub, open the file with MuseScore 4.0 provided above and export the audio.

This is only a temporary solution, and I hope that developers can fix this problem as soon as possible. MuseScore is a very useful Notation Software, and I hope it gets better.

PS: As for why not using MusicXML: MusicXML exported by MuseScore 4.1 will have more or less problems when opened in all old versions of MuseScore, including missing titles, typographical errors, etc., which is why MusicXml is not used.

@scilxurkel001
Copy link
Author

Though the test of file replace, I have comfirmed that the problem occurs in "MuseScore4.exe".
But the info may not useful.

@GutterinCode
Copy link

GutterinCode commented Feb 17, 2024

Use nightly version, well it's still same issue but when you close the app it makes the core\thread back to online. I'm using core i3 2th generation and I had same issue here. The specific download is MuseScoreNightly-latest-4.3.0-x86_64-portable.exe. If you have tried it then I'd appreciated it, but if you don't then try these nightly version. I just give some little trick so whenever you really needed.

Edit:
Have you interested in bios settings? Just in case, it may has to do with the bios settings. I had setting called "T state support" disabled, and the thread/core is automaticly online after MuseScore closed. Its located somewhere those ACPI settings placed (e.g. C3 support, Intel speed-step).

@scilxurkel001
Copy link
Author

Use nightly version, well it's still same issue but when you close the app it makes the core\thread back to online. I'm using core i3 2th generation and I had same issue here. The specific download is MuseScoreNightly-latest-4.3.0-x86_64-portable.exe. If you have tried it then I'd appreciated it, but if you don't then try these nightly version. I just give some little trick so whenever you really needed.

Edit: Have you interested in bios settings? Just in case, it may has to do with the bios settings. I had setting called "T state support" disabled, and the thread/core is automaticly online after MuseScore closed. Its located somewhere those ACPI settings placed (e.g. C3 support, Intel speed-step).

Yes, when I disabled the C1E Support and SpeedStep, the thread/core is returned to normal, but no, when MuseScore 4 is running, one core/thread(CPU 0 in Task Manager) still stops working, even with the latest Nightly Edition.
Now I'm using Dorico and I found that MuseScore is still using Qt 5.15 but Dorico 5 is using Qt 6, and Dorico 5 has no problem with my CPU. Maybe this is the reason? (But Dorico 4 with Qt 5 has no problem either! I rather believe it is MuseScore itself cause the problem occurs...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info More information is required before action can be taken P2 Priority: Medium regression Regression on a prior release
Projects
Status: One of the next releases
4.x SHORTLIST
  
To do
Development

No branches or pull requests

6 participants