From nobody Mon Nov 18 11:03:11 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XsPrQ11Spz5cjSQ; Mon, 18 Nov 2024 11:03:50 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsPrP6RYYz4DhC; Mon, 18 Nov 2024 11:03:49 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-71ec997ad06so2881660b3a.3; Mon, 18 Nov 2024 03:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731927828; x=1732532628; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FVNqN29cZd9tOQn39Iq4JBPXX/Shy07LaUgD5cv+roM=; b=F4ugY0SLugjKRo+VlN5yGAuU/IvA7hUtR+BLxse52FraMDHFJKMmbSeY9/zbswzMXe R1AHs2XI/gZlh/jHVRbKjjVRST7+FNzN/rn9NOwxLrZOOGF9fWO0SswJQonbD30ktq/b PFzgWbPpK9l9b6sjB3SgY9EhjbKFFPJTjx5ilSPHJHwUPTQwSVgMCCEU2rKqdtawu9VD nKbMcKrXSNEWKkYt34UYRPgzLSB4oRd/df9QXQC8LMjiixUsea971pOBcCBYZqBC2g0h k8Upv6yUs+koXperFsmAxVIFQYdibnu2GPfXpdeDXp/8z/gks6Gd7EMuZFEHRmmZapqN MASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731927828; x=1732532628; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FVNqN29cZd9tOQn39Iq4JBPXX/Shy07LaUgD5cv+roM=; b=scpi3kLyWp9p7aEM0e788hYXa0J2yQzUArJwEGbnvxN2+RCHDzMkx/uH43rv449sMX 0elVrcBATw9zCQ2o78HFrxCDHWRGjty1OfHHi58A8GbkkJ95QXOy1TgHOu1My5weFFF1 bxQcZZ92srKvcsyY48c+m+xFcBh5VZAG/zJ1+vxyUANU6T8PaDa/pn7HQpQ3OTUED/yH 1ZQLgDQYhfHAGfjExoqS2Fo+gTurZ48cQ/kOz6S67mCMAu+4kG/qr60ywSeCHWVnQwKq f3eqt+yXh0csfCUfp1yhitTDLTrwDS2Jaxc4whtxjS+hlt70e40Fwoy9B5XgNSWsE/Qi rFgA== X-Forwarded-Encrypted: i=1; AJvYcCUyE0H3u6ioEp+mqbtTQQqWuhDwJXlTndR6PIk/AoZpOi5M2o0aQiQ4zRYaPT6yL2jzZTqq9k1fpQwtyw15Z7laCA==@freebsd.org, AJvYcCX84NKLGs3fq7s5hIyEuW+ORvW6fyx8HwnwpgxAWTZPLLbOeMnWkgaB+KgpyMMO2P9RdQXP2Hp8@freebsd.org X-Gm-Message-State: AOJu0YyXq+3ixHtM6i58kfBr5XEzwsOwBWPZbbvSnaoRzzHUwiRPYPtW e9GU+IeCLJTVr2k0m+qdvnGIiAc1o4joHplEa7i7lmNxAe/WyKcTKvijyAwjumjainh6mBXikIJ QXd+mNoQsgn4V8m8oI/fPihmIBS7tEay71xg= X-Google-Smtp-Source: AGHT+IHQE6a7q3C31qrefc3LiT1dameLLEBbcRr5IN2h9H5CoCnoJHeLmF4WABajI1gTT29stARRi9ZPXpsch027Yts= X-Received: by 2002:a17:902:e886:b0:20c:b606:d014 with SMTP id d9443c01a7336-211d0ebcc2emr160651375ad.44.1731927828406; Mon, 18 Nov 2024 03:03:48 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Mon, 18 Nov 2024 12:03:11 +0100 Message-ID: Subject: Re: console-kit-daemon[5142]: GLib-GIO-CRITICAL: g_dbus_message_new_signal: assertion 'g_variant_is_object_path (path)' failed To: Mohammad Noureldin Cc: freebsd-desktop@freebsd.org, FreeBSD Mailing List , Jan Beich Content-Type: multipart/alternative; boundary="000000000000fd2a6306272dde80" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XsPrP6RYYz4DhC X-Spamd-Bar: ---- --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 > 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. > > > > >> -- >> 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
What I'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'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 beca= use 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)
Min= or opcode of failed request: 3 (X_GLXCreateContext)
Value in failed req= uest: 0x0
Serial number of failed request: 147
Current serial numbe= r 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 misconf= igured. I'm pretty sure that it depends on some residual KDE 6 bugs. (l= xde 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@gmail.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 "nv= idia-drm-515-kmod" ? Is it mandatory to use both i915 and nVidia ?
=


<= br>
If by that you mean whether you have to run both iGPU and dGP= U, IIUC the answer is: No

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.

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 r= un non-accelerated Graphics using scfb driver.

<= ;snip>=C2=A0


-- =
Mario.


--
Thanks
- Mohammad Noureldin
--
"Life is like riding a = bicycle. To keep your balance you must keep moving"
- Albert Einste= in

<= /div>


--
Ma= rio.
--000000000000fd2a6306272dde80--