From nobody Mon Nov 18 09:56:05 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 4XsNLW4q0dz5cdYn for ; Mon, 18 Nov 2024 09:56:19 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 4XsNLV3sTcz44Pw for ; Mon, 18 Nov 2024 09:56:18 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=thelightbird-com.20230601.gappssmtp.com header.s=20230601 header.b=kbeEOlC3; spf=fail (mx1.freebsd.org: domain of mohammad@thelightbird.com does not designate 2a00:1450:4864:20::132 as permitted sender) smtp.mailfrom=mohammad@thelightbird.com; dmarc=none Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539f84907caso4254067e87.3 for ; Mon, 18 Nov 2024 01:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thelightbird-com.20230601.gappssmtp.com; s=20230601; t=1731923776; x=1732528576; 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=znBmutRxQMMjuvCD2mok2VfOpucvxaDaCz52na7GgLs=; b=kbeEOlC3ekc7TLsrfMYjcSuzz/QwsYuRBvF5iN0JkVHeYMbXWcmtX/5KotCwXFlKNu kcrDY8dlwhlM08yhpr42uk2G4/SjqcHFti/0lcU3kXPOjy3z6wFoNZtkLxC4PAQRTLXc RaPpU4chJ/O6NZTraVcTiPlKkPbFQyJs2/YhP/XBf1dx5po0ItEtaobSLEhTaWnhEbKW BUf1QBtn2c4+zVaBz0lgPLz2g16whTlkvnOpJNmkb/fGkeQ0c6VtvyDTWUZS01/Jmk29 5M1ltdL6bMLTbh0px1E7mex4rOGZhKA8p0pB1V5PfIMdByu8ldXrL214+0qXMPBIJE00 RG/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731923776; x=1732528576; 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=znBmutRxQMMjuvCD2mok2VfOpucvxaDaCz52na7GgLs=; b=hRvklHtfJ6sjLijR4AK0ckXm0FDSEMuaX+GppwhgKg5NzriWRAugz9f6UtB/Dli+QV dGslObMzLgTiJhzdgV4w3TVUZ41LRgj5U5qWKv9kc3vMq4EXA8grq/s/DxZdeHzPQw4s 5cRW4TLdmrXFyHRpmWlYGQc05j7fAY4LtyR42kPAfrbL946NRrMDO/yOOgU/HV0OY8xa wya7SUE7yNp3/ixy6esW8zeF4BeN949Gz08q7ypZQuqQ+Yo8fqtNNmqwH39tKDEyYbTI i63m48e4czR37W+z96f5zdLJqc95LVavQRWlIPQ5Ej3efSALai0kJDWCbZdgKAvdoN7u I/uw== X-Gm-Message-State: AOJu0YwnbhYKyfV3B1+g+tF2/+uAGPMQU6rnQCTDxf6oJenQCW6uHjvJ 3pGUhh4eBON815seStgVxC2uqU4Wo1oLdPd1JEMQXGvU+qaWPtoM5nvJwZUN2t0kOwJnTk37bZj Sl52a3WJftrSRb4gl8MP8N7sa7goIDxUIU+eR X-Google-Smtp-Source: AGHT+IGuE8rDXKOF4ESulfJ+L7LX849JQDTVQve5IrqzKfLCSn89xOsGQfD9FR2TNHkIEtV1paLSdes7SIUsvTonDZY= X-Received: by 2002:a05:651c:2112:b0:2fb:5a7e:5072 with SMTP id 38308e7fff4ca-2ff609c6490mr54449451fa.34.1731923776078; Mon, 18 Nov 2024 01:56:16 -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: Mohammad Noureldin Date: Mon, 18 Nov 2024 10:56:05 +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: freebsd-desktop@freebsd.org, FreeBSD Mailing List Content-Type: multipart/alternative; boundary="00000000000073a06306272cedfb" X-Spamd-Result: default: False [-2.30 / 15.00]; R_SPF_FAIL(1.00)[-all:c]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[thelightbird-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::132:from]; DMARC_NA(0.00)[thelightbird.com]; MLMMJ_DEST(0.00)[freebsd-desktop@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; DKIM_TRACE(0.00)[thelightbird-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4XsNLV3sTcz44Pw X-Spamd-Bar: -- --00000000000073a06306272cedfb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Gleb, 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. > > You are correct, I've doubled checked man page xorg.conf(5). Thanks for the hint and the correction. --=20 Thanks - Mohammad Noureldin -- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein --00000000000073a06306272cedfb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Gleb,

On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb = Popov <arrowd@freebsd.org> = wrote:
On Thu, N= ov 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.


You are correct, I've doubled chec= ked man page xorg.conf(5). Thanks for the hint and the correction.

<snip>
<= div>
--
Thanks
- Mohammad Noureldin
--
&qu= ot;Life is like riding a bicycle. To keep your balance you must keep moving= "
- Albert Einstein

--00000000000073a06306272cedfb--