Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901727 - kde-plasma/kwin: wakeup fails, many 'kwin_wayland_drm: Creating gbm surface failed!' errors in journal with x11-drivers/nvidia-drivers
Summary: kde-plasma/kwin: wakeup fails, many 'kwin_wayland_drm: Creating gbm surface f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: frameworks-5.104-stable, plasma-5.27.4-stable
  Show dependency tree
 
Reported: 2023-03-17 05:17 UTC by risto.paavola
Modified: 2023-03-26 13:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description risto.paavola 2023-03-17 05:17:22 UTC
Hi!

Gentoo testing packages. A big upgrade few days ago, at least new kernel and Plasma. I am not sure, which package introduces this bug.

KDE Plasma would not wake anymore from sleep, gives a black screen. Otherwise the system is working fine, I can for example open another TTY and login or use ssh to login.

Journal log after trying to wake up:
--8<--
...
Mar 16 05:30:49 puhku systemd[1]: Reloading laptop-mode.service...
Mar 16 05:30:49 puhku systemd[1]: Reached target bluetooth.target.
Mar 16 05:30:49 puhku laptop_mode[86230]: Laptop mode
Mar 16 05:30:49 puhku laptop_mode[86230]: enabled, not active [unchanged]
Mar 16 05:30:49 puhku systemd[1]: Reloaded laptop-mode.service.
Mar 16 05:30:49 puhku plasmashell[1754]: Process "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader" already running. Pid: 86053
Mar 16 05:30:49 puhku systemd[1]: systemd-suspend.service: Deactivated successfully.
Mar 16 05:30:49 puhku systemd[1]: Finished systemd-suspend.service.
Mar 16 05:30:49 puhku systemd[1]: systemd-suspend.service: Consumed 1.106s CPU time.
Mar 16 05:30:49 puhku systemd[1]: Stopped target sleep.target.
Mar 16 05:30:49 puhku systemd[1]: Reached target suspend.target.
Mar 16 05:30:49 puhku systemd-logind[729]: Operation 'sleep' finished.
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Failed to create gamma blob! Invalid argument
Mar 16 05:30:49 puhku NetworkManager[817]: <info>  [1678937449.8962] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Mar 16 05:30:49 puhku NetworkManager[817]: <info>  [1678937449.8963] device (enp2s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-s>
Mar 16 05:30:49 puhku systemd[1]: Starting nvidia-resume.service...
Mar 16 05:30:49 puhku systemd[1]: Stopped target suspend.target.
Mar 16 05:30:49 puhku suspend[86282]: nvidia-resume.service
Mar 16 05:30:49 puhku logger[86282]: <13>Mar 16 05:30:49 suspend: nvidia-resume.service
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku systemd[1]: nvidia-resume.service: Deactivated successfully.
Mar 16 05:30:49 puhku systemd[1]: Finished nvidia-resume.service.
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Failed to find a working setup for new outputs!
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kdeconnectd[1904]: kdeconnect.core: No local bluetooth adapter found
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Creating gbm surface failed! No such file or directory
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Checking test buffer failed for (1)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_core: Applying KScreen config failed!
Mar 16 05:30:49 puhku kernel: Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
Mar 16 05:30:49 puhku kwin_wayland[1694]: kwin_wayland_drm: Setting dpms mode failed!
Mar 16 05:30:50 puhku systemd-networkd[376]: enp2s0: Link UP
Mar 16 05:30:50 puhku systemd-networkd[376]: lo: Unmanaging interface.
...
--8<--

emerge --info:
--8<--
Portage 3.0.45.2 (python 3.10.10-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-12, glibc-2.37-r1, 6.2.6-gentoo x86_64)
=================================================================
System uname: Linux-6.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-glibc2.37
KiB Mem:    24571148 total,  15375016 free
KiB Swap:   39845884 total,  39845884 free
Timestamp of repository gentoo: Fri, 17 Mar 2023 03:30:01 +0000
Head commit of repository gentoo: 7da2f9f41899e9732c8327dc82a6a18ff64cb074
Head commit of repository steam-overlay: 6c692163aaa1a2e68742078c86d88e6be58b0ba4

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p3) 2.40.0
ccache version 4.8 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/ccache:           4.8::gentoo
dev-util/cmake:            3.26.0::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=8"
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=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en fi"
MAKEOPTS="--jobs=6"
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 aac acl acpi activities alsa amd64 apache2 audit bash-completion bluetooth branding bzip2 cairo clamav cli crypt cups curl dbus declarative dri driver dts encode exif flac fontconfig fortran gdbm gif gles2 gpm gtk gui iconv icu ipv6 iwd java jpeg kde kwallet lcms libass libglvnd libnotify libtirpc lm-sensors lvm mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp pam pango pcmcia pcre pdf pipewire plasma png policykit ppds pulseaudio python qml qt5 readline samba screencast scsi sdl seccomp semantic-desktop smp sound spell split-usr ssl startup-notification svg systemd test-rust tiff tools truetype udev udisks unicode upower usb vaapi vdpau vnc vorbis vpx wayland widgets wifi wxwidgets x264 xattr xcb xcomposite xft xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="mouse keyboard synaptics libinput" KERNEL="linux" L10N="en fi" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
--8<--
Comment 1 Andreas Sturmlechner gentoo-dev 2023-03-26 13:27:36 UTC
This should be fixed with kde-plasma/kwin-5.27.3-r2.