Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 PM Sysadmin Lists <sysadmin.lists@mailfence.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 to
> 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 PM 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.  I don't know if this info is useful for
> 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 PM Gleb Popov <arrowd@freebsd.org> wrote:
>
> On Thu, Nov 14, 2024 at 5:37 PM 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 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"
> >     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
>


-- 
Mario.

[-- Attachment #2 --]
<div dir="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><div>mv 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/</div><div>mv 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="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 15, 2024 at 9:02 PM Sysadmin Lists &lt;<a href="mailto:sysadmin.lists@mailfence.com">sysadmin.lists@mailfence.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:18px"><div><div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:18px">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/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 thse files inside /usr/local/etc/X11/xorg.conf.d/</div><div><br></div><div>On Nov 14, 2024 at 8:15 AM, Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>&gt; wrote:<blockquote type="cite"><div dir="ltr"><div>---&gt;This is all correct except you shouldn&#39;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&#39;m not sure if I have understood well,but what I&#39;ve just done has been to create the following files under /usr/local/etc,please correct me if I&#39;m wrong...</div><div><br></div><div><div>$ cat /usr/local/etc/20-intel-outputclass.conf<br>Section &quot;OutputClass&quot;<br>    Identifier &quot;intel&quot;<br>    MatchDriver &quot;i915kms&quot;<br>    Driver &quot;modesetting&quot;<br>    Option &quot;PrimaryGPU&quot; &quot;yes&quot;<br>EndSection</div><div><br></div><div>$ cat /usr/local/etc/20-nvidia-drm-outputclass.conf<br>Section &quot;OutputClass&quot;<br>    Identifier &quot;nvidia&quot;<br>    MatchDriver &quot;nvidia-drm&quot;<br>    Driver &quot;nvidia&quot;<br>    ModulePath &quot;/usr/local/lib/nvidia/xorg&quot;<br>    ModulePath &quot;/usr/local/lib/xorg/modules&quot;<br>EndSection</div><div><br></div><div>Have I missed anything ? thanks.<br></div></div></div><br><div><div dir="ltr">On Thu, Nov 14, 2024 at 5:03 PM Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>&gt; wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">ok. So you&#39;re telling me that there is a bug to fix and not an error within my configuration settings.  I don&#39;t know if this info is useful for 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.<br></div><br><div><div dir="ltr">On Thu, Nov 14, 2024 at 4:10 PM Gleb Popov &lt;<a href="mailto:arrowd@freebsd.org" target="_blank">arrowd@freebsd.org</a>&gt; wrote:<br></div><blockquote style="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 PM Mohammad Noureldin<br>
&lt;<a href="mailto:mohammad@thelightbird.com" target="_blank">mohammad@thelightbird.com</a>&gt; wrote:<br>
&gt;<br>
&gt; This is the whole idea behind auto-configuration, that you don&#39;t need this anymore. When you follow the explanations from the article I&#39;ve shared in my previous email, you should end up with configurations similar to these:<br>
&gt;<br>
&gt; $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf<br>
&gt; Section &quot;OutputClass&quot;<br>
&gt;     Identifier &quot;intel&quot;<br>
&gt;     MatchDriver &quot;i915kms&quot;<br>
&gt;     Driver &quot;modesetting&quot;<br>
&gt;     Option &quot;PrimaryGPU&quot; &quot;yes&quot;<br>
&gt; EndSection<br>
&gt;<br>
&gt; $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<br>
&gt; Section &quot;OutputClass&quot;<br>
&gt;     Identifier &quot;nvidia&quot;<br>
&gt;     MatchDriver &quot;nvidia-drm&quot;<br>
&gt;     Driver &quot;nvidia&quot;<br>
&gt;     ModulePath &quot;/usr/local/lib/nvidia/xorg&quot;<br>
&gt;     ModulePath &quot;/usr/local/lib/xorg/modules&quot;<br>
&gt; EndSection<br>
&gt;<br>
&gt; In this case I have set the iGPU, from Intel, as the Primary GPU.<br>
&gt;<br>
<br>
This is all correct except you shouldn&#39;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&#39;s login1<br>
API, but it doesn&#39;t provide 100% compatibility yet. Some Wayland stuff<br>
may call into that and bump into these incompatibilities. I&#39;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="all"></div><br><span>-- </span><br><div dir="ltr">Mario.<br></div>
</blockquote></div><div><br clear="all"></div><br><span>-- </span><br><div dir="ltr">Mario.<br></div>
</blockquote></div></div></div></div></div><br><br>-- <br>Sent with <a href="https://mailfence.com" target="_blank">https://mailfence.com</a>;  <br>Secure and private email<br></blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihCokf1%2BtyFTDDYtM1id9wJLLmvavE3D%2Bf6rorO4CnJtQ>