Linux: Do you need a graphic desktop to use the GPU?

Message boards : GPUs : Linux: Do you need a graphic desktop to use the GPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
bluzz44

Send message
Joined: 7 Sep 21
Posts: 2
Message 105335 - Posted: 7 Sep 2021, 22:29:07 UTC

Hi everyone,

I feel a bit silly asking that, but it's a genuine question. I have only used graphics cards for gaming purposes so far, hence the newbie question.

I have an old Nvidia GTX 1060 that I would like to repurpose for BOINC, but I am running Fedora 34 server and I do not have a GUI, no X server etc..

I am basically running BOINC on docker containers on that server, and I obviously didn't install a desktop environment because there was no need.

Now that I have been poking around BOINC and docker for a few months, I would like to use the GPU in docker containers to increase performance. I know I need to enable PCIPassThrough, and I will get to that later, but before I start, I am trying to find out if I absolutely need a graphical desktop to use the GPU?

Thanks
ID: 105335 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 1694
United Kingdom
Message 105338 - Posted: 8 Sep 2021, 6:00:18 UTC - in response to Message 105335.  

No you don't need a graphics desktop but you may need to install proprietary drivers for the card.
ID: 105338 · Report as offensive
bluzz44

Send message
Joined: 7 Sep 21
Posts: 2
Message 105356 - Posted: 8 Sep 2021, 23:10:05 UTC - in response to Message 105338.  

@Dave thanks !
ID: 105356 · Report as offensive
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 198
United States
Message 106189 - Posted: 26 Nov 2021, 20:56:05 UTC
Last modified: 26 Nov 2021, 20:56:16 UTC

while you dont need the X server to run computation, you will need Xserver if you want fan control or overclocking control.
ID: 106189 · Report as offensive

Message boards : GPUs : Linux: Do you need a graphic desktop to use the GPU?

Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.