Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed

From: Sysadmin Lists <sysadmin.lists_at_mailfence.com>
Date: Fri, 15 Nov 2024 20:02:05 UTC
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