discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: WSL Issue


From: Daniel Boyd
Subject: RE: WSL Issue
Date: Wed, 12 Jan 2022 16:59:52 -0600

OK -- the plot thickens. I tried reverting all the gnustep libraries back to
the commit my development machine is running and the issue was still
happening. BUT -- I figured it out. It's something in my X server (VcXsrv). 

I figured out the issue occurs in the latest version of VcXsrv (v1.20.14.0),
but not the version I'm running on my development machine (v1.20.9.0). I'm
going to see if I can figure out which commit broke things in their source
tree. Going to have to install Visual Studio so I can compile it heh. Yuck.


-----Original Message-----
From: Daniel Boyd <danieljboyd@icloud.com> 
Sent: Tuesday, January 11, 2022 10:08 PM
To: discuss-gnustep@gnu.org
Subject: WSL Issue

I am developing apps for my work in Windows Subsystem for Linux. My company
is a Windows shop and I prefer developing using clang/libobjc2, so WSL has
provided a good fit for me. 

On my main development machine, things mostly work well, though there is an
occasional graphics glitch that seems to occur most often when I launch Gorm
by double-clicking an interface file in ProjectCenter. About half the time,
the two applications start flickering for a minute or two until eventually
things calm down and start working.

I just deployed a new laptop for a user this week and the flickering problem
on this machine is much worse. I can't run any applications at all. They
just flicker continually and I am forced to force quit them from the task
manager. I think the issue may be related to the fact that I am technically
running these through a remote X11 session. Every time I launch an
application via WSL, I get the following messages on the
console:

Xlib:  extension "MIT-SHM" missing on display "localhost:0".
2022-01-11 21:23:31.186 ProjectCenter[125:125] Failed to determine offsets
for style 1
2022-01-11 21:23:31.220 ProjectCenter[125:125] Failed to determine offsets
for style 2
2022-01-11 21:23:31.233 ProjectCenter[125:125] Failed to determine offsets
for style 3
2022-01-11 21:23:31.266 ProjectCenter[125:125] Failed to determine offsets
for style 4
2022-01-11 21:23:31.289 ProjectCenter[125:125] Failed to determine offsets
for style 5
2022-01-11 21:23:31.320 ProjectCenter[125:125] Failed to determine offsets
for style 6
2022-01-11 21:23:31.349 ProjectCenter[125:125] Failed to determine offsets
for style 7
2022-01-11 21:23:31.397 ProjectCenter[125:125] Failed to determine offsets
for style 8
2022-01-11 21:23:31.409 ProjectCenter[125:125] Failed to determine offsets
for style 9
2022-01-11 21:23:31.470 ProjectCenter[125:125] Failed to determine offsets
for style 10
2022-01-11 21:23:31.491 ProjectCenter[125:125] Failed to determine offsets
for style 11
2022-01-11 21:23:31.542 ProjectCenter[125:125] Failed to determine offsets
for style 12
2022-01-11 21:23:31.566 ProjectCenter[125:125] Failed to determine offsets
for style 13
2022-01-11 21:23:31.581 ProjectCenter[125:125] Failed to determine offsets
for style 14
2022-01-11 21:23:31.592 ProjectCenter[125:125] Failed to determine offsets
for style 15

I traced this message to a source file in libs-back--XGServerWindow.m. I
suspect my problem has to do with the fact that I'm running X remotely and
also rootless. If I run X with the root window showing, the flickering
doesn't happen. I think the library isn't able to determine the geometry of
the screen and then freaks out. Anyway, any help would be much appreciated.
The user I am deploying this laptop to uses several of the GNUstep apps I've
written and none of them run at all at the moment. I am running the latest
versions of all the GNUstep libraries from github.

Daniel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]