Skip to content
New issue

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

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

Already on GitHub? # to your account

thread 'main' panicked Failed to call XMapRaised #635

Open
1 task done
central-yharnam opened this issue Nov 10, 2024 · 1 comment
Open
1 task done

thread 'main' panicked Failed to call XMapRaised #635

central-yharnam opened this issue Nov 10, 2024 · 1 comment
Labels
Linux Something related to Linux operating system renderer Problem related to the renderer used by the GUI library

Comments

@central-yharnam
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

Installed Sniffnet through cargo. This error happens whenever I try to run the program.

hellshake@pop-os:~$ RUST_BACKTRACE=full sniffnet
thread 'main' panicked at /home/hellshake/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/linux/x11/window.rs:1208:18:
Failed to call XMapRaised: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
stack backtrace:
0: 0x5f871c064e9c -
1: 0x5f871b98428b -
2: 0x5f871c0304e2 -
3: 0x5f871c06a048 -
4: 0x5f871c069cd1 -
5: 0x5f871bf1e58e -
6: 0x5f871c06ac79 -
7: 0x5f871c06a9e5 -
8: 0x5f871c06a949 -
9: 0x5f871c06a934 -
10: 0x5f871b8d51c2 -
11: 0x5f871b8d55e5 -
12: 0x5f871bf720f4 -
13: 0x5f871bf6bd27 -
14: 0x5f871b932200 -
15: 0x5f871bf56a7d -
16: 0x5f871bf1cdc1 -
17: 0x5f871bf12bd3 -
18: 0x5f871bf1a8ab -
19: 0x7daee7a29d90 -
20: 0x7daee7a29e40 - __libc_start_main
21: 0x5f871b9242c5 -
22: 0x0 -

How did you install the app?

installed from crates.io

Operating System

Linux

Additional context

OS: Pop!_OS 22.04 LTS x86_64
Host: Z790 GAMING X AX
Kernel: 6.9.3-76060903-generic
ackages: 2374 (dpkg), 31 (flatpak)
Shell: bash 5.1.16
Resolution: 2560x1440
DE: GNOME 42.9
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: Pop [GTK2/3]
Terminal: gnome-terminal
CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz
GPU: Intel AlderLake-S GT1
GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 2705
Memory: 5815MiB / 64068MiB

@GyulyVGC
Copy link
Owner

GyulyVGC commented Nov 11, 2024

Hi @central-yharnam,
this might be a GPU issue.

Try to use the alternative software renderer.
You can do so by setting the environment variable ICED_BACKEND=tiny-skia

@GyulyVGC GyulyVGC added Linux Something related to Linux operating system renderer Problem related to the renderer used by the GUI library labels Nov 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Linux Something related to Linux operating system renderer Problem related to the renderer used by the GUI library
Projects
None yet
Development

No branches or pull requests

2 participants