All of lore.kernel.org
 help / color / mirror / Atom feed
* re: How to enable Radeon Pro Duo with mesa
@ 2018-03-15  7:09 Lvzhihong (ReJohn)
       [not found] ` <E7DD0E9246072C4A9CA8F1C79F816696018E7B51-k9ZYk3Ba6VKEZbDCDsDlKQK1hpo4iccwjNknBlVQO8k@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Lvzhihong (ReJohn) @ 2018-03-15  7:09 UTC (permalink / raw)
  To: Alex Deucher; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, sunnanyong

> What are you trying to do?  A large desktop spread across both chips?
> Use the chips independently?  There is no support for crossfire on Linux.  If you want to use a desktop across multiple chips or select which chip is used for rendering, you can use xrandr and the prime support in X:
> https://wiki.archlinux.org/index.php/PRIME

I want to select one chip to render for my application. And now I know how to select which chip: after set env DRI_PRIME=1 , the second chip will be used. But there is another problem: the second chip's performance is very bad , only 1/4 of the first chip. 

xrandr --listproviders:
Providers: number : 2
Provider 0: id: 0x7f cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:AMD Radeon (TM) Pro WX 7100 Graphics @ pci:000d:33:00.0 Provider 1: id: 0x45 cap: 0x6, Sink Output, Source Offload crtcs: 6 outputs: 0 associated providers: 1 name:AMD Radeon (TM) Pro WX 7100 Graphics @ pci:000d:34:00.0

Here is the results of running glxgears: 
DRI_PRIME=1 vblank_mode=0  glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
5486 frames in 5.0 seconds = 1097.200 FPS

DRI_PRIME=0 vblank_mode=0  glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
19846 frames in 5.0 seconds = 3969.058 FPS

How to resolve this?


> On Wed, Mar 14, 2018 at 5:41 AM, Lvzhihong (ReJohn) <lvzhihong1@huawei.com> wrote:
> Hi All ,
>
> Does mesa support Radeon Pro Duo? I don’t know how to configure 
> xorg.conf to use two WX7100 card of DUO , and now I can only use the first card of DUO.
>
> What are you trying to do?  A large desktop spread across both chips?
> Use the chips independently?  There is no support for crossfire on Linux.  If you want to use a desktop across multiple chips or select which chip is used for rendering, you can use xrandr and the prime support in X:
> https://wiki.archlinux.org/index.php/PRIME
>
> Alex


>
> Installed software packages: xserver-xorg  xfce4  xinit
>
> Mesa version: 17.2.8  kernel version: 4.15
>
>
>
> Pci information:
>
> 000d:31:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port 
> PCI Express Gen 3 (8.0 GT/s) Switch (rev ca)
>
> 000d:32:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port 
> PCI Express Gen 3 (8.0 GT/s) Switch (rev ca)
>
> 000d:32:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port 
> PCI Express Gen 3 (8.0 GT/s) Switch (rev ca)
>
> 000d:33:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Ellesmere [Radeon Pro WX 7100]
>
> 000d:33:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] 
> Device
> aaf0
>
> 000d:34:00.0 Display controller: Advanced Micro Devices, Inc. 
> [AMD/ATI] Ellesmere [Radeon Pro WX 7100]
>
>
>
> My xorg.conf:
>
> Section "Device"
>
>        Identifier "AMD"
>
>        Driver "amdgpu"
>
>        BusID "pci:51@13:00:00"
>
> EndSection
>
> Section "Monitor"
>
>         Identifier "monitor0"
>
>         Option "enable" "true"
>
> EndSection
>
> Section "Screen"
>
>         Identifier "screen0"
>
>         Device "AMD"
>
>         Monitor "monitor0"
>
>         DefaultDepth 24
>
>         SubSection "Display"
>
>                 Depth 24
>
>         EndSubSection
>
> EndSection
>
>
>
> I use “startx” to start desktop , and only the first WX7100(PCI Bus ID:
> 000d:33:00.0) being used , the second WX7100(PCI Bus ID: 000d:34:00.0) 
> has no load .
>
>          Even if I set BusID as "pci:52@13:00:00" (the second WX7100), 
> it still only the first WX7100 being used.
>
>
>
>       So , How to enable Radeon Pro Duo with opensource driver , does 
> my xorg.conf is wrong or mesa doesn’t support Radeon Pro Duo?
>
>
>
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-17 17:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <EB021AE3BDDC1742A899855D00BABEB0010451CE@DGGEMM506-MBX.china.huawei.com>
     [not found] ` <EB021AE3BDDC1742A899855D00BABEB0010451CE-0LhPdUyVHB9548jd+VSckwK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2018-03-14  9:41   ` How to enable Radeon Pro Duo with mesa Lvzhihong (ReJohn)
     [not found]     ` <E7DD0E9246072C4A9CA8F1C79F816696018E7743-k9ZYk3Ba6VKEZbDCDsDlKQK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2018-03-14 13:38       ` Alex Deucher
2018-04-09  2:31       ` Oops in 4.16 kernel amdgpu driver sunnanyong
2018-08-17  8:06     ` 答复: " sunnanyong
     [not found]       ` <EB021AE3BDDC1742A899855D00BABEB0010853E4-c7WhUCh6H2dYbA1SvqXW6AK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2018-08-17 17:46         ` Christian König
2018-03-15  7:09 How to enable Radeon Pro Duo with mesa Lvzhihong (ReJohn)
     [not found] ` <E7DD0E9246072C4A9CA8F1C79F816696018E7B51-k9ZYk3Ba6VKEZbDCDsDlKQK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2018-03-15  8:23   ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.