Date: Sat, 16 Nov 2024 08:29:51 +0100 From: Mario Marietto <marietto2008@gmail.com> To: Sysadmin Lists <sysadmin.lists@mailfence.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-desktop@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: <CA%2B1FSihCokf1%2BtyFTDDYtM1id9wJLLmvavE3D%2Bf6rorO4CnJtQ@mail.gmail.com> In-Reply-To: <1570570420.386853.1731700924991@fidget.co-bxl> 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> <CA%2B1FSigNmxuJdxqc2==_PaWjpMKfeT0bbW1Zs%2BEYRkV3Ba6OVw@mail.gmail.com> <CA%2B1FSiiiAuFsNCTSQZvLqpXmH0tc6%2BJg50w9f2JR4aLfJozTfw@mail.gmail.com> <1570570420.386853.1731700924991@fidget.co-bxl>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000060c294062702a855 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. maybe you mean : cd /usr/local/share/X11/xorg.conf.d/ mv 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ mv 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ otherwise you will have the same conf files in two different places ? On Fri, Nov 15, 2024 at 9:02=E2=80=AFPM Sysadmin Lists <sysadmin.lists@mail= fence.com> wrote: > I think he means like this: > > cd /usr/local/share/X11/xorg.conf.d/ > cp 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ > cp 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ > > And then edit thse files inside /usr/local/etc/X11/xorg.conf.d/ > > On Nov 14, 2024 at 8:15 AM, Mario Marietto <marietto2008@gmail.com> wrote= : > > --->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. > > I'm not sure if I have understood well,but what I've just done has been t= o > create the following files under /usr/local/etc,please correct me if I'm > wrong... > > $ cat /usr/local/etc/20-intel-outputclass.conf > Section "OutputClass" > Identifier "intel" > MatchDriver "i915kms" > Driver "modesetting" > Option "PrimaryGPU" "yes" > EndSection > > $ cat /usr/local/etc/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 > > Have I missed anything ? thanks. > > On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM Mario Marietto <marietto2008@gmai= l.com> > wrote: > > 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 fo= r > 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 <arrowd@freebsd.org> w= rote: > > 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. > > 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. > > > > -- > Mario. > > > > -- > Mario. > > > > -- > Sent with https://mailfence.com > Secure and private email > --=20 Mario. --00000000000060c294062702a855 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello.</div><div><br></div><div>maybe you mean :</div= ><div><br></div><div><div>cd /usr/local/share/X11/xorg.conf.d/</div><div><d= iv>mv 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/</div><div>m= v 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/</div><div>= <br></div><div>otherwise you will have the same conf files in two different= places ? <br></div></div></div></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Fri, Nov 15, 2024 at 9:02=E2=80=AFPM Sys= admin Lists <<a href=3D"mailto:sysadmin.lists@mailfence.com">sysadmin.li= sts@mailfence.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote"= style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex"><div style=3D"font-family:Times New Roman;color:rgb(0,0,0)= ;font-size:18px"><div><div style=3D"font-family:Times New Roman;color:rgb(0= ,0,0);font-size:18px">I think he means like this:<div><br></div><div>cd /us= r/local/share/X11/xorg.conf.d/</div><div><div>cp 20-intel-outputclass.conf = /usr/local/etc/X11/xorg.conf.d/</div><div>cp 20-nvidia-drm-outputclass.conf= /usr/local/etc/X11/xorg.conf.d/</div><div><br></div><div>And then edit ths= e files inside /usr/local/etc/X11/xorg.conf.d/</div><div><br></div><div>On = Nov 14, 2024 at 8:15 AM, Mario Marietto <<a href=3D"mailto:marietto2008@= gmail.com" target=3D"_blank">marietto2008@gmail.com</a>> wrote:<blockquo= te type=3D"cite"><div dir=3D"ltr"><div>--->This is all correct except yo= u shouldn't edit files under /usr/local/share. Instead you should creat= e a new config file in /usr/local/etc and override values you want there.</div><div><br></div><div= >I'm not sure if I have understood well,but what I've just done has= been to create the following files under /usr/local/etc,please correct me = if I'm wrong...</div><div><br></div><div><div>$ cat /usr/local/etc/20-i= ntel-outputclass.conf<br>Section "OutputClass"<br>=C2=A0 =C2=A0 I= dentifier "intel"<br>=C2=A0 =C2=A0 MatchDriver "i915kms"= ;<br>=C2=A0 =C2=A0 Driver "modesetting"<br>=C2=A0 =C2=A0 Option &= quot;PrimaryGPU" "yes"<br>EndSection</div><div><br></div><di= v>$ cat /usr/local/etc/20-nvidia-drm-outputclass.conf<br>Section "Outp= utClass"<br>=C2=A0 =C2=A0 Identifier "nvidia"<br>=C2=A0 =C2= =A0 MatchDriver "nvidia-drm"<br>=C2=A0 =C2=A0 Driver "nvidia= "<br>=C2=A0 =C2=A0 ModulePath "/usr/local/lib/nvidia/xorg"<b= r>=C2=A0 =C2=A0 ModulePath "/usr/local/lib/xorg/modules"<br>EndSe= ction</div><div><br></div><div>Have I missed anything ? thanks.<br></div></= div></div><br><div><div dir=3D"ltr">On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM= Mario Marietto <<a href=3D"mailto:marietto2008@gmail.com" target=3D"_bl= ank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote style=3D"ma= rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:= 1ex"><div dir=3D"ltr">ok. So you're telling me that there is a bug to f= ix and not an error within my configuration settings.=C2=A0 I don't kno= w if this info is useful for you,but KDE 6 under wayland crashes totally ev= erytime I press in a random point of the screen with the right mouse button= . So the crashes are not randomic.<br></div><br><div><div dir=3D"ltr">On Th= u, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb Popov <<a href=3D"mailto:arrowd@= freebsd.org" target=3D"_blank">arrowd@freebsd.org</a>> wrote:<br></div><= blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex">On Thu, Nov 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> 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<br= > working on consolekit in my free time, so maybe this will get fixed in<br> the near future.<br> <br> </blockquote></div><div><br clear=3D"all"></div><br><span>-- </span><br><di= v dir=3D"ltr">Mario.<br></div> </blockquote></div><div><br clear=3D"all"></div><br><span>-- </span><br><di= v dir=3D"ltr">Mario.<br></div> </blockquote></div></div></div></div></div><br><br>-- <br>Sent with <a href= =3D"https://mailfence.com" target=3D"_blank">https://mailfence.com</a> <br= >Secure and private email<br></blockquote></div><div><br clear=3D"all"></di= v><br><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr"= class=3D"gmail_signature">Mario.<br></div> --00000000000060c294062702a855--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihCokf1%2BtyFTDDYtM1id9wJLLmvavE3D%2Bf6rorO4CnJtQ>