[PATCH xserver 4/4] xfree86: promote one GPU screen if (NumScreens == 0 && NumGPUScreens > 0)
Marcin Juszkiewicz
mjuszkiewicz at redhat.com
Mon Sep 5 13:45:22 UTC 2016
W dniu 05.09.2016 o 14:39, Laszlo Ersek pisze:
> I didn't want to mess with the definition of "primary graphics card",
> because that seems to have ties to platforms and graphics cards that I
> have no clue about. Instead, picking an unspecified secondary graphics
> card automatically, when there is no primary graphics card and the user
> also doesn't select a secondary with Device.BusID, seems quite robust
> for physical platforms too.
>
> In fact Marcin just informed me about the same problem for physical
> (aarch64) hosts, with Radeon (?) cards; that is, with cards that Xserver
> currently considers "secondary / GPU":
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1256933
>
> https://marcin.juszkiewicz.com.pl/2015/09/11/how-to-get-xserver-running-out-of-box-on-aarch64/
>
> I think this series could solve that problem as well, without
> customizing on what architecture what kind of card should be considered
> primary / secondary.
I fetched Laszlo's patches and rebuilt xorg-xserver with them for rawhide.
My setup is APM Mustang with Radeon HP5450 inserted (via riser) into
PCIe x8 slot.
F26 xserver-xorg installed:
(EE) No devices detected.
(EE)
Fatal server error:
(EE) no screens found(EE)
Full log: https://paste.fedoraproject.org/422275/47307919
Xserver-xorg with Laszlo's patches:
(WW) RADEON(G0): promoting secondary graphics card...
(WW) RADEON(0): ... to primary.
(WW) Use Device.BusID to select a specific secondary graphics card.
(II) RADEON(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: "ATI Radeon HD 5450" (ChipID = 0x68f9)
I do not have outputs connected at this moment but X11 just went up.
Full log: https://paste.fedoraproject.org/422273/07913514
Tested-By: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
More information about the xorg-devel
mailing list