Re: How do I convert 4.5.0 driver to 4.6.0?

2006-05-23 Thread Barry Scott

Marc Aurele La France wrote:
You should be able to.  But, in my opinion, it would be better to 
determine why the 4.5 driver works better for you than the 4.6 one, 
aside from the Xv thing. 
The via driver code that XFree86 ships in 4.5.0 and 4.6.0 does not work 
for XVIDEO
on the CLE266 chip. The Xserver uses 100% CPU time and you have to 
reboot to get

your machine back after Xine starts to play a movie.

The via code from the Unichrome sourceforge project is very stable. I'm 
porting the

unichrome driver to 4.6.0. This code is usually used with Xorg.

You might want to approach the Unichrome author, Luc Verhaegen, for 
permission

to use his code in Xfree86.

There is a another version of the via code called the OpenChrome 
project. But

their code is unstable (and the default in Xorg...).

Oh and the code from via themselves is next to useless and very poorly 
written.


Barry

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


Re: How do I convert 4.5.0 driver to 4.6.0?

2006-05-23 Thread Luc Verhaegen
On Tue, May 23, 2006 at 06:06:27PM +0100, Barry Scott wrote:
 
 You might want to approach the Unichrome author, Luc Verhaegen, for 
 permission to use his code in Xfree86.

Why would i need to give permission, or from a license point of 
view; how could i withhold permission? I'm not VIA, i don't drop 
copyrights unwarrantedly or insert bogus licenses surreptitiously; it's 
all nicely MITed, with proper disclaimers (with VIA permission) too.

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


Re: How do I convert 4.5.0 driver to 4.6.0?

2006-05-23 Thread Luc Verhaegen
On Tue, May 23, 2006 at 06:06:27PM +0100, Barry Scott wrote:
 The via driver code that XFree86 ships in 4.5.0 and 4.6.0 does not work 
 for XVIDEO
 on the CLE266 chip. The Xserver uses 100% CPU time and you have to 
 reboot to get
 your machine back after Xine starts to play a movie.
 
 The via code from the Unichrome sourceforge project is very stable. I'm 
 porting the
 unichrome driver to 4.6.0. This code is usually used with Xorg.
 
 You might want to approach the Unichrome author, Luc Verhaegen, for 
 permission
 to use his code in Xfree86.
 
 There is a another version of the via code called the OpenChrome 
 project. But
 their code is unstable (and the default in Xorg...).
 
 Oh and the code from via themselves is next to useless and very poorly 
 written.
 
 Barry
 
Barry,

How much time have you already spent trying to get my code to build and 
run against xfree86 4.6.0?

How much would it have cost you if you allowed me to bill you for the 
time i'd be spending on it?

And when would you have had a working X and driver?

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


Re: How do I convert 4.5.0 driver to 4.6.0?

2006-05-22 Thread Barry Scott

Marc Aurele La France wrote:
Looking at the diffs of the xfree86 via driver between 4.5.0 and 
4.6.0 I seem to see that

all that changed, apart from new features, is loader stuff:



-LoaderRefSymLists(vgaHWSymbols,
+LoaderModRefSymLists(module,
+ vgaHWSymbols,


Do I need to make these loader changes to get correct operation or 
does your fallback code

work correctly in all cases?
Can I ignore this code change, I assume I can given that the driver 
works without changes.



Where should I look to debug why XVIDEO is not showing up under 4.6.0?


This would be answered by your subsequent query about the XvExtension 
symbol's disappearance.

Indeed.

Barry


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


Re: How do I convert 4.5.0 driver to 4.6.0?

2006-05-22 Thread Marc Aurele La France

On Mon, 22 May 2006, Barry Scott wrote:

Marc Aurele La France wrote:
Looking at the diffs of the xfree86 via driver between 4.5.0 and 4.6.0 I 
seem to see that

all that changed, apart from new features, is loader stuff:



-LoaderRefSymLists(vgaHWSymbols,
+LoaderModRefSymLists(module,
+ vgaHWSymbols,


Do I need to make these loader changes to get correct operation or does 
your fallback code

work correctly in all cases?


Can I ignore this code change, I assume I can given that the driver works 
without changes.


You should be able to.  But, in my opinion, it would be better to determine 
why the 4.5 driver works better for you than the 4.6 one, aside from the Xv 
thing.


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: How do I convert 4.5.0 driver to 4.6.0?

2006-05-19 Thread Marc Aurele La France

On Fri, 19 May 2006, Barry Scott wrote:

I have a via driver (Unichrome from last November plus patches) that works 
very well on

4.5.0. It supports XVIDEO that the standard XFree86 driver does not support.


I can build and use this same driver code is a trivia patch under 4.6.0 but 
xvinfo reports

that there is an XVIDEO adapters.


Looking at the diffs of the xfree86 via driver between 4.5.0 and 4.6.0 I seem 
to see that

all that changed, apart from new features, is loader stuff:



-LoaderRefSymLists(vgaHWSymbols,
+LoaderModRefSymLists(module,
+ vgaHWSymbols,


Do I need to make these loader changes to get correct operation or does your 
fallback code

work correctly in all cases?



Where should I look to debug why XVIDEO is not showing up under 4.6.0?


This would be answered by your subsequent query about the XvExtension 
symbol's disappearance.


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