RE: WD90C24 Anyone?

2006-11-08 Thread Marc Aurele La France

On Tue, 7 Nov 2006, Chris Schumann wrote:

[mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts
[EMAIL PROTECTED] wrote:

I have an old ThinkPad 750P. It uses the WD90C24 chip, which was in
the old svga driver.



What would it take to port that to the new XFree86 code?

I'm not above

writing assembly code or digging in here, I just don't know

where to

start or how much effort it might take... swatting a fly or

eating an

elephant?



Holy moly!  You have a whopping 1 megabyte of video RAM there.



Will it work with the VESA fb driver?  If not, then you might
as well give up.  I have the source code for their old
Windows 3.1 driver, and it is more than 76,000 lines of
16-bit x86 assembler.  The blitter provided virtually no
acceleration, so you won't really be giving anything up to
use the fb driver.



This machine didn't quite get the VESA in firmware. It was
provided by a DOS TSR, which was required for the Win3.1 and
Win95 drivers. I thought it was for use with VESA, but now I'm
not sure.



Anyway, I don't think it's a good idea to require a DOS TSR
for video in Linux.



There is source for this chip somewhere in the annals of X
code. I think XFree86 supported it as late as 3.1.


3.3.6, actually.


The only mode I've seen with modern distributions is 320x200x1.
It's not pleasant.



I'd also like to get the pen interface to work on it, but one
step at a time! :)



So what's that next step?


You can start with reading the DESIGN document included in the distribution, 
using the 3.3.6 pvga1 driver as a guide in filling in the blanks.


Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: 2 bugs in the X server

2006-11-08 Thread Michal Maruška
[EMAIL PROTECTED] (Michal Maruška) writes:

> Hello,
>   I know about 2 bugs in X server which are quite reproducible with my 
> programs.
>  
> 1/ There is a way to see a screen full of pixmaps (instead of what should be 
> on
>the screen).
>
>   I can reproduce this bug with sawfish WM.
>  .
>   When I do such movement w/ keyboard using mouse emulation, I can trigger 
> this funny
>   bug.

I think I found the root of this problem. It's independent of the video
driver, just due to a bug in XKB code for "mouse emulation".


XkbDDXFakePointerMotion in xc/programs/Xserver/xkb/ddxFakeMtn.c does not check
if the (new pointer) position is outside screen limits (at least in my case:
xinerama compiled in, but not enabled).

... so it calls  (*pScreen->SetCursorPosition)(pScreen, oldX, oldY, TRUE);
with wrong oldX,oldY.


OTOH  xf86PostMotionEvent calls miPointerAbsoluteCursor which does the checks.

So, XkbDDXFakePointerMotion should either do the checks or (preferebly) delegate
to some mi* function, but it will take me some time before I understand which 
one.



Testing with the "nv" driver I can see some funny little screen shift when I
move the pointer (by keyboard) against an edge of the screen.




___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel