tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/external/bsd/drm2/nouveau
On Sat, Jul 06, 2019 at 12:40:40PM +0000, maya%netbsd.org@localhost wrote:
> On Sat, Jul 06, 2019 at 01:35:20PM +0200, Thomas Klausner wrote:
> > On Sat, Jul 06, 2019 at 08:52:43AM +0000, maya%netbsd.org@localhost wrote:
> > > Yes, that would be nice. Even if we fail to make your card work, it'll
> > > save a few steps for the next person trying to get it functional.
> >
> > Ok, what is the procedure for this, and where can I find the licence
> > for the blobs, so that I can check if it's fine to add them?
> >
> > > However if we fail to make your card work we should add it to the
> > > card blacklist in
> > > sys/external/bsd/drm2/nouveau/nouveau_pci.c:nouveau_pci_match
> > >
> > > (I'm assuming it doesn't know how to recover cleanly)
> >
> > I can't start X, but I do get a graphical console (I got that even
> > before without the firmware).
> >
> > > > I still get the same 4 errors from the driver as before though:
> > > >
> > > > [ 4.674760] nouveau0: autoconfiguration error: error: DRM: Pointer to flat panel table invalid
> > >
> > > This failure can be normal.
> > >
> > > > [ 4.674760] nouveau0: autoconfiguration error: warn: DRM: unknown connector type 70
> > >
> > > This is no longer unrecognised upstream.
> > > case DCB_CONNECTOR_WFD : return DRM_MODE_CONNECTOR_VIRTUAL;
> > >
> > > The git blame points to...
> > >
> > > commit df00d5da609f59022ee9aafdb4e2313aefeb6bda
> > > Author: Rosen Penev <rosenp%gmail.com@localhost>
> > > Date: Tue Jul 25 17:21:43 2017 -0700
> > >
> > > drm/nouveau/disp: Silence DCB warnings.
> > >
> > > Most of these errors seem to be WFD related. Official documentation
> > > says dcb type 8 is reserved. It's probably used for WFD. Silence
> > > the warning in either case.
> > >
> > > Connector type 70 is stated to be a virtual connector for WiFi
> > > display. Since we know this, don't warn that we don't.
> > >
> > > So, another warning to skip.
> >
> > Should we disable these in our tree?
> >
> > > > [ 4.674760] nouveau0: autoconfiguration error: warn: DRM: failed to create encoder 1/8/0: -19
> > >
> > > ret here is -19, -ENODEV.
> > >
> > > That means switch (dcbe->type) is not DCB_OUTPUT_TMDS, DCB_OUTPUT_LVDS, DCB_OUTPUT_DP, DCB_OUTPUT_ANALOG.
> > >
> > > What outputs do you have?
> >
> > I see three Displayport, one HDMI and one DVI-I.
> >
> > > > [ 4.674760] nouveau0: autoconfiguration error: warn: DRM: Unknown-1 has no encoders, removing
> > >
> > > It gave up on this output since it doesn't know what to do with it.
> > >
> > >
> > >
> > > Full dmesg, with boot -x, might be more insightful. Does it have more
> > > connectors that are fine?
> >
> > boot -x is too large for the default message buffer (should we perhaps
> > increase that, at least on amd64?) but it contains plenty nouveau
> > lines, is it sufficient? I'll also attach the output without -x.
> > Thomas
>
>
> What are we debugging? it looks fine from the dmesg - it found an output
> it's happy with.
>
> Is the X failure the problem? what happens? is there /var/log/Xorg.0.log
> or dmesg output when it fails?
Nothing in dmesg, but X doesn't start, see attached Xorg.0.log.
That's without any xorg config file, since last I read it's supposed
to work without?
Thomas
[ 85.969]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 85.969] Build Operating System: NetBSD/amd64 8.99.48 - The NetBSD Foundation, Inc.
[ 85.969] Current Operating System: NetBSD miau.gatalith.at 8.99.50 NetBSD 8.99.50 (MIAU) #6: Sat Jul 6 09:40:04 CEST 2019 wiz%yt.nih.at@localhost:/disk/6/archive/foreign/src/sys/arch/amd64/compile/obj/MIAU amd64
[ 85.969] Build Date: 03 March 2019 07:11:23AM
[ 85.969]
[ 85.969] Current version of pixman: 0.38.4
[ 85.969] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 85.969] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 85.970] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 6 16:26:41 2019
[ 85.971] (II) Loader magic: 0x1788ea20
[ 85.971] (II) Module ABI versions:
[ 85.971] X.Org ANSI C Emulation: 0.4
[ 85.971] X.Org Video Driver: 24.0
[ 85.971] X.Org XInput driver : 24.1
[ 85.971] X.Org Server Extension : 10.0
[ 85.983] (==) Using default built-in configuration (21 lines)
[ 85.983] (==) --- Start of built-in configuration ---
[ 85.983] Section "Device"
[ 85.983] Identifier "Builtin Default fbdev Device 0"
[ 85.983] Driver "fbdev"
[ 85.983] EndSection
[ 85.983] Section "Screen"
[ 85.983] Identifier "Builtin Default fbdev Screen 0"
[ 85.983] Device "Builtin Default fbdev Device 0"
[ 85.983] EndSection
[ 85.983] Section "Device"
[ 85.983] Identifier "Builtin Default vesa Device 0"
[ 85.983] Driver "vesa"
[ 85.983] EndSection
[ 85.983] Section "Screen"
[ 85.983] Identifier "Builtin Default vesa Screen 0"
[ 85.983] Device "Builtin Default vesa Device 0"
[ 85.983] EndSection
[ 85.983] Section "ServerLayout"
[ 85.983] Identifier "Builtin Default Layout"
[ 85.983] Screen "Builtin Default fbdev Screen 0"
[ 85.983] Screen "Builtin Default vesa Screen 0"
[ 85.983] EndSection
[ 85.983] (==) --- End of built-in configuration ---
[ 85.984] (==) ServerLayout "Builtin Default Layout"
[ 85.984] (**) |-->Screen "Builtin Default fbdev Screen 0" (0)
[ 85.984] (**) | |-->Monitor "<default monitor>"
[ 85.984] (**) | |-->Device "Builtin Default fbdev Device 0"
[ 85.984] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
[ 85.984] (**) |-->Screen "Builtin Default vesa Screen 0" (1)
[ 85.984] (**) | |-->Monitor "<default monitor>"
[ 85.984] (**) | |-->Device "Builtin Default vesa Device 0"
[ 85.984] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
[ 85.984] (==) Not automatically adding devices
[ 85.984] (==) Not automatically enabling devices
[ 85.984] (==) Not automatically adding GPU devices
[ 85.984] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 85.986] (==) FontPath set to:
/usr/X11R7/lib/X11/fonts/misc/,
/usr/X11R7/lib/X11/fonts/TTF/,
/usr/X11R7/lib/X11/fonts/Type1/,
/usr/X11R7/lib/X11/fonts/75dpi/,
/usr/X11R7/lib/X11/fonts/100dpi/
[ 85.986] (==) ModulePath set to "/usr/X11R7/lib/modules"
[ 85.986] (==) |-->Input Device "<default pointer>"
[ 85.986] (==) |-->Input Device "<default keyboard>"
[ 85.986] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 85.986] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 85.986] (II) LoadModule: "glx"
[ 85.987] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[ 85.989] (II) Module glx: vendor="X.Org Foundation"
[ 85.989] compiled for 1.20.5, module version = 1.0.0
[ 85.989] ABI class: X.Org Server Extension, version 10.0
[ 85.989] (II) LoadModule: "fbdev"
[ 85.990] (WW) Warning, couldn't open module fbdev
[ 85.990] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 85.990] (II) LoadModule: "vesa"
[ 85.991] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
[ 85.991] (II) Module vesa: vendor="X.Org Foundation"
[ 85.991] compiled for 1.20.5, module version = 2.4.0
[ 85.991] Module class: X.Org Video Driver
[ 85.991] ABI class: X.Org Video Driver, version 24.0
[ 85.991] (II) LoadModule: "mouse"
[ 85.991] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[ 85.991] (II) Module mouse: vendor="X.Org Foundation"
[ 85.991] compiled for 1.20.5, module version = 1.9.2
[ 85.991] Module class: X.Org XInput Driver
[ 85.991] ABI class: X.Org XInput driver, version 24.1
[ 85.991] (II) LoadModule: "kbd"
[ 85.991] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[ 85.992] (II) Module kbd: vendor="X.Org Foundation"
[ 85.992] compiled for 1.20.5, module version = 1.9.0
[ 85.992] Module class: X.Org XInput Driver
[ 85.992] ABI class: X.Org XInput driver, version 24.1
[ 85.992] (II) VESA: driver for VESA chipsets: vesa
[ 85.992] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[ 85.992] (--) using VT number 5
[ 85.997] (EE) No devices detected.
[ 85.997] (EE)
Fatal server error:
[ 85.997] (EE) no screens found(EE)
[ 85.998] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 85.998] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 85.998] (EE)
[ 86.146] (EE) Server terminated with error (1). Closing log file.
Home |
Main Index |
Thread Index |
Old Index