Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[Solved] XWayland segfault

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
BurningMemory
n00b
n00b
Posts: 61
Joined: Tue Jan 17, 2023 2:33 am

[Solved] XWayland segfault

  • Quote

Post by BurningMemory » Wed Jun 28, 2023 11:54 pm

Hello there.
GPU: NVIDIA RTX 3060 Ti
Driver version: 535.54.03
Kernel: 6.1.31
Portage: 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-12, glibc-2.36-r8)
DE: KDE Plasma 5.27.5
DM: SDDM

dev-libs/wayland-1.22.0::gentoo USE="-doc -test" ABI_X86="(64) -32 (-x32)"
x11-base/xorg-server-21.1.8:0/21.1.8::gentoo USE="elogind (selinux) udev xcsecurity xorg -debug -minimal -suid -systemd -test -unwind -xephyr -xnest -xvfb
x11-base/xwayland-23.1.1::gentoo USE="(selinux) xcsecurity -unwind" VIDEO_CARDS="nvidia"

There are no errors in dmesg or sddm.log, no others that i can check as when i start the session i become unable to use my keyboard and mouse.
All i see is a black screen with a mouse cursor. And yes, i have SELinux enabled, although it is in permissive mode and my filesystem is properly labeled.
Interesting logs:

Code: Select all

OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OpenGL version string:                  3.1.0 NVIDIA 535.54.03
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         535.54.3
GPU class:                              Unknown
OpenGL version:                         3.1
GLSL version:                           1.40
Linux kernel version:                   6.1.31
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_core: Parse error in tiles configuration for monitor "61b9fd82-0c36-52b0-a00b-5f4a411a29d5" : "illegal value" Creating default setup
kwin_core: Parse error in tiles configuration for monitor "9621f5fb-b3e1-59fa-8e12-dcbd5712dce3" : "illegal value" Creating default setup
kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
kwin_wayland_drm: Failed to create gamma blob! Invalid argument
kwin_wayland_drm: Failed to create gamma blob! Invalid argument
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
dbus-daemon[6351]: [session uid=1000 pid=6351] Successfully activated service 'org.kde.KSplash'
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/Xwayland (0x59af5a278000+0x18f9b2) [0x59af5a4079b2]
(EE) 1: /usr/bin/Xwayland (0x59af5a278000+0x19394d) [0x59af5a40b94d]
(EE) 2: /lib64/libc.so.6 (0x77a53a428000+0x38b20) [0x77a53a460b20]
(EE) 3: /lib64/libc.so.6 (0x77a53a428000+0x151fbd) [0x77a53a579fbd]
(EE) 4: /lib64/libc.so.6 (0x77a53a428000+0x5b858) [0x77a53a483858]
(EE) 5: /lib64/libc.so.6 (0x77a53a428000+0x7c38c) [0x77a53a4a438c]
(EE) 6: /lib64/libc.so.6 (__snprintf_chk+0xa4) [0x77a53a53df94]
(EE) 7: /lib64/libselinux.so.1 (security_compute_av_flags_raw+0xf6) [0x77a53ad717c6]
(EE) 8: /lib64/libselinux.so.1 (avc_has_perm_noaudit+0x190) [0x77a53ad6eb20]
(EE) 9: /lib64/libselinux.so.1 (avc_has_perm+0x48) [0x77a53ad6ec58]
(EE) 10: /usr/bin/Xwayland (0x59af5a278000+0x136c0a) [0x59af5a3aec0a]
(EE) 11: /usr/bin/Xwayland (0x59af5a278000+0x138236) [0x59af5a3b0236]
(EE) 12: /usr/bin/Xwayland (0x59af5a278000+0xb9c2c) [0x59af5a331c2c]
(EE) 13: /usr/bin/Xwayland (0x59af5a278000+0x12a579) [0x59af5a3a2579]
(EE) 14: /usr/bin/Xwayland (0x59af5a278000+0xdd72f) [0x59af5a35572f]
(EE) 15: /usr/bin/Xwayland (0x59af5a278000+0xe543d) [0x59af5a35d43d]
(EE) 16: /usr/bin/Xwayland (0x59af5a278000+0xadbc3) [0x59af5a325bc3]
(EE) 17: /usr/bin/Xwayland (0x59af5a278000+0xb453c) [0x59af5a32c53c]
(EE) 18: /usr/bin/Xwayland (0x59af5a278000+0xb87a3) [0x59af5a3307a3]
(EE) 19: /lib64/libc.so.6 (0x77a53a428000+0x23510) [0x77a53a44b510]
(EE) 20: /lib64/libc.so.6 (__libc_start_main+0x89) [0x77a53a44b5c9]
(EE) 21: /usr/bin/Xwayland (0x59af5a278000+0x3b075) [0x59af5a2b3075]
(EE) 
(EE) Segmentation fault at address 0x20200001
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
dbus-daemon[6351]: [session uid=1000 pid=6351] Successfully activated service 'org.freedesktop.impl.portal.desktop.kde'

