Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2024 12:03:11 +0100
From:      Mario Marietto <marietto2008@gmail.com>
To:        Mohammad Noureldin <mohammad@thelightbird.com>
Cc:        freebsd-desktop@freebsd.org,  FreeBSD Mailing List <freebsd-questions@freebsd.org>, Jan Beich <jbeich@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%2B1FSig=tJ4NDZ6sdBsLSZbg-fcH_yVUrxGEeKUkT23m%2BRxFuw@mail.gmail.com>
In-Reply-To: <CAAQ96DwxJf0vQvq-sX05vM9s1j1fOFTkbVe%2Bkq49vYgQFFf-LA@mail.gmail.com>
References:  <CA%2B1FSig=N4omX0KTWuCmTYOzYvpVk7de1xqZT6DvWLwWaLcYtw@mail.gmail.com> <CAAQ96DzOR=WDYUwY_snvdtCdi2%2BFuuPmXXExh03XGTAWN9bvbw@mail.gmail.com> <CA%2B1FSihGmcds8my9XFj1To=GcobMxOenWsSejR0vFgUwnCOfzA@mail.gmail.com> <CAAQ96DwxJf0vQvq-sX05vM9s1j1fOFTkbVe%2Bkq49vYgQFFf-LA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000fd2a6306272dde80
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

What I'm trying to understand is if the crash that I see when I press with
the right mouse button on the KDE desktop is due to some bad setting that
I'm using or if it is caused by a bug of KDE 6 and / or Wayland. Actually
I've chosen the IGPU as default GPU on the bios and I've removed everything
related to nVidia from the system because the nVidia stuff interferes with
the Mesa libs.

In Fact if I mix i915kms with nvidia (drm and or drivers),when I do :

# glxinfo | grep Mesa

I get this error :

X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 147
Current serial number in output stream: 148

Using only i915kms as driver without nvidia the error disappears.
Unfortunately when I press with the right mouse button on the KDE
desktop,it crashes anyway. So the reason is different.

In addition,I suspect that there is another bug that affects xfce. In Fact
after the crash of KDE 6,I tried to set up xfce4 as default DM,but I saw
that it is totally broken and misconfigured. I'm pretty sure that it
depends on some residual KDE 6 bugs. (lxde is not affected).



On Mon, Nov 18, 2024 at 11:04=E2=80=AFAM Mohammad Noureldin <
mohammad@thelightbird.com> wrote:

> Hi Mario,
>
> On Mon, Nov 18, 2024 at 8:29=E2=80=AFAM Mario Marietto <marietto2008@gmai=
l.com>
> wrote:
>
>> ---> When it comes to graphics kernel modules, I only have i915kms and
>> nvidia-drm set in kld_list
>>
>> What about installing "drm-515-kmod" instead of "nvidia-drm-515-kmod" ?
>> Is it mandatory to use both i915 and nVidia ?
>>
>>
>>
> If by that you mean whether you have to run both iGPU and dGPU, IIUC the
> answer is: No
>
> But it all depends, in my case my laptop does not have the option in
> BIOS/(U)EFI to disable the Nvidia iGPU so I had to make them both work
> together.
>
> So if you have that option to disable the iGPU and you don't need both of
> them to work, then that indeed would be easier to setup.
>
> Worst case scenario is not to run any accelerated Graphics and run
> non-accelerated Graphics using scfb driver.
>
> <snip>
>
>
>> --
>> Mario.
>>
>
>
> --
> Thanks
> - Mohammad Noureldin
> --
> "Life is like riding a bicycle. To keep your balance you must keep moving=
"
> - Albert Einstein
>
>

--=20
Mario.

--000000000000fd2a6306272dde80
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>What I&#39;m trying to understand is if the crash tha=
t I see when I press with the right mouse button on the KDE desktop is due =
to some bad setting that I&#39;m using or if it is caused by a bug of KDE 6=
 and / or Wayland. Actually I&#39;ve chosen the IGPU as default GPU on the =
bios and I&#39;ve removed everything related to nVidia from the system beca=
use the nVidia stuff interferes with the Mesa libs. <br></div><div><br></di=
v><div>In Fact if I mix i915kms with nvidia (drm and or drivers),when I do =
:<br><br># <span class=3D"gmail-il">glxinfo</span> | grep Mesa</div><div><b=
r></div><div>I get this error :</div><div><br></div><div>X Error of failed =
request: BadValue (integer parameter out of range for operation) <br>Major =
opcode of failed request: 152 (<span class=3D"gmail-il">GLX</span>) <br>Min=
or opcode of failed request: 3 (X_GLXCreateContext) <br>Value in failed req=
uest: 0x0 <br>Serial number of failed request: 147 <br>Current serial numbe=
r in output stream: 148<br></div><div><br></div><div>Using only i915kms as =
driver without nvidia the error disappears. Unfortunately when I press with=
 the right mouse button on the KDE desktop,it crashes anyway. So the reason=
 is different.</div><div><br></div><div>In addition,I suspect that there is=
 another bug that affects xfce. In Fact after the crash of KDE 6,I tried to=
 set up xfce4 as default DM,but I saw that it is totally broken and misconf=
igured. I&#39;m pretty sure that it depends on some residual KDE 6 bugs. (l=
xde is not affected). <br></div><div><br><br></div></div><br><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Nov 18, 2024 at =
11:04=E2=80=AFAM Mohammad Noureldin &lt;<a href=3D"mailto:mohammad@thelight=
bird.com" target=3D"_blank">mohammad@thelightbird.com</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>=
Hi Mario,</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Mon, Nov 18, 2024 at 8:29=E2=80=AFAM Mario Marietto &lt;<a href=
=3D"mailto:marietto2008@gmail.com" target=3D"_blank">marietto2008@gmail.com=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div dir=3D"ltr"><div><div>---&gt; When it comes to graphics kernel modules=
, I only have i915kms and nvidia-drm set in kld_list</div></div><div><br></=
div><div>What about installing &quot;drm-515-kmod&quot; instead of &quot;nv=
idia-drm-515-kmod&quot; ? Is it mandatory to use both i915 and nVidia ?<br>=
</div><div><br></div></div><div><br clear=3D"all"></div></blockquote><div><=
br></div><div>If by that you mean whether you have to run both iGPU and dGP=
U, IIUC the answer is: No</div><div><br></div><div>But it all depends, in m=
y case my laptop does not have the option in BIOS/(U)EFI to disable the Nvi=
dia iGPU so I had to make them both work together.</div><div><br></div><div=
>So if you have that option to disable the iGPU and you don&#39;t need both=
 of them to work, then that indeed would be easier to setup.</div><div><br>=
</div><div>Worst case scenario is not to run any accelerated Graphics and r=
un non-accelerated Graphics using scfb driver.</div><div><br></div><div>&lt=
;snip&gt;=C2=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div></div><br><span class=3D"gmail_signature_prefix">-- </span>=
<br><div dir=3D"ltr" class=3D"gmail_signature">Mario.<br></div>
</blockquote></div><div><br clear=3D"all"></div><div><br></div><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature"><div dir=3D"ltr"><div><div dir=3D"ltr" style=3D"color:rgb(136,136=
,136)">Thanks<br>- Mohammad Noureldin<br>--<br>&quot;Life is like riding a =
bicycle. To keep your balance you must keep moving&quot;<br>- Albert Einste=
in</div></div><div dir=3D"ltr" style=3D"color:rgb(136,136,136)"><br></div><=
/div></div></div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma=
rio.<br></div>

--000000000000fd2a6306272dde80--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSig=tJ4NDZ6sdBsLSZbg-fcH_yVUrxGEeKUkT23m%2BRxFuw>