From nobody Mon Nov 18 07:28:29 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 4XsK4h6JLxz5dymR;
	Mon, 18 Nov 2024 07:29:08 +0000 (UTC)
	(envelope-from marietto2008@gmail.com)
Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031])
	(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 4XsK4g4BcRz531L;
	Mon, 18 Nov 2024 07:29:07 +0000 (UTC)
	(envelope-from marietto2008@gmail.com)
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=ShL8uvfw;
	spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=marietto2008@gmail.com;
	dmarc=pass (policy=none) header.from=gmail.com
Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2e3686088c3so2887626a91.0;
        Sun, 17 Nov 2024 23:29:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1731914946; x=1732519746; 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=KqLxzldblIiqqSzWqLDhWriThnfCC8aq4+5vBrYI3S4=;
        b=ShL8uvfwWyueWJKLTrNExd9BDnhu2bej8xP/FssYfwe+KMngAOeaj8EcyrwYW8ZJZo
         K4lC9iQ+gjfAuJT+/9KSguifJ9cWF1gHV8L6rRPc31NkK+d/IrsbopQyYl9quPv4OHfD
         ecvGIWZ3YmIbyUS7sU3p+6BjmzrT5iL9NSFfBdldP/MNoSrrF3T5aX5Mn+W+32nOIE7/
         XtbWFEABDWZbeAuZxKDsuXw/KFcABgjsH6AX7rySgWxLHs0L+NrUsVroKOr6s+fF92OC
         Qn17V8VSsClF8Gw0XMvCQhiFqvCJSvB4tFEqYQGvh0Arxyv0LUhGJQ+ri4lyQcrqaPeh
         vNzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1731914946; x=1732519746;
        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=KqLxzldblIiqqSzWqLDhWriThnfCC8aq4+5vBrYI3S4=;
        b=hKJobBJAoTCh6fRi0SGBnefRsDWm962clbGDMaidtFlKvqfUbS+JnxCqYqU1zUBVF5
         W8gHHgPygMLU5GF43l3w8XJZfEDX2cezyGbMC0GWOQioy7MuTckTzEGuXaL+eZvUhotb
         rx6oH9EJhrGDw6FT8Y56HdrttEZkimVmCmeVNFIeLO93vvQSFeDdi2X+F8fuRwc1ASDo
         gHaHh5qgf+yTNrpOtl6Um3pAQGiWM6FI2p0vZtCNaqJ8tB5DDryrfVj9g+BeJ9y3Yjzq
         NmqzbUNqc2+IBC1p4G0lvqUQo13Jrj6XOlicpHa/Okviep7/PXCZ0yRVURk4XfBdncRB
         Oj1g==
X-Forwarded-Encrypted: i=1; AJvYcCWCJZMNJ2j06UF7Nn1AlNLF4ZWy97O1V59qB+rrdS4BclQKZLcBwWf5MfzXI38wz0gL4lxYV+gt89z8TYmRDQj+Wg==@freebsd.org, AJvYcCXGzNaTdymg5AscHE3+ioszBjScQHUQFNcl+H4x1cqSLedxwTWCbsk9ATqTx1TDrawGbfRybwYm@freebsd.org
X-Gm-Message-State: AOJu0Yxqdyp94GCEgegitfnrNJ1ewE2wSZhWwI1HT0uI2J9VLmZ0GpEU
	PUWtmNrTO4OinxMz+AhyMjbpK4WQDzouNDHLLyXRJI43ohXLdnG9i0jtSUQBBJ1CxDEkEgRSk66
	gjiFiADjsMuBtr6zHEqtQKeF0g/y2ardUnxQ=
X-Google-Smtp-Source: AGHT+IHWkX3mk/o3lw8ve7cj+SyH+hmPs1SaNoFLLjg6mHEwd8d9+r6NqQIlVb0r7H1d1Clud+NP62+SRj4qHZNyKLM=
X-Received: by 2002:a17:90b:1dc6:b0:2ea:5c01:c1bb with SMTP id
 98e67ed59e1d1-2ea5c01c46amr4768860a91.11.1731914946214; Sun, 17 Nov 2024
 23:29:06 -0800 (PST)
List-Id: Using and improving FreeBSD on the desktop <freebsd-desktop.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-desktop
List-Help: <mailto:freebsd-desktop+help@freebsd.org>
List-Post: <mailto:freebsd-desktop@freebsd.org>
List-Subscribe: <mailto:freebsd-desktop+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-desktop+unsubscribe@freebsd.org>
Sender: owner-freebsd-desktop@FreeBSD.org
MIME-Version: 1.0
References: <CA+1FSig=N4omX0KTWuCmTYOzYvpVk7de1xqZT6DvWLwWaLcYtw@mail.gmail.com>
 <CAAQ96DzOR=WDYUwY_snvdtCdi2+FuuPmXXExh03XGTAWN9bvbw@mail.gmail.com>
In-Reply-To: <CAAQ96DzOR=WDYUwY_snvdtCdi2+FuuPmXXExh03XGTAWN9bvbw@mail.gmail.com>
From: Mario Marietto <marietto2008@gmail.com>
Date: Mon, 18 Nov 2024 08:28:29 +0100
Message-ID: <CA+1FSihGmcds8my9XFj1To=GcobMxOenWsSejR0vFgUwnCOfzA@mail.gmail.com>
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 <mohammad@thelightbird.com>
Cc: freebsd-desktop@freebsd.org, 
	FreeBSD Mailing List <freebsd-questions@freebsd.org>, Jan Beich <jbeich@freebsd.org>
Content-Type: multipart/alternative; boundary="00000000000026843306272adfee"
X-Spamd-Result: default: False [-3.70 / 15.00];
	NEURAL_HAM_LONG(-1.00)[-1.000];
	NEURAL_HAM_MEDIUM(-1.00)[-1.000];
	NEURAL_HAM_SHORT(-0.70)[-0.697];
	DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
	R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601];
	R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36];
	MIME_GOOD(-0.10)[multipart/alternative,text/plain];
	TO_DN_SOME(0.00)[];
	ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
	ARC_NA(0.00)[];
	FREEMAIL_FROM(0.00)[gmail.com];
	RCVD_COUNT_ONE(0.00)[1];
	FREEMAIL_ENVFROM(0.00)[gmail.com];
	MISSING_XM_UA(0.00)[];
	MIME_TRACE(0.00)[0:+,1:+,2:~];
	RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from];
	MLMMJ_DEST(0.00)[freebsd-desktop@freebsd.org,freebsd-questions@freebsd.org];
	FROM_EQ_ENVFROM(0.00)[];
	FROM_HAS_DN(0.00)[];
	RCPT_COUNT_THREE(0.00)[4];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
	MID_RHS_MATCH_FROMTLD(0.00)[];
	DKIM_TRACE(0.00)[gmail.com:+]
