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
waveform scrolling #11617
Comments
|
sorry, but i can't figure out how to insert an image in this editor... Anyway:
while playing, the preferences say: "average frame rate 6.67" CPU usage - 4% I uninstalled Mixxx 2.3.5 to install Mixxx 2.4. It worked fine. PS: I've now discovered how to attach a photo :P |
Could you please try all waveform types available in the top selector. Does any waveform type shows different frame rates? |
with all waveforms the value is always around 6.67, except with HSV (FPS: 7.50) same thing also changing the values of the second selector (OT question: in this editor is it possible to write in your own language, or do I have to continue with google translate?) |
Please write in English! |
@m0dB Could you have a look |
Does it help if you start with |
switched to 15 fps (both during play and stop) |
I have no idea, this is very strange and the first time something like this has been reported. To be sure: 2.3.5 runs as 60 fps? I will create a build with some logging, but it might take a while, sorry. |
Are you having no fps issues with other applications (games)? Question for @daschuer : are we configuring Qt on windows with |
It's dynamic and ANGLE is used when the OPENGL driver is missing or blacklisted by Qt. If ANGLE is used, you see it clearly in the driver information in the waveform preferences. |
Thanks, @JoergAtGithub ! So I understand that in this case ANGLE isn't used because a proper OpenGL driver is detected. It might be interesting to see if forcing ANGLE makes a difference, right? Have you ever tried that yourself? @robi970 can you try running with environment variable QT_OPENGL=angle? Go to the folder where you have your mixxx.exe in the File Explorer, open a command prompt by typing cmd in the address bar, and in the command prompt type: set QT_OPENGL=angle (Note that I am clutching at straws here, not being a windows user myself) |
sorry for the delay...
|
Also grasping at straws here, but you mentioned this:
I'm pretty sure the elapsed time display is not hardware accelerated so that leads me to believe missing hardware acceleration might not be the problem. Whats your audio buffer size set to? If I force some weird audio circumstances (mind this is on linux with pipewire, so not quite the same), I can force some low-fps behavior that is not because the waveform rendering is too slow (see the low amount of dropped frames compared to the actual fps) but I think because the update of the playposition depends on the buffer size. Here's a screen recording showing the issue in action: |
Oh, this direct rendering warning is very relevant. Now, how to fix this, I have no idea. |
since in this editor it is possible to insert videos: 2023-06-11.18-54-31.mp4 |
Any windows / AMD radeon users who can comment on this? Any idea how to enable Direct Rendering? |
I can reproduce the problem on a really old HP Compaq 8510P notebook, with Windows 8.1 and with ATI Mobility Radeon HD 2600. |
@m0dB for me the problem is still there with: |
Could you try to set the Windows environment variable QT_NO_OPENGL_BUGLIST (value doesnt matter) before starting Mixxx. |
@JoergAtGithub the problem is the same with: |
Do you have libEGL.dll and libGLESv2.dll in your Mixxx program directory? Could you try to replace these two file with the version from Mixxx 2.3.5? |
That two dll is there. |
Thanks for testing! Seems to be a dead end. Maybe you can play with the other environment variables described in: https://doc.qt.io/qt-5/windows-requirements.html#dynamically-loading-graphics-drivers |
Mixxx also can be started without that two dll and with the 2.4 beta the problem is still there, and 2.3.5 works correctly. |
These two DLLs are the libraries for the ANGLE emulation of OPENGL. It is used by Qt in case, that the official graphic adapter driver is blacklisted or does not support OPENGL at all. ANGLE is a fast emulation using DirectX. |
robi970 has the problem with: |
I reinstalled Mixxx 2.4 beta, just downloaded from the site... (I hope that is the correct version). |
@JoergAtGithub is there a 2.4 beta build for Windows with QOPENGL=OFF? |
@atskler Can you confirm, that you also get warning dialog at startup shown here: #11617 (comment) |
I noticed in your screenshots of the waveform preferences, that there is always an exact integer factor between target framerate and the real framerate: Could you try to adjust the target frame rate to other values. Does the integer factor remain? |
@robi970 can you check out the newest beta version and look for the line starting with "debug [Main] Supported OpenGL version: " in the debug log? What version does it print exactly? I'm a little confused because the "Direct Rendering" Warning should only occur if the version is not sufficient. Since the version string does say 4.6 but its not detected correctly, there might be something wrong with the detection logic. Lines 1189 to 1194 in a5ae80a
|
Yes, if I start it with: And Mixxx will not even start, just crashes. |
Can you vary: Wait for vertical refresh |
It will differ a bit if the frame rate is odd number. For example 37 will give fluctuating frame rate: 11.43, 11.62. |
@Swiftb0y That warning happens with: |
From left to right there are the following options for: Wait for vertical refresh: Performance
Quality With option 1) the fps problem goes away. |
The warning and the crash with: |
Important finding! Than the ANGLE issue is an independend issue. |
@Swiftb0y the Mixxx version reinstalled yesterday is as follows: |
@robi970 Do you have the "Wait for vertical refresh" setting in your AMD driver too? Could you try if it solves the issue for you too? |
In the legacy implementation we had this:
I thought I carried this over to the QOpenGL implementation but I see that isn't the case. This might also solve the issue. |
@JoergAtGithub With the fix only option 4. brings forth the fps problem. With options 1-3 the fps is normal. @robi970 you will find the installer on the following link for this fixed build, under the "Artifacts" section: https://github.com/mixxxdj/mixxx/actions/runs/5371666174 |
Great, this is the expected behavior, because "4. Always on" should overwrite the setting inside the application (Mixxx) by definition. Waiting for confirmation by @robi970 |
Probably @robi970 should check his gpu settings also if this fix will not work for him, because for example on your system @JoergAtGithub the "Wait for vertical refresh" is set to "Always on". But is that by default? Did you managed to reproduce the problem with that setting? |
Today I tried different settings an it always runs with 60fps - I don't remember what the default was, when I initally set it up. |
I fear that I will be forced to wait for new Mixxx releases that better adapt to my system: for example: my PC has no Catalyst Pro Control Service |
Just test the latest 2.4 Beta |
Bug Description
I installed Mixxx 2.4 beta and started it.
I quickly realized that the waveforms, spinnys and elapsed time display are displayed as if "4-5 frames per second" is set.
on the same PC I keep Mixxx 2.2.4 installed, which obviously still works perfectly
Version
2.4 beta
OS
Win10 pro 64bit - AMD ryzen 5 3600; 16GB ram; AMD radeon R9 200 series
The text was updated successfully, but these errors were encountered: