Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed
- Reply: Gleb Popov : "Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed"
- Reply: Mario Marietto : "Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed"
- In reply to: Mario Marietto : "Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 15:39:45 UTC
Hi Mario,
On Thu, Nov 14, 2024 at 2:10 PM Mario Marietto <marietto2008@gmail.com>
wrote:
> ---> I am not sure if this is directly related, but this doesn't look like
> the recommended way to leverage the auto-configuration features in X server
> explained in [1] and especially in the context of having to work with
> systems equipped with 2 GPU(s).
>
> Can you copy and paste here your xorg.conf file,please ? I didn't
> understand if I should not use modesetting,but maybe driver "i915kms" ? or
> maybe I should not create xorg.conf at all ? In this way I suppose wayland
> will work,but if I want to use X,does it work even without xorg.conf ? I
> have some doubts.
>
> Anyway my xorg.conf file has been generated automatically by Xorg
> -configure
>
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.
> ----> When it comes to graphics kernel modules, I only have i915kms and
> nvidia-drm set in kld_list
>
> So,if you have nvidia-drm in kld_list,It means that you have installed the
> nvidia-driver. Infact :
>
> [root@marietto /usr/home/marietto/Desktop]==> pkg install
> nvidia-drm-515-kmod
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> The following 3 package(s) will be affected (of 0 checked):
>
> New packages to be INSTALLED:
> nvidia-driver: 550.127.05
> nvidia-drm-515-kmod: 550.127.05_1
>
This is what I have in my rc.conf:
$ cat /etc/rc.conf
<snip>
kld_list="i915kms nvidia-drm"
<snip>
Worth mentioning I do also have this set at the end of my .xinitrc:
$ cat .xinitrc
<snip>
# PRIME configuration
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
exec /usr/local/bin/i3
> On Thu, Nov 14, 2024 at 1:44 PM Mohammad Noureldin <
> mohammad@thelightbird.com> wrote:
>
>> Hi Mario,
>>
>> On Thu, Nov 14, 2024 at 11:45 AM Mario Marietto <marietto2008@gmail.com>
>> wrote:
>>
>>> Hello bro.
>>>
>>>
<snip>
>
>
> --
> Mario.
>
--
Thanks
- Mohammad Noureldin
--
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein