From nobody Thu Nov 14 16:03:51 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 4Xq4jC14Q5z5cqkw; Thu, 14 Nov 2024 16:04:31 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 4Xq4jB2WyPz4mdQ; Thu, 14 Nov 2024 16:04:30 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2ea0f283a82so321838a91.1; Thu, 14 Nov 2024 08:04:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731600268; x=1732205068; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ekM4nb7IpJGuZTfucbaz+GbXG2zPgYnSo/MJ+1wGU8E=; b=Z4ghXf0u30coFlE+NWtiP3B4FLfkyroqJ5iHx2Mp82F13o+xfyk/yR07RAMhMeF7O3 gYczVulXS+U+MsLhD7dNC2kagfRr/DRWfoh0yQmiKStLZR8vhhLYCy3bMyNc/mKVt868 xcgvTpyJ4wmVK0tw9iOlMjfS3kJocjaMET9FUhWXc8DI72ny1wqsCiBOq16p9zgpE4n6 lxm9WwOnqghPAwbBX7XLXTS4zw0oCZsUdN5dL4eX65c4xMYCoWZHvuvDm5yiOfCZF/1C XWUGimOR1Vxb6RmHfQ4d17RxOwVLeNQXeZ/vxM8t83YfsLm9cl3CzMi/mXsD4UxAAvQF Y9iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731600268; x=1732205068; h=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=ekM4nb7IpJGuZTfucbaz+GbXG2zPgYnSo/MJ+1wGU8E=; b=BN1ercU5TYOSMqoNenQ/EzkulN/bngjesTlpRzHBaPOatrVrtRdCMlQkg2qucNObBY iH6jGWPI5G8eIi+Gt8hnq4jn1rk6zRwghHxENLptzKsOJIhe+5jsVhVm65h9viX5SHb8 bJjVvhDEDqok4u9mvRbiUgHP/LbQRBKH3MeUh0ZAfGg7KFG+CVhQIKt1j7rnreYFm5kH AETpjMTqVbEZ5qXlTbEhhceQQzZVhX3qDz+Ec601FIG6y1lWn9Jxau1VC1sFbPX9z1/5 q6XOGjWzUGemVVVIo3JXHgb8XT+pfgxlPZmBp0lUAInKn5qtTx9hgqdq7evya0FRYcmw Acpw== X-Forwarded-Encrypted: i=1; AJvYcCUdj9AuRbm76l1F82LpuaKWvrfSDrzGNfkd3tvQ2EEu+0T3OhFEsR3Puhi5apGexXLv6V7lbzwOEBZNWNP6XJ3q6q0=@freebsd.org, AJvYcCVsAZtShv7ZOiUfBiMZWLAbG3fiWDTVzzyF/35zLnh9yY8dxFsipWptWyVXPaUB/xNGOdOeN7ZLU6/GYk6pHWo=@freebsd.org X-Gm-Message-State: AOJu0Yxl9Vrx17RQhpqxZjQk4xDzrCch/0zm1Rmg//DQcflf4y4aF6dk oxQHJMP62FW4BIybafq47z4puoHS29EqvmyLysUSajd2MSnh0/zYU2dIDkujFpxXxkpGxfY3DIK wXqaTeAnUGPBeDjRiaOpu5DVPaeENku1K X-Google-Smtp-Source: AGHT+IHfNqYhufd52/22BqAxz8dW2KtdO78GTDVVxYVfrbQcCLuYZtjHOZk4gPcVNohBKaua4uFuvx79N3un4nv1660= X-Received: by 2002:a17:90a:d405:b0:2e2:d3a0:4716 with SMTP id 98e67ed59e1d1-2e9b173c50fmr35034862a91.18.1731600268224; Thu, 14 Nov 2024 08:04:28 -0800 (PST) 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 References: In-Reply-To: From: Mario Marietto Date: Thu, 14 Nov 2024 17:03:51 +0100 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: Gleb Popov Cc: Mohammad Noureldin , freebsd-desktop@freebsd.org, FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000e175460626e19a3b" 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:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Xq4jB2WyPz4mdQ X-Spamd-Bar: ---- --000000000000e175460626e19a3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ok. So you're telling me that there is a bug to fix and not an error within my configuration settings. I don't know if this info is useful for you,but KDE 6 under wayland crashes totally everytime I press in a random point of the screen with the right mouse button. So the crashes are not randomic. On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb Popov wro= te: > 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 > this anymore. When you follow the explanations from the article I've shar= ed > 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. > > --=20 Mario. --000000000000e175460626e19a3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
ok. So you're telling me that there is a bug to fix an= d not an error within my configuration settings.=C2=A0 I don't know if = this info is useful for you,but KDE 6 under wayland crashes totally everyti= me I press in a random point of the screen with the right mouse button. So = the crashes are not randomic.

On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gl= eb Popov <arrowd@freebsd.org&g= t; wrote:
On Thu= , Nov 14, 2024 at 5:37=E2=80=AFPM Mohammad Noureldin
<mohammad= @thelightbird.com> wrote:
>
> This is the whole idea behind auto-configuration, that you don't n= eed this anymore. When you follow the explanations from the article I'v= e shared in my previous email, you should end up with configurations simila= r to these:
>
> $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf
> Section "OutputClass"
>=C2=A0 =C2=A0 =C2=A0Identifier "intel"
>=C2=A0 =C2=A0 =C2=A0MatchDriver "i915kms"
>=C2=A0 =C2=A0 =C2=A0Driver "modesetting"
>=C2=A0 =C2=A0 =C2=A0Option "PrimaryGPU" "yes"
> EndSection
>
> $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<= br> > Section "OutputClass"
>=C2=A0 =C2=A0 =C2=A0Identifier "nvidia"
>=C2=A0 =C2=A0 =C2=A0MatchDriver "nvidia-drm"
>=C2=A0 =C2=A0 =C2=A0Driver "nvidia"
>=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/nvidia/xorg" >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/xorg/modules"<= br> > 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<= br> API, but it doesn't provide 100% compatibility yet. Some Wayland stuff<= br> 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.



--
Ma= rio.
--000000000000e175460626e19a3b--