Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232572 > unrolled thread
| Started by | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| First post | 2021-03-09 09:00 +0100 |
| Last post | 2021-03-09 13:50 +0100 |
| Articles | 18 — 7 participants |
Back to article view | Back to linux.debian.user
Use motherboard video-out or GPU’s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-09 09:00 +0100
Re: Use motherboard video-out or GPU’s deloptes <deloptes@gmail.com> - 2021-03-09 09:50 +0100
Re: Use motherboard video-out or GPU’s IL Ka <kazakevichilya@gmail.com> - 2021-03-09 12:10 +0100
Re: Use motherboard video-out or GPU’s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-09 13:50 +0100
Re: Use motherboard video-out or GPU???s Dan Ritter <dsr@randomstring.org> - 2021-03-09 15:50 +0100
Re: Use motherboard video-out or GPU???s Stefan Monnier <monnier@iro.umontreal.ca> - 2021-03-09 17:00 +0100
Re: Use motherboard video-out or GPU???s Dan Ritter <dsr@randomstring.org> - 2021-03-09 18:30 +0100
Re: Use motherboard video-out or GPU???s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-10 05:40 +0100
Re: Use motherboard video-out or GPU???s deloptes <deloptes@gmail.com> - 2021-03-10 08:10 +0100
Re: Use motherboard video-out or GPU???s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-10 08:50 +0100
Re: Use motherboard video-out or GPU???s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-10 05:40 +0100
Re: Use motherboard video-out or GPU’s deloptes <deloptes@gmail.com> - 2021-03-09 19:50 +0100
Re: Use motherboard video-out or GPU’s Felix Miata <mrmazda@earthlink.net> - 2021-03-09 22:20 +0100
Re: Use motherboard video-out or GPU’s deloptes <deloptes@gmail.com> - 2021-03-10 01:00 +0100
Re: Use motherboard video-out or GPU’s IL Ka <kazakevichilya@gmail.com> - 2021-03-10 02:00 +0100
Re: Use motherboard video-out or GPU’s Pankaj Jangid <pankaj@codeisgreat.org> - 2021-03-10 05:50 +0100
Re: Use motherboard video-out or GPU’s IL Ka <kazakevichilya@gmail.com> - 2021-03-09 12:20 +0100
Re: Use motherboard video-out or GPU’s Linux-Fan <Ma_Sys.ma@web.de> - 2021-03-09 13:50 +0100
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-09 09:00 +0100 |
| Subject | Use motherboard video-out or GPU’s |
| Message-ID | <BQFrA-5rL-9@gated-at.bofh.it> |
I have a confusion. Actually there are two. Please help me understand this. Suppose I have a good motherboard with two GPUs installed in the PCIe slots. Now, should I connect the monitor to the motherboard video-out or should I use GPU’s output? Suppose the OS (Debian GNU/Linux in this case) is fully configured to utilize the GPUs i.e. drivers etc. are set up. Will the graphic system be able to utilize the GPUs irrespective of where I have connected the monitor? -- Regards, Pankaj Jangid
[toc] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-03-09 09:50 +0100 |
| Message-ID | <BQGdX-5YY-3@gated-at.bofh.it> |
| In reply to | #232572 |
Pankaj Jangid wrote: > Suppose I have a good motherboard with two GPUs installed in the PCIe > slots. Now, should I connect the monitor to the motherboard video-out or > should I use GPU’s output? Suppose the OS (Debian GNU/Linux in this > case) is fully configured to utilize the GPUs i.e. drivers etc. are set > up. Will the graphic system be able to utilize the GPUs irrespective of > where I have connected the monitor? I am not an expert, but first of all what server are you using X or Wayland. I am not an expert in Wayland, but X is able to utilize any GPU in any number. If it does not this automatically you have to manually configure the server. There are numerous guides on the internet. It also depends how your MoBo is designed to work. Some do not allow using both internal/external GPU. Last but not least - why many GPUs but one monitor? It makes no sense. It should use the one where the monitor is attached, but usually monitors have more inputs, which you can utilize.
[toc] | [prev] | [next] | [standalone]
| From | IL Ka <kazakevichilya@gmail.com> |
|---|---|
| Date | 2021-03-09 12:10 +0100 |
| Message-ID | <BQIps-7yg-11@gated-at.bofh.it> |
| In reply to | #232574 |
[Multipart message — attachments visible in raw view] — view raw
> Last but not least - why many GPUs but one monitor? It makes no sense. There is one exception called "PRIME" or dGPU: https://www.spinics.net/lists/xorg/msg59821.html https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html https://wiki.archlinux.org/index.php/PRIME
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-09 13:50 +0100 |
| Message-ID | <BQJYd-8o1-1@gated-at.bofh.it> |
| In reply to | #232574 |
deloptes <deloptes@gmail.com> writes: >> Now, should I connect the monitor to the motherboard video-out or >> should I use GPU’s output? Suppose the OS (Debian GNU/Linux in this >> case) is fully configured to utilize the GPUs i.e. drivers etc. are set >> up. Will the graphic system be able to utilize the GPUs irrespective of >> where I have connected the monitor? > > I am not an expert in Wayland, but X is able to utilize any GPU in any > number. If it does not this automatically you have to manually > configure the server. There are numerous guides on the internet. Okay. So, this is possible. But my doubt remains. See below. > Last but not least - why many GPUs but one monitor? It makes no sense. It > should use the one where the monitor is attached, but usually monitors have > more inputs, which you can utilize. I’ll be using multiple monitors but my original doubt was this. If I am not connecting a monitor to GPU output, will I not be utilizing its power for (this) display? Assuming, I have configured X to utilize all the GPUs for number crunching. Should it make any difference where I am connect the monitor? What will be the highest available resolution? Will it depend on where I have connected? -- Regards, Pankaj Jangid
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2021-03-09 15:50 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BQLQl-18e-5@gated-at.bofh.it> |
| In reply to | #232580 |
Pankaj Jangid wrote: > I???ll be using multiple monitors but my original doubt was this. If I am > not connecting a monitor to GPU output, will I not be utilizing its > power for (this) display? Assuming, I have configured X to utilize all > the GPUs for number crunching. Should it make any difference where I am > connect the monitor? What will be the highest available resolution? Will > it depend on where I have connected? Each monitor will only use the GPU that it is connected to. If you are using a GPU-as-coprocessor system like CUDA or mlOPEN, that GPU is generally not available to be used by a monitor at that time. It may be used before or after that. If your motherboard has monitor outputs, it may be controlled by: - a motherboard-integrated GPU (not a card) - a motherboard-integrated video controller (also not a card) - a CPU-integrated GPU (Intel desktop CPUs, AMD APUs) It will not be controlled by a plug-in GPU. Finally, there are game APIs which use multiple GPUs to do the rendering of screen images and pipe it through one final GPU output; that is called AMD Crossfire and NVidia SLI or NVLink -- none of these are compatible with each other, and they are all likely to be de-supported in the near future. Does that help explain things? -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2021-03-09 17:00 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BQMW5-1Te-3@gated-at.bofh.it> |
| In reply to | #232588 |
> Each monitor will only use the GPU that it is connected to.
FWIW, I find the terminology used in the graphics card PC industry very
confusing. In my view, there are 4 different kinds of components to
a graphic system:
- Memory: this can be dedicated "video RAM" or just a chunk of your
normal RAM, shared with the rest of your system.
- Display engine (DE): This is the thing that reads a frame buffer
from some memory and sends the corresponding data out to your
monitor(s) via the output connector(s).
- Video processing unit (VPU): This is a specialized element with
support for decoding/encoding some specific video and audio formats.
It takes its input from some memory and sends its output to some other
part of the memory. E.g. when playing a video, it typically reads the
video from the system RAM and sends the decoded output to some (part
of a) frame buffer.
- GPU: This is a processor dedicated to doing the kind of number
crunching used for 3D rendering. It takes its inputs (e.g. textures
and scene descriptions) from some memory and outputs the rendered
scene to some (part of a) frame buffer. Nowadays these processors
have grown sufficient functionality that they can be used for other
kinds of number crunching.
Most "integrated graphics" are composed of the last 3 components above
and use the system's normal DRAM for their memory needs.
Most PC's "discrete" graphics cards include all 4 components and they
typically can't use the system's normal DRAM in the same way they use
their own video RAM. This means that you often can't use your discrete
GPU to render a 3D scene into the frame buffer used by the DE of your
integrated graphics card.
Stefan
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2021-03-09 18:30 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BQOlc-2QE-3@gated-at.bofh.it> |
| In reply to | #232591 |
Stefan Monnier wrote: > > Each monitor will only use the GPU that it is connected to. > > FWIW, I find the terminology used in the graphics card PC industry very > confusing. In my view, there are 4 different kinds of components to > a graphic system: > > - Memory: this can be dedicated "video RAM" or just a chunk of your > normal RAM, shared with the rest of your system. > - Display engine (DE): This is the thing that reads a frame buffer > from some memory and sends the corresponding data out to your > monitor(s) via the output connector(s). > - Video processing unit (VPU): This is a specialized element with > support for decoding/encoding some specific video and audio formats. > It takes its input from some memory and sends its output to some other > part of the memory. E.g. when playing a video, it typically reads the > video from the system RAM and sends the decoded output to some (part > of a) frame buffer. > - GPU: This is a processor dedicated to doing the kind of number > crunching used for 3D rendering. It takes its inputs (e.g. textures > and scene descriptions) from some memory and outputs the rendered > scene to some (part of a) frame buffer. Nowadays these processors > have grown sufficient functionality that they can be used for other > kinds of number crunching. > > Most "integrated graphics" are composed of the last 3 components above > and use the system's normal DRAM for their memory needs. > > Most PC's "discrete" graphics cards include all 4 components and they > typically can't use the system's normal DRAM in the same way they use > their own video RAM. This means that you often can't use your discrete > GPU to render a 3D scene into the frame buffer used by the DE of your > integrated graphics card. All correct, except -- if you have one of the specific combinations of AMD APU, AMD graphics card, and AMD-chipset motherboards that can do "Hybrid Crossfire" in which, surprise, the GPU integrated with the CPU can contribute to rendering each other's frame buffers. (I think it's always one specific direction, but am not sure.) -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-10 05:40 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BQYNz-132-3@gated-at.bofh.it> |
| In reply to | #232594 |
Dan Ritter <dsr@randomstring.org> writes: > All correct, except -- > if you have one of the specific combinations of AMD APU, AMD > graphics card, and AMD-chipset motherboards that can do "Hybrid > Crossfire" in which, surprise, the GPU integrated with the CPU > can contribute to rendering each other's frame buffers. (I think > it's always one specific direction, but am not sure.) I guess it pays them (in money terms) to not come up with a standard solutions. But anyway, I have some spare GPUs from AMD (Radeon RX580) and am planning go via Ryzen way. So I guess, I will be able to utilize the things nicely now. Thanks. -- Regards, Pankaj Jangid
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-03-10 08:10 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BR18J-2BU-1@gated-at.bofh.it> |
| In reply to | #232646 |
Pankaj Jangid wrote: > But anyway, I have some spare GPUs from AMD (Radeon RX580) and am > planning go via Ryzen way. So I guess, I will be able to utilize the > things nicely now. Thanks. Keep in mind that AMD dropped support for their older card models.
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-10 08:50 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BR1Lr-2OK-1@gated-at.bofh.it> |
| In reply to | #232650 |
deloptes <deloptes@gmail.com> writes: >> But anyway, I have some spare GPUs from AMD (Radeon RX580) and am >> planning go via Ryzen way. So I guess, I will be able to utilize the >> things nicely now. Thanks. > > Keep in mind that AMD dropped support for their older card models. Hmm... that’s another research work for me. Thanks for the advice. -- Regards, Pankaj Jangid
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-10 05:40 +0100 |
| Subject | Re: Use motherboard video-out or GPU???s |
| Message-ID | <BQYNz-132-1@gated-at.bofh.it> |
| In reply to | #232591 |
Stefan Monnier <monnier@iro.umontreal.ca> writes: >> Each monitor will only use the GPU that it is connected to. > > FWIW, I find the terminology used in the graphics card PC industry very > confusing. In my view, there are 4 different kinds of components to > a graphic system: > > ... > > Most PC's "discrete" graphics cards include all 4 components and they > typically can't use the system's normal DRAM in the same way they use > their own video RAM. This means that you often can't use your discrete > GPU to render a 3D scene into the frame buffer used by the DE of your > integrated graphics card. > Thanks for detailed explanation, Stefan. Your advice will definitely save my money. As I have not yet purchased a motherboard, but I have a couple of GPUs lying around unused. I am building a new workstation, taking clues from this list. -- Regards, Pankaj Jangid
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-03-09 19:50 +0100 |
| Message-ID | <BQPAC-3we-7@gated-at.bofh.it> |
| In reply to | #232580 |
Pankaj Jangid wrote: > Okay. So, this is possible. But my doubt remains. See below. > >> Last but not least - why many GPUs but one monitor? It makes no sense. It >> should use the one where the monitor is attached, but usually monitors >> have more inputs, which you can utilize. > > I’ll be using multiple monitors but my original doubt was this. If I am > not connecting a monitor to GPU output, will I not be utilizing its > power for (this) display? Assuming, I have configured X to utilize all > the GPUs for number crunching. Should it make any difference where I am > connect the monitor? What will be the highest available resolution? Will > it depend on where I have connected? AFAIR A screen will be assigned to the controller/GPU. then to each output a Monitor and Display will be assigned. As you know there are few options how it can be handled (Extend/Clone). The resolution depends on the quality of the cards. I have only one integrated intel with DVI and HDMI. So I have one screen and one Monitor, but both DVI and HDMI are connected. Because I have configured Extend per default, I see the login screen only on the DVI display and the extention on the other. I guess you must try out and perhaps manually fine tune this or that. May be also copy/paste here the make/model of the hardware, so that someone can give you more detailed information.
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2021-03-09 22:20 +0100 |
| Message-ID | <BQRVM-5cK-15@gated-at.bofh.it> |
| In reply to | #232598 |
deloptes composed on 2021-03-09 19:43 (UTC+0100): > AFAIR A screen will be assigned to the controller/GPU. then to each output a > Monitor and Display will be assigned. > As you know there are few options how it can be handled (Extend/Clone). > The resolution depends on the quality of the cards. > I have only one integrated intel with DVI and HDMI. So I have one screen and > one Monitor, but both DVI and HDMI are connected. > Because I have configured Extend per default, I see the login screen only on > the DVI display and the extention on the other. Clear as mud. Monitor = display. This is physical. Screen for X purposes is comprised of from 1 to N displays aka 1 to N monitors, and most often is. It's a logical construct in which displayed output can be either mirrored (cloned) or discrete (unique). IME, two cables simultaneously connected from one GPU to one display is a formula for failure, unless the display specifically supports multiple simultaneous discrete inputs, such as PBP, POP or PIP. -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-03-10 01:00 +0100 |
| Message-ID | <BQUqB-6Dx-11@gated-at.bofh.it> |
| In reply to | #232602 |
Felix Miata wrote: > Clear as mud. > > Monitor = display. This is physical. > > Screen for X purposes is comprised of from 1 to N displays aka 1 to N > monitors, and most often is. It's a logical construct in which displayed > output can be either mirrored (cloned) or discrete (unique). > Not exactly - it utilizes the device and AFAIR if you have multihead GPU, you could have more than one screens with more than one monitors and define there whatever acceptable displays you can define. > IME, two cables simultaneously connected from one GPU to one display is a > formula for failure, unless the display specifically supports multiple > simultaneous discrete inputs, such as PBP, POP or PIP. Why not? I can do HDMI or DVI as I like. The DVI delivers somehow better quality - might be because the HDMI has a switch box in between - I suspect in general being produced in China and it can not deliver full 1920x1080@75, or may be some other reason. Anyway I kept the DVI and it works with both plugged in just fine - may be over two years already.
[toc] | [prev] | [next] | [standalone]
| From | IL Ka <kazakevichilya@gmail.com> |
|---|---|
| Date | 2021-03-10 02:00 +0100 |
| Message-ID | <BQVmF-7eg-1@gated-at.bofh.it> |
| In reply to | #232628 |
[Multipart message — attachments visible in raw view] — view raw
> Felix Miata wrote: > > > Clear as mud. > > > > Monitor = display. This is physical. > > > > Screen for X purposes is comprised of from 1 to N displays aka 1 to N > > monitors, and most often is. It's a logical construct in which displayed > > output can be either mirrored (cloned) or discrete (unique). > > > > Not exactly - it utilizes the device and AFAIR if you have multihead GPU, > you could have more than one screens with more than one monitors and define > there whatever acceptable displays you can define. > X11 terminology is complex and bloated with 30 years old poorly named abstractions. I suggest to read this : https://wiki.archlinux.org/index.php/Multihead Especially funny is that term "display" has different meaning in xorg.conf (screen's width and depth) and X11 protocol (collection of screens: DISPLAY=display.screen) Nowadays you should have: * One screen and one display (DISPLAY=:0.0) unless you do something rare like Zaphod mode. * Use randr (either directly or with tools provided by your DE) to configure each monitor as different output RandR solves most issues. Other approaches are outdated: Xinerama requires manual configuration and doesn't support different resolutions without of "dead zones" "Several screens" (original X solution) does not allow you to move windows between them (except several carefully written apps)
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Jangid <pankaj@codeisgreat.org> |
|---|---|
| Date | 2021-03-10 05:50 +0100 |
| Message-ID | <BQYXf-16e-1@gated-at.bofh.it> |
| In reply to | #232637 |
IL Ka <kazakevichilya@gmail.com> writes: > Nowadays you should have: > * One screen and one display (DISPLAY=:0.0) unless you do something rare > like Zaphod mode. > * Use randr (either directly or with tools provided by your DE) to > configure each monitor as different output Clear. Thanks a lot. > "Several screens" (original X solution) does not allow you to move windows > between them (except several carefully written apps) I remember experimenting with $DISPLAY, in my early days. It satisfies the inner programmer but yes, the applications must be carefully written for :0.0, :0.1, :1.0, :1.1, ... -- Regards, Pankaj Jangid
[toc] | [prev] | [next] | [standalone]
| From | IL Ka <kazakevichilya@gmail.com> |
|---|---|
| Date | 2021-03-09 12:20 +0100 |
| Message-ID | <BQIz7-7Bq-1@gated-at.bofh.it> |
| In reply to | #232572 |
[Multipart message — attachments visible in raw view] — view raw
> Suppose I have a good motherboard with two GPUs installed in the PCIe > slots. Now, should I connect the monitor to the motherboard video-out or > should I use GPU’s output? Motherboard output is for integrated video cards. https://www.intel.com/content/www/us/en/support/articles/000057824/graphics.html > Suppose the OS (Debian GNU/Linux in this > case) is fully configured to utilize the GPUs i.e. drivers etc. are set > up. Will the graphic system be able to utilize the GPUs irrespective of > where I have connected the monitor? > Yes. Videocard should detect the monitor and report its presence to the video system (X11). In some cases you would need to configure it manually. In modern X11 you use your desktop environment UI to configure monitors or you can use the ``xrandr`` tool directly. https://xorg-team.pages.debian.net/xorg/howto/use-xrandr.html >
[toc] | [prev] | [next] | [standalone]
| From | Linux-Fan <Ma_Sys.ma@web.de> |
|---|---|
| Date | 2021-03-09 13:50 +0100 |
| Message-ID | <BQJYd-8o1-3@gated-at.bofh.it> |
| In reply to | #232572 |
[Multipart message — attachments visible in raw view] — view raw
Pankaj Jangid writes: > I have a confusion. Actually there are two. Please help me understand > this. > > Suppose I have a good motherboard with two GPUs installed in the PCIe > slots. Now, should I connect the monitor to the motherboard video-out or > should I use GPU’s output? Suppose the OS (Debian GNU/Linux in this > case) is fully configured to utilize the GPUs i.e. drivers etc. are set > up. Will the graphic system be able to utilize the GPUs irrespective of > where I have connected the monitor? Connect the monitors to the GPU/cards you want to use. Otherwise, it is most likely that graphics output will be computed by a processor-integrated graphics unit (if present, otherwise black screen). Here are the two special cases that immediately come to mind: * It is possible to utilize GPUs that are not connected to screens for computation purposes (e.g. OpenCL/NVidia CUDA). Unless you are doing this all the time there is no reason against using them for video output, too :) * In case of mobile devices there are some which can render on a different GPU than the monitor is connected to but for usual desktops this is not the case. HTH Linux-Fan öö [...]
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web