Re: Preventing display manager running on gpgpu

2021-02-09 Thread Jonathan Billings
On Tue, Feb 09, 2021 at 01:03:57PM -0500, Neal Becker wrote:
> Maybe not a bad idea.  Sometimes I might want a graphical interface on
> the built-in vga.

Well, if you want the graphical login, then you need to run a
graphical interface.  If you want to run it on a different card, set
up X11 to talk just to that video card.  Something like this if the
internal GPU is the Intel i915 (which I have in my servers).

Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
Option "PrimaryGPU" "yes"
EndSection

-- 
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Neal Becker
Maybe not a bad idea.  Sometimes I might want a graphical interface on
the built-in vga.

On Tue, Feb 9, 2021 at 12:37 PM Jonathan Billings  wrote:
>
> On Tue, Feb 09, 2021 at 11:39:42AM -0500, Neal Becker wrote:
> > If I understand correctly, I will need the nvidia driver installed to
> > use the gpgpu for M/L.  I don't want/need to run a display on it
> > (wayland or X11).
>
> Why not set the default.target to multi-user.target instead of
> graphical.target?
>
> --
> Jonathan Billings 
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org



-- 
Those who don't understand recursion are doomed to repeat it
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Jonathan Billings
On Tue, Feb 09, 2021 at 11:39:42AM -0500, Neal Becker wrote:
> If I understand correctly, I will need the nvidia driver installed to
> use the gpgpu for M/L.  I don't want/need to run a display on it
> (wayland or X11).

Why not set the default.target to multi-user.target instead of
graphical.target? 

-- 
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Neal Becker
If I understand correctly, I will need the nvidia driver installed to
use the gpgpu for M/L.  I don't want/need to run a display on it
(wayland or X11).
Thanks,
Neal

On Tue, Feb 9, 2021 at 10:22 AM Patrick O'Callaghan
 wrote:
>
> On Tue, 2021-02-09 at 06:51 -0600, Richard Shaw wrote:
> > I'm not sure I have a 100% solution for you but you could start with
> > blacklisting the nouveau driver...
> >
> > /etc/default/grub:
> > GRUB_CMDLINE_LINUX=" rd.driver.blacklist=nouveau
> > modprobe.blacklist=nouveau"
> >
> > (assuming UEFI)
> > # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
>
> Also blacklist the proprietary Nvidia driver if it's installed (or
> uninstall it of course).
>
> I was about to make the same suggestion since I do this myself in order
> to run GPU pass-through to a Windows VM guest, however the side-effect
> is that the GPU is no longer accessible from Linux, which may not be
> what the OP wanted.
>
> poc
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org



-- 
Those who don't understand recursion are doomed to repeat it
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Patrick O'Callaghan
On Tue, 2021-02-09 at 06:51 -0600, Richard Shaw wrote:
> I'm not sure I have a 100% solution for you but you could start with
> blacklisting the nouveau driver...
> 
> /etc/default/grub:
> GRUB_CMDLINE_LINUX=" rd.driver.blacklist=nouveau
> modprobe.blacklist=nouveau"
> 
> (assuming UEFI)
> # grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Also blacklist the proprietary Nvidia driver if it's installed (or
uninstall it of course).

I was about to make the same suggestion since I do this myself in order
to run GPU pass-through to a Windows VM guest, however the side-effect
is that the GPU is no longer accessible from Linux, which may not be
what the OP wanted.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Richard Shaw
I'm not sure I have a 100% solution for you but you could start with
blacklisting the nouveau driver...

/etc/default/grub:
GRUB_CMDLINE_LINUX=" rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau"

(assuming UEFI)
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

HTH!

Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Preventing display manager running on gpgpu

2021-02-09 Thread Neal Becker
After re-installing f33 following a disk crash, I was having problems
that I believe were caused by nouveau trying to run on my gpgpu nvidia
2080 ti.  I don't need or want a display manager running on it.  How
can I tell if wayland and/or X is configured to run on that card, and
how can I disable it for that card?  I also have a built-in vga that
runs a display.

Thanks,
Neal
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org