Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sddm and kernel-6.8.6-gentoo [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 513
Location: Wales, UK

PostPosted: Mon Apr 22, 2024 11:17 am    Post subject: sddm and kernel-6.8.6-gentoo [SOLVED] Reply with quote

Good afternoon all,
I am playing around with rust and needed to install docker. In doing this, I was informed that several of the required kernel options were not set, so i took the opportunity to update to 6.8.6 from 6.6.7 (both from gentoo-sources). After doing this and rebooting, sddm doesn't present the graphical interface. It does seem to be running, and there are no errors in the sddm log:
Code:
[11:50:59.840] (II) DAEMON: Initializing...
[11:50:59.845] (II) DAEMON: Starting...
[11:50:59.845] (II) DAEMON: Logind interface found
[11:56:10.253] (WW) DAEMON: Signal received: SIGTERM
[11:56:10.321] (II) DAEMON: Initializing...
[11:56:10.324] (II) DAEMON: Starting...
[11:56:10.324] (II) DAEMON: Logind interface found

For a successful run under the earlier kernel, I get:
Code:
[12:01:09.773] (II) DAEMON: Initializing...
[12:01:09.778] (II) DAEMON: Starting...
[12:01:09.778] (II) DAEMON: Logind interface found
[12:01:09.779] (II) DAEMON: Adding new display...
[12:01:09.780] (II) DAEMON: Loaded empty theme configuration
[12:01:09.780] (II) DAEMON: Xauthority path: "/run/sddm/xauth_yKkaVY"
[12:01:09.780] (II) DAEMON: Using VT 2
[12:01:09.780] (II) DAEMON: Display server starting...
[12:01:09.780] (II) DAEMON: Writing cookie to "/run/sddm/xauth_yKkaVY"
[12:01:09.780] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_yKkaVY -noreset -displayfd 16
[12:01:10.899] (II) DAEMON: Setting default cursor
[12:01:10.906] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[12:01:10.909] (II) DAEMON: Display server started.
[12:01:10.909] (II) DAEMON: Socket server starting...
[12:01:10.909] (II) DAEMON: Socket server started.
[12:01:10.910] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[12:01:10.912] (II) DAEMON: Greeter starting...
[12:01:10.922] (II) HELPER: [PAM] Starting...
[12:01:10.922] (II) HELPER: [PAM] Authenticating...
[12:01:10.922] (II) HELPER: [PAM] returning.
[12:01:10.945] (II) HELPER: Writing cookie to "/tmp/xauth_xgFILR"
[12:01:10.945] (II) HELPER: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-DgnKRS --theme /usr/share/sddm/themes/breeze"
[12:01:10.947] (II) DAEMON: Greeter session started successfully
[12:01:11.050] (II) DAEMON: Message received from greeter: Connect
[12:01:16.163] (II) DAEMON: Message received from greeter: Login

(this is through to me logging in to a plasma5 session as well).
So it doesn't seem to get to the "Adding New Display..." part.

As I had made the kernel changes for docker at this point, I went back and created the new kernel as I would usually do (take the working .config, then run make oldconfig, confirming each new option before adding or not), this time not making any docker additions. This also exhibited the same outcome. System: AMD Ryzen 9 3950X 16-Core Processor, with AMD Radeon RX6600XT GPU.

I appreciate the kernel is "unstable", but anyway I would like to understand how to resolve this (in order to expand my knowledge!), so any suggestions as to how to proceed would be gratefully received.

Here is my emerge --info:
Code:
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.38-r11, 6.6.7-gentoo x86_64)
=================================================================
System uname: Linux-6.6.7-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.38
KiB Mem:    32772792 total,  20768676 free
KiB Swap:    1023996 total,   1023996 free
Timestamp of repository gentoo: Sat, 13 Apr 2024 16:19:08 +0000
Head commit of repository gentoo: 8bd92422bc397f667079d904b343696a541e0d24

Timestamp of repository guru: Sat, 13 Apr 2024 16:18:22 +0000
Head commit of repository guru: 4ce993de971af0377711f845555ce1d4e4615793

Timestamp of repository haskell: Sat, 06 Apr 2024 22:48:05 +0000
Head commit of repository haskell: 3118eb7d4881b14bfe3ec8e958a25c7d0af7e0c0

Timestamp of repository lisp: Tue, 09 Apr 2024 20:33:32 +0000
Head commit of repository lisp: fa9071a52fa0756b17e8e5c50915c436a33ee36f

Timestamp of repository raiagent: Mon, 01 Apr 2024 09:52:32 +0000
Head commit of repository raiagent: 08cce79bb455ad391d60667eb5284ee30f1e4179

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.11.8_p1::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.3.1_p20230526::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

lisp
    location: /var/db/repos/lisp
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lisp.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

raiagent
    location: /var/db/repos/raiagent
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/raiagent.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver2"
DISTDIR="/var/cache/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="-O2 -march=znver2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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="-O2 -march=znver2"
GENTOO_MIRRORS="rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS=" -j20"
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 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind emacs encode exif ffmpeg flac gdbm gif git gles2 gpm gtk gui harfbuzz iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc lm-sensors mad mariadb mng mozbranding mp3 mp4 mpeg multilib musicbrainz mysql nano ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit postgres ppds pulseaudio python qml qt5 readline rtlsdr ruby rust samba screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg taglib test-rust theora tiff truetype udev udisks unicode upower usb v4l vim-syntax vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-gb" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" 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, 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


Thanks!

EDIT: I had run "make install" to install the kernel, without installing the modules. I should have run "make install modules_install"


Last edited by paulj on Tue Apr 23, 2024 5:35 am; edited 2 times in total
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 300

PostPosted: Mon Apr 22, 2024 3:40 pm    Post subject: Reply with quote

When using the new kernel, can you verify that your GPU driver is loaded and in use, using:
Code:
inxi -Gazy

or similar.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 513
Location: Wales, UK

PostPosted: Tue Apr 23, 2024 5:34 am    Post subject: Reply with quote

Thanks @rab0171610 - your comment pointed me at the issue. In fact, I had not properly installed the kernel and it's modules - instead of "make install modules_install", I had only run "make install".

That will teach me to pay more attention!! I will of course leave this tread up, in the hope it saves someone else from admitting their mistake :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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