From: Isaac W. <iw...@ea...> - 2001-08-04 14:06:56
|
I've just moved from 2.2.19 to 2.4.6, and enabled the 2.4.6 DRI kernel support, and I'm experiencing a little weirdness... Firstly, I get hundreds of kernel log lines like this: Aug 4 13:51:08 ketchup kernel: [drm:r128_do_wait_for_fifo] *ERROR* r128_do_wait_for_fifo failed! Aug 4 13:51:08 ketchup kernel: [drm:r128_do_wait_for_idle] *ERROR* r128_do_wait_for_idle failed! Aug 4 13:51:08 ketchup kernel: [drm:r128_do_wait_for_fifo] *ERROR* r128_do_wait_for_fifo failed! Aug 4 13:51:08 ketchup kernel: [drm:r128_do_wait_for_idle] *ERROR* r128_do_wait_for_idle failed! They seem to be logged whenever I run anything that uses GL, and whenever I unshade the XMMS playlist window. Secondly, apps that use GL (e.g. quake-gl and the xlock GL screensavers) work for a while after (re)starting X, but after a seemingly random amount of time running any of them hangs X completely, and I have to log in from another machine to kill -9 the task to unfreeze X. This causes kernel messages like: Aug 4 14:25:18 ketchup kernel: [drm:drm_release] *ERROR* Process 836 dead, freeing lock for context 1 ..and occasionally... Aug 4 14:23:15 ketchup kernel: [drm:r128_freelist_get] *ERROR* returning NULL! Aug 4 14:23:19 ketchup kernel: [drm:r128_do_pixcache_flush] *ERROR* r128_do_pixcache_flush failed! Sometimes X freezes so badly that even killing the GL task doesn't unfreeze it, and I can't get back to a vc, so I have to reboot from another machine. Restarting the DM sometimes causes kernel messages like: Aug 4 14:25:22 ketchup kernel: [drm:r128_cce_reset] *ERROR* r128_cce_reset called without lock held The docs at http://dri.sourceforge.net/ seem to say that Rage128 support is stable, so I figured this must be a User Too Stupid error. Does anybody have any suggestions, or pointers to somewhere to start looking for the cause of this behaviour ? Bad kernel config ? Bad X config ? Thanks in advance, Isaac Wilcox ---- I'm using XFree86 4.0.3. No errors are logged to /var/log/XFree86.0.log. Kernel config that might be relevant: | CONFIG_AGP=y | # CONFIG_AGP_INTEL is not set | # CONFIG_AGP_I810 is not set | # CONFIG_AGP_VIA is not set | CONFIG_AGP_AMD=y | # CONFIG_AGP_SIS is not set | # CONFIG_AGP_ALI is not set | # CONFIG_AGP_SWORKS is not set | CONFIG_DRM=y | # CONFIG_DRM_TDFX is not set | # CONFIG_DRM_GAMMA is not set | CONFIG_DRM_R128=y | # CONFIG_DRM_RADEON is not set | # CONFIG_DRM_I810 is not set | # CONFIG_DRM_MGA is not set [snip] | # | # Frame-buffer support | # | CONFIG_FB=y | CONFIG_DUMMY_CONSOLE=y | # CONFIG_FB_RIVA is not set | # CONFIG_FB_CLGEN is not set | # CONFIG_FB_PM2 is not set | # CONFIG_FB_CYBER2000 is not set | # CONFIG_FB_VESA is not set | # CONFIG_FB_VGA16 is not set | # CONFIG_FB_HGA is not set | CONFIG_VIDEO_SELECT=y | # CONFIG_FB_E1355 is not set | # CONFIG_FB_MATROX is not set | # CONFIG_FB_ATY is not set | CONFIG_FB_ATY128=y | # CONFIG_FB_3DFX is not set | # CONFIG_FB_SIS is not set | # CONFIG_FB_VIRTUAL is not set | # CONFIG_FBCON_ADVANCED is not set | CONFIG_FBCON_CFB8=y | CONFIG_FBCON_CFB16=y | CONFIG_FBCON_CFB24=y | CONFIG_FBCON_CFB32=y | # CONFIG_FBCON_FONTWIDTH8_ONLY is not set | # CONFIG_FBCON_FONTS is not set | CONFIG_FONT_8x8=y | CONFIG_FONT_8x16=y Relevant kernel boot messages: | Aug 4 13:21:39 ketchup kernel: Linux version 2.4.6 (root@ketchup) (gcc version 2.95.4 20010319 (Debian prerelease)) #1 Sat Aug 4 13:06:07 BST 2001 | Aug 4 13:21:39 ketchup kernel: Kernel command line: BOOT_IMAGE=2.4.6 ro root=308 | Aug 4 13:21:39 ketchup kernel: Memory: 448416k/458688k available (1238k kernel code, 9884k reserved, 481k data, 220k init, 0k highmem) | Aug 4 13:21:39 ketchup kernel: CPU: AMD Athlon(tm) Processor stepping 01 | Aug 4 13:21:39 ketchup kernel: mtrr: v1.40 (20010327) Richard Gooch (rg...@at...) | Aug 4 13:21:39 ketchup kernel: mtrr: detected mtrr type: Intel | Aug 4 13:21:39 ketchup kernel: aty128fb: Rage128 BIOS located at segment C00C0000 | Aug 4 13:21:39 ketchup kernel: aty128fb: Rage128 RF (AGP) [chip rev 0x3] 32M 64-bit SDR SGRAM (2:1) | Aug 4 13:21:39 ketchup kernel: Console: switching to colour frame buffer device 80x30 | Aug 4 13:21:39 ketchup kernel: fb0: ATY Rage128 frame buffer device on PCI | Aug 4 13:21:39 ketchup kernel: aty128fb: Rage128 MTRR set to ON | Aug 4 13:21:39 ketchup kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann | Aug 4 13:21:39 ketchup kernel: agpgart: Maximum main memory to use for agp memory: 380M | Aug 4 13:21:39 ketchup kernel: agpgart: Detected AMD Irongate chipset | Aug 4 13:21:39 ketchup kernel: agpgart: AGP aperture is 128M @ 0xd8000000 | Aug 4 13:21:39 ketchup kernel: [drm] AGP 0.99 on AMD Irongate @ 0xd8000000 128MB | Aug 4 13:21:39 ketchup kernel: [drm] Initialized r128 2.1.2 20001215 on minor 63 Adapter info from /proc/pci: | PCI devices found: | Bus 1, device 5, function 0: | VGA compatible controller: ATI Technologies Inc Rage 128 RF (rev 0). | IRQ 10. | Master Capable. Latency=32. Min Gnt=8. | Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff]. | I/O at 0xc000 [0xc0ff]. | Non-prefetchable 32 bit memory at 0xe5000000 [0xe5003fff]. [snip] | Bus 0, device 0, function 0: | Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 35). | Master Capable. Latency=32. | Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff]. | Prefetchable 32 bit memory at 0xe7002000 [0xe7002fff]. | I/O at 0xd000 [0xd003]. | Bus 0, device 1, function 0: | PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 1). | Master Capable. Latency=32. Min Gnt=14. |