You are not logged in.

#1 2024-05-19 15:53:15

virgilggx
Member
Registered: 2024-05-12
Posts: 7

[SOLVED] KDE Plasma 6 && SDDM && Nvidia SEGFAULT after start

Hello,

I have just completed a clean installation of Archlinux, on my ASUS Rog Strix G17 (2022) laptop. I decided to install KDE Plasma 6, Wayland and SDDM.
When I launch a Wayland session, it stays in black screen for a long time, then launches normally and then I have about 2 minutes (during this short time, the system suffers from severe lags) before it closes and asks me to connect again, if I do I'll have an infinite black screen.
For X11, the same thing happens, but at the end a crash report window opens. According to KDE's crash report software, the cause of the problem is a segfault on /usr/bin/plasmashell (for X11).
TTY use poses no problem.

Hardware configuration:

  • AMD Ryzen 6800H (with integrated GPU)

  • NVIDIA RTX 3060.

I've configured my machine to have :

  • NVIDIA proprietary driver

  • Use ONLY the dedicated GPU

My objective is to have a “stable” Wayland configuration.

Here is my startup configuration :

cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   This will create a systemd based initramfs which loads an encrypted root filesystem.
#    HOOKS=(base systemd autodetect modconf keyboard sd-vconsole sd-encrypt block filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base systemd plymouth keyboard autodetect microcode modconf block sd-vconsole sd-encrypt filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
# Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress loadable kernel modules and their firmware during initramfs
# creation. Switch (yes/no).
# Enable to allow further decreasing image size when using high compression
# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
# at early boot.
# Note that any compressed files will be placed in the uncompressed early CPIO
# to avoid double compression.
#MODULES_DECOMPRESS="no"
cat /boot/grub/grub.cfg 
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
insmod luks2
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod cryptodisk
insmod luks2
insmod gcry_rijndael
insmod gcry_rijndael
insmod gcry_sha256
insmod btrfs
cryptomount -u 57886c42-8eea-4212-80d6-991d0fb5ae6f
set root='cryptouuid/57886c428eea421280d6991d0fb5ae6f'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='cryptouuid/57886c428eea421280d6991d0fb5ae6f'  3cac9f29-3763-441e-9107-153a77b09c8f
else
  search --no-floppy --fs-uuid --set=root 3cac9f29-3763-441e-9107-153a77b09c8f
fi
    font="/@/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3cac9f29-3763-441e-9107-153a77b09c8f' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root C514-A880
	echo	'Chargement de Linux linux…'
	linux	/vmlinuz-linux root=UUID=3cac9f29-3763-441e-9107-153a77b09c8f rw rootflags=subvol=@  fbcon=nodefer nvidia_drm.modeset=1 nvidia_drm.fbdev=1 rw rd.luks.allow-discards quiet bgrt_disable rd.luks.name=57886c42-8eea-4212-80d6-991d0fb5ae6f=cryptdev root=/dev/mapper/cryptdev splash vt.global_cursor_default=0
	echo	'Chargement du disque mémoire initial…'
	initrd	/amd-ucode.img /initramfs-linux.img
}
submenu 'Options avancées pour Arch Linux' $menuentry_id_option 'gnulinux-advanced-3cac9f29-3763-441e-9107-153a77b09c8f' {
	menuentry 'Arch Linux, avec Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-3cac9f29-3763-441e-9107-153a77b09c8f' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		search --no-floppy --fs-uuid --set=root C514-A880
		echo	'Chargement de Linux linux…'
		linux	/vmlinuz-linux root=UUID=3cac9f29-3763-441e-9107-153a77b09c8f rw rootflags=subvol=@  fbcon=nodefer nvidia_drm.modeset=1 nvidia_drm.fbdev=1 rw rd.luks.allow-discards quiet bgrt_disable rd.luks.name=57886c42-8eea-4212-80d6-991d0fb5ae6f=cryptdev root=/dev/mapper/cryptdev splash vt.global_cursor_default=0
		echo	'Chargement du disque mémoire initial…'
		initrd	/amd-ucode.img /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-3cac9f29-3763-441e-9107-153a77b09c8f' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		search --no-floppy --fs-uuid --set=root C514-A880
		echo	'Chargement de Linux linux…'
		linux	/vmlinuz-linux root=UUID=3cac9f29-3763-441e-9107-153a77b09c8f rw rootflags=subvol=@  fbcon=nodefer nvidia_drm.modeset=1 nvidia_drm.fbdev=1 rw rd.luks.allow-discards quiet bgrt_disable rd.luks.name=57886c42-8eea-4212-80d6-991d0fb5ae6f=cryptdev root=/dev/mapper/cryptdev splash vt.global_cursor_default=0
		echo	'Chargement du disque mémoire initial…'
		initrd	/amd-ucode.img /initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/15_ostree ###
### END /etc/grub.d/15_ostree ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
	fwsetup --is-supported
	if [ "$?" = 0 ]; then
		menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
			fwsetup
		}
	fi
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
sudo lspci -v | grep 'VGA' 
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c8) (prog-if 00 [VGA controller])

