Date: Fri, 21 Jan 2011 12:50:12 GMT From: Olivier Certner <olivier.freebsd@free.fr> To: freebsd-x11@FreeBSD.org Subject: Re: ports/141660: X can't determine amount of video memory on a laptop with 4Gb Message-ID: <201101211250.p0LCoC53042066@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/141660; it has been noted by GNATS. From: Olivier Certner <olivier.freebsd@free.fr> To: bug-followup@freebsd.org Cc: Subject: Re: ports/141660: X can't determine amount of video memory on a laptop with 4Gb Date: Fri, 21 Jan 2011 13:27:21 +0100 I installed 9.0-CURRENT-201101 (amd64) and performed new experiments. 1) I can reproduce the exact same problem and get the same diagnostic output than with 7.2-STABLE. Installed with 7.2-STABLE, I had: libpciaccess-0.10.6, pciids-20090807, xf86-video-nv-2.1.13_1, xorg-server-1.6.1,1 With 9.0-CURRENT-201101: libpciaccess-0.12.0, pciids-20101124, xf86-video-nv-2.1.17, xorg-server-1.7.5,1 I can post more information about installed ports and the hardware as detected by CURRENT on request. 2) I also tried to have the Xorg server use the 'vesa' (xf86-video-vesa-2.3.0) and the NVIDIA proprietary (v256.53) drivers. Both attempts failed. 'vesa' seems to recognize only 14Mb of video memory and gives a blank screen (not even a mouse pointer). It is still possible to switch back to text mode consoles with Ctrl+Alt+FX. The NVIDIA kernel module does not load correctly. Relevant messages (at least, those that I thought relevant) are reproduced below. I can also provide the complete kernel messages and Xorg.X.log on request. Thanks, Olivier Certner vesa: (II) LoadModule: "vesa" (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so (II) Module vesa: vendor="X.Org Foundation" compiled for 1.7.5, module version = 2.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) VESA: driver for VESA chipsets: vesa (II) Primary Device is: PCI 01@00:00:0 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support (II) Loading sub module "vbe" (II) LoadModule: "vbe" (II) Loading /usr/local/lib/xorg/modules/libvbe.so (II) Module vbe: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.1.0 ABI class: X.Org Video Driver, version 6.0 (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules/libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.0.0 ABI class: X.Org Video Driver, version 6.0 (II) VESA(0): initializing int10 (==) VESA(0): Write-combining range (0xa0000,0x20000) was already clear (==) VESA(0): Write-combining range (0xc0000,0x40000) was already clear (II) VESA(0): Primary V_BIOS segment is: 0xc000 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA BIOS detected (II) VESA(0): VESA VBE Version 3.0 (II) VESA(0): VESA VBE Total Mem: 14336 kB (II) VESA(0): VESA VBE OEM: NVIDIA (II) VESA(0): VESA VBE OEM Software Rev: 96.134 (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation (II) VESA(0): VESA VBE OEM Product: G86 Board - briscoe0 (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (snip - lots of occurence of the previous line) (==) VESA(0): Depth 24, (--) framebuffer bpp 32 (==) VESA(0): RGB weight 888 (==) VESA(0): Default visual is TrueColor (==) VESA(0): Using gamma correction (1.0, 1.0, 1.0) (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Module "ddc" already built-in (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA VBE DDC supported (II) VESA(0): VESA VBE DDC Level none (II) VESA(0): VESA VBE DDC transfer in appr. 0 sec. (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA VBE DDC read failed (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA VBE PanelID read successfully (II) VESA(0): PanelID returned panel resolution 1440x900 (II) VESA(0): Searching for matching VESA mode(s): (snip - A long list of compatible VESA modes with attributes) (II) VESA(0): Total Memory: 224 64KB banks (14336kB) (II) VESA(0): Monitor0: Using hsync range of 31.50-55.47 kHz (II) VESA(0): Monitor0: Using vrefresh range of 56.00-59.90 Hz (WW) VESA(0): Unable to estimate virtual size (II) VESA(0): Not using built-in mode "1440x900" (no mode of this name) (II) VESA(0): Not using built-in mode "1280x800" (no mode of this name) (II) VESA(0): Not using built-in mode "1280x720" (no mode of this name) (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name) (II) VESA(0): Not using built-in mode "800x600" (no mode of this name) (II) VESA(0): Not using built-in mode "640x480" (no mode of this name) (II) VESA(0): Not using built-in mode "640x400" (no mode of this name) (II) VESA(0): Not using built-in mode "320x400" (no mode of this name) (II) VESA(0): Not using built-in mode "320x240" (no mode of this name) (II) VESA(0): Not using built-in mode "320x200" (no mode of this name) (WW) VESA(0): No valid modes left. Trying less strict filter... (II) VESA(0): Monitor0: Using hsync range of 31.50-55.47 kHz (II) VESA(0): Monitor0: Using vrefresh range of 56.00-59.90 Hz (WW) VESA(0): Unable to estimate virtual size (II) VESA(0): Not using built-in mode "640x480" (hsync out of range) (II) VESA(0): Not using built-in mode "640x400" (hsync out of range) (II) VESA(0): Not using built-in mode "320x400" (hsync out of range) (II) VESA(0): Not using built-in mode "320x240" (illegal horizontal timings) (II) VESA(0): Not using built-in mode "320x200" (illegal horizontal timings) (--) VESA(0): Virtual size is 1440x900 (pitch 1440) (**) VESA(0): *Built-in mode "1440x900" (**) VESA(0): *Built-in mode "1280x800" (**) VESA(0): *Built-in mode "1280x720" (**) VESA(0): *Built-in mode "1024x768" (**) VESA(0): *Built-in mode "800x600" (==) VESA(0): DPI set to (96, 96) (II) VESA(0): Attempting to use 60Hz refresh for mode "1024x768" (118) (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): Attempting to use 60Hz refresh for mode "800x600" (115) (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (**) VESA(0): Using "Shadow Framebuffer" (II) Loading sub module "shadow" (II) LoadModule: "shadow" (II) Loading /usr/local/lib/xorg/modules/libshadow.so (II) Module shadow: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.1.0 ABI class: X.Org ANSI C Emulation, version 0.4 (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules/libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.7.5, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) Depth 24 pixmap format is 32 bpp (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Reloading /usr/local/lib/xorg/modules/libint10.so (II) VESA(0): initializing int10 (==) VESA(0): Write-combining range (0xa0000,0x20000) was already clear (II) VESA(0): Primary V_BIOS segment is: 0xc000 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA BIOS detected (II) VESA(0): VESA VBE Version 3.0 (II) VESA(0): VESA VBE Total Mem: 14336 kB (II) VESA(0): VESA VBE OEM: NVIDIA (II) VESA(0): VESA VBE OEM Software Rev: 96.134 (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation (II) VESA(0): VESA VBE OEM Product: G86 Board - briscoe0 (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev (II) VESA(0): virtual address = 0x802e00000, physical address = 0xf3000000, size = 14680064 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): Setting up VESA Mode 0x165 (1440x900) (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Default visual is TrueColor (==) VESA(0): Backing store disabled (==) VESA(0): DPMS enabled (==) RandR enabled NVIDIA: nvidia0: <Quadro NVS 135M> on vgapci0 vgapci0: child nvidia0 requested pci_enable_io pcib1: vgapci0 requested memory range 0xe0000000-0xefffffff: good vgapci0: 0x10000000 bytes of rid 0x14 res 3 failed (0, 0xffffffffffffffff). nvidia0: NVRM: NVIDIA MEM resource alloc failed, BAR1 @ 0x14. nvidia0: NVRM: NVIDIA hardware alloc failed. device_attach: nvidia0 attach returned 6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101211250.p0LCoC53042066>