X-Rspamd-Queue-Id: 4XsK4g4BcRz531L
X-Spamd-Bar: ---

--00000000000026843306272adfee
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

---> When it comes to graphics kernel modules, I only have i915kms and
nvidia-drm set in kld_list

What about installing "drm-515-kmod" instead of "nvidia-drm-515-kmod" ? Is
it mandatory to use both i915 and nVidia ?


On Thu, Nov 14, 2024 at 1:44=E2=80=AFPM Mohammad Noureldin <
mohammad@thelightbird.com> wrote:

> Hi Mario,
>
> On Thu, Nov 14, 2024 at 11:45=E2=80=AFAM Mario Marietto <marietto2008@gma=
il.com>
> wrote:
>
>> Hello bro.
>>
>> I'm not sure if I should report a bug that afflicts KDE 6.0 + Wayland on
>> FreeBSD 14.1. It works for some time but then suddenly it crashes. It's =
not
>> rare that everything disappears on the screen and a hard reboot is
>> required. I would like to know if you have seen this error before :
>>
>> <snip>
>>
>> # nano /etc/X11/xorg.conf :
>>
>> Code:
>>
>> Section "Device"
>>     Identifier  "Card0"
>>     Driver      "modesetting"
>>     BusID       "PCI:0:2:0"
>> EndSection
>>
>> Section "Device"
>>     Identifier  "Card1"
>>     Driver      "modesetting"
>>     BusID       "PCI:2:0:0"
>> EndSection
>>
>> I am not sure if this is directly related, but this doesn't look like th=
e
> recommended way to leverage the auto-configuration features in X sever
> explained in [1] and specially in the context of having to work with
> systems equipped with 2 GPU(s).
>
> I've been running a Lenovo Thinkpad P52s for few months (almost a year)
> now and it works like a charm. I can also set any of the iGPU exclusive-o=
r
> dGPU as the Primary GPU.
>
> Worth mentioning though that I am using i3wm.
>
>
>>
>> # nano /etc/rc.conf :
>>
>> Code:
>>
>> kld_list=3D"i915kms nvidia nvidia-modeset nvidia-drm linux linux64 ext2f=
s"
>>
>> <sip>
>>
>>
> When it comes to graphics kernel modules, I only have i915kms and
> nvidia-drm set in kld_list
>
> --
>> Mario.
>>
>
> [1] https://badland.io/prime-configuration.md
>
>
> --
> Thanks
> - Mohammad Noureldin
> --
> "Life is like riding a bicycle. To keep your balance you must keep moving=
"
> - Albert Einstein
>
>

