Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support request: WSL #156

Open
vinnymeller opened this issue Apr 26, 2020 · 7 comments
Open

Support request: WSL #156

vinnymeller opened this issue Apr 26, 2020 · 7 comments
Labels
bug Fund help welcome :) WSL Windows Subsystem for Linux

Comments

@vinnymeller
Copy link

vinnymeller commented Apr 26, 2020

General information:

  • OS name: Linux subsystem for windows
  • OS architecture: 64 bits
  • Resolutions:
    • Monitor 1: 2k
    • Monitor 2: 2k
  • Python version: 3.6.9
  • MSS version: cloned from master today version

Description of the warning/error

'python' terminated by signal SIGSEGV (Address boundary error)

error occurs at the following point:

self.root = self.xlib.XDefaultRootWindow(MSS.display)

any help would be appreciated

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@vinnymeller
Copy link
Author

FYI I got this working on normal windows for conda so I guess it isn't a big deal. but still probably good to hear about bugs

@BoboTiG BoboTiG added bug GNU/Linux Windows WSL Windows Subsystem for Linux and removed GNU/Linux Windows labels Apr 26, 2020
@BoboTiG
Copy link
Owner

BoboTiG commented Apr 26, 2020

Hello,

Thank you for the report and analysis.
I never tested MSS on WSL, there is definitely something not working here.

What distribution did you install?

@BoboTiG BoboTiG changed the title SIGSEGV (Address boundary error) Not working in WSL Apr 26, 2020
@vinnymeller
Copy link
Author

Hello,

Thank you for the report and analysis.
I never tested MSS on WSL, there is definitely something not working here.

What distribution did you install?

I have exactly this from the windows store: https://www.microsoft.com/store/productId/9NBLGGH4MSV6

also with this I was having an issue with xrandr that was (seemingly) fixed with the below install:
sudo apt-get install x11-xserver-utils

@BoboTiG BoboTiG changed the title Not working in WSL Support request: WSL Apr 27, 2020
@Talador12
Copy link

Talador12 commented Jan 16, 2024

For older versions of Windows running WSL

+1 on this one. I am getting ImportError: cannot import name 'WINFUNCTYPE' from 'ctypes' running this from WSL

@Talador12
Copy link

For Windows 11 WSL

Getting mss.exception.ScreenShotError: XGetImage() failed on any resolution/monitor.

I am currently looking into this, instead of the older WSL above****

@Talador12
Copy link

Talador12 commented Feb 6, 2024

Looks like Pillow has had the same issues
python-pillow/Pillow#5130 (comment)
and
python-pillow/Pillow#6312
and
python-pillow/Pillow#6392

@kubaq215
Copy link

kubaq215 commented Jul 5, 2024

For Windows 11 WSL

Getting mss.exception.ScreenShotError: XGetImage() failed on any resolution/monitor.

I am currently looking into this, instead of the older WSL above****

Any updates?

@polar-sh polar-sh bot added the Fund label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fund help welcome :) WSL Windows Subsystem for Linux
Projects
None yet
Development

No branches or pull requests

4 participants