Clemens Eisserer
2016-Jul-06 19:11 UTC
[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Hi Ilia,> Very odd. Perhaps you're trying to run X as non-root and don't have > proper permissions on /dev/dri/card0? It seems like something in > https://cgit.freedesktop.org/nouveau/xf86-video-nouveau/tree/src/nv_driver.c#n400Thanks for the pointer, I'll try to dig a bit deeper there. I forgot to mention that I am trying to run X inside an debian unstable chroot (the main system is an embedded distribution where installing X + mesa would be a major hassle). FBdev works fine within this setup. Thanks and best regards, Clemens
Clemens Eisserer
2016-Jul-07 07:38 UTC
[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Hi,>> Very odd. Perhaps you're trying to run X as non-root and don't have >> proper permissions on /dev/dri/card0? It seems like something in >> https://cgit.freedesktop.org/nouveau/xf86-video-nouveau/tree/src/nv_driver.c#n400The call to HasKMS came from NVPlatformProbe - NVPlatformProbe succeeds and returns true. However, it seems Xorg aborts before NVPciProbe is ever called. I'll have a look at Xorg's source to get a better understanding what is happening arround nouveau. Br, Clemens
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
Seemingly Similar 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