Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 08:57:07 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Jonathan Chen <jonathan.chen@solnetsolutions.co.nz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: nv driver on Dell Latitude 830
Message-ID:  <1242827827.1752.67.camel@balrog.2hip.net>
In-Reply-To: <7859_1242786313_4A136A09_7859_88_1_4A136A08.10004@solnetsolutions.co.nz>
References:  <7859_1242786313_4A136A09_7859_88_1_4A136A08.10004@solnetsolutions.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ZqQbZL9BZXh0otiugtOT
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2009-05-20 at 14:25 +1200, Jonathan Chen wrote:
> Hi all,
>=20
> I'm running 7.2-STABLE/amd64 on a Dell 830, and have been attempting to g=
et=20
> XOrg working with the "nv" driver. However, it fails with:
>=20
> X.Org X Server 1.6.1
> Release Date: 2009-4-14
> X Protocol Version 11, Revision 0
> Build Operating System: FreeBSD 7.2-PRERELEASE amd64
> Current Operating System: FreeBSD jonathan.chen 7.2-STABLE FreeBSD=20
> 7.2-STABLE #0: Tue May 19 09:24:33 NZST 2009=20
> root@jonathan.chen:/usr/obj/usr/src/sys/GENERIC amd64
> Build Date: 11 May 2009  08:36:27AM
>=20
>          Before reporting problems, check http://wiki.x.org
>          to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Wed May 20 13:27:55 2009
> (=3D=3D) Using config file: "/usr/local/etc/X11/xorg.conf"
> (EE) Failed to load module "xtrap" (module does not exist, 0)
> (EE) Failed to load module "freetype" (module does not exist, 0)
> (EE) NV(0): Failed to determine the amount of available video memory
> (EE) Screen(s) found, but none have a usable configuration.
>=20
> Fatal server error:
> no screens found
>=20
> Is there any hope of getting this to work?
> plain text document attachment (Xorg.0.log)
> X.Org X Server 1.6.1
> Release Date: 2009-4-14
> X Protocol Version 11, Revision 0
> Build Operating System: FreeBSD 7.2-PRERELEASE amd64=20
> Current Operating System: FreeBSD jonathan.chen 7.2-STABLE FreeBSD 7.2-ST=
ABLE #0: Tue May 19 09:24:33 NZST 2009     root@jonathan.chen:/usr/obj/usr/=
src/sys/GENERIC amd64
> Build Date: 11 May 2009  08:36:27AM
> =20
> 	Before reporting problems, check http://wiki.x.org
> 	to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (=3D=3D) default setting,
> 	(++) from command line, (!!) notice, (II) informational,
> 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Wed May 20 13:27:55 2009
> (=3D=3D) Using config file: "/usr/local/etc/X11/xorg.conf"
> (=3D=3D) ServerLayout "X.org Configured"
> (**) |-->Screen "Screen0" (0)
> (**) |   |-->Monitor "LG L1730S"
> (**) |   |-->Device "Card0"
> (**) |-->Input Device "Mouse0"
> (**) |-->Input Device "Keyboard0"
> (=3D=3D) Automatically adding devices
> (=3D=3D) Automatically enabling devices
> (**) FontPath set to:
> 	/usr/local/lib/X11/fonts/misc/,
> 	/usr/local/lib/X11/fonts/TTF/,
> 	/usr/local/lib/X11/fonts/OTF,
> 	/usr/local/lib/X11/fonts/Type1/,
> 	/usr/local/lib/X11/fonts/100dpi/,
> 	/usr/local/lib/X11/fonts/75dpi/,
> 	/usr/local/lib/X11/fonts/misc/,
> 	/usr/local/lib/X11/fonts/TTF/,
> 	/usr/local/lib/X11/fonts/OTF,
> 	/usr/local/lib/X11/fonts/Type1/,
> 	/usr/local/lib/X11/fonts/100dpi/,
> 	/usr/local/lib/X11/fonts/75dpi/,
> 	built-ins
> (**) ModulePath set to "/usr/local/lib/xorg/modules"
> (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmo=
use' will be disabled.
> (WW) Disabling Mouse0
> (WW) Disabling Keyboard0
> (II) Loader magic: 0x3560
> (II) Module ABI versions:
> 	X.Org ANSI C Emulation: 0.4
> 	X.Org Video Driver: 5.0
> 	X.Org XInput driver : 4.0
> 	X.Org Server Extension : 2.0
> (II) Loader running on freebsd
> (--) Using syscons driver with X support (version 2.0)
> (--) using VT number 9
>=20
> (--) PCI:*(0@1:0:0) nVidia Corporation Quadro NVS 140M rev 161, Mem @ 0xf=
d000000/16777216, 0xfa000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x?????=
???/65536
> (II) System resource ranges:
> 	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
> 	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
> 	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
> 	[3] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
> 	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
> (II) "extmod" will be loaded. This was enabled by default and also specif=
ied in the config file.
> (II) "dbe" will be loaded. This was enabled by default and also specified=
 in the config file.
> (II) "glx" will be loaded. This was enabled by default and also specified=
 in the config file.
> (II) "record" will be loaded. This was enabled by default and also specif=
ied in the config file.
> (II) "dri" will be loaded. This was enabled by default and also specified=
 in the config file.
> (II) "dri2" will be loaded by default.
> (II) LoadModule: "extmod"
> (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
> (II) Module extmod: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension MIT-SCREEN-SAVER
> (II) Loading extension XFree86-VidModeExtension
> (II) Loading extension XFree86-DGA
> (II) Loading extension DPMS
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "record"
> (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
> (II) Module record: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.13.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension RECORD
> (II) LoadModule: "dbe"
> (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
> (II) Module dbe: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "glx"
> (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
> (II) Module glx: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	ABI class: X.Org Server Extension, version 2.0
> (=3D=3D) AIGLX disabled
> (II) Loading extension GLX
> (II) LoadModule: "xtrap"
> (WW) Warning, couldn't open module xtrap
> (II) UnloadModule: "xtrap"
> (EE) Failed to load module "xtrap" (module does not exist, 0)
> (II) LoadModule: "dri"
> (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
> (II) Module dri: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension XFree86-DRI
> (II) LoadModule: "freetype"
> (WW) Warning, couldn't open module freetype
> (II) UnloadModule: "freetype"
> (EE) Failed to load module "freetype" (module does not exist, 0)
> (II) LoadModule: "dri2"
> (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so
> (II) Module dri2: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension DRI2
> (II) LoadModule: "nv"
> (II) Loading /usr/local/lib/xorg/modules/drivers//nv_drv.so
> (II) Module nv: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 2.1.13
> 	Module class: X.Org Video Driver
> 	ABI class: X.Org Video Driver, version 5.0
> (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
> 	Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
> 	Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,
> 	GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go,
> 	GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 Ultra,
> 	Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420,
> 	GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go,
> 	GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL,
> 	GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL,
> 	GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X,
> 	GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X,
> 	GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580 XGL,
> 	Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI,
> 	GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3,
> 	GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600,
> 	GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 XGL,
> 	Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X,
> 	GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL,
> 	Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra,
> 	GeForce FX 5800, Quadro FX 2000, Quadro FX 1000,
> 	GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT,
> 	GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700,
> 	GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200,
> 	GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250,
> 	GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M,
> 	Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI,
> 	GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900 Ultra,
> 	GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra,
> 	GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700,
> 	GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE,
> 	GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700,
> 	Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce 6800,
> 	GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800 GT,
> 	GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX 4000,
> 	GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT,
> 	GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400,
> 	Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT,
> 	GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600,
> 	GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL,
> 	GeForce Go 6600, GeForce Go 6600 GT, Quadro FX 550, Quadro FX 550,
> 	Quadro FX 540, GeForce 6200, GeForce 6500,
> 	GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM),
> 	GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go 6400,
> 	GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 7100 GS,
> 	GeForce 6800, GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT,
> 	GeForce 6200, GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800 GTX,
> 	GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go 7800,
> 	GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7300 LE,
> 	GeForce 7300 SE, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400,
> 	GeForce Go 7400 GS, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M,
> 	GeForce 7500 LE, Quadro FX 350, GeForce 7300 GS, GeForce 7600 GT,
> 	GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce 7300 GT,
> 	GeForce Go 7700, GeForce Go 7600, GeForce Go 7600 GT,
> 	Quadro NVS 300M, GeForce Go 7900 SE, Quadro FX 550M, Quadro FX 560,
> 	GeForce 7900 GTX, GeForce 7900 GT, GeForce 7900 GS,
> 	GeForce Go 7900 GS, GeForce Go 7900 GTX, Quadro FX 2500M,
> 	Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quadro FX 1500,
> 	Quadro FX 4500 X2, GeForce 6150, GeForce 6150 LE, GeForce 6100,
> 	GeForce Go 6150, GeForce Go 6100, GeForce 8800 GTX, GeForce 8800 GTS,
> 	GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce 8600 GTS,
> 	GeForce 8600 GT, GeForce 8600 GT, GeForce 8600 GS, GeForce 8400 GS,
> 	GeForce 9500M GS, GeForce 8600M GT, GeForce 9650M GS,
> 	GeForce 8700M GT, Quadro FX 370, Quadro NVS 320M, Quadro FX 570M,
> 	Quadro FX 1600M, Quadro FX 570, Quadro FX 1700, GeForce 8400 SE,
> 	GeForce 8500 GT, GeForce 8400 GS, GeForce 8300 GS, GeForce 8400 GS,
> 	GeForce 8600M GS, GeForce 8400M GT, GeForce 8400M GS,
> 	GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M, Quadro NVS 135M,
> 	GeForce 9400 GT, Quadro FX 360M, GeForce 9300M G, Quadro NVS 290,
> 	GeForce GTX 280, GeForce GTX 260, GeForce 8800 GTS 512,
> 	GeForce 8800 GT, GeForce 9800 GX2, GeForce 8800 GS,
> 	GeForce 8800M GTS, GeForce 8800M GTX, GeForce 8800 GS,
> 	GeForce 9600 GSO, GeForce 8800 GT, GeForce 9800 GTX,
> 	GeForce 9800 GTK+, GeForce 9800 GT, Quadro FX 3700, Quadro FX 3600M,
> 	GeForce 9600 GT, GeForce 9600 GS, GeForce 9800M GTS,
> 	GeForce 9700M GTS, GeForce 9800M GTS, GeForce 9500 GT,
> 	GeForce 9600M GT, GeForce 9600M GS, GeForce 9600M GT,
> 	GeForce 9500M G, GeForce 9300 GS, GeForce 8400 GS, GeForce 9300M GS,
> 	GeForce 9200M GS, GeForce 9300M GS, Quadro NVS 150M, Quadro NVS 160M
> (II) Primary Device is: PCI 01@00:00:0
> (--) NV: Found NVIDIA Quadro NVS 140M at 01@00:00:0
> (II) resource ranges after probing:
> 	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
> 	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
> 	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
> 	[3] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
> 	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
> (II) Loading sub module "int10"
> (II) LoadModule: "int10"
> (II) Loading /usr/local/lib/xorg/modules//libint10.so
> (II) Module int10: vendor=3D"X.Org Foundation"
> 	compiled for 1.6.1, module version =3D 1.0.0
> 	ABI class: X.Org Video Driver, version 5.0
> (II) NV(0): Initializing int10
> (=3D=3D) NV(0): Write-combining range (0xa0000,0x20000) was already clear
> (=3D=3D) NV(0): Write-combining range (0xc0000,0x40000) was already clear
> (II) NV(0): Primary V_BIOS segment is: 0xc000
> (=3D=3D) NV(0): Write-combining range (0x0,0x1000) was already clear
> (--) NV(0): Console is VGA mode 0x3
> (**) NV(0): Depth 24, (--) framebuffer bpp 32
> (=3D=3D) NV(0): RGB weight 888
> (=3D=3D) NV(0): Default visual is TrueColor
> (=3D=3D) NV(0): Using hardware cursor
> (=3D=3D) NV(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) NV(0): MMIO registers mapped at 0x802800000
> (EE) NV(0): Failed to determine the amount of available video memory
> (=3D=3D) NV(0): Write-combining range (0x0,0x1000) was already clear
> (II) UnloadModule: "nv"
> (II) UnloadModule: "int10"
> (II) Unloading /usr/local/lib/xorg/modules//libint10.so
> (EE) Screen(s) found, but none have a usable configuration.
>=20
> Fatal server error:
> no screens found

I've not really looked at the nv driver in detail...  You could try my
nouveau patch.  I think it will apply to 7.2 kernel.  That should get
you EXA and Xv acceleration.

http://people.freebsd.org/~rnoland/drm-nouveau-043009.patch

robert.

> Please consult the The X.Org Foundation support=20
> 	 at http://wiki.x.org
>  for help.=20
> Please also check the log file at "/var/log/Xorg.0.log" for additional in=
formation.
>=20
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-ZqQbZL9BZXh0otiugtOT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAkoUDDMACgkQM4TrQ4qfROMZ1ACePyXlBgVqRJZrYaIhpXqXiYlJ
zyAAniDnUgYX2rHdgWk1Znbfp0jmb74+
=iSH6
-----END PGP SIGNATURE-----

--=-ZqQbZL9BZXh0otiugtOT--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1242827827.1752.67.camel>