| raw e-mail | index | archive | help
--000000000000cd1a1b0626e1c3a5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --->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 to 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 <marietto2008@gmail.= com> 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 <arrowd@freebsd.org> w= rote: > >> 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 need >> this anymore. When you follow the explanations from the article I've sha= red >> 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. > --=20 Mario. --000000000000cd1a1b0626e1c3a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>--->This is all correct except you shouldn't e= dit files under /usr/local/share. Instead you should create a new config fi= le in /usr/local/etc and override values you want there.</div><div><br></div><div= >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...</div><div><br></div><div><div>$ cat /usr/local/etc/20-i= ntel-outputclass.conf<br>Section "OutputClass"<br>=C2=A0 =C2=A0 I= dentifier "intel"<br>=C2=A0 =C2=A0 MatchDriver "i915kms"= ;<br>=C2=A0 =C2=A0 Driver "modesetting"<br>=C2=A0 =C2=A0 Option &= quot;PrimaryGPU" "yes"<br>EndSection</div><div><br></div><di= v>$ cat /usr/local/etc/20-nvidia-drm-outputclass.conf<br>Section "Outp= utClass"<br>=C2=A0 =C2=A0 Identifier "nvidia"<br>=C2=A0 =C2= =A0 MatchDriver "nvidia-drm"<br>=C2=A0 =C2=A0 Driver "nvidia= "<br>=C2=A0 =C2=A0 ModulePath "/usr/local/lib/nvidia/xorg"<b= r>=C2=A0 =C2=A0 ModulePath "/usr/local/lib/xorg/modules"<br>EndSe= ction</div><div><br></div><div>Have I missed anything ? thanks.<br></div></= div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at= tr">On Thu, Nov 14, 2024 at 5:03=E2=80=AFPM Mario Marietto <<a href=3D"m= ailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">ok. So= you're telling me that there is a bug to fix and not an error within m= y configuration settings.=C2=A0 I don't know if this info is useful for= 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 ran= domic.<br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm= ail_attr">On Thu, Nov 14, 2024 at 4:10=E2=80=AFPM Gleb Popov <<a href=3D= "mailto:arrowd@freebsd.org" target=3D"_blank">arrowd@freebsd.org</a>> wr= ote:<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">On Thu, Nov= 14, 2024 at 5:37=E2=80=AFPM Mohammad Noureldin<br> <<a href=3D"mailto:mohammad@thelightbird.com" target=3D"_blank">mohammad= @thelightbird.com</a>> wrote:<br> ><br> > 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:<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-intel-outputclass.conf<br> > Section "OutputClass"<br> >=C2=A0 =C2=A0 =C2=A0Identifier "intel"<br> >=C2=A0 =C2=A0 =C2=A0MatchDriver "i915kms"<br> >=C2=A0 =C2=A0 =C2=A0Driver "modesetting"<br> >=C2=A0 =C2=A0 =C2=A0Option "PrimaryGPU" "yes"<br> > EndSection<br> ><br> > $ cat /usr/local/share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf<= br> > Section "OutputClass"<br> >=C2=A0 =C2=A0 =C2=A0Identifier "nvidia"<br> >=C2=A0 =C2=A0 =C2=A0MatchDriver "nvidia-drm"<br> >=C2=A0 =C2=A0 =C2=A0Driver "nvidia"<br> >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/nvidia/xorg"<b= r> >=C2=A0 =C2=A0 =C2=A0ModulePath "/usr/local/lib/xorg/modules"<= br> > EndSection<br> ><br> > In this case I have set the iGPU, from Intel, as the Primary GPU.<br> ><br> <br> This is all correct except you shouldn't edit files under<br> /usr/local/share. Instead you should create a new config file in<br> /usr/local/etc and override values you want there.<br> <br> 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<br= > working on consolekit in my free time, so maybe this will get fixed in<br> the near future.<br> <br> </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> </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> --000000000000cd1a1b0626e1c3a5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>