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

Graphics and CPU load issues on Fedora 31 / Wayland-EGL #9787

Closed
mixxxbot opened this issue Aug 23, 2022 · 4 comments
Closed

Graphics and CPU load issues on Fedora 31 / Wayland-EGL #9787

mixxxbot opened this issue Aug 23, 2022 · 4 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: uklotzde
Date: 2019-10-30T23:58:35Z
Status: Fix Released
Importance: Critical
Launchpad Issue: lp1850729
Tags: waveform


The RGB (GL) waveform widgets and spinnies are empty/transparent and the desktop background shines through. Tested with both 2.2.2 from RPM Fusion and a fresh build of 2.3.0 / master.

On Fedora 30 Mixxx had an idle CPU utilization of 15%. On Fedora 31 it starts at ~25%. When paying a track (keylock disabled) CPU utilizations increases by
15-20%. It drops down when unloading tracks but to a higher level than before. After playing and unloading the same track multiple times the idle CPU load is now at around ~70-80%, constantly rising with every loaded track.

Further more the task switcher icon is missing in GNOME on Wayland.

Workaround: Disable Qt Wayland explicitly by setting "export QT_QPA_PLATFORM=xcb"

...
Debug [Main]: Using Wayland-EGL
...
Debug [Main]: Set root GL Context widget valid: QGLWidget(0x56111df7f030) true
Debug [Main]: Created root GL Context valid: 0x56111cb377f0 true
Debug [Main]: Root GL Context format:
Debug [Main]: Double Buffering: true
Debug [Main]: Swap interval: 0
Debug [Main]: Depth buffer: true
Debug [Main]: Direct rendering: true
Debug [Main]: Has overlay: false
Debug [Main]: RGBA: true
Debug [Main]: Sample buffers: false
Debug [Main]: Samples: -1
Debug [Main]: Stencil buffers: true
Debug [Main]: Stereo: false
Debug [Main]: "openGLVersionFlags 0x107f" "3.0 Mesa 19.2.0" "Intel Open Source Technology Center" "Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) "
...
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 0
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 1
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 2
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: WSpinny(): Created QGLWidget, Context Valid: true Sharing: true
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 3
...
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
Debug [Main]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
Warning [Main]: Non-toplevel surfaces can't request window states
...
@mixxxbot
Copy link
Collaborator Author

Commented by: uklotzde
Date: 2019-10-31T21:57:13Z


https://fedoraproject.org/wiki/Changes/Qt_Wayland_By_Default_On_Gnome

@mixxxbot
Copy link
Collaborator Author

Commented by: uklotzde
Date: 2019-11-01T00:10:26Z


Patch for RPM Fusion:
http://koji.rpmfusion.org/koji/taskinfo?taskID=368122

@mixxxbot
Copy link
Collaborator Author

Commented by: uklotzde
Date: 2019-11-25T00:08:58Z


Workaround is in place, everything else is out of scope.

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant