the3dfxdude / 7kaa

Seven Kingdoms: Ancient Adversaries - Go to the main source repository at https://sourceforge.net/projects/skfans/ for source code and builds
https://7kfans.com
Other
253 stars 71 forks source link

Some kind of issue with the 7kaa window. #227

Closed tmr83 closed 2 years ago

tmr83 commented 2 years ago

I am having some kind of issue with the 7kaa window on my system. I am running a fresh install of Arch Linux with Gnome3 on Xorg. Maybe it is something else like buggy Gnome3, but 7kaa is the only program that does it.

I tried to report it a while ago, but whenever I tried to take a screenshot, the window refreshed or something like that and went back to normal until moving it again. It doesn't always happen, but I keep seeing it. I finally used ffmpeg to capture my screen, and this is a screenshot of the video because the file is so large.

Screenshot from 2021-12-25 04-16-41

And Merry Christmas 🎄

the3dfxdude commented 2 years ago

Yes, Merry Christmas.

Windowing systems have to inform the programs that its client area has changed, which in this case, I think you are trying to move the window. If the game window is never obscured by another window or screen border, then the window system can just move the drawing directly in memory. If the window is obscured and parts of it is reexposed, then the window system tells it to redraw.

I am not sure what is being shown, other than you attempted to move the window, and the window system is either locked up or purposely not moving the actual window. This doesn't appear to be a game issue. But I'll think about it.

tmr83 commented 2 years ago

These pop up into the log after this issue happens:

gnome-shell[888]: Can't update stage views actor [:0x562db436c360] is on because it needs an allocation. gnome-shell[888]: Can't update stage views actor [:0x562db7563300] is on because it needs an allocation. gnome-shell[888]: Can't update stage views actor [:0x562db5c1cdb0] is on because it needs an allocation.

I will look into it later.

Edit: Nevermind. That was something else. I cannot really reproduce this issue easily. It doesn't always happen.

tmr83 commented 2 years ago

I tried downgrading sdl2 and even Mesa to the versions in the pacman.log to when I first started seeing this issue, but it wasn't immediately apparent that downgrading fixed or caused the issue.

tmr83 commented 2 years ago

I can trigger this issue on an older laptop that I do not use anymore because it overheats now that temps outside are almost 100 F. everyday. I do not experience this issue with the laptop currently is use.

the3dfxdude commented 2 years ago

A hardware issue? What else could it be?

tmr83 commented 2 years ago

I really don't know. I've seen it on two laptops both running Arch Linux. I would prefer not guessing more. Maybe a botched install... I'm just happy this annoying issue isn't a problem anymore, so closing.