2005-02-13 11:29:41

by Dave Airlie

[permalink] [raw]
Subject: SiS drm broken during 2.6.9-rc1-bk1


I've just conducted a binary search to see when the SIS drm stopped
working... and it was 2.6.9-rc1-bk1 from looking at it the new virtual
memory layout is the most likely patch to have broken things... I haven't
confirmed it is this particular patch yet, tomorrow I'll get some time to
do it ..

The SIS is a quite simple drm, so I'm not sure what has been broken, Ingo
can you think of anything that this patch might do to the drm,

the bug is that gears no longer draw anything, but no errors appear
anywhere.. the window is just empty...

Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person


2005-02-14 08:26:58

by Dave Airlie

[permalink] [raw]
Subject: Re: SiS drm broken during 2.6.9-rc1-bk1

> layout is the most likely patch to have broken things... I haven't
> confirmed it is this particular patch yet, tomorrow I'll get some time to
> do it ..
>

okay running client applications using

setarch -L i386 glxgears

makes them work.. I'll start looking for a bug in the the SIS client
side library..

Dave.

2005-02-15 10:32:21

by Ingo Molnar

[permalink] [raw]
Subject: Re: SiS drm broken during 2.6.9-rc1-bk1


* Dave Airlie <[email protected]> wrote:

> > layout is the most likely patch to have broken things... I haven't
> > confirmed it is this particular patch yet, tomorrow I'll get some time to
> > do it ..
> >
>
> okay running client applications using
>
> setarch -L i386 glxgears
>
> makes them work.. I'll start looking for a bug in the the SIS client
> side library..

yeah. Look for 2GB assumptions - e.g. assumptions that pointers cast to
integer will be positive values, such as:

int i;

i = malloc(somesize);
if (i <= 0)
handle_alloc_failure();

here with the topdown layout you'd get a malloc 'failure'.

Ingo