Moving windows around causes [essentially] blank display when R'n'D is running. [KZones script addon issue?]

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
BryanFRitt
Posts: 230
Joined: Mon Nov 13, 2017 4:16 pm

Moving windows around causes [essentially] blank display when R'n'D is running. [KZones script addon issue?]

Post by BryanFRitt »

Whenever R'n'D is running moving windows around will cause the display to go blank while the window is getting moved. Issue seems to only happen when the KZones KWin Script is enabled. Disable that (and/or quit R'n'D) and then windows move normally again. So maybe this isn't a pure R'n'D issue.

KDE systemsettings > Workspace > Window Management >
Get New Scripts... KZones Install
[check] KZones
Apply
KDE on Debian 12 (bookworm) stable

EDIT: Found a temporary fix.
The screen turns black while moving a window

If you are using X11 make sure your compositor is enabled, as it is needed to draw transparent windows.
You can find this setting in System Settings / Display and Monitor / Compositor
https://github.com/gerritdevriese/kzones

I saw this and changed the 'Latency' setting here, and it seems temporarily fixed, even after changing it back to what it was. Goes back to messed up on next R'n'D startup. Weird. [remember to click Apply]
Life is partially trying to strike a balance between generating new things/ideas, and making sure they are good/organized. These extremes can be said to between gibberish mess and nothing said/done.
filbo
Posts: 663
Joined: Fri Jun 20, 2014 10:06 am

Re: Moving windows around causes [essentially] blank display when R'n'D is running. [KZones script addon issue?]

Post by filbo »

RnD uses the SDL libraries for its graphics; this sounds like an SDL bug / interaction with your KDE based desktop. So -- I'd be curious to see if other SDL-based games cause the same issue.

... so I went exploring and decided I don't really know The Right Way to ask a .deb based system 'which packages need libsdl?' -- `apt-cache rdepends` does it, but without `--recurse` it's grossly incomplete, and with `--recurse` it's crazy overload, and I don't know the happy medium...

Ah. Well, just simple `apt-cache rdepends libsdl2-2.0-0` actually does an adequate job, listing a perfectly sensible ~250 packages that you could test the hypothesis with...
BryanFRitt
Posts: 230
Joined: Mon Nov 13, 2017 4:16 pm

Re: Moving windows around causes [essentially] blank display when R'n'D is running. [KZones script addon issue?]

Post by BryanFRitt »

filbo wrote: Sat Aug 10, 2024 1:58 am Ah. Well, just simple `apt-cache rdepends libsdl2-2.0-0` actually does an adequate job, listing a perfectly sensible ~250 packages that you could test the hypothesis with...
Tried it with Neverball from that list (A good game to try if you like R'n'D)*, and that game had same/similar issue(s) as R'n'D does with 'KZones', although with Neverball, it seems the issue effects all windows but the Neverball window. With R'n'D it was every window including the R'n'D window.

When 'KZones' is enabled, and R'n'D and/or Neverball is running Firefox windows have black extra boarders them (about ~50pixels all around.) These boarders goes away when R'n'D/Neverball/KZones are all closed/disabled.

* Although, I remember liking the Nuncabola version of it better due controls having a better sportier feel to them.
Life is partially trying to strike a balance between generating new things/ideas, and making sure they are good/organized. These extremes can be said to between gibberish mess and nothing said/done.
Post Reply