From nobody Sat Nov 16 07:29:51 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 4Xr5CC01VQz5d05n; Sat, 16 Nov 2024 07:30:31 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 4Xr5CB1xKXz4jTG; Sat, 16 Nov 2024 07:30:30 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2e2fb304e7dso2186198a91.1; Fri, 15 Nov 2024 23:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731742229; x=1732347029; 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=enZkIjWnfavzfIc160uz5SJVzBY2gjpVF1pYWvI5oIY=; b=cMuk4RaZ21Edu02FcsrVmCyCI8hlHgMOwR1ul1WrBl4cketfxXLzsltvagWb0V5tOo LqsHN5QvcWfKyQp6wYn11k8wkCbCpmPItf+DLs4/QRrbuFZDWZhD4JEeRQAJ+pzzkeG/ NBXFIEgZqWnbz7DRStJj+jdZ/J0y1d62PL5M5+nO1p5Nba3As4zNEo97IZuA7OdRAj08 Sjal5IqnWoSIxxLx/FZHiqhF9gn45i/0DXUuMYiu3pr9iJ+AcOb52B+NkXLGvi6QHyqS OrxO4uqrivePLWDxO2HDzkJaboKd64yqvKkWTedx1oASfCVpGopCakJOV3tCCj+G/AAw 67jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731742229; x=1732347029; 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=enZkIjWnfavzfIc160uz5SJVzBY2gjpVF1pYWvI5oIY=; b=NDiNLii6TIBZy8cmhDIl/5hCWEGip6Cnxy5NsaPg1IsQu+7PBWayFGWgYAhvJmrUHF VRajz+/BFvXbmzCfdt9qIiY/RXm4OEz1iT8HbjF8ClU1mET6j6HHLAiyXSx+NV7XjTWh N2pkjOQBrrW6FKNd+iICQ8crRny3alCBQ9tmSCkDM/kv11qmSizgsNc+Ci6l1ks0ICCu 4ZJoZ3FQcfAp1btcsbfLMM9MucsFJeXK/t2pumoaX+SyubmQ4ybwuoCOn/SebZeyaMSi SR/G2DYMQgDlDqqdhjtLMWwb67DfFapwQlbWR406XekruVeeBqHEbGfrsyE5qU2KNKAy 59pQ== X-Forwarded-Encrypted: i=1; AJvYcCXJxhtCKbsFlZpgUxztbWpVIztjmqEkhnDLFQm4xPIq+37+ISNDThaGu5rIbLGCaZCOGMXIvk3iJc95Z6OZrg4=@freebsd.org X-Gm-Message-State: AOJu0YwMrnv+Q1rWl4OG2Okpdx791uSQ5p3Zj0WEtOCUzHzB4bvBUO6x OBqIvCrC6OkweIX9f6bqOGyxWArEL4BrWeqJT2oK0atN1WxmgFMSMxP7yZ/XJvDJhkbhC4heLeC wamUgSiBnWj7+2+x0UYHeu9l5A7Q= X-Google-Smtp-Source: AGHT+IFVRmWErRC76Cxh0OUd5u9+aNIOlFCVBO+h3HmEAyZNfsAAVQDES1raFP2MwNfnfmtIY3dyPMsfgVZHjcNxlfE= X-Received: by 2002:a17:90b:1dcc:b0:2e2:b17a:b118 with SMTP id 98e67ed59e1d1-2ea155b2efdmr5778496a91.32.1731742228592; Fri, 15 Nov 2024 23:30:28 -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: <1570570420.386853.1731700924991@fidget.co-bxl> In-Reply-To: <1570570420.386853.1731700924991@fidget.co-bxl> From: Mario Marietto Date: Sat, 16 Nov 2024 08:29:51 +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: Sysadmin Lists Cc: FreeBSD Mailing List , freebsd-desktop@freebsd.org Content-Type: multipart/alternative; boundary="00000000000060c294062702a855" 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: 4Xr5CB1xKXz4jTG X-Spamd-Bar: ---- --00000000000060c294062702a855 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. maybe you mean : cd /usr/local/share/X11/xorg.conf.d/ mv 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ mv 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ otherwise you will have the same conf files in two different places ? On Fri, Nov 15, 2024 at 9:02=E2=80=AFPM Sysadmin Lists wrote: > I think he means like this: > > cd /usr/local/share/X11/xorg.conf.d/ > cp 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ > cp 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/ > > And then edit thse files inside /usr/local/etc/X11/xorg.conf.d/ > > On Nov 14, 2024 at 8:15 AM, Mario Marietto wrote= : > > --->This is all correct except you shouldn't edit files under > /usr/local/share. Instead you should create a new config file in > /usr/local/etc and override values you want there. > > I'm not sure if I have understood well,but what I've just done has been t= o > create the following files under /usr/local/etc,please correct me if I'm > wrong... > > $ cat /usr/local/etc/20-intel-outputclass.conf > Section "OutputClass" > Identifier "intel" > MatchDriver "i915kms" > Driver "modesetting" > Option "PrimaryGPU" "yes" > EndSection > > $ cat /usr/local/etc/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 > > Have I missed anything ? thanks. > > On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM Mario Marietto > wrote: > > ok. So you're telling me that there is a bug to fix and not an error > within my configuration settings. I don't know if this info is useful fo= r > you,but KDE 6 under wayland crashes totally everytime I press in a random > point of the screen with the right mouse button. So the crashes are not > randomic. > > On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb Popov w= rote: > > On Thu, Nov 14, 2024 at 5:37=E2=80=AFPM Mohammad Noureldin > wrote: > > > > 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 shar= ed > 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. > > > > This is all correct except you shouldn't edit files under > /usr/local/share. Instead you should create a new config file in > /usr/local/etc and override values you want there. > > Speaking of the consolekit problem, it tries to mimic systemd's login1 > API, but it doesn't provide 100% compatibility yet. Some Wayland stuff > may call into that and bump into these incompatibilities. I'm slowly > working on consolekit in my free time, so maybe this will get fixed in > the near future. > > > > -- > Mario. > > > > -- > Mario. > > > > -- > Sent with https://mailfence.com > Secure and private email > --=20 Mario. --00000000000060c294062702a855 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

