From nobody Mon Nov 18 09:56:05 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 4XsNLV757Gz5cdR9 for ; Mon, 18 Nov 2024 09:56:18 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 4XsNLV21lwz4456 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::129 as permitted sender) smtp.mailfrom=mohammad@thelightbird.com; dmarc=none Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-53d9ff8ef3aso4183865e87.1 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=Ow8T0ZOadSHm7rrN6hV/zSkxVpsf6YIqZcR7uEDLGd48Ek5PbGShiNw0QfJaz/OdGb 6Ha04KLq4jILNEG4YPd5NYXARp4PLT79bAodqzQ7/abTK6S7EVoRJrz8B2lfRTXoGmZy 04+CGzvjXg9JBmSNJGwk5pQs6RtUGqcSg18mlWt9fVGbZKGBV5x/I0jr9Ken9TIW2kaS kQ1b0ElYLktKQ3J3ckPf9PCPbL9bfI2kUXFG+ls8MsJnmf4OPK7u8ucJ1JGm/ObUt7EL uCkJ4IrGtbo6GZ5ep83lJAmIsFyMvfBwLTO3JX0/XvYrNXrACMCf2y0MZf8Fq77nIKvo TNuA== X-Forwarded-Encrypted: i=1; AJvYcCXRp81zjNyyMEaBhMO/XkTGZWtEPpLcdxvsS7ndiECVs3Vyfg0d49e3UUI0Tq4BzrWuAvCrwyWsZAKtBBNr5FzCAQ==@freebsd.org X-Gm-Message-State: AOJu0YzquTqZHSbpjvgyPsbUnYkiBe9xpapD9Nj6SYFRJ3V9dAh9dIgR hGQ7EpXcJvjX0RIsw2zkT4bTha/wGO3kWM9jk1I21BIG/5uzJYe1sLgaFN29Ax4sR2JUhK77ZML 8HjckZbAZE0omXjBoiIKXxqUnCWnRNJs+aPvCI5oFWgLH/7+oqe01 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: 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: 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]; 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::129:from]; DMARC_NA(0.00)[thelightbird.com]; MLMMJ_DEST(0.00)[freebsd-questions@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-questions@freebsd.org]; DKIM_TRACE(0.00)[thelightbird-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4XsNLV21lwz4456 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--