Date: Wed, 11 Jun 2003 17:50:59 +0200 From: Anders Nordby <anders@FreeBSD.org> To: anholt@FreeBSD.org Cc: multimedia@FreeBSD.org Subject: Weird drawing errors with Radeon Mobility 7500 on IBM T30 laptop Message-ID: <20030611155059.GA37255@totem.fix.no>
next in thread | raw e-mail | index | archive | help
Hi, >From dmesg: agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 drm0: <ATI Radeon LW Mobility 7500 M7> port 0x3000-0x30ff mem 0xd0100000-0xd010ffff,0xe8000000-0xefffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized radeon 1.8.0 20020828 on minor 0 Special tweaks used on this laptop: /boot/loader.conf: hw.pci.allow_unsupported_io_range="1" hw.cbb.start_memory="0x20000000" agp_load="NO" /boot/device.hints: hint.acpi.0.disabled="1" hint.apm.0.disabled="0" hint.apm.0.flags="0x20" If I don't set VideoRam in XF86Config (or set it to a low value), dri does not work at all (glxinfo reports direct rendering: No). If I set it to a little more than 17 MB (XFree86 reports (WW) RADEON(0): Static buffer allocation failed -- need at least 17325 kB video memory if I set it too low), dri works (glxinfo reports direct rendering: Yes). When dri works, I get the drawing errors. A couple of xv grabs of what I see: http://anders.fix.no/test/t30drm/grab.png http://anders.fix.no/test/t30drm/xgrab.png My XFree86.0.log: http://anders.fix.no/test/t30drm/XFree86.0.log scanpci reports: pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x4c57 ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] pciconf -l -v reports: drm0@pci1:0:0: class=0x030000 card=0x05171014 chip=0x4c571002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies' device = 'Radeon Mobility M7 LW' class = display subclass = VGA glxgears reports 633 FPS. This is a nice laptop, but it would be better with no drawing errors using dri/drm. :-) Any tips on how to make them go away? Patches I can try? PS: I run XFree86 4.3.0 on FreeBSD 5.1-RELEASE. Cheers, -- Anders.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030611155059.GA37255>