From nobody Thu Nov 14 13:09:34 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 4Xq0r53PqJz5cf9w; Thu, 14 Nov 2024 13:10:13 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 4Xq0r51YV4z4MRH; Thu, 14 Nov 2024 13:10:13 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-720b2d8bcd3so424439b3a.2; Thu, 14 Nov 2024 05:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731589812; x=1732194612; 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=0erNnATtiLGsS9QWruZdj9gE/w7/iQnVedHRIc7wUGY=; b=eKUN53G6N9gotTk+NzBhhAP9eLLR4qLFTJregTaQPrEeYTR0mx1vcBigl4Pb1zrCe3 GB1zm/I5+beot21RlxtHcuAVmHHrIEdBfVHfG2LicPcLM2OpZth6h1g5amDbtwWLIsBG hiyicgRHMkMwnqQBDGMlY17z/DpcMXGAuOm/0nl5XHKnfzMC9JIhoiwaJTXUhdwhwzN9 ILy22L1QvV1HMNMJuu1bK50qj54VA2YZeAVMGotAd5DeZFmhvL0Acecd2DD7jUfx2y/n 4wbt4glqTuKf+oiYO2N5Fcw9n/e9JWVrWs3zJZFxvtGpVRJIUPEQkspj+MUgxdw1hLpF LvxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731589812; x=1732194612; 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=0erNnATtiLGsS9QWruZdj9gE/w7/iQnVedHRIc7wUGY=; b=VaXu/NdikepQppGavIKRMKYsgimyk4u+L1/NQ7+GrS15kZunJlzJlaV/Nu84yABTiT 7xTHUSG8Mlty1PUNLl21yqxGwXFFqtMfXtsfMNvjaIQxcLx7b/07aweRbQ3aOM9AR9dx fnO0WsYz28tFPcbkn/9KyOjte6ccHYCZb+iMHdxPnl7CUiqefYHEYhimozD50i9iWg84 j3O3MaDNQ35yhya6+Dxht1kgVO+FSyMDLW4V5SxKttiOBWFiUURoSAwMqyLHYlG67GQA eEJyX25SU68XNL4qX8ebD38Scw56kJQPOOu5oqFvp5c1Pz3T+whIv5d+i+DFVRmD+EpF AZLw== X-Forwarded-Encrypted: i=1; AJvYcCU174sWdJVKdAyDwM6g35pSIftnsNGoKNY/V4KukJ3zxJQBeMuMYqEEJhv8QLFRlV/528DQtfGH@freebsd.org, AJvYcCW8veJ87zbSc6pWnE6S891gk8Tp07ASnLD8xpXZ9nVor6p5GMUNIten+HRBLx+10VQtT4eqPdndj6of9OU0psc6XA==@freebsd.org X-Gm-Message-State: AOJu0YxVX01YAsRQhwAmdMlIg51fwCMOgjLRgolaKmDndKxKanSVavZB W7iRf4sRZ8zNWCGAxAGs0dtcAtIqh1a9thFe82Yk7Yhcu7Cdj9PZoFLY83W/pvo3qOJglJm0ujX t+58HbZPVUADg07s0GS+OU5kJEHwrhMZtEB4= X-Google-Smtp-Source: AGHT+IEfPrngamLkhoVjhxyStCeQfCueF2gyaWPLeZ0mItl36mps8PaNggSezKF+E3/ui9o6gxODzOLMCUt+6ETC67Y= X-Received: by 2002:a17:90b:54c4:b0:2e9:4717:97a8 with SMTP id 98e67ed59e1d1-2e9b1793de9mr28936101a91.36.1731589811576; Thu, 14 Nov 2024 05:10:11 -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: Thu, 14 Nov 2024 14:09:34 +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="0000000000009da9a80626df2ba2" 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: 4Xq0r51YV4z4MRH X-Spamd-Bar: ---- --0000000000009da9a80626df2ba2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---> 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 -configur= e ----> 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]=3D=3D> 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 On Thu, Nov 14, 2024 at 1:44=E2=80=AFPM Mohammad Noureldin < mohammad@thelightbird.com> wrote: > Hi Mario, > > On Thu, Nov 14, 2024 at 11:45=E2=80=AFAM Mario Marietto > wrote: > >> Hello bro. >> >> I'm not sure if I should report a bug that afflicts KDE 6.0 + Wayland on >> FreeBSD 14.1. It works for some time but then suddenly it crashes. It's = not >> rare that everything disappears on the screen and a hard reboot is >> required. I would like to know if you have seen this error before : >> >> >> >> # nano /etc/X11/xorg.conf : >> >> Code: >> >> Section "Device" >> Identifier "Card0" >> Driver "modesetting" >> BusID "PCI:0:2:0" >> EndSection >> >> Section "Device" >> Identifier "Card1" >> Driver "modesetting" >> BusID "PCI:2:0:0" >> EndSection >> >> I am not sure if this is directly related, but this doesn't look like th= e > recommended way to leverage the auto-configuration features in X sever > explained in [1] and specially in the context of having to work with > systems equipped with 2 GPU(s). > > I've been running a Lenovo Thinkpad P52s for few months (almost a year) > now and it works like a charm. I can also set any of the iGPU exclusive-o= r > dGPU as the Primary GPU. > > Worth mentioning though that I am using i3wm. > > >> >> # nano /etc/rc.conf : >> >> Code: >> >> kld_list=3D"i915kms nvidia nvidia-modeset nvidia-drm linux linux64 ext2f= s" >> >> >> >> > When it comes to graphics kernel modules, I only have i915kms and > nvidia-drm set in kld_list > > -- >> Mario. >> > > [1] https://badland.io/prime-configuration.md > > > -- > Thanks > - Mohammad Noureldin > -- > "Life is like riding a bicycle. To keep your balance you must keep moving= " > - Albert Einstein > > --=20 Mario. --0000000000009da9a80626df2ba2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
---> I am not sure if this is directly r= elated, but this doesn't look=20 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=20 with systems equipped with 2 GPU(s).