sudo lspci -v
[...]
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device 1bcc
    Physical Slot: 0
    Flags: bus master, fast devsel, latency 0, IRQ 70, IOMMU group 13
    Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
    Memory at 7c00000000 (64-bit, prefetchable) [size=8G]
    Memory at 7e00000000 (64-bit, prefetchable) [size=32M]
    I/O ports at f000 [size=128]
    Expansion ROM at fc000000 [virtual] [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Legacy Endpoint, IntMsgNum 0
    Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    Capabilities: [100] Virtual Channel
    Capabilities: [250] Latency Tolerance Reporting
    Capabilities: [258] L1 PM Substates
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [420] Advanced Error Reporting
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Capabilities: [900] Secondary PCI Express
    Capabilities: [bb0] Physical Resizable BAR
    Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
    Capabilities: [d00] Lane Margining at the Receiver
    Capabilities: [e00] Data Link Feature <?>
    Kernel driver in use: nvidia
    Kernel modules: nouveau, nvidia_drm, nvidia

05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c8) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device 1bcc
    Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 17
    Memory at 7e10000000 (64-bit, prefetchable) [size=256M]
    Memory at 7e20000000 (64-bit, prefetchable) [size=2M]
    I/O ports at d000 [disabled] [size=256]
    Memory at fc500000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: [64] Express Legacy Endpoint, IntMsgNum 0
    Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
    Capabilities: [c0] MSI-X: Enable- Count=4 Masked-
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [270] Secondary PCI Express
    Capabilities: [2a0] Access Control Services
    Capabilities: [2b0] Address Translation Service (ATS)
    Capabilities: [2c0] Page Request Interface (PRI)
    Capabilities: [2d0] Process Address Space ID (PASID)
    Capabilities: [410] Physical Layer 16.0 GT/s <?>
    Capabilities: [450] Lane Margining at the Receiver
    Kernel modules: amdgpu
[...]
cat /etc/environment 
EDITOR=vim
VISUAL=vim
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
ENABLE_VKBASALT=1
LIBVA_DRIVER_NAME=nvidia
cat /etc/modprobe.d/blacklist.conf 
install i915 /usr/bin/false
install intel_agp /usr/bin/false
install viafb /usr/bin/false
install radeon /usr/bin/false
install amdgpu /usr/bin/false

Here are my X11 configurations :

cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 550.78

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 
Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

Here are my SDDM configurations :

