Hi Gleb,

On Thu, Nov 14, 2024 at 4:10 PM Gleb Popov <arr...@freebsd.org> wrote:

> On Thu, Nov 14, 2024 at 5:37 PM Mohammad Noureldin
> <moham...@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 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.
> >
>
> 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.
>
>
You are correct, I've doubled checked man page xorg.conf(5). Thanks for the
hint and the correction.

<snip>

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

Reply via email to