Re: [Xpert]Trident 9397 on an IBM Thinkpad

2002-03-17 Thread Egbert Eich

Mike Trettel writes:
  Hello all,
  
I'm experiencing the distorted color problem on a TP770 with the
Trident Cyberblade 9397 chipset.  I've patched around the problem by
using the suggestion made by Alan Hourihane to comment out the
XvExtension in the trident_driver.c file, rebuilding the module, and
substituting it for the original.  It now works fine, but I'm
willing to help out in tracking this bug down completely.
  

Meanwhile we were able to pin this down to the SetGamma() function.
But even with SetGamma() commented out it has been reported that
attempting to play a video would crash the chip hard.

We have no idea yet, why this happens. If you want you may help
us to track this down. 
Please take a look at the chipsets video setup which happens 
in TRIDENTDisplayVideo(). By commenting out some of the code 
there you may be able to pin this down some more. The video 
won't display properly any more but first we need to know why 
it crashes before we can fix it.

Regards,
Egbert.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re[2]: [Xpert]Trident 9397 on an IBM Thinkpad

2002-03-17 Thread Mike Trettel

Hello Egbert,

Sunday, March 17, 2002, 3:16:58 AM, you wrote:


Egbert Eich Meanwhile we were able to pin this down to the SetGamma() function.
Egbert Eich But even with SetGamma() commented out it has been reported that
Egbert Eich attempting to play a video would crash the chip hard.

Egbert Eich We have no idea yet, why this happens. If you want you may help
Egbert Eich us to track this down. 
Egbert Eich Please take a look at the chipsets video setup which happens 
Egbert Eich in TRIDENTDisplayVideo(). By commenting out some of the code 
Egbert Eich there you may be able to pin this down some more. The video 
Egbert Eich won't display properly any more but first we need to know why 
Egbert Eich it crashes before we can fix it.

Egbert Eich Regards,
Egbert Eich Egbert.


Egbert, I will give a look sometime later today, and try to get back
to you on it.  Thanks for the tip.


-- 
Best regards,
 Mikemailto:[EMAIL PROTECTED]

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re[2]: [Xpert]Trident 9397 on an IBM Thinkpad

2002-03-17 Thread Mike Trettel

Hello Egbert,

Sunday, March 17, 2002, 3:16:58 AM, you wrote:



Egbert Eich We have no idea yet, why this happens. If you want you may help
Egbert Eich us to track this down. 
Egbert Eich Please take a look at the chipsets video setup which happens 
Egbert Eich in TRIDENTDisplayVideo(). By commenting out some of the code 
Egbert Eich there you may be able to pin this down some more. The video 
Egbert Eich won't display properly any more but first we need to know why 
Egbert Eich it crashes before we can fix it.

Egbert Eich Regards,
Egbert Eich Egbert.
Egbert Eich ___
Egbert Eich Xpert mailing list
Egbert Eich [EMAIL PROTECTED]
Egbert Eich http://XFree86.Org/mailman/listinfo/xpert

Egbert, here are the results from today:

First I removed the comments from the trident_driver.c file that
commented out the XvExtension function.  I then edited the
trident_video.c file, within the TRIDENTDisplayVideo() function I
commented out the Horizontal Zoom section.  I did a make clean, make,
and saved the resulting trident_drv.o module.  I then edited the file
again, this time commenting out the Vertical Zoom section.  Rebuilt
and saved the module again.  I then did four tests using Xmovie and an
mpeg clip at 1024x768 resolution in 16 bit color.  First test used the
original stock trident_drv.o module-the mpeg clip played just fine
although in distorted color along with the rest of the display.  The
second test used the patched trident_drv.o module that had the
XvExtension function removed.  I got good 16 bit color, the mpeg clip
played but with a distorted (slanted) output.  The Xserver did not
lock or crash.  Third test used the trident_drv.o module that had the
Horizontal Zoom function removed-I got the same results as the second
test.  The Xserver ran fine in 16 bit color with a messed up mpeg clip
under Xmovie, and did not lock or crash.  The fourth test used the
(you guessed it) trident_drv.o module that had the Vertical Zoom
function removed and got the same results as the second and third
tests.  Between each module swap and test I did a complete powerdown
of the laptop, so the display was initialized from scratch.  Let me
know what to do next.

-- 
Best regards,
 Mikemailto:[EMAIL PROTECTED]

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Trident 9397 on an IBM Thinkpad

2002-03-16 Thread Mike Trettel

Hello all,

  I'm experiencing the distorted color problem on a TP770 with the
  Trident Cyberblade 9397 chipset.  I've patched around the problem by
  using the suggestion made by Alan Hourihane to comment out the
  XvExtension in the trident_driver.c file, rebuilding the module, and
  substituting it for the original.  It now works fine, but I'm
  willing to help out in tracking this bug down completely.

-- 
Best regards,
 Mike Trettel  mailto:[EMAIL PROTECTED]

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert