Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 20:12:47 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        freebsd-current@freebsd.org
Subject:   graphics cards do not work: sparc64/machbf r251648, amd64/nvidia r249781
Message-ID:  <201306141912.r5EJClhV029693@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
In addition to what I wrote already for sparc64,
I now get this failure on amd64 r249781:

(EE) Jun 14 18:17:27 NVIDIA(0): Failed to initialize default colormap
(EE) NVIDIA(0):  *** Aborting ***

Maybe my "portmaster -r perl" didn't go well?
Or do I need to rebuild some other ports?

Thanks

Anton


	From mexas Thu Jun 13 11:14:30 2013
	To: freebsd-sparc64@freebsd.org, freebsd-x11@freebsd.org
	Subject: sparc64 machfb: (EE) Unable to map mmio aperture. Invalid argument (22)
	Reply-To: mexas@bristol.ac.uk

	I've just updated my Sun Blade 1500 silver
	to 10.0-CURRENT #11 r251648. The graphics broke.
	I get:

	(EE) Unable to map mmio aperture. Invalid argument (22)

	from X -configure

	# dmesg|grep mach
	machfb0: <ATI Rage XL> port 0xb00-0xbff mem 0x3000000-0x3ffffff,0x102000-0x102ff
	f at device 2.0 on pci0
	machfb0: console
	machfb0: 16 MB aperture at 0xfddcc000 not swapped
	machfb0: 8188 KB SGRAM 114.992 MHz, maximum RAMDAC clock 230 MHz, DSP
	machfb0: resolution 1280x1024 at 8 bpp
	#

	# pkg info -xo mach6
	xf86-video-mach64-6.9.3: x11-drivers/xf86-video-mach64
	#

	# cat /var/log/Xorg.0.log

	X.Org X Server 1.7.7
	Release Date: 2010-05-04
	X Protocol Version 11, Revision 0
	Build Operating System: FreeBSD 10.0-CURRENT sparc64
	Current Operating System: FreeBSD mech-anton240.men.bris.ac.uk 10.0-CURRENT Free
	BSD 10.0-CURRENT #11 r251648: Thu Jun 13 10:20:15 BST 2013     root@mech-anton24
	0.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF sparc64
	Build Date: 03 June 2013  03:14:51PM

	Current version of pixman: 0.28.2
	        Before reporting problems, check http://wiki.x.org
	        to make sure that you have the latest version.
	Markers: (--) probed, (**) from config file, (==) default setting,
	        (++) from command line, (!!) notice, (II) informational,
	        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
	(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 13 11:07:01 2013
	(II) Loader magic: 0x3c5768
	(II) Module ABI versions:
	        X.Org ANSI C Emulation: 0.4
	        X.Org Video Driver: 6.0
	        X.Org XInput driver : 7.0
	        X.Org Server Extension : 2.0
	(--) Using syscons driver with X support (version 8589945424.11)
	(--) using VT number 11

	(--) PCI: (0:0:6:0) 10b9:7101:0000:0000 ULi Electronics Inc. M7101 Power Managem
	ent Controller [PMU] rev 0
	(--) PCI: (0:0:2:0) 1002:4752:0000:0000 Advanced Micro Devices, Inc. [AMD/ATI] R
	age XL PCI rev 39, Mem @ 0x03000000/16777216, 0x00102000/4096, I/O @ 0x00000b00/
	256, BIOS @ 0x????????/65536
	List of video drivers:
	        mach64
	(II) LoadModule: "mach64"
	(II) Loading /usr/local/lib/xorg/modules/drivers/mach64_drv.so
	(II) Module mach64: vendor="X.Org Foundation"
	        compiled for 1.7.7, module version = 6.9.3
	        Module class: X.Org Video Driver
	        ABI class: X.Org Video Driver, version 6.0
	(II) MACH64: Driver for ATI Mach64 chipsets
	(++) Using config file: "/root/xorg.conf.new"
	(==) ServerLayout "X.org Configured"
	(**) |-->Screen "Screen0" (0)
	(**) |   |-->Monitor "Monitor0"
	(**) |   |-->Device "Card0"
	(**) |-->Input Device "Mouse0"
	(**) |-->Input Device "Keyboard0"
	(==) Not automatically adding devices
	(==) Not 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/
	(**) ModulePath set to "/usr/local/lib/xorg/modules"
	(EE) Unable to map mmio aperture. Invalid argument (22)
	(WW) MACH64: Mach64 in slot 0:2:0 could not be detected!


	Xorg detected your mouse at device /dev/sysmouse.
	Please check your config if the mouse is still not
	operational, as by default Xorg tries to autodetect
	the protocol.

	Your xorg.conf file is /root/xorg.conf.new

	To test the server, run 'X -config /root/xorg.conf.new'


	Maybe I need to rebuild some ports?

	Please advise

	Thanks

	Anton






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