From nobody Thu Nov 14 15:10:09 2024 X-Original-To: freebsd-desktop@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 4Xq3W456Wnz5cmZd; Thu, 14 Nov 2024 15:10:40 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xq3W36X91z4dhF; Thu, 14 Nov 2024 15:10:39 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3e5f6e44727so469656b6e.0; Thu, 14 Nov 2024 07:10:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731597038; x=1732201838; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cZI5jnstzTzeoCZAqS7Fhg3F97mlc/B2zl9yTl2weDo=; b=Y6g3dxvbEA7QYB6eo8uARguZ922VMdYRBNivNnZ5RwWXSWpDM8KO5C2OMdXZ8LE+54 OAXD4Sg20hkQu4rLABrQUTloTy9BuXoZYgElcR1aGz+zHHa3yE4WlADAKSgaa0EUnJUX YHlx8L/04Yl49Dfd6/j22SDqO6276b/AsviKTB3gaShS/M98w1w3PxSjrozL7c+a6PyO iioflW2uA2eKu0OALb5ytotaAsOJO7X6nfmpWuYc1TBqLB9OC4pWQxQQ8KMwyLcl7Snw q5JsV7aqnz7i5rWMLYF1OepHi5q4DHEPdPlzv2rEW7lQjrzKkxRH8YXHR6/I3Vh+AKG0 PwmQ== X-Forwarded-Encrypted: i=1; AJvYcCUNbD5B9Uhn+ptD/4vLxJJ448TOKWvbnFhy+5X9ScsI3p09ZzoANMahxb8YI6HEDy7KJOyQvKh2FYT/Civ29OjEvA==@freebsd.org X-Gm-Message-State: AOJu0YxmTvkJSN91I558phDG/4Pg1ZpJYfnyYZfoSHvm+wxPsqrT70U0 dX7IhDCWEkjsH5YsTIWANVoClriw++ZBE2mjOmxmubVq/FLBajmBJyJDGrNs X-Google-Smtp-Source: AGHT+IHwuNMAIVSeTzwHPq59YsoelJ7EF0X9xuilg3khq9Ry9mjqV72sZv+DSimGqzIhj9TeL3zhxg== X-Received: by 2002:a05:6808:1809:b0:3e6:61ef:fbf with SMTP id 5614622812f47-3e7b7b49cf3mr2413933b6e.9.1731597038499; Thu, 14 Nov 2024 07:10:38 -0800 (PST) Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com. [209.85.167.178]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3e7b85a7583sm346465b6e.13.2024.11.14.07.10.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Nov 2024 07:10:38 -0800 (PST) Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3e60d3adecbso382192b6e.2; Thu, 14 Nov 2024 07:10:37 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVRnH1JAud7A37b301hZ9dzC8GT6NN+U/lYA+K6rKLfLRUaTK2T7jGfk6ivQkWhZ0NpSJ+8vZIor8gidexLncL5bQ==@freebsd.org X-Received: by 2002:a05:6808:1487:b0:3e6:1f2a:7f6e with SMTP id 5614622812f47-3e7b7b8acf7mr2660102b6e.25.1731597037571; Thu, 14 Nov 2024 07:10:37 -0800 (PST) List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Thu, 14 Nov 2024 18:10:09 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed To: Mohammad Noureldin Cc: freebsd-desktop@freebsd.org, FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4Xq3W36X91z4dhF X-Spamd-Bar: ---- On Thu, Nov 14, 2024 at 5:37=E2=80=AFPM Mohammad Noureldin wrote: > > This is the whole idea behind auto-configuration, that you don't need thi= s anymore. When you follow the explanations from the article I've shared in= my previous email, you should end up with configurations similar to these: > > $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf > Section "OutputClass" > Identifier "intel" > MatchDriver "i915kms" > Driver "modesetting" > Option "PrimaryGPU" "yes" > EndSection > > $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf > Section "OutputClass" > Identifier "nvidia" > MatchDriver "nvidia-drm" > Driver "nvidia" > ModulePath "/usr/local/lib/nvidia/xorg" > ModulePath "/usr/local/lib/xorg/modules" > EndSection > > In this case I have set the iGPU, from Intel, as the Primary GPU. > This is all correct except you shouldn't edit files under /usr/local/share. Instead you should create a new config file in /usr/local/etc and override values you want there. Speaking of the consolekit problem, it tries to mimic systemd's login1 API, but it doesn't provide 100% compatibility yet. Some Wayland stuff may call into that and bump into these incompatibilities. I'm slowly working on consolekit in my free time, so maybe this will get fixed in the near future.