** (/usr/libexec/xdg-desktop-portal:6372): WARNING **: 06:24:04.198: Failed connect to PipeWire: Couldn't connect to PipeWire
dbus-daemon[6351]: [session uid=1000 pid=6351] Successfully activated service 'org.freedesktop.portal.Desktop'
klauncher: Exiting on signal 15
[/size]

Code: Select all

[06:23:50.470] (II) DAEMON: Initializing...
[06:23:50.479] (II) DAEMON: Starting...
[06:23:50.479] (II) DAEMON: Logind interface found
[06:23:50.481] (II) DAEMON: Adding new display on vt 7 ...
[06:23:50.484] (II) DAEMON: Loading theme configuration from ""
[06:23:50.484] (II) DAEMON: Display server starting...
[06:23:50.484] (II) DAEMON: Adding cookie to "/var/run/sddm/{3591ec70-0ea6-46a2-8533-f849b0a282
dc}"
[06:23:50.504] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{3591ec70-0ea
6-46a2-8533-f849b0a282dc} -background none -noreset -displayfd 17 -seat seat0 vt7
[06:23:51.949] (II) DAEMON: Setting default cursor
[06:23:51.964] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[06:23:51.969] (II) DAEMON: Display server started.
[06:23:51.969] (II) DAEMON: Socket server starting...
[06:23:51.969] (II) DAEMON: Socket server started.
[06:23:51.972] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/ChromeOS/t
heme.conf"
[06:23:51.976] (II) DAEMON: Greeter starting...
[06:23:51.990] (II) HELPER: [PAM] Starting...
[06:23:51.990] (II) HELPER: [PAM] Authenticating...
[06:23:51.990] (II) HELPER: [PAM] returning.
[06:23:52.010] (II) DAEMON: Greeter session started successfully
[06:23:52.226] (II) DAEMON: Message received from greeter: Connect
[06:24:01.107] (II) DAEMON: Message received from greeter: Login
[06:24:01.107] (II) DAEMON: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
[06:24:01.108] (II) DAEMON: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
[06:24:01.108] (II) DAEMON: Session "/usr/share/wayland-sessions/plasmawayland.desktop" selecte
d, command: "/usr/lib64/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
[06:24:01.129] (II) HELPER: [PAM] Starting...
[06:24:01.129] (II) HELPER: [PAM] Authenticating...
[06:24:01.129] (II) HELPER: [PAM] Preparing to converse...
[06:24:01.129] (II) HELPER: [PAM] Conversation with 1 messages
[06:24:01.143] (II) HELPER: [PAM] returning.
[06:24:01.144] (II) DAEMON: Authenticated successfully
[06:24:01.144] (II) DAEMON: Jumping to VT 8
[06:24:01.144] (II) DAEMON: VT mode didn't need to be fixed
[06:24:01.695] (II) HELPER: [PAM] Closing session
[06:24:01.698] (II) HELPER: [PAM] Ended.
[06:24:01.699] (II) DAEMON: Auth: sddm-helper exited successfully
[06:24:01.699] (II) DAEMON: Greeter stopped.
[06:24:01.702] (II) HELPER: Starting: "/usr/share/sddm/scripts/wayland-session /usr/lib64/libex
ec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
[06:24:01.706] (II) DAEMON: Session started
[/size]

Then i just have to reboot manually. Do you guys have any advice?

Edit: The issue appeared upon restart after i've done some configuration with the system.
Resetting the configs doesn't help, i've also tried to compile Plasma's stuff with the "screencast" USE flag.
Recompiling without the flag doesn't seem to help.
Last edited by BurningMemory on Tue Jul 25, 2023 1:32 am, edited 1 time in total.
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Sat Jul 01, 2023 10:36 pm

Can't help but notice the Nvidia drivers you are using are unstable.
The latest stable is 525.116.04-r2
Why don't you try the stable driver and let us know how you get on?
Whatever you do, do it properly!
Top
BurningMemory
n00b
n00b
Posts: 61
Joined: Tue Jan 17, 2023 2:33 am

  • Quote

Post by BurningMemory » Tue Jul 25, 2023 1:32 am

Thistled wrote:Can't help but notice the Nvidia drivers you are using are unstable.
The latest stable is 525.116.04-r2
Why don't you try the stable driver and let us know how you get on?
Sorry for not responding for a long time.
The issue persisted both in unstable and stable latest versions of the driver,
so don't think the problem was with that. Although, the issue seems to have been resolved on its own.
Thanks for the suggestion anyways.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy