https://bugzilla.redhat.com/show_bug.cgi?id=2437502



--- Comment #210 from Nicola Taibi <[email protected]> ---
  Subject: Technical Analysis: Graphical Performance Degradation on Fedora 44
(Wayland/XWayland)

  Hi Fabio,

  I have completed a technical investigation into the graphical performance
degradation observed in the spacegl_3dview component following the recent
upgrade
  to Fedora 44.

  Our analysis attributes these performance issues to the current integration
between the legacy freeglut library and the Wayland compositor. Since freeglut
  lacks native Wayland support, it operates via the XWayland compatibility
layer. This translation process introduces noticeable overhead in command
buffer
  handling, leading to micro-stuttering and suboptimal frame pacing.

  Specifically, the application's reliance on glutTimerFunc for frame triggers
creates synchronization bottlenecks with the compositor's VSync mechanism.
  Under Wayland, this behavior causes unnecessary pipeline stalls, preventing
the application from maintaining a fluid frame rate.

  Summary of Findings:
   * Architectural Limitation: freeglut is currently constrained by XWayland
overhead, as it lacks native support for the Wayland display protocol.
   * Timing Mismatch: The existing rendering loop synchronization conflict with
the Wayland compositor’s refresh intervals is the primary driver of the
     observed stuttering.

  Current Status:
  We have successfully implemented several optimizations, such as decoupling
the simulation logic from the rendering loop and improving our interpolation
  mechanics, to mitigate the immediate impact. However, the section of the code
responsible for freeglut handling remains in a pending state, awaiting a
  technical alignment with the Wayland protocol to fully resolve these
synchronization constraints.

  I am available to provide further technical details on these findings or to
discuss the necessary steps for implementing this alignment.

  Best regards,
  Nick


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2437502

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202437502%23c210

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to