Date: Mon, 18 Nov 2024 10:56:05 +0100 From: Mohammad Noureldin <mohammad@thelightbird.com> To: Gleb Popov <arrowd@freebsd.org> Cc: freebsd-desktop@freebsd.org, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed Message-ID: <CAAQ96DzOn78tY5hDFV7VXTT6bDdbarWgQU%2BhJRR_q_cnEqk1cw@mail.gmail.com> In-Reply-To: <CALH631nz3e%2BxODoveSs2Wmx%2BuFjBosgzoBO%2BiNfuEb5QExMeaQ@mail.gmail.com> References: <CA%2B1FSig=N4omX0KTWuCmTYOzYvpVk7de1xqZT6DvWLwWaLcYtw@mail.gmail.com> <CAAQ96DzOR=WDYUwY_snvdtCdi2%2BFuuPmXXExh03XGTAWN9bvbw@mail.gmail.com> <CA%2B1FSiikp%2BGDUEqziQX=_Oz=NMMRfZ4iJZnRa0t=kpEpU%2B0JcA@mail.gmail.com> <CAAQ96DxEGUqUVSWXuZuczDpfPUV9xORQH4vXZYjUpZFuB1t-dQ@mail.gmail.com> <CALH631nz3e%2BxODoveSs2Wmx%2BuFjBosgzoBO%2BiNfuEb5QExMeaQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <arrowd@freebsd.org> wro= te: > 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 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. <snip> --=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 <div dir=3D"ltr"><div>Hi Gleb,</div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb = Popov <<a href=3D"mailto:arrowd@freebsd.org">arrowd@freebsd.org</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, N= ov 14, 2024 at 5:37=E2=80=AFPM Mohammad Noureldin<br> <<a href=3D"mailto:mohammad@thelightbird.com" target=3D"_blank">mohammad= @thelightbird.com</a>> wrote:<br> ><br> > 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:<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf<br> > Section "OutputClass"<br> >=C2=A0 =C2=A0 =C2=A0Identifier "intel"<br> >=C2=A0 =C2=A0 =C2=A0MatchDriver "i915kms"<br> >=C2=A0 =C2=A0 =C2=A0Driver "modesetting"<br> >=C2=A0 =C2=A0 =C2=A0Option "PrimaryGPU" "yes"<br> > EndSection<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<= br> > Section "OutputClass"<br> >=C2=A0 =C2=A0 =C2=A0Identifier "nvidia"<br> >=C2=A0 =C2=A0 =C2=A0MatchDriver "nvidia-drm"<br> >=C2=A0 =C2=A0 =C2=A0Driver "nvidia"<br> >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/nvidia/xorg"<b= r> >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/xorg/modules"<= br> > EndSection<br> ><br> > In this case I have set the iGPU, from Intel, as the Primary GPU.<br> ><br> <br> This is all correct except you shouldn't edit files under<br> /usr/local/share. Instead you should create a new config file in<br> /usr/local/etc and override values you want there.<br> <br></blockquote><div><br></div><div>You are correct, I've doubled chec= ked man page xorg.conf(5). Thanks for the hint and the correction.</div></d= iv><div class=3D"gmail_quote"><div><br></div><div><snip></div></div><= div><br></div><span class=3D"gmail_signature_prefix">-- </span><br><div dir= =3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr" s= tyle=3D"color:rgb(136,136,136)">Thanks<br>- Mohammad Noureldin<br>--<br>&qu= ot;Life is like riding a bicycle. To keep your balance you must keep moving= "<br>- Albert Einstein</div></div><div dir=3D"ltr" style=3D"color:rgb(= 136,136,136)"><br></div></div></div></div> --00000000000073a06306272cedfb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAQ96DzOn78tY5hDFV7VXTT6bDdbarWgQU%2BhJRR_q_cnEqk1cw>