In not that *someone more knowledgeable*..
but me here, I'm actually running my screens without any xorg.conf
and for the fact that Alexis said "Option Rotate settings in
xorg.conf is not working" I would try to make it with just xrandr.

An other trick that Alexis could try before to give it up with
xorg.conf is the following:

Section "ServerFlags"
  ..
  Option "AutoAddGPU"      "on"
  ..
EndSection

(to solve for the second gpu)

I see also now that Alexis mention the file "20-amdgpu.conf", I
personally have only "InputClass" and "OutputClass" in these kind
of file but I wait for *someone more knowledgeable*..;)


-Dan


Zé Loff <zel...@zeloff.org> wrote:

> On Mon, Oct 28, 2024 at 06:51:19PM +0100, Alexis de BRUYN [Mailing
> Lists] wrote:
> > Hello Everybody,
> > 
> > On a system running -current with 2 video cards, I want to use
> > arandr to configure grafically at least 10 monitors and because the
> > "Option Rotate" settings in xorg.conf is not working.
> > 
> > [    25.614] (--) PCI:*(3@0:0:0) 1002:7312:1002:031e rev 0, Mem @
> > 0xa0000000/268435456, 0xb0000000/2097152, 0xb5800000/524288, I/O @
> > 0x00007000/256 [    25.614] (--) PCI: (12@0:0:0)
> > 1002:7312:1002:031e rev 0, Mem @ 0x80000000/268435456,
> > 0x90000000/2097152, 0xb5500000/524288, I/O @ 0x00004000/256
> > 
> > $ cat /etc/X11/xorg.conf.d/20-amdgpu.conf
> > Section "Device"
> >     Identifier "Card3"
> >     Driver "amdgpu"
> >     BusID "PCI:3:0:0"
> > EndSection
> > 
> > Section "Device"
> >     Identifier "Card12"
> >     Driver "amdgpu"
> >     BusID "PCI:12:0:0"
> > EndSection
> > 
> > In menu "Outputs" menu of arandr, only 6 DisplayPort are shown.
> > 
> > $ xrandr --listproviders
> > Providers: number : 1
> > Provider 0: id: 0x5a cap: 0xf, Source Output, Sink Output, Source
> > Offload, Sink Offload crtcs: 6 outputs: 6 associated providers: 0
> > name:AMD Radeon Pro W5700 @ pci:0000:03:00.0
> > 
> > I have tested the same setup with an Ubuntu live CD, and 12 DP were
> > recognized.
> > 
> > Thanks for your help.
> > 
> > $ cat /var/log/Xorg.0.log
> ...
> > [    21.354] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
> > [    21.476] (II) AMDGPU(1): [KMS] Kernel modesetting enabled.
> 
> but
> 
> > [    21.543] (EE) Screen 1 deleted because of no matching config
> > section.
> 
> and then
> 
> > [    21.575] (II) UnloadModule: "amdgpu"
> 
> I'm guessing, and someone more knowledgeable might correct me, but I'd
> say you probably can't get away with the default configuration, and
> need to explicitly configure the Screens for those two Devices.
> 

Reply via email to