Date: Fri, 15 Nov 2024 21:02:05 +0100 (CET) From: Sysadmin Lists <sysadmin.lists@mailfence.com> To: FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-desktop@freebsd.org Cc: Mario Marietto <marietto2008@gmail.com> Subject: Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed Message-ID: <1570570420.386853.1731700924991@fidget.co-bxl> In-Reply-To: <CA%2B1FSiiiAuFsNCTSQZvLqpXmH0tc6%2BJg50w9f2JR4aLfJozTfw@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> <CA%2B1FSigNmxuJdxqc2==_PaWjpMKfeT0bbW1Zs%2BEYRkV3Ba6OVw@mail.gmail.com> <CA%2B1FSiiiAuFsNCTSQZvLqpXmH0tc6%2BJg50w9f2JR4aLfJozTfw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_386851_382563006.1731700924990 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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/sh= are. Instead you should create a new config file in/usr/local/etc and overr= ide values you want there. 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 wr= ong... $ cat /usr/local/etc/20-intel-outputclass.conf Section "OutputClass" =C2=A0 =C2=A0 Identifier "intel" =C2=A0 =C2=A0 MatchDriver "i915kms" =C2=A0 =C2=A0 Driver "modesetting" =C2=A0 =C2=A0 Option "PrimaryGPU" "yes" EndSection $ cat /usr/local/etc/20-nvidia-drm-outputclass.conf Section "OutputClass" =C2=A0 =C2=A0 Identifier "nvidia" =C2=A0 =C2=A0 MatchDriver "nvidia-drm" =C2=A0 =C2=A0 Driver "nvidia" =C2=A0 =C2=A0 ModulePath "/usr/local/lib/nvidia/xorg" =C2=A0 =C2=A0 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@gmail.= com> wrote: ok. So you're telling me that there is a bug to fix and not an error within= my configuration settings.=C2=A0 I don't know if this info is useful for y= ou,but KDE 6 under wayland crashes totally everytime I press in a random po= int of the screen with the right mouse button. So the crashes are not rando= mic. 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 thi= s anymore. When you follow the explanations from the article I've shared 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" >=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 > 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" > 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. --=20 Mario. --=20 Mario. --=20 Sent with https://mailfence.com =20 Secure and private email ------=_Part_386851_382563006.1731700924990 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <div style=3D'font-family:Times New Roman; color:#000000; font-size:18px;'>= <div><div style=3D"font-family:Times New Roman; color:#000000; font-size:18= px;">I think he means like this:<div><br></div><div>cd /usr/local/share/X11= /xorg.conf.d/</div><div><div>cp 20-intel-outputclass.conf /usr/local/etc/X1= 1/xorg.conf.d/</div><div>cp 20-nvidia-drm-outputclass.conf /usr/local/etc/X= 11/xorg.conf.d/</div><div><br></div><div>And then edit thse files inside /u= sr/local/etc/X11/xorg.conf.d/</div><div><br></div><div>On Nov 14, 2024 at 8= :15 AM, Mario Marietto <marietto2008@gmail.com> wrote:<blockquote typ= e=3D"cite" cite=3D"<CA+1FSiiiAuFsNCTSQZvLqpXmH0tc6+Jg50w9f2JR4aLfJozTfw@mai= l.gmail.com>"><div dir=3D"ltr"><div>--->This is all correct except you s= houldn'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.</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 w= rong...</div><div><br></div><div><div>$ cat /usr/local/etc/20-intel-outputc= lass.conf<br>Section "OutputClass"<br> Identifier "intel"<br>&= nbsp; MatchDriver "i915kms"<br> Driver "modesetting"<br= > Option "PrimaryGPU" "yes"<br>EndSection</div><div><br></div>= <div>$ cat /usr/local/etc/20-nvidia-drm-outputclass.conf<br>Section "Output= Class"<br> Identifier "nvidia"<br> MatchDriver "n= vidia-drm"<br> Driver "nvidia"<br> ModulePath "/u= sr/local/lib/nvidia/xorg"<br> ModulePath "/usr/local/lib/xorg/= modules"<br>EndSection</div><div><br></div><div>Have I missed anything ? th= anks.<br></div></div></div><br><div class=3D""><div dir=3D"ltr" class=3D"">= On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM Mario Marietto <<a href=3D"mailt= o:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><b= lockquote class=3D"" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli= d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">ok. So you're telling= me that there is a bug to fix and not an error within my configuration set= tings. I don't know if this info is useful for you,but KDE 6 under wa= yland crashes totally everytime I press in a random point of the screen wit= h the right mouse button. So the crashes are not randomic.<br></div><br><di= v class=3D""><div dir=3D"ltr" class=3D"">On Thu, 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 class=3D"" 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 need = this anymore. When you follow the explanations from the article I've shared= in my previous email, you should end up with configurations similar to the= se:<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf<br> > Section "OutputClass"<br> > Identifier "intel"<br> > MatchDriver "i915kms"<br> > Driver "modesetting"<br> > Option "PrimaryGPU" "yes"<br> > EndSection<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<= br> > Section "OutputClass"<br> > Identifier "nvidia"<br> > MatchDriver "nvidia-drm"<br> > Driver "nvidia"<br> > ModulePath "/usr/local/lib/nvidia/xorg"<br> > ModulePath "/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 class=3D"">-- </s= pan><br><div dir=3D"ltr" class=3D"">Mario.<br></div> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"">-- </s= pan><br><div dir=3D"ltr" class=3D"">Mario.<br></div> </blockquote></div></div></div></div></div><br/><br/>-- <br/>Sent with http= s://mailfence.com <br/>Secure and private email<br/> ------=_Part_386851_382563006.1731700924990--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1570570420.386853.1731700924991>