maybe you mean :

cd /usr/local/share/X11/xorg.conf.d/
mv 20-intel-outputclass.conf /usr/local/etc/X11/xorg.conf.d/
m= v 20-nvidia-drm-outputclass.conf /usr/local/etc/X11/xorg.conf.d/
=
otherwise you will have the same conf files in two different= places ?

On Fri, Nov 15, 2024 at 9:02=E2=80=AFPM Sys= admin Lists <sysadmin.li= sts@mailfence.com> wrote:
I think he means like this:

cd /us= r/local/share/X11/xorg.conf.d/
cp 20-intel-outputclass.conf = /usr/local/etc/X11/xorg.conf.d/
cp 20-nvidia-drm-outputclass.conf= /usr/local/etc/X11/xorg.conf.d/

And then edit ths= e files inside /usr/local/etc/X11/xorg.conf.d/

On = Nov 14, 2024 at 8:15 AM, Mario Marietto <marietto2008@gmail.com> wrote:
--->This is all correct except yo= u shouldn't edit files under /usr/local/share. Instead you should creat= e a new config file in /usr/local/etc and override values you want there.

I'm not sure if I have understood well,but what I've just done has= been to create the following files under /usr/local/etc,please correct me = if I'm wrong...

$ cat /usr/local/etc/20-i= ntel-outputclass.conf
Section "OutputClass"
=C2=A0 =C2=A0 I= dentifier "intel"
=C2=A0 =C2=A0 MatchDriver "i915kms"= ;
=C2=A0 =C2=A0 Driver "modesetting"
=C2=A0 =C2=A0 Option &= quot;PrimaryGPU" "yes"
EndSection

$ cat /usr/local/etc/20-nvidia-drm-outputclass.conf
Section "Outp= utClass"
=C2=A0 =C2=A0 Identifier "nvidia"
=C2=A0 =C2= =A0 MatchDriver "nvidia-drm"
=C2=A0 =C2=A0 Driver "nvidia= "
=C2=A0 =C2=A0 ModulePath "/usr/local/lib/nvidia/xorg"=C2=A0 =C2=A0 ModulePath "/usr/local/lib/xorg/modules"
EndSe= ction

Have I missed anything ? thanks.

On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM= Mario Marietto <marietto2008@gmail.com> wrote:
ok. So you're telling me that there is a bug to f= ix and not an error within my configuration settings.=C2=A0 I don't kno= w if this info is useful for you,but KDE 6 under wayland crashes totally ev= erytime I press in a random point of the screen with the right mouse button= . So the crashes are not randomic.

On Th= u, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb Popov <arrowd@freebsd.org> wrote:
<= blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex">On Thu, Nov 14, 2024 at 5:37=E2=80=AFPM Mohammad= Noureldin
<mohammad= @thelightbird.com> wrote:
>
> This is the whole idea behind auto-configuration, that you don't n= eed this anymore. When you follow the explanations from the article I'v= e shared in my previous email, you should end up with configurations simila= r to these:
>
> $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf
> Section "OutputClass"
>=C2=A0 =C2=A0 =C2=A0Identifier "intel"
>=C2=A0 =C2=A0 =C2=A0MatchDriver "i915kms"
>=C2=A0 =C2=A0 =C2=A0Driver "modesetting"
>=C2=A0 =C2=A0 =C2=A0Option "PrimaryGPU" "yes"
> EndSection
>
> $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<= br> > Section "OutputClass"
>=C2=A0 =C2=A0 =C2=A0Identifier "nvidia"
>=C2=A0 =C2=A0 =C2=A0MatchDriver "nvidia-drm"
>=C2=A0 =C2=A0 =C2=A0Driver "nvidia"
>=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/nvidia/xorg" >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/xorg/modules"<= br> > EndSection
>
> In this case I have set the iGPU, from Intel, as the Primary GPU.
>

This is all correct except you shouldn't edit files under
/usr/local/share. Instead you should create a new config file in
/usr/local/etc and override values you want there.

Speaking of the consolekit problem, it tries to mimic systemd's login1<= br> API, but it doesn't provide 100% compatibility yet. Some Wayland stuff<= br> may call into that and bump into these incompatibilities. I'm slowly working on consolekit in my free time, so maybe this will get fixed in
the near future.



--
Mario.


--
Mario.


--
Sent with https://mailfence.com Secure and private email


--
Mario.
--00000000000060c294062702a855--