--=20
Mario.

--00000000000026843306272adfee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>---&gt; When it comes to graphics kernel modules=
, I only have i915kms and nvidia-drm set in kld_list</div></div><div><br></=
div><div>What about installing &quot;drm-515-kmod&quot; instead of &quot;nv=
idia-drm-515-kmod&quot; ? Is it mandatory to use both i915 and nVidia ?<br>=
</div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, Nov 14, 2024 at 1:44=E2=80=AFPM Mohammad Noure=
ldin &lt;<a href=3D"mailto:mohammad@thelightbird.com">mohammad@thelightbird=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div>Hi Mario,</div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Thu, Nov 14, 2024 at 11:45=E2=80=AFAM=
 Mario Marietto &lt;<a href=3D"mailto:marietto2008@gmail.com" target=3D"_bl=
ank">marietto2008@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hello bro.<br>
<br><div>
I&#39;m not sure if I should report a bug that afflicts KDE 6.0 + Wayland o=
n FreeBSD 14.1. It works for=20
some time but then suddenly it crashes. It&#39;s not rare that everything=
=20
disappears on the screen and a hard reboot is required. I would like to=20
know if you have seen this error before :</div>
<br>

=09
=09


<div>
	<div>&lt;snip&gt;</div></div><div><div dir=3D"ltr">
	</div>
</div><br>
# nano /etc/X11/xorg.conf :<br>
<br>

=09
=09


<div>
	<div>
		Code:
	</div>
	<div dir=3D"ltr">
		<pre dir=3D"ltr"><code>Section &quot;Device&quot;
    Identifier  &quot;Card0&quot;
    Driver      &quot;modesetting&quot;
    BusID       &quot;PCI:0:2:0&quot;
EndSection

Section &quot;Device&quot;
    Identifier  &quot;Card1&quot;
    Driver      &quot;modesetting&quot;
    BusID       &quot;PCI:2:0:0&quot;
EndSection</code></pre></div></div></div></div></blockquote><div>I am not s=
ure if this is directly related, but this doesn&#39;t look like the recomme=
nded way to leverage the auto-configuration features in X sever explained i=
n [1] and specially in the context of having to work with systems equipped =
with 2 GPU(s).</div><div><br></div><div>I&#39;ve been running a Lenovo Thin=
kpad P52s for few months (almost a year) now and it works like a charm. I c=
an also set any of the iGPU exclusive-or dGPU as the Primary GPU.</div><div=
><br></div><div>Worth mentioning though that I am using i3wm.</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"=
><div><div><div dir=3D"ltr">
	</div>
</div><br>
# nano /etc/rc.conf :<br>
<br>

=09
=09


<div>
	<div>
		Code:
	</div>
	<div dir=3D"ltr">
		<pre dir=3D"ltr"><code>kld_list=3D&quot;i915kms nvidia nvidia-modeset nvi=
dia-drm linux linux64 ext2fs&quot;</code></pre>
	</div>
</div><pre><code><font face=3D"Arial, Helvetica, sans-serif"><span style=3D=
"white-space:normal">&lt;sip&gt;</span></font> </code></pre></div></div></b=
lockquote><div><br></div><div>When it comes to graphics kernel modules, I o=
nly have i915kms and nvidia-drm set in kld_list</div><div><br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><span class=3D"=
gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signa=
ture">Mario.<br></div></div></blockquote><div><br></div><div>[1]=C2=A0<a hr=
ef=3D"https://badland.io/prime-configuration.md" target=3D"_blank">https://=
badland.io/prime-configuration.md</a>=C2=A0</div></div><div><br clear=3D"al=
l"></div><div><br></div><span class=3D"gmail_signature_prefix">-- </span><b=
r><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=
=3D"ltr" style=3D"color:rgb(136,136,136)">Thanks<br>- Mohammad Noureldin<br=
>--<br>&quot;Life is like riding a bicycle. To keep your balance you must k=
eep moving&quot;<br>- Albert Einstein</div></div><div dir=3D"ltr" style=3D"=
color:rgb(136,136,136)"><br></div></div></div></div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma=
rio.<br></div>

--00000000000026843306272adfee--