Clemens Eisserer
2016-Jul-07 17:15 UTC
[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Hi again, Some further digging revealed that NVPlatformProbe is called with the flag PLATFORM_PROBE_GPU_SCREEN, so the flag XF86_ALLOCATE_GPU_SCREEN is passed to xf86AllocateScreen. After xf86AllocateScreen I end up with xf86GPUScreens == 1 and xf86NumScreens == 0. The xf86GPUScreens seems to be ignored by all the following code, only xf86NumScreens is evaluated afterwards in xf86BusConfig: /* If nothing was detected, return now */ if (xf86NumScreens == 0) { xf86Msg(X_ERROR, "No devices detected.\n"); return FALSE; } Is the issue that xf86NumScreens is zero at the beginning, or that xf86GPUScreens is not taken into account later on? Any help would be highly appreciated. Thanks and best regards, Clemens
Ilia Mirkin
2016-Jul-07 18:06 UTC
[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
It's surprising that it's coming up as a platform device and not a pci device. Perhaps xorg was built without pci support? (Not sure if that's even possible.) It should definitely not be coming up as a GPU screen, but as a regular screen. -ilia On Thu, Jul 7, 2016 at 1:15 PM, Clemens Eisserer <linuxhippy at gmail.com> wrote:> Hi again, > > Some further digging revealed that NVPlatformProbe is called with the > flag PLATFORM_PROBE_GPU_SCREEN, so the flag XF86_ALLOCATE_GPU_SCREEN > is passed to xf86AllocateScreen. > > After xf86AllocateScreen I end up with xf86GPUScreens == 1 and > xf86NumScreens == 0. > > The xf86GPUScreens seems to be ignored by all the following code, only > xf86NumScreens is evaluated afterwards in xf86BusConfig: > /* If nothing was detected, return now */ > if (xf86NumScreens == 0) { > xf86Msg(X_ERROR, "No devices detected.\n"); > return FALSE; > } > > Is the issue that xf86NumScreens is zero at the beginning, or that > xf86GPUScreens is not taken into account later on? > > Any help would be highly appreciated. > > Thanks and best regards, Clemens > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/nouveau
Clemens Eisserer
2016-Jul-07 18:26 UTC
[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Hi,> It's surprising that it's coming up as a platform device and not a pci > device. Perhaps xorg was built without pci support? (Not sure if > that's even possible.) > > It should definitely not be coming up as a GPU screen, but as a regularscreen. When forcing it to initialize as normal screen everything seems to work perfectly! Xorg was used prebuilt from Debian unstable... I'll try to find out where the culprit is... Thanks a lot , Clemens -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160707/2e029d74/attachment.html>
Reasonably Related Threads
- Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
- Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
- Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
- Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
- Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board