Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2024 18:10:09 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Mohammad Noureldin <mohammad@thelightbird.com>
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:  <CALH631nz3e%2BxODoveSs2Wmx%2BuFjBosgzoBO%2BiNfuEb5QExMeaQ@mail.gmail.com>
In-Reply-To: <CAAQ96DxEGUqUVSWXuZuczDpfPUV9xORQH4vXZYjUpZFuB1t-dQ@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>     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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631nz3e%2BxODoveSs2Wmx%2BuFjBosgzoBO%2BiNfuEb5QExMeaQ>