Package: rss-glx
Version: 0.9.1-6.3+b1
Tags: patch

On certain hardware and with specific X11 windows (such as the TDE lock 
screen), the RSS-GLX hacks no longer display after upgrading to Bookworm from 
Bullseye.  This was traced to a missing glFinish() call prior to 
glXSwapBuffers(); likely the AMD GPU driver has not completed rendering prior 
to the Swap call, leading to the hack output not showing up on the target 
window.

I have attached a patch that is confirmed to fix the issue.  If desired, I can 
do an NMU to include this simple fix.  Ideally, this would also be backported 
to Bookworm, and I can handle the backport for that as well if desired.
Index: rss-glx-0.9.1/src/driver.c
===================================================================
--- rss-glx-0.9.1.orig/src/driver.c
+++ rss-glx-0.9.1/src/driver.c
@@ -238,6 +238,7 @@
 
 		if (drawEnabled) {
 			hack_draw (XStuff, (double)now.tv_sec + now.tv_usec / 1000000.0f, frameTimeSoFar / 1000000.0f);
+			glFinish();
 
 			glXSwapBuffers (XStuff->display, XStuff->window);
 		}

Reply via email to