Most modern desktop environments set this up already. All you need to do is set the env var DRI_PRIME=1 when running an app and it will run on the dGPU. Many desktop environments also provide a GUI based option to choose which GPU to run a particular application on.
Alex On Fri, May 15, 2020 at 8:23 AM IL Ka <kazakevichi...@gmail.com> wrote: > Then what is the right thing to do here? > Use AMD only for rendering, but not for the output. Something like: > $ xrandr --setprovideroffloadsink provider sink > ? > > > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Без > вирусов. www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-1550470071674472515_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Thu, May 14, 2020 at 9:52 PM Alex Deucher <alexdeuc...@gmail.com> > wrote: > >> On Thu, May 14, 2020 at 2:47 PM IL Ka <kazakevichi...@gmail.com> wrote: >> > >> > Here is what happened: >> >> >> >> [ 347.043] (WW) RADEON(0): No outputs definitely connected, trying >> again... >> >> [ 347.043] (WW) RADEON(0): Unable to find connected outputs - >> setting 1024x768 initial framebuffer >> >> [ 347.043] (II) RADEON(0): mem size init: gart size :7fbcf000 vram >> size: s:80000000 visible:fbbe000 >> > >> > >> > It seems that you have 2 video cards: intel (built into CPU I believe) >> and ATI. >> > Intel is connected, not ATI. >> > >> > I think you need to enable ATI video card in your BIOS settings. >> > There should be something like "discrete video card" or "on board video >> card" switch. >> >> Not possible on this system. The dGPU in question has no display >> hardware at all so it cannot drive a display. It can only support >> render offload. >> >> Alex >> >
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s