2003-08-05 19:37:47

by Mitch

[permalink] [raw]
Subject: Re: Linux 2.4.22-pre10-ac1 DRI doesn't work with


Works fine with XFree86 4.3.x, 2.4.22-pre10 and the radeon.o
drm module. If you look backwards in your strace file, what is the
device that file descriptor 5 belongs to ?

core ~% lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]
core ~% uname -a
Linux core 2.4.22-pre10 #7 Mon Aug 4 18:59:06 BST 2003 i686 unknown unknown GNU/Linux


On Tue Aug 05, 2003 at 06:49:25PM +0200, Ruben Puettmann wrote:
> DRI doesn't work with Radeon 7500 on IBM Thinkpad R40 (2722).
[-----------snip---------------]
> 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
[-----------snip---------------]
> XFree86 : 4.2.1
>
>
> Both glxgears and tuxracer crashes with the Illegal instruction error
> message. the strace output of glxgears is:
[-----------snip---------------]
> ioctl(3, FIONREAD, [0]) = 0
> ioctl(5, 0x40186448, 0xbffffb30) = 0
> --- SIGILL (Illegal instruction) @ 0 (0) ---
> +++ killed by SIGILL +++


I get this too, with vanilla 2.4.22-pre10....

$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY
[Radeon 7000/VE]
$ lspci | grep AGP
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller
(rev 02)

$ strace glxgears
[-----------snip---------------]
ioctl(3, FIONREAD, [0]) = 0
ioctl(4, 0x40186448, 0xbffff4d0) = 0
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL +++

-Erik



2003-08-05 20:36:50

by Erik Andersen

[permalink] [raw]
Subject: Re: Linux 2.4.22-pre10-ac1 DRI doesn't work with

On Tue Aug 05, 2003 at 08:37:38PM +0100, [email protected] wrote:
>
> Works fine with XFree86 4.3.x, 2.4.22-pre10 and the radeon.o
> drm module. If you look backwards in your strace file, what is the
> device that file descriptor 5 belongs to ?

I have XFree86 4.2.1 (i.e. xfree86-common, xserver-xfree86,
xlibmesa3-gl, etc) version 4.2.1-9 from Debian unstable installed.

I think you mean file descriptor 4:
open("/dev/dri/card0", O_RDWR) = 4

$ ls -la /dev/dri/card0
crw-rw-rw- 1 root root 226, 0 Jul 12 04:21 /dev/dri/card0

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--