On the 10th of February 2006 at 16:57, Ken Bloom <kbloom#gmail.com> wrote:
> $ ./ati-driver-installer-8.12.7-x86_64.run --extract fglrx-tmp > $ cd fglrx-tmp > $ cd common/lib/modules > > apply the patch from http://lkml.org/lkml/2005/12/11/26 which lets the > kernel module work with Kernel 2.6.15 That's no longer necessary; in firegl_public.c instead of "#if 0" there's "#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 15)". > $ cd - > $ fakeroot ./packages/Debian/ati-packager.sh --buildpkg sid Note for etch users: you should build for sid, since we also have xorg 6.9.0 now. > dpkg -i the debs, use module-assistant to build the kernel module and > you're good to go. (Don't forget to modprobe -r fglrx; modprobe fglrx > before you start X again.) I've followed the steps you described, but I got no luck with setting up working DRI. My graphics card is the Radeon 800GTO on PCI-e. The modules are loaded: # lsmod |grep fglrx fglrx 502304 7 # grep -i dri /var/log/Xorg.0.log |grep -vE "driver|drmOpenDevice" (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so (II) Module dri: vendor="X.Org Foundation" (II) Loading extension XFree86-DRI (II) ATI Proprietary Linux Driver Version Identifier:8.22.5 (II) ATI Proprietary Linux Driver Release Identifier: LGDr8.22g1 (II) ATI Proprietary Linux Driver Build Date: Feb 7 2006 19:25:55 (==) fglrx(0): NoDRI = NO (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so" (II) Loading extension ATIFGLRXDRI (II) fglrx(0): doing DRIScreenInit (II) fglrx(0): DRIScreenInit done (II) fglrx(0): DRI initialization successfull! (II) fglrx(0): [DRI] installation complete However: $ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: No $ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.1) $ fgl_glxgears Using GLX_SGIX_pbuffer X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 145 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 33 Current serial number in output stream: 33 I've tried to insert the radeon.ko module for drm, but: # modprobe radeon WARNING: Error inserting drm (/lib/modules/2.6.15-1-amd64-k8/kernel/drivers/char/drm/drm.ko): Cannot allocate memory Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_open Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_fasync Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_poll Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_get_resource_len Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_core_get_reg_ofs Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_irq_uninstall Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_ioctl Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_exit Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_debug Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_core_get_map_ofs Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_init Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_addmap Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_get_resource_start Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_vbl_send_signals Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_ati_pcigart_init Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_mmap Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_order Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_ati_pcigart_cleanup Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_compat_ioctl Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_core_reclaim_buffers Feb 12 23:45:42 mniam kernel: radeon: Unknown symbol drm_release FATAL: Error inserting radeon (/lib/modules/2.6.15-1-amd64-k8/kernel/drivers/char/drm/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg) With the fglrx module in xorg.conf glxgears shows: 1601 frames in 5.0 seconds = 320.200 FPS that's ~40% of the results on the "radeon" module from xorg 6.9.0. # uname -a Linux mniam 2.6.15-1-amd64-k8 #2 Sat Feb 4 00:09:56 UTC 2006 x86_64 GNU/Linux # lspci |grep ATI 0000:05:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5d4f 0000:05:00.1 Display controller: ATI Technologies Inc: Unknown device 5d6f # dpkg -l |grep fglrx ii fglrx-driver 8.22.5-1 ii fglrx-kernel-2.6.15-1-amd64-k8 8.22.5-1+2.6.15-1 The Xorg.0.log is available at http://blah.pl/tmp/Xorg.0.log I'd be very happy to hear any hints on setting up the DRI correctly. m.m. -- use gnus, not guns! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]