[Nouveau] Nouveau fails to initialize G94GL / Quadro-FX1800 on aarch64 board
Ilia Mirkin
imirkin at alum.mit.edu
Wed Jul 6 18:01:35 UTC 2016
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#n400
is failing. Not sure what it would be though. HasKMS is returning
successfully (since no error is printing and you see the interface
version). Will require you to do some debugging, I'm afraid.
-ilia
On Wed, Jul 6, 2016 at 1:37 PM, Clemens Eisserer <linuxhippy at gmail.com> wrote:
> Hi,
>
> I am trying to use a G94GL based card (Quadro FX1800) on an
> arm64/aarch64 based board.
> As the board is running linux-4.1.8, I had to apply the following
> patches to get the kernel module / drm working:
> https://lkml.org/lkml/2015/5/15/83
> https://lists.freedesktop.org/archives/dri-devel/2015-July/085449.html
>
> So far everything seems to work, the card modesets correctly, and the
> kernel log also looks quite healthy.
> However when I try to start X, despite it seems to find /dev/dri/card0
> and outputs a message about the nouveau interface version it complains
> it can't find any screen.
>
> Any hints how to debug this issue further are highly appreciated.
>
> Thank you in advance, Clemens
>
> lspci:
> 0000:01:00.0 VGA compatible controller: NVIDIA Corporation G94GL
> [Quadro FX 1800] (rev a1) (prog-if 00 [VGA controller])
> Subsystem: NVIDIA Corporation G94GL [Quadro FX 1800]
> Flags: bus master, fast devsel, latency 0, IRQ 208
> Memory at 1458000000 (32-bit, non-prefetchable) [size=16M]
> Memory at 1440000000 (64-bit, prefetchable) [size=256M]
> Memory at 1456000000 (64-bit, non-prefetchable) [size=32M]
> I/O ports at 1000 [size=128]
> Expansion ROM at 1459000000 [disabled] [size=512K]
> Capabilities: [60] Power Management version 3
> Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [78] Express Endpoint, MSI 00
> Capabilities: [b4] Vendor Specific Information: Len=14 <?>
> Capabilities: [100] Virtual Channel
> Capabilities: [128] Power Budgeting <?>
> Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
> Len=024 <?>
> Kernel driver in use: nouveau
>
> nouveau kernel related messages:
> root at ls2085ardb:/# dmesg | grep nouveau
> [ 3.804822] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x094c00a1
> [ 3.810922] nouveau [ DEVICE][0000:01:00.0] Chipset: G94 (NV94)
> [ 3.817024] nouveau [ DEVICE][0000:01:00.0] Family : NV50
> [ 3.943786] nouveau [ VBIOS][0000:01:00.0] using image from PROM
> [ 3.950269] nouveau [ VBIOS][0000:01:00.0] BIT signature found
> [ 3.956367] nouveau [ VBIOS][0000:01:00.0] version 62.94.96.00.06
> [ 3.963113] nouveau [ DEVINIT][0000:01:00.0] adaptor not initialised
> [ 3.969564] nouveau [ VBIOS][0000:01:00.0] running init tables
> [ 4.091448] nouveau [ PMC][0000:01:00.0] MSI interrupts enabled
> [ 4.097876] nouveau [ PFB][0000:01:00.0] RAM type: GDDR3
> [ 4.103620] nouveau [ PFB][0000:01:00.0] RAM size: 768 MiB
> [ 4.109540] nouveau [ PFB][0000:01:00.0] ZCOMP: 3048 tags
> [ 4.121167] nouveau [ VOLT][0000:01:00.0] GPU voltage: 1050000uv
> [ 4.157527] nouveau [ PTHERM][0000:01:00.0] FAN control: none / external
> [ 4.164415] nouveau [ PTHERM][0000:01:00.0] fan management: automatic
> [ 4.171038] nouveau [ PTHERM][0000:01:00.0] internal sensor: yes
> [ 4.197241] nouveau [ CLK][0000:01:00.0] 03: core 275 MHz
> shader 550 MHz memory 300 MHz
> [ 4.205687] nouveau [ CLK][0000:01:00.0] 0f: core 550 MHz
> shader 1375 MHz memory 800 MHz
> [ 4.214284] nouveau [ CLK][0000:01:00.0] --: core 275 MHz
> shader 550 MHz memory 300 MHz
> [ 4.245089] nouveau [ DRM] VRAM: 768 MiB
> [ 4.249446] nouveau [ DRM] GART: 1048576 MiB
> [ 4.254148] nouveau [ DRM] TMDS table version 2.0
> [ 4.259287] nouveau [ DRM] DCB version 4.0
> [ 4.263815] nouveau [ DRM] DCB outp 00: 02000300 00000028
> [ 4.269650] nouveau [ DRM] DCB outp 01: 01000302 00020030
> [ 4.275484] nouveau [ DRM] DCB outp 02: 02011386 0f200010
> [ 4.281315] nouveau [ DRM] DCB outp 03: 02011332 00020010
> [ 4.287152] nouveau [ DRM] DCB outp 04: 040223a6 0f200010
> [ 4.292983] nouveau [ DRM] DCB outp 05: 04022342 00020010
> [ 4.298817] nouveau [ DRM] DCB conn 00: 00001030
> [ 4.303869] nouveau [ DRM] DCB conn 01: 00050146
> [ 4.308924] nouveau [ DRM] DCB conn 02: 000a0246
> [ 4.437581] nouveau [ DRM] MM: using CRYPT for buffer copies
> [ 4.821467] nouveau [ DRM] allocated 1920x1200 fb: 0x50000, bo
> ffff80832e67c800
> [ 5.261602] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
> [ 5.267958] nouveau 0000:01:00.0: registered panic notifier
> [ 5.295341] [drm] Initialized nouveau 1.2.2 20120801 for
> 0000:01:00.0 on minor 0
>
> Xorg log
> X.Org X Server 1.18.3
> Release Date: 2016-04-04
> [ 35.825] X Protocol Version 11, Revision 0
> [ 35.825] Build Operating System: Linux 3.16.0-4-arm64 aarch64 Debian
> [ 35.825] Current Operating System: Linux ls2085ardb 4.1.8 #4 SMP
> PREEMPT Mon Jul 4 18:54:59 CEST 2016 aarch64
> [ 35.825] Kernel command line: console=ttyS1,115200
> root=/dev/mmcblk0p2 earlycon=uart8250,mmio,0x21c0600,115200
> default_hugepagesz=2m nomodeset hugepagesz=2m hugepages=16 rw
> rootdelay=5
> [ 35.825] Build Date: 05 April 2016 06:59:38AM
> [ 35.825] xorg-server 2:1.18.3-1 (http://www.debian.org/support)
> [ 35.825] Current version of pixman: 0.33.6
> [ 35.825] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [ 35.825] Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [ 35.829] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 28
> 22:39:42 2016
> [ 35.835] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> [ 35.850] (==) No Layout section. Using the first Screen section.
> [ 35.850] (==) No screen section available. Using defaults.
> [ 35.850] (**) |-->Screen "Default Screen Section" (0)
> [ 35.850] (**) | |-->Monitor "<default monitor>"
> [ 35.850] (==) No device specified for screen "Default Screen Section".
> Using the first device section listed.
> [ 35.850] (**) | |-->Device "Device0"
> [ 35.850] (==) No monitor specified for screen "Default Screen Section".
> Using a default monitor configuration.
> [ 35.850] (==) Automatically adding devices
> [ 35.850] (==) Automatically enabling devices
> [ 35.850] (==) Automatically adding GPU devices
> [ 35.857] (==) Max clients allowed: 256, resource mask: 0x1fffff
> [ 35.863] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
> [ 35.863] Entry deleted from font path.
> [ 35.871] (==) FontPath set to:
> /usr/share/fonts/X11/misc,
> /usr/share/fonts/X11/100dpi/:unscaled,
> /usr/share/fonts/X11/75dpi/:unscaled,
> /usr/share/fonts/X11/Type1,
> /usr/share/fonts/X11/100dpi,
> /usr/share/fonts/X11/75dpi,
> built-ins
> [ 35.871] (==) ModulePath set to "/usr/lib/xorg/modules"
> [ 35.871] (II) The server relies on udev to provide the list of
> input devices.
> If no devices become available, reconfigure udev or disable
> AutoAddDevices.
> [ 35.871] (II) Loader magic: 0xaaaac6478d80
> [ 35.871] (II) Module ABI versions:
> [ 35.871] X.Org ANSI C Emulation: 0.4
> [ 35.871] X.Org Video Driver: 20.0
> [ 35.871] X.Org XInput driver : 22.1
> [ 35.871] X.Org Server Extension : 9.0
> [ 35.871] (EE) dbus-core: error connecting to system bus:
> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket
> /var/run/dbus/system_bus_socket: No such file or directory)
> [ 35.871] (--) using VT number 3
>
> [ 35.871] (II) systemd-logind: logind integration requires -keeptty
> and -keeptty was not provided, disabling logind integration
> [ 35.872] (II) xfree86: Adding drm device (/dev/dri/card0)
> [ 35.873] (--) PCI:*(0:1:0:0) 10de:0638:10de:062c rev 161, Mem @
> 0x1458000000/16777216, 0x1440000000/268435456, 0x1456000000/33554432,
> I/O @ 0x00001000/128, BIOS @ 0x????????/524288
> [ 35.873] (II) LoadModule: "glx"
> [ 35.879] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> [ 35.999] (II) Module glx: vendor="X.Org Foundation"
> [ 35.999] compiled for 1.18.3, module version = 1.0.0
> [ 35.999] ABI class: X.Org Server Extension, version 9.0
> [ 35.999] (==) AIGLX enabled
> [ 36.004] (II) LoadModule: "nouveau"
> [ 36.006] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
> [ 36.017] (II) Module nouveau: vendor="X.Org Foundation"
> [ 36.017] compiled for 1.18.3, module version = 1.0.12
> [ 36.017] Module class: X.Org Video Driver
> [ 36.017] ABI class: X.Org Video Driver, version 20.0
> [ 36.020] (II) NOUVEAU driver Date: Tue Dec 8 15:52:25 2015 +1000
> [ 36.020] (II) NOUVEAU driver for NVIDIA chipset families :
> [ 36.020] RIVA TNT (NV04)
> [ 36.020] RIVA TNT2 (NV05)
> [ 36.020] GeForce 256 (NV10)
> [ 36.020] GeForce 2 (NV11, NV15)
> [ 36.020] GeForce 4MX (NV17, NV18)
> [ 36.020] GeForce 3 (NV20)
> [ 36.020] GeForce 4Ti (NV25, NV28)
> [ 36.020] GeForce FX (NV3x)
> [ 36.020] GeForce 6 (NV4x)
> [ 36.020] GeForce 7 (G7x)
> [ 36.020] GeForce 8 (G8x)
> [ 36.020] GeForce GTX 200 (NVA0)
> [ 36.020] GeForce GTX 400 (NVC0)
> [ 36.024] (II) [drm] nouveau interface version: 1.2.2
> [ 36.025] (EE) No devices detected.
> [ 36.025] (EE)
> Fatal server error:
> [ 36.025] (EE) no screens found(EE)
> [ 36.025] (EE)
> Please consult the The X.Org Foundation support
> at http://wiki.x.org
> for help.
> [ 36.025] (EE) Please also check the log file at
> "/var/log/Xorg.0.log" for additional information.
> [ 36.025] (EE)
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau
More information about the Nouveau
mailing list