Can you copy = and paste here your xorg.conf file,please ? I didn't understand if I sh= ould not use modesetting,but maybe driver "i915kms" ? or maybe I = should not create xorg.conf at all ? In this way I suppose wayland will wor= k,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 gen= erated automatically by Xorg -configure

= ----> When it comes to graphics kernel modules, I only have i915kms and = nvidia-drm set in kld_list

So,if you have nv= idia-drm in kld_list,It means that you have installed the nvidia-driver. In= fact :

[root@marietto /usr/home/marietto/Deskt= op]=3D=3D> pkg install nvidia-drm-515-kmod
Updating FreeBSD reposit= ory catalogue...
FreeBSD repository is up to date.
All repositories a= re up to date.
The following 3 package(s) will be affected (of 0 checked= ):

New packages to be INSTALLED:
nvidia-driver: 550.127.05
n= vidia-drm-515-kmod: 550.127.05_1

On Thu, Nov 14, 2024 at 1:44=E2=80=AFPM= Mohammad Noureldin <mohamm= ad@thelightbird.com> wrote:
Hi Mario,

On Thu, Nov 14, 2024 at 1= 1:45=E2=80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Hello bro.<= br>
I'm not sure if I should report a bug that afflicts KDE 6.0 + Wayland o= n FreeBSD 14.1. It works for=20 some time but then suddenly it crashes. It's not rare that everything= =20 disappears on the screen and a hard reboot is required. I would like to=20 know if you have seen this error before :

=09 =09
<snip>

# nano /etc/X11/xorg.conf :

=09 =09
Code:
Section "Device"
    Identifier  "Card0"
    Driver      "modesetting"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "modesetting"
    BusID       "PCI:2:0:0"
EndSection
I am not s= ure if this is directly related, but this doesn't look like the recomme= nded way to leverage the auto-configuration features in X sever explained i= n [1] and specially in the context of having to work with systems equipped = with 2 GPU(s).

I've been running a Lenovo Thin= kpad P52s for few months (almost a year) now and it works like a charm. I c= an also set any of the iGPU exclusive-or dGPU as the Primary GPU.

Worth mentioning though that I am using i3wm.
=C2= =A0

# nano /etc/rc.conf :

=09 =09
Code:
kld_list=3D"i915kms nvidia nvidia-modeset nvi=
dia-drm linux linux64 ext2fs"
<sip> 

When it comes to graphics kernel modules, I o= nly have i915kms and nvidia-drm set in kld_list

--
Mario.



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



--
Ma= rio.
--0000000000009da9a80626df2ba2--