View previous topic :: View next topic |
Author |
Message |
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 221
|
Posted: Thu Sep 05, 2024 7:22 pm Post subject: SDDM Startup Problem |
|
|
When reaching the login page (sddm) I can't enter the password immediately,
I have to wait for the screen to go black for a few seconds and reappear again.
SDDM info Grepped from the messages log:
Quote: | Sep 5 20:59:56 HomePC sddm[780]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Sep 5 20:59:56 HomePC sddm[780]: Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
Sep 5 20:59:56 HomePC sddm[780]: If this causes problems, reconfigure your locale. See the locale(1) manual
Sep 5 20:59:56 HomePC sddm[780]: for more information.
Sep 5 20:59:56 HomePC systemd[783]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Sep 5 20:59:56 HomePC systemd[783]: Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/drkonqi/sentry-envelopes/*).
Sep 5 20:59:56 HomePC systemd[783]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/sddm/.cache/kcrash-metadata/*.ini).
Sep 5 20:59:56 HomePC systemd[1]: Started Session c1 of User sddm.
Sep 5 20:59:56 HomePC sddm-helper[780]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-VMBKbC --theme /usr/share/sddm/themes/breeze"
Sep 5 20:59:56 HomePC sddm-greeter-qt6[792]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
Sep 5 20:59:56 HomePC sddm-greeter-qt6[792]: qrc:/qt/qml/org/kde/breeze/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Sep 5 20:59:56 HomePC sddm-greeter-qt6[792]: libpng warning: iCCP: known incorrect sRGB profile
Sep 5 21:00:01 HomePC sddm-greeter-qt6[792]: The X11 connection broke (error 1). Did the X11 server die?
Sep 5 21:00:01 HomePC sddm[714]: Auth: sddm-helper exited with 1
Sep 5 21:00:02 HomePC sddm[934]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Sep 5 21:00:02 HomePC sddm[934]: Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
Sep 5 21:00:02 HomePC sddm[934]: If this causes problems, reconfigure your locale. See the locale(1) manual
Sep 5 21:00:02 HomePC sddm[934]: for more information.
Sep 5 21:00:02 HomePC systemd[1]: Started Session c2 of User sddm.
Sep 5 21:00:02 HomePC sddm-helper[934]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-GQWfUM --theme /usr/share/sddm/themes/breeze"
Sep 5 21:00:02 HomePC sddm-greeter-qt6[935]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
Sep 5 21:00:02 HomePC sddm-greeter-qt6[935]: qrc:/qt/qml/org/kde/breeze/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Sep 5 21:00:02 HomePC sddm-greeter-qt6[935]: libpng warning: iCCP: known incorrect sRGB profile
Sep 5 21:00:05 HomePC sddm-greeter-qt6[935]: file:///usr/share/sddm/themes/breeze/Main.qml:235:17 Parameter "username" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
Sep 5 21:00:05 HomePC sddm[984]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Sep 5 21:00:05 HomePC sddm[984]: Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
Sep 5 21:00:05 HomePC sddm[984]: If this causes problems, reconfigure your locale. See the locale(1) manual
Sep 5 21:00:05 HomePC sddm[984]: for more information.
Sep 5 21:00:05 HomePC sddm-helper[984]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" |
emerge --info:
Quote: | Portage 3.0.65 (python 3.12.5-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40, 6.10.7-gentoo x86_64)
=================================================================
System uname: Linux-6.10.7-gentoo-x86_64-AMD_Ryzen_9_7950X3D_16-Core_Processor-with-glibc2.40
KiB Mem: 65462416 total, 58290828 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Thu, 05 Sep 2024 08:30:00 +0000
Head commit of repository gentoo: 8e96e43c88d78642d35d7e50d2d2b0b6e89fedb4
Timestamp of repository slonko: Sat, 31 Aug 2024 16:33:48 +0000
Head commit of repository slonko: 8de0b3245e00ed19fd5678c81a7466a7ae2257f2
sh bash 5.2_p32-r1
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p32-r1::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.17-r1::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.12.5_p1::gentoo, 3.13.0_rc1_p3::gentoo
dev-lang/rust-bin: 1.80.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-apps/systemd: 256.5::gentoo
sys-devel/binutils: 2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 14.2.1_p20240817::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 18.1.8::gentoo
sys-devel/llvm: 18.1.8-r4::gentoo
sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
slonko
location: /var/db/repos/slonko
sync-type: git
sync-uri: https://github.com/gentoo-mirror/slonko.git
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=x86-64 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=x86-64 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion branding bzip2 cairo cdda cddb cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gd gdbm gif gpm gstreamer gui iconv icu ipv6 jpeg jpeg2k kde kf6compat kwallet lcms libnotify libtirpc lm_sensors lzma mad mdnsresponder-compat mng mp3 mp4 mpeg mtp ncurses networkmanager nfs nftables nls nsplugin ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust theora thumbnail tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en nb" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Any insight to why this happens ? |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 419
|
Posted: Thu Sep 05, 2024 7:36 pm Post subject: |
|
|
I do not know what lines correspond to that event happening. I'd suggest timing next time to get a better idea of which entries match the time that this black screen event is occurring. Did this only start occurring after the switch to KDE Plasma 6? Or Did it also occur before?
One thing that you can do in the meantime, is to remove the SDDM cache that is referenced there. It should be recreated the next time you reboot. I have had issues in the past where SDDM was referencing stale cached settings for files that no longer existed.
Since the update to 6 could cause conditions like that, especially if you have ever modified or personalized any SDDM settings, you can backup and move:
Code: | /var/lib/sddm/.cache |
and/or:
Code: | /var/lib/sddm/state.conf |
Reboot. |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 221
|
Posted: Thu Sep 05, 2024 11:31 pm Post subject: |
|
|
This started happening before updating to KDE Plasma 6.
I think it started after I upgraded from SDDM 0.18 to a newer version.
I tried uninstalling sddm and deleting the /var/lib/sddm folder and everything in it, for then to install it again
but it has no effect.
The log output is the same as before. |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 419
|
Posted: Fri Sep 06, 2024 1:07 am Post subject: |
|
|
The only thing I can see different from my logs and yours is:
Code: | 20:59:56 HomePC sddm-greeter-qt6[792]: libpng warning: iCCP: known incorrect sRGB profile
Sep 5 21:00:01 HomePC sddm-greeter-qt6[792]: The X11 connection broke (error 1). Did the X11 server die? |
There is 5 second delay there and then X11 connection dies.
Later:
Code: | Sep 5 21:00:02 HomePC sddm-greeter-qt6[935]: libpng warning: iCCP: known incorrect sRGB profile
Sep 5 21:00:05 HomePC sddm-greeter-qt6[935]: file:///usr/share/sddm/themes/breeze/Main.qml:235:17 Parameter |
There appears to be a 3 second delay there. I do not have any such libpng warnings in my journal output.
This error (when in relation to SDDM) may be related to the loading of the user image on your login screen. I normally use my own SDDM theme I have written that does not use user images, avatars or icons. I switched to the default Breeze theme to compare my journal output with yours. My user avatar has never been indicated or personalized, so it just shows up as a generic placeholder icon in System Settings.
I can only suggest to eliminate that as a cause or an issue. The user icon used to be stored as ~/.face.icon. Try moving or deleting that file if it still exists. Maybe an old user avatar is lingering there that is corrupt or incompatible.
You can try to change your user avatar to see if that has any effect on the journal output or SDDM. That can be done in SystemSettings>Users by clicking on the "Change Avatar" icon above your username.
That setting and icon is stored in /var/lib/AccountsService/icons and /var/lib/AccountsService/users.
You can delete the icon in the first directory (icons) for your user name and you delete the file in the second directory (users) with the same name as your username, it will be recreated if and when you change your user avatar in System Settings.
I would also suggest changing SDDM themes a few times to see if that makes any difference. If you are using custom background images on the SDDM login screen, then revert to the default. If all else fails, browse around in your system, especially /etc/sddm.conf.d/ .
Check the config files there as a a last resort to make sure you do not have any strange config settings leftover from the past that you may have forgotten about.
If none of that has any effect, then I would file a bug report @ https://github.com/sddm/sddm/issues or here at gentoo. |
|
Back to top |
|
|
NismoC32 Apprentice
Joined: 07 Apr 2003 Posts: 221
|
Posted: Sun Sep 08, 2024 5:58 pm Post subject: |
|
|
I tried the suggestions and even changes the sddm theme but it had no effect.
I wonder if the problem is within sddm itself or i it might be something sddm depends on.
I have a second computer with Gentoo that does not have this problem.
I'm gonna do some comparing between them.
The mayor differences so far is that I use OpenRC and stable (AMD64) on second PC and systemd (~AMD64) on this PC.
Anyway if I find something I'l post it here. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|