From nobody Thu Nov 14 15:39:45 2024 X-Original-To: freebsd-desktop@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 4Xq2n06rpNz5ckgd for ; Thu, 14 Nov 2024 14:37:40 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 4Xq2n03B0yz4YFY for ; Thu, 14 Nov 2024 14:37:40 +0000 (UTC) (envelope-from mohammad@thelightbird.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2fc96f9c41fso6731041fa.0 for ; Thu, 14 Nov 2024 06:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thelightbird-com.20230601.gappssmtp.com; s=20230601; t=1731595058; x=1732199858; 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=c5tjulsD0+f660XWXN5G7bQ912iicmTPhMrqg61EWIk=; b=3Ab98xDnEKBkrmLvXaef/fEzNQmdif8pigXQGLrQ1vdMJDuUlXvs2QkFH6Cr30d98v Lcgho+3908+BbEckcFyYgGAzDFAVQcYmoDMXWEDIWHEGZ+Blp++etID+IUFbZY1wIgEm 1NQ+MaAOEMC/TQ03AyaH3NHKHM4tzzGt0hsB00ihI1G3NAnbIl86j0B4xHLnolw+Tw4Z ZHoueAz/YmK4beSzpSnLV5Rsw+9yHGAcGa0QqChefZtPcYTU04F3iRuWeXFzH6SD/Wal K8jmE2/CcLX+MJQdDzmj/jFiGaZoRc4P5h/rKsyu9F2n7xOblzItMEzjCtoLLG58FLwq lDFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731595058; x=1732199858; 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=c5tjulsD0+f660XWXN5G7bQ912iicmTPhMrqg61EWIk=; b=gZCs1rakCplU9gXggG7KjQ4aRZYzNyPXXTtIAs0KfcPF+GFK5v++i2voIsjEVlfiAA OjrCwOGb1NXdsn8yzlo24zGif3WLH4/Mnd1BaNLxsDfhxSzehpukBhDtYOc1eWN8WvyO pAAF66N3CU1llwDFBqtIUH+iS0Xzkvz7R8EluR1W5pc2y9CsfD2nZJHtBQ5Qh0IXzwL/ qBgUrUfOVksx8LhaQjsOjfMWLsz6kaSkeF/BbsuzH3jV8gDejIFU8Ree81FmUM2Cetso HTO+UEHmqARiet35522BCw53Z6hCDBwuipGVFth9qgS5ZPVTzpBXxDEeFW60CFKk7a1I 9XRQ== X-Gm-Message-State: AOJu0YxkRuUrLUCnE5PglO/amDGFNa2ua8l5rpzCIYCgYBjfXUmO5cWu 9jTJrypbeOSJ0YdOGE0gb3g5Ow+XYTEiy1+ekIKKXlsnJfBUftM8urUeI/MrryBFP5hi5IxMvH3 2NTLslLPnSM08J/xXGpW1/uR9qkqd+lqD0mdhkMBgY5ZYrpwXnw== X-Google-Smtp-Source: AGHT+IGdFDpe9/t9pJmXzIWPjJrgbGZqj3hcXn8ZOaQ1GCe1cMT1z+DKIBCUvcX1a31wZSr9yQRlKzR3zQaH9GFv7tw= X-Received: by 2002:a05:651c:54f:b0:2ef:28ed:1ff5 with SMTP id 38308e7fff4ca-2ff566ea175mr9421331fa.15.1731595058478; Thu, 14 Nov 2024 06:37:38 -0800 (PST) List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Mohammad Noureldin Date: Thu, 14 Nov 2024 16:39:45 +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: Mario Marietto Cc: freebsd-desktop@freebsd.org, FreeBSD Mailing List , Jan Beich Content-Type: multipart/alternative; boundary="0000000000005b21c20626e0645f" 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:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4Xq2n03B0yz4YFY X-Spamd-Bar: ---- --0000000000005b21c20626e0645f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mario, On Thu, Nov 14, 2024 at 2:10=E2=80=AFPM Mario Marietto wrote: > ---> I am not sure if this is directly related, but this doesn't look lik= e > the recommended way to leverage the auto-configuration features in X serv= er > 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" ? o= r > maybe I should not create xorg.conf at all ? In this way I suppose waylan= d > 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 th= e > 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 > This is what I have in my rc.conf: $ cat /etc/rc.conf kld_list=3D"i915kms nvidia-drm" Worth mentioning I do also have this set at the end of my .xinitrc: $ cat .xinitrc # PRIME configuration xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto exec /usr/local/bin/i3 > 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. >>> >>> > > > -- > Mario. > --=20 Thanks - Mohammad Noureldin -- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein --0000000000005b21c20626e0645f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mari= o,








Hi Mario,

On Thu, Nov 14, 2024 at 11:45=E2= =80=AFAM Mario Marietto <marietto2008@gmail.com> wrote:
Hello bro.


<snip>
=C2=A0


--
Ma= rio.


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

<= /div> --0000000000005b21c20626e0645f--