cat /usr/lib/sddm/sddm.conf.d/default.conf
[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=

# Username for autologin session
User=


[General]
# Which display server should be used.
# Valid values are: x11, x11-user, wayland. Wayland support is experimental
DisplayServer=wayland

# Comma-separated list of environment variables to be set
GreeterEnvironment=

# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Input method module
InputMethod=

# Comma-separated list of Linux namespaces for user session to enter
Namespaces=

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=on

# Reboot command
RebootCommand=/usr/bin/systemctl reboot


[Theme]
# Current theme name
Current=breeze

# Cursor size used in the greeter
CursorSize=

# Cursor theme used in the greeter
CursorTheme=

# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars
DisableAvatarsThreshold=7

# Enable display of custom user avatars
EnableAvatars=true

# Global directory for user avatars
# The files should be named <username>.face.icon
FacesDir=/usr/share/sddm/faces

# Font used in the greeter
Font=

# Theme directory path
ThemeDir=/usr/share/sddm/themes


[Users]
# Default $PATH for logged in users
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin

# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=

# Comma-separated list of users that should not be listed
HideUsers=

# Maximum user id for displayed users
MaximumUid=60513

# Minimum user id for displayed users
MinimumUid=1000

# Remember the session of the last successfully logged in user
RememberLastSession=true

# Remember the last successfully logged in user
RememberLastUser=true

# When logging in as the same user twice, restore the original session, rather than create a new one
ReuseSession=true


[Wayland]
# Path of the Wayland compositor to execute when starting the greeter
CompositorCommand=weston --shell=kiosk

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session

# Comma-separated list of directories containing available Wayland sessions
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log


[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp

# Path to X server binary
ServerPath=/usr/bin/X

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Comma-separated list of directories containing available X sessions
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr
cat /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

Here are the logs :

sudo journalctl -u sddm -n 75
mai 19 17:45:06 hexa sddm[713]: Socket server stopped.
mai 19 17:45:06 hexa sddm[713]: Failed to launch the display server, falling back to DisplayServer=x11-user
mai 19 17:45:06 hexa sddm[713]: Adding new display...
mai 19 17:45:06 hexa sddm[713]: Loaded empty theme configuration
mai 19 17:45:06 hexa sddm[713]: Using VT 1
mai 19 17:45:06 hexa sddm[713]: Display server started.
mai 19 17:45:06 hexa sddm[713]: Socket server starting...
mai 19 17:45:06 hexa sddm[713]: Socket server started.
mai 19 17:45:06 hexa sddm[713]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
mai 19 17:45:06 hexa sddm[713]: Greeter starting...
mai 19 17:45:06 hexa sddm-helper[734]: [PAM] Starting...
mai 19 17:45:06 hexa sddm-helper[734]: [PAM] Authenticating...
mai 19 17:45:06 hexa sddm-helper[734]: [PAM] returning.
mai 19 17:45:06 hexa sddm-helper[734]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
mai 19 17:45:06 hexa sddm-helper[734]: Starting X11 session: "/usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty >
mai 19 17:45:06 hexa sddm[713]: Greeter session started successfully
mai 19 17:45:09 hexa sddm[713]: Message received from greeter: Connect
mai 19 17:45:28 hexa sddm[713]: Message received from greeter: Login
mai 19 17:45:28 hexa sddm[713]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
mai 19 17:45:28 hexa sddm[713]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-sess>
mai 19 17:45:28 hexa sddm-helper[803]: [PAM] Starting...
mai 19 17:45:28 hexa sddm-helper[803]: [PAM] Authenticating...
mai 19 17:45:28 hexa sddm-helper[803]: [PAM] Preparing to converse...
mai 19 17:45:28 hexa sddm-helper[803]: [PAM] Conversation with 1 messages
mai 19 17:45:28 hexa sddm-helper[803]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
mai 19 17:45:28 hexa sddm-helper[803]: [PAM] returning.
mai 19 17:45:28 hexa sddm[713]: Authentication for user  "hexa"  successful
mai 19 17:45:28 hexa sddm-helper[803]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
mai 19 17:45:28 hexa sddm-helper[803]: pam_unix(sddm:session): session opened for user hexa(uid=1000) by hexa(uid=0)
mai 19 17:45:28 hexa sddm-helper[803]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
mai 19 17:45:28 hexa sddm-helper[803]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus->
mai 19 17:45:30 hexa sddm[713]: Auth: sddm-helper exited with 11
mai 19 17:45:30 hexa sddm[713]: Greeter stopped. SDDM::Auth::HelperExitStatus(11)
mai 19 17:45:58 hexa sddm[713]: Session started false
mai 19 17:46:58 hexa sddm[713]: Auth: sddm-helper exited with 2
mai 19 17:46:58 hexa sddm[713]: Socket server stopping...
mai 19 17:46:58 hexa sddm[713]: Socket server stopped.
mai 19 17:46:58 hexa sddm[713]: Removing display SDDM::Display(0x71f5880041a0) ...
mai 19 17:46:58 hexa sddm[713]: Adding new display...
mai 19 17:46:58 hexa sddm[713]: Loaded empty theme configuration
mai 19 17:46:58 hexa sddm[713]: Using VT 1
mai 19 17:46:58 hexa sddm[713]: Display server started.
mai 19 17:46:58 hexa sddm[713]: Socket server starting...
mai 19 17:46:58 hexa sddm[713]: Socket server started.
mai 19 17:46:58 hexa sddm[713]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
mai 19 17:46:58 hexa sddm[713]: Greeter starting...
mai 19 17:46:58 hexa sddm-helper[1745]: [PAM] Starting...
mai 19 17:46:58 hexa sddm-helper[1745]: [PAM] Authenticating...
mai 19 17:46:58 hexa sddm-helper[1745]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
mai 19 17:46:58 hexa sddm-helper[1745]: [PAM] returning.
mai 19 17:46:59 hexa sddm[713]: Greeter session started successfully
mai 19 17:46:59 hexa sddm-helper[1745]: [PAM] Closing session
mai 19 17:46:59 hexa sddm-helper[1745]: pam_unix(sddm-greeter:session): session closed for user sddm
mai 19 17:46:59 hexa sddm-helper[1745]: [PAM] Ended.
mai 19 17:46:59 hexa sddm[713]: Auth: sddm-helper exited with 4
mai 19 17:46:59 hexa sddm[713]: Greeter stopped. SDDM::Auth::HELPER_DISPLAYSERVER_ERROR
mai 19 17:46:59 hexa sddm[713]: Removing display SDDM::Display(0x6190dadfa600) ...
mai 19 17:46:59 hexa sddm[713]: Socket server stopping...
mai 19 17:46:59 hexa sddm[713]: Socket server stopped.
mai 19 17:46:59 hexa sddm[713]: Failed to launch the display server, falling back to DisplayServer=x11-user
mai 19 17:46:59 hexa sddm[713]: Adding new display...
mai 19 17:46:59 hexa sddm[713]: Loaded empty theme configuration
mai 19 17:46:59 hexa sddm[713]: Using VT 1
mai 19 17:46:59 hexa sddm[713]: Display server started.
mai 19 17:46:59 hexa sddm[713]: Socket server starting...
mai 19 17:46:59 hexa sddm[713]: Socket server started.
mai 19 17:46:59 hexa sddm[713]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
mai 19 17:46:59 hexa sddm[713]: Greeter starting...
mai 19 17:46:59 hexa sddm-helper[1844]: [PAM] Starting...
mai 19 17:46:59 hexa sddm-helper[1844]: [PAM] Authenticating...
mai 19 17:46:59 hexa sddm-helper[1844]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
mai 19 17:46:59 hexa sddm-helper[1844]: [PAM] returning.
mai 19 17:46:59 hexa sddm-helper[1844]: Starting X11 session: "/usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty>
mai 19 17:46:59 hexa sddm[713]: Greeter session started successfully
mai 19 17:47:00 hexa sddm[713]: Message received from greeter: Connect
journalctl -p 3 -xb
mai 19 17:44:53 archlinux kernel: ACPI BIOS Error (bug): Failure creating named object [\_TZ.TZ01], AE_ALREADY_EXISTS (20230628/dswloa>
mai 19 17:44:53 archlinux kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230628/psobject-220)
mai 19 17:44:53 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP2], AE_NOT_FOUND (20230628/dswload2-16>
mai 19 17:44:53 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
mai 19 17:44:53 archlinux kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20230628/dswloa>
mai 19 17:44:53 archlinux kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
mai 19 17:44:53 archlinux kernel: hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
mai 19 17:44:54 archlinux kernel: 
mai 19 17:45:03 hexa (udev-worker)[543]: Error running install command '/usr/bin/false' for module amdgpu: retcode 1
mai 19 17:45:03 hexa (udev-worker)[543]: Error running install command '/usr/bin/false' for module amdgpu: retcode 1
mai 19 17:45:29 hexa systemd-coredump[842]: [?] Process 736 (Xorg) of user 971 dumped core.
                                            
                                            Stack trace of thread 736:
                                            #0  0x00007c0ddedc0e44 n/a (libc.so.6 + 0x94e44)
                                            #1  0x00007c0dded68a30 raise (libc.so.6 + 0x3ca30)
                                            #2  0x00007c0dded504c3 abort (libc.so.6 + 0x244c3)
                                            #3  0x000055c1764a7b00 OsAbort (Xorg + 0x14ab00)
                                            #4  0x000055c1764a7e3b FatalError (Xorg + 0x14ae3b)
                                            #5  0x000055c17649fd46 n/a (Xorg + 0x142d46)
                                            #6  0x00007c0dded68ae0 n/a (libc.so.6 + 0x3cae0)
                                            #7  0x00007c0ddc83ea82 n/a (libnvidia-glcore.so.550.78 + 0xa3ea82)
                                            #8  0x00007c0dddfa9807 n/a (libGLX_nvidia.so.0 + 0x51807)
                                            #9  0x00007c0dddfa9f2f n/a (libGLX_nvidia.so.0 + 0x51f2f)
                                            #10 0x00007c0dde039009 n/a (libGLX_nvidia.so.0 + 0xe1009)
                                            #11 0x00007c0dded6afa1 n/a (libc.so.6 + 0x3efa1)
                                            #12 0x00007c0dded6b06e exit (libc.so.6 + 0x3f06e)
                                            #13 0x00007c0dded51c8f n/a (libc.so.6 + 0x25c8f)
                                            #14 0x00007c0dded51d4c __libc_start_main (libc.so.6 + 0x25d4c)
                                            #15 0x000055c17638d5c5 _start (Xorg + 0x305c5)
                                            ELF object binary architecture: AMD x86-64
mai 19 17:45:30 hexa systemd-coredump[853]: [?] Process 735 (sddm-helper-sta) of user 971 dumped core.
                                            
                                            Stack trace of thread 735:
                                            #0  0x000072f85e98d30b _ZN7QObject11deleteLaterEv (libQt6Core.so.6 + 0x18d30b)
                                            #1  0x00005ed0dc6c862c _ZN9QtPrivate15QCallableObjectIZ4mainEUlvE0_NS_4ListIJEEEvE4implEiP>
                                            #2  0x000072f85e99b57f n/a (libQt6Core.so.6 + 0x19b57f)
                                            #3  0x000072f85e940602 _ZN16QCoreApplication4exitEi (libQt6Core.so.6 + 0x140602)
                                            #4  0x000072f85e94063b _ZN16QCoreApplication5eventEP6QEvent (libQt6Core.so.6 + 0x14063b)
                                            #5  0x000072f85e93fdf3 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Cor>
                                            #6  0x000072f85e940518 _ZN23QCoreApplicationPrivate4quitEv (libQt6Core.so.6 + 0x140518)
                                            #7  0x000072f85e99b57f n/a (libQt6Core.so.6 + 0x19b57f)
                                            #8  0x000072f85eb0e5a3 n/a (libQt6Core.so.6 + 0x30e5a3)
                                            #9  0x000072f85e99b88f n/a (libQt6Core.so.6 + 0x19b88f)
                                            #10 0x000072f85e9a4468 _ZN15QSocketNotifier5eventEP6QEvent (libQt6Core.so.6 + 0x1a4468)
                                            #11 0x000072f85e93fdf3 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Cor>
                                            #12 0x000072f85eb955a8 n/a (libQt6Core.so.6 + 0x3955a8)
                                            #13 0x000072f85e70ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
                                            #14 0x000072f85e7709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
                                            #15 0x000072f85e70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                            #16 0x000072f85eb933aa _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17Pro>
                                            #17 0x000072f85e948350 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.s>
                                            #18 0x000072f85e943c1d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x143c1d)
                                            #19 0x00005ed0dc6c0c0f main (sddm-helper-start-x11user + 0xcc0f)
                                            #20 0x000072f85e239c88 n/a (libc.so.6 + 0x25c88)
                                            #21 0x000072f85e239d4c __libc_start_main (libc.so.6 + 0x25d4c)
                                            #22 0x00005ed0dc6c1c25 _start (sddm-helper-start-x11user + 0xdc25)
                                            ELF object binary architecture: AMD x86-64
mai 19 17:46:03 hexa wpa_supplicant[710]: bgscan simple: Failed to enable signal strength monitoring
mai 19 17:47:24 hexa wpa_supplicant[710]: bgscan simple: Failed to enable signal strength monitoring

Here are full logs

Can you help me fix it?

Last edited by virgilggx (2024-05-21 12:12:38)

Offline

#2 2024-05-21 09:40:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,896

Re: [SOLVED] KDE Plasma 6 && SDDM && Nvidia SEGFAULT after start

You need to be able to disable the amdgpu at the UEFI/firmware hardware switch level. If you can't do that, disabling amdgpu will expectedly break if you try to work with an integrated screen.

Get rid of literally every xorg configuration, the environment override attempts and the module blacklists you've shown here (outside of nvidia_drm.modeset=1 on the kernel cmdline), what behavior are you getting in that case?

Last edited by V1del (2024-05-21 09:41:18)

Online

#3 2024-05-21 12:13:39

virgilggx
Member
Registered: 2024-05-12
Posts: 7

Re: [SOLVED] KDE Plasma 6 && SDDM && Nvidia SEGFAULT after start

V1del wrote:

You need to be able to disable the amdgpu at the UEFI/firmware hardware switch level. If you can't do that, disabling amdgpu will expectedly break if you try to work with an integrated screen.

Get rid of literally every xorg configuration, the environment override attempts and the module blacklists you've shown here (outside of nvidia_drm.modeset=1 on the kernel cmdline), what behavior are you getting in that case?

In the end, I didn't have the patience to fix it, so I reinstalled from scratch. I have more or less the same configuration, but everything works fine now.

Offline

Board footer

Powered by FluxBB