From nobody Sat May 18 13:37:50 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VhPz92kwZz5Knly for ; Sat, 18 May 2024 13:37:57 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VhPz91tblz53kB; Sat, 18 May 2024 13:37:57 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716039477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M05ycqgx5NYPLj1nzk0YgtcVzyQYs4VE3Z/qBQdtgbE=; b=qeaCCC0kwXSoU4u1mrzYniaF13TB/p2FK72AK93KJsoMSUxgO0c3bRnDkpKNcXwuqSTVXv nCpGkyidilU6naEA2kVZ2FQ6c8UjR0PxWFZKdIAiCcwGnQHKr1IyPQykIS1vhGNGmxOvst 1rAp+wJ608WMoKIXaVS3zj/oQfrrn2n3egQaiPNJNhUtQu8uVlJUU7f1RQKiwUYbbaRe5t ETKT6jTTxzXYwbNSfpO7k4ENTMFyDM3edtHUJWHy3HuR2RTp1vGCyYORr71+ZjeLrVoR4p 62rK7Vr9WnUZcZ80YKZmGgEK8e/LMzrThge90ROGFGxIADPTPTz7OZ2m+Jdp5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716039477; a=rsa-sha256; cv=none; b=s9iRSsHIC0BoG+hJvb8kjM3fCFxOxQMTcqTrNyXTM22BbayIwxqBR58epl9JX96zxD1cGS iRGIOd0gwjieun+dQ99vrO1ZOuqOCIpXoeOtd5GU+bJDoYtXE44AWf9kEAFHMa2FY3Qyec C2wy0ZoAPKDsvK78DDn5fAcG1FTT/tQjzpIJ/sUGvCC9now+Wcv2eXB16axG4SPcrFJkgt sVyfo7gM7di/BTzxmcKgpVWfdUMwmOWzi2BLD8lWaoQgk2xvI7M87wmHNAwKvbIHt7maHy oxKHnmz++i1iPtE8+rhREnXyxu61fctGacmOItQHjL8pEAJ1BIHBcpvCrFHyjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716039477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=M05ycqgx5NYPLj1nzk0YgtcVzyQYs4VE3Z/qBQdtgbE=; b=cf838OAnFeyxFTZRupsU9GKRB7u2+9dWHRRVGt6TIsZJ9zLE2V6884uM6uUyE6b2kdpVVo ExjJHk+c4mS1bjXkiNUODNFsypfGVrzf6MpLZ55nDmlzO5BN1SgCuFGFXHiLbeAnLpSAoB ywI1xZnFtZNkyqaTr8t3ZQqGcOyvsOnKuQ/H7Mb/t1t1PjvPbgPLPNjGvz4RJ+8HyO4NFS 2zgDK2QPy1D7xFo0Jks+UjPXoxEjYk+U4pe5o2zeD2+gkEUMrsZX9LwuogZs7HGyvu6+pp c3oWC/BhdSylS2CRwfeYCCdY+h1v/zBgH6m+mdpBECjsfkIELxi1UoxvYjZ81A== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 00E3414AED; Sat, 18 May 2024 13:37:56 +0000 (UTC) From: Jan Beich To: Henrik Morsing Cc: freebsd-questions@freebsd.org Subject: Re: Browsers stopped working In-Reply-To: (Henrik Morsing's message of "Fri, 17 May 2024 19:10:43 +0100") References: Date: Sat, 18 May 2024 15:37:50 +0200 Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain Henrik Morsing writes: > After upgrading to 14, and ironing out some issues, FreeBSD seemed to > work fine. Until one day, I can't run any browser and just get this: I can't reproduce in a pristine 14.0-RELEASE jail with either /quarterly or /latest repos. Nothing in the short log you've provided looks suspicious enough to break runtime. Debugging (instead of divining) requires more details: - exact FreeBSD version and architecture - complete list of package and versions - /etc/rc.conf and /etc/sysctl.conf contents - printenv(1) output - list of the affected apps (did you even try Firefox?) - check "tail /var/log/messages" for crashed processes For example, it's easy to break all Chromium-based browsers by setting kern.elf64.allow_wx=0 in /etc/sysctl.conf (bug 272221) but this would be noticible in logs and doesn't seem to affect you. > [3033:60491753931520:0517/190525.522986:ERROR:bus.cc(407)] Failed to > connect to the bus: Could not parse server address: Unknown address > type (examples of valid types are "tcp" and on UNIX "unix") > [3033:60491808166144:0517/190525.534880:ERROR:object_proxy.cc(576)] > Failed to call method: org.freedesktop.DBus.Properties.Get: > object_path= /org/freedesktop/UPower: > org.freedesktop.DBus.Error.ServiceUnknown: The name > org.freedesktop.UPower was not provided by any .service files Battery status in Chromium requires "upower" package and dbus_enable=YES in /etc/rc.conf. It's optional but at the cost of such noisy warnings. > ld-elf.so.1: /usr/local/lib/gio/modules/libdconfsettings.so: Undefined > symbol "g_once_init_enter_pointer" Likely a unsupported partial upgrade: "glib" was upgraded without "dconf". Running "pkg upgrade" is usually enough to fix such issues. "dconf" also needs dbus_enable=YES or at least "dbus-daemon --session". It's optional but at the cost of some warnings. > I can't really figure out if it is a DBUS or AMDGPU problem. Chromium runs fine even without GPU drivers e.g., Xorg with xf86-video-scfb (UEFI) or xf86-video-vesa (BIOS); or in a jail with X11/Wayland sockets passed through but /dev/dri/ hidden and mesa-dri not installed. To test GPU drivers try running vkcube-xcb from vulkan-tools package. If it says llvmpipe (software rasterizer) then GPU acceleration is broken like in https://github.com/freebsd/drm-kmod/issues/175 However, Chromium would probably still run fine. > Any ideas? Bisect the upgrade by testing backups then replay from the last good in order to understand what broke.