I had the feeling that there's not much chance that the dump alone will help. So I did some debugging on my own, after all it can't be that hard if I have the hardware at hand to play with ;)
First I've collected all writes locations out from the dump, and ignored the part which looked like a frame buffer. I got around 260 locations, I guess most of these must be mapped registers. Then I did the nvidia boot and kexec to nouveau, when everything works except that the GPU locks after a while. Anyway, it's stable enough to dump of those 260 registers. Then I made a suspend to RAM, and back. Screen trashing is back of course, but let's dump those registers again. Comparing the dumps reveals that 30 locations are different now. I wrote all those registers back as they were before the suspend. Of course console went immediately blank. But I can still start X blindly, which hangs of course, but at least I can move a flawless cursor around. (normally it's trashed as well) So it must be one of these. I resorted to normal bisecting from here to find transhing/non-trashing set of registers. There were plenty of hangs and reboots ;) At the end I got what I wanted. The winner is: nvapoke 00100080 e1000000 This register is e0000000 after suspend or after clean boot. So all this trouble only because of a single bit was not set ;( The earlier GPU lockup (with kexec nouveau after nvidia driver init) does not happen anymore when I only set this bit, but nothing else. It probably must be due to some other uninitialized state, but I'm not sure if it's worth to find out what it is, after all the default state on boot is ok. >From here I pass the ball back. Please, with this knowledge could someone fix up the driver? Most likely it would be better done on the kernel side as the KMS frame buffer is affected too. Of course testing patches should be no problem ;) Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/653714 Title: Garbage on X display w/ Dell D800 wuxga & nouveau driver (Nvidia GeForce4 Ti 4200 Go AGP rev a1 [NV28]) Status in Nouveau Xorg driver: Unknown Status in xserver-xorg-video-nouveau package in Ubuntu: Incomplete Status in xserver-xorg-video-nouveau package in Debian: New Bug description: Binary package hint: xserver-xorg-video-nouveau I have a Dell D800 laptop with high resolution screen (1920x1200) that was working fine with Ubuntu 10.04. I performed a fresh install of Ubuntu 10.10 which appears to use the nouveau driver. The screen now displays garbage, more pronounced on icons, where text seems to render fairly well. I've attached a picture of the screen to illustrate. While I've tried to intall the Nvidia drivers, this problem manifested from the initial install of the 10.10 alternate RC disc, and remains present with all packages updated as of 10/1 where no alternate driver install was attempted. Please let me know what information I might be able to provide that would be useful in fixing this problem. Thank you, -john root@johnn-craylap:~# lspci | grep -i nvid 01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x] (rev a1) root@johnn-craylap:~# root@johnn-craylap:~# lsmod | grep -i nv root@johnn-craylap:~# lsmod | grep -i nouv nouveau 516971 2 ttm 56633 1 nouveau drm_kms_helper 30200 2 ch7006,nouveau drm 168054 5 ch7006,nouveau,ttm,drm_kms_helper i2c_algo_bit 5168 1 nouveau root@johnn-craylap:~# root@johnn-craylap:~# dpkg --status xserver-xorg-video-nouveau Package: xserver-xorg-video-nouveau Status: install ok installed Priority: optional Section: x11 Installed-Size: 284 Maintainer: Ubuntu X-SWAT <ubunt...@lists.ubuntu.com> Architecture: i386 Version: 1:0.0.16+git20100805+b96170a-0ubuntu1 Provides: xorg-driver-video, xserver-xorg-video-8 Depends: libc6 (>= 2.4), libdrm-nouveau1 (>= 2.4.20-3~), libudev0 (>= 147), xorg-video-abi-8.0, xserver-xorg-core (>= 2:1.8.99.904) Description: X.Org X server -- Nouveau display driver (experimental) This driver for the X.Org X server (see xserver-xorg for a further description) provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards. . Although the nouveau project aims to provide full 3D support it is not yet complete, and these packages do not include any 3D support. Users requiring 3D support should use the non-free "nvidia" driver. . This package is built from the FreeDesktop.org xf86-video-nouveau driver. Homepage: http://nouveau.freedesktop.org/wiki/ Original-Maintainer: Debian X Strike Force <debia...@lists.debian.org> root@johnn-craylap:~# root@johnn-craylap:~# dpkg --status libdrm-nouveau1 Package: libdrm-nouveau1 Status: install ok installed Priority: required Section: libs Installed-Size: 92 Maintainer: Ubuntu X-SWAT <ubunt...@lists.ubuntu.com> Architecture: i386 Source: libdrm Version: 2.4.21-1ubuntu2 Depends: libc6 (>= 2.3.4), libdrm2 (>= 2.4.3) Breaks: xserver-xorg-video-nouveau (<< 1:0.0.16) Description: Userspace interface to nouveau-specific kernel DRM services -- runtime This library implements the userspace interface to the nouveau-specific kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. Original-Maintainer: Debian X Strike Force <debia...@lists.debian.org> root@johnn-craylap:~# root@johnn-craylap:~# hwinfo ============ start debug info ============ libhd version 16.0 (ia32) using /var/lib/hardware kernel version is 2.6 ----- /proc/cmdline ----- BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/80gblaphdd-rootvol ro splash ----- /proc/cmdline end ----- [...] 3: udi = '/org/freedesktop/Hal/devices/computer' info.capabilities = { 'cpufreq_control' } info.interfaces = { 'org.freedesktop.Hal.Device.SystemPowerManagement', 'org.freedesktop.Hal.Device.CPUFreq' } info.subsystem = 'unknown' info.product = 'Computer' info.udi = '/org/freedesktop/Hal/devices/computer' org.freedesktop.Hal.version = '0.5.14' org.freedesktop.Hal.version.major = 0 (0x0) org.freedesktop.Hal.version.minor = 5 (0x5) org.freedesktop.Hal.version.micro = 14 (0xe) system.kernel.name = 'Linux' system.kernel.version = '2.6.35-22-generic' system.kernel.version.major = 2 (0x2) system.kernel.version.minor = 6 (0x6) system.kernel.version.micro = 35 (0x23) system.kernel.machine = 'i686' power_management.can_suspend = true power_management.can_suspend_hybrid = false power_management.can_hibernate = true system.hardware.primary_video.vendor = 4318 (0x10de) system.hardware.primary_video.product = 646 (0x286) system.hardware.serial = '[redacted]' system.hardware.uuid = '[redacted]' system.board.serial = '[redacted]' system.firmware.vendor = 'Dell Computer Corporation' system.firmware.version = 'A13' system.firmware.release_date = '06/30/2005' system.hardware.vendor = 'Dell Computer Corporation' system.hardware.product = 'Latitude D800' system.hardware.version = '' system.chassis.manufacturer = 'Dell Computer Corporation' system.board.product = '' system.board.version = '' system.board.vendor = 'Dell Computer Corporation' system.chassis.type = 'Portable' system.formfactor = 'laptop' power_management.type = 'acpi' power_management.acpi.linux.version = '20100428' power_management.quirk.vbe_post = true power_management.quirk.vbestate_restore = true info.addons = { 'hald-addon-cpufreq', 'hald-addon-acpi' } org.freedesktop.Hal.Device.SystemPowerManagement.method_names = { 'Suspend', 'SuspendHybrid', 'Hibernate', 'Shutdown ', 'Reboot', 'SetPowerSave' } org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures = { 'i', 'i', '', '', '', 'b' } org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames = { 'num_seconds_to_sleep', 'num_seconds_to_sleep', '', '', '', 'enable_power_save' } org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths = { 'hal-system-power-suspend', 'hal-system-power- suspend-hybrid', 'hal-system-power-hibernate', 'hal-system-power-shutdown', 'hal-system-power-reboot', 'hal-system-pow er-set-power-save' } power_management.is_powersave_set = false info.callouts.add = { 'hal-storage-cleanup-all-mountpoints' } [...] root@johnn-craylap:~# hwinfo --gfxcard 20: PCI(AGP) 100.0: 0300 VGA compatible controller (VGA) [Created at pci.318] UDI: /org/freedesktop/Hal/devices/pci_10de_286 Unique ID: VCu0.8ENJQHz3VVF Parent ID: vSkL.1o+Z33xgwU4 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 SysFS BusID: 0000:01:00.0 Hardware Class: graphics card Model: "nVidia GeForce4 4200 Go" Vendor: pci 0x10de "nVidia Corporation" Device: pci 0x0286 "GeForce4 4200 Go" SubVendor: pci 0x1028 "Dell" SubDevice: pci 0x0179 Revision: 0xa1 Driver: "nouveau" Driver Modules: "drm" Memory Range: 0xfc000000-0xfcffffff (rw,non-prefetchable) Memory Range: 0xf0000000-0xf3ffffff (ro,non-prefetchable) Memory Range: 0xfd000000-0xfd01ffff (ro,non-prefetchable,disabled) IRQ: 11 (15372 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v000010DEd00000286sv00001028sd00000179bc03sc00i00" Driver Info #0: XFree86 v4 Server Module: nv Driver Info #1: XFree86 v4 Server Module: nvidia 3D Support: yes Color Depths: 16 Extensions: Options: Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #10 (PCI bridge) Primary display adapter: #20 root@johnn-craylap:~# ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: xserver-xorg-video-nouveau 1:0.0.16+git20100805+b96170a-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4 Uname: Linux 2.6.35-22-generic i686 Architecture: i386 DRM.card0.DVI.D.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.LVDS.1: status: connected enabled: enabled dpms: On modes: 1920x1200 1920x1200 1920x1080 1600x1200 1680x1050 1400x1050 1280x1024 1280x960 1152x864 1024x768 800x600 640x480 720x400 640x400 640x350 edid-base64: AP///////wAwZABQODczOSoNAQOAIRV4Ck/VnFdLjCcfUFQAAAABAQEBAQEBAQEBAQEBAQEBLz+ACHGwI0BkICYAS88QAAAYAAAADwAIKBA4ARECER4gCBIAAAAA/gA4VDc0OaExNTRFWjAKAAAA/gDfuaWTdlcoAAIACiAgADE= DRM.card0.VGA.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: Date: Sat Oct 2 11:17:25 2010 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate i386 (20100928.1) MachineType: Dell Computer Corporation Latitude D800 PccardctlIdent: Socket 0: no product info available Socket 1: no product info available PccardctlStatus: Socket 0: no card Socket 1: no card ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/80gblaphdd-rootvol ro splash ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: xserver-xorg-video-nouveau dmi.bios.date: 06/30/2005 dmi.bios.vendor: Dell Computer Corporation dmi.bios.version: A13 dmi.board.vendor: Dell Computer Corporation dmi.chassis.type: 8 dmi.chassis.vendor: Dell Computer Corporation dmi.modalias: dmi:bvnDellComputerCorporation:bvrA13:bd06/30/2005:svnDellComputerCorporation:pnLatitudeD800:pvr:rvnDellComputerCorporation:rn:rvr:cvnDellComputerCorporation:ct8:cvr: dmi.product.name: Latitude D800 dmi.sys.vendor: Dell Computer Corporation system: distro: Ubuntu codename: maverick architecture: i686 kernel: 2.6.35-22-generic To manage notifications about this bug go to: https://bugs.launchpad.net/nouveau/+bug